Lines Matching refs:LIST_FIRST

331 for (elm = LIST_FIRST(head); elm; elm = LIST_NEXT(elm, field))
337 struct type *curelm = LIST_FIRST(head); \
1197 for (sav = LIST_FIRST(&sah->savtree[state]); in key_do_allocsa_policy()
1492 for (struct secasvar *sav = LIST_FIRST(&sah->savtree[state]); sav != NULL; sav = nextsav) { in key_checksa_present()
1593 for (currsav = LIST_FIRST(&sah->savtree[state]); in key_do_get_translated_port()
3859 for (sav = (struct secasvar *)LIST_FIRST(&sah->savtree[state]); in key_delsah()
5966 for (sp = LIST_FIRST(&sptree[dir]); in key_timehandler()
6006 for (sah = LIST_FIRST(&sahtree); in key_timehandler()
6019 if (LIST_FIRST(&sah->savtree[SADB_SASTATE_LARVAL]) == NULL && in key_timehandler()
6020 LIST_FIRST(&sah->savtree[SADB_SASTATE_MATURE]) == NULL && in key_timehandler()
6021 LIST_FIRST(&sah->savtree[SADB_SASTATE_DYING]) == NULL && in key_timehandler()
6022 LIST_FIRST(&sah->savtree[SADB_SASTATE_DEAD]) == NULL) { in key_timehandler()
6036 for (sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_LARVAL]); in key_timehandler()
6076 …sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_MATURE]); //%%% should we check dying list if this i… in key_timehandler()
6089 for (sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_MATURE]); in key_timehandler()
6152 for (sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_DYING]); in key_timehandler()
6195 for (sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_DEAD]); in key_timehandler()
6254 for (acq = LIST_FIRST(&acqtree); in key_timehandler()
6273 for (acq = LIST_FIRST(&spacqtree); in key_timehandler()
7639 for (sav = LIST_FIRST(&sah->savtree[state]); in key_delete_all()
8703 for (sah = LIST_FIRST(&sahtree); in key_delete_all_for_socket()
8709 for (sav = LIST_FIRST(&sah->savtree[state]); sav != NULL; sav = nextsav) { in key_delete_all_for_socket()
8930 for (sah = LIST_FIRST(&sahtree); in key_flush()
8944 for (sav = LIST_FIRST(&sah->savtree[state]); in key_flush()
10351 for (sp = LIST_FIRST(&sptree[dir]); in key_delsp_for_ipsec_if()
10376 for (sav = LIST_FIRST(&sah->savtree[state]); sav != NULL; sav = nextsav) { in key_delsp_for_ipsec_if()
10520 if (LIST_FIRST(&sah->savtree[SADB_SASTATE_LARVAL]) == NULL && in key_release_custom_ipsec()
10521 LIST_FIRST(&sah->savtree[SADB_SASTATE_MATURE]) == NULL && in key_release_custom_ipsec()
10522 LIST_FIRST(&sah->savtree[SADB_SASTATE_DYING]) == NULL && in key_release_custom_ipsec()
10523 LIST_FIRST(&sah->savtree[SADB_SASTATE_DEAD]) == NULL) { in key_release_custom_ipsec()