Lines Matching defs:splist
164 * - Modifications to the key_spd.splist must be done with holding key_spd.lock
166 * - Read accesses to the key_spd.splist must be in pserialize(9) read sections
168 * - An SP that has been inserted to the key_spd.splist is initially referenced
169 * by none, i.e., a reference from the key_spd.splist isn't counted
174 * - Normally we get an SP from the key_spd.splist (see key_lookup_sp_byspidx)
201 * the key_spd.socksplist list (not the key_spd.splist)
258 struct pslist_head splist[IPSEC_DIR_MAX];
299 /* Macros for key_spd.splist */
307 (PSLIST_READER_FIRST(&key_spd.splist[(dir)], struct secpolicy, \
310 PSLIST_READER_FOREACH((sp), &key_spd.splist[(dir)], \
313 PSLIST_WRITER_FOREACH((sp), &key_spd.splist[(dir)], \
318 (PSLIST_WRITER_FIRST(&key_spd.splist[(dir)], struct secpolicy, \
321 PSLIST_WRITER_INSERT_HEAD(&key_spd.splist[(dir)], (sp), \
900 * Remove the sp from the key_spd.splist and wait for references to the sp
8298 PSLIST_INIT(&key_spd.splist[i]);