Lines Matching refs:LIST_FIRST

324 for (elm = LIST_FIRST(head); elm; elm = LIST_NEXT(elm, field))
330 struct type *curelm = LIST_FIRST(head); \
1183 for (sav = LIST_FIRST(&sah->savtree[state]); in key_do_allocsa_policy()
1594 for (struct secasvar *sav = LIST_FIRST(&sah->savtree[state]); sav != NULL; sav = nextsav) { in key_checksa_present()
1695 for (currsav = LIST_FIRST(&sah->savtree[state]); in key_do_get_translated_port()
3945 for (sav = (struct secasvar *)LIST_FIRST(&sah->savtree[state]); in key_delsah()
6003 for (sp = LIST_FIRST(&sptree[dir]); in key_timehandler()
6043 for (sah = LIST_FIRST(&sahtree); in key_timehandler()
6056 if (LIST_FIRST(&sah->savtree[SADB_SASTATE_LARVAL]) == NULL && in key_timehandler()
6057 LIST_FIRST(&sah->savtree[SADB_SASTATE_MATURE]) == NULL && in key_timehandler()
6058 LIST_FIRST(&sah->savtree[SADB_SASTATE_DYING]) == NULL && in key_timehandler()
6059 LIST_FIRST(&sah->savtree[SADB_SASTATE_DEAD]) == NULL) { in key_timehandler()
6073 for (sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_LARVAL]); in key_timehandler()
6113 …sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_MATURE]); //%%% should we check dying list if this i… in key_timehandler()
6126 for (sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_MATURE]); in key_timehandler()
6189 for (sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_DYING]); in key_timehandler()
6232 for (sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_DEAD]); in key_timehandler()
6291 for (acq = LIST_FIRST(&acqtree); in key_timehandler()
6310 for (acq = LIST_FIRST(&spacqtree); in key_timehandler()
7674 for (sav = LIST_FIRST(&sah->savtree[state]); in key_delete_all()
8738 for (sah = LIST_FIRST(&sahtree); in key_delete_all_for_socket()
8744 for (sav = LIST_FIRST(&sah->savtree[state]); sav != NULL; sav = nextsav) { in key_delete_all_for_socket()
8965 for (sah = LIST_FIRST(&sahtree); in key_flush()
8979 for (sav = LIST_FIRST(&sah->savtree[state]); in key_flush()
10374 for (sp = LIST_FIRST(&sptree[dir]); in key_delsp_for_ipsec_if()
10399 for (sav = LIST_FIRST(&sah->savtree[state]); sav != NULL; sav = nextsav) { in key_delsp_for_ipsec_if()
10543 if (LIST_FIRST(&sah->savtree[SADB_SASTATE_LARVAL]) == NULL && in key_release_custom_ipsec()
10544 LIST_FIRST(&sah->savtree[SADB_SASTATE_MATURE]) == NULL && in key_release_custom_ipsec()
10545 LIST_FIRST(&sah->savtree[SADB_SASTATE_DYING]) == NULL && in key_release_custom_ipsec()
10546 LIST_FIRST(&sah->savtree[SADB_SASTATE_DEAD]) == NULL) { in key_release_custom_ipsec()