Lines Matching refs:LIST_FIRST

323 for (elm = LIST_FIRST(head); elm; elm = LIST_NEXT(elm, field))
329 struct type *curelm = LIST_FIRST(head); \
1148 for (sav = LIST_FIRST(&sah->savtree[state]); in key_do_allocsa_policy()
1559 for (struct secasvar *sav = LIST_FIRST(&sah->savtree[state]); sav != NULL; sav = nextsav) { in key_checksa_present()
1660 for (currsav = LIST_FIRST(&sah->savtree[state]); in key_do_get_translated_port()
3884 for (sav = (struct secasvar *)LIST_FIRST(&sah->savtree[state]); in key_delsah()
5903 for (sp = LIST_FIRST(&sptree[dir]); in key_timehandler()
5943 for (sah = LIST_FIRST(&sahtree); in key_timehandler()
5956 if (LIST_FIRST(&sah->savtree[SADB_SASTATE_LARVAL]) == NULL && in key_timehandler()
5957 LIST_FIRST(&sah->savtree[SADB_SASTATE_MATURE]) == NULL && in key_timehandler()
5958 LIST_FIRST(&sah->savtree[SADB_SASTATE_DYING]) == NULL && in key_timehandler()
5959 LIST_FIRST(&sah->savtree[SADB_SASTATE_DEAD]) == NULL) { in key_timehandler()
5972 for (sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_LARVAL]); in key_timehandler()
6010 …sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_MATURE]); //%%% should we check dying list if this i… in key_timehandler()
6023 for (sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_MATURE]); in key_timehandler()
6084 for (sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_DYING]); in key_timehandler()
6124 for (sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_DEAD]); in key_timehandler()
6181 for (acq = LIST_FIRST(&acqtree); in key_timehandler()
6200 for (acq = LIST_FIRST(&spacqtree); in key_timehandler()
7566 for (sav = LIST_FIRST(&sah->savtree[state]); in key_delete_all()
8631 for (sah = LIST_FIRST(&sahtree); in key_delete_all_for_socket()
8637 for (sav = LIST_FIRST(&sah->savtree[state]); sav != NULL; sav = nextsav) { in key_delete_all_for_socket()
8858 for (sah = LIST_FIRST(&sahtree); in key_flush()
8872 for (sav = LIST_FIRST(&sah->savtree[state]); in key_flush()
10271 for (sp = LIST_FIRST(&sptree[dir]); in key_delsp_for_ipsec_if()
10296 for (sav = LIST_FIRST(&sah->savtree[state]); sav != NULL; sav = nextsav) { in key_delsp_for_ipsec_if()
10440 if (LIST_FIRST(&sah->savtree[SADB_SASTATE_LARVAL]) == NULL && in key_release_custom_ipsec()
10441 LIST_FIRST(&sah->savtree[SADB_SASTATE_MATURE]) == NULL && in key_release_custom_ipsec()
10442 LIST_FIRST(&sah->savtree[SADB_SASTATE_DYING]) == NULL && in key_release_custom_ipsec()
10443 LIST_FIRST(&sah->savtree[SADB_SASTATE_DEAD]) == NULL) { in key_release_custom_ipsec()