Lines Matching refs:LIST_FIRST

319 for (elm = LIST_FIRST(head); elm; elm = LIST_NEXT(elm, field))
325 struct type *curelm = LIST_FIRST(head); \
1111 for (sav = LIST_FIRST(&sah->savtree[state]); in key_do_allocsa_policy()
1515 for (struct secasvar *sav = LIST_FIRST(&sah->savtree[state]); sav != NULL; sav = nextsav) { in key_checksa_present()
1616 for (currsav = LIST_FIRST(&sah->savtree[state]); in key_do_get_translated_port()
3857 for (sav = (struct secasvar *)LIST_FIRST(&sah->savtree[state]); in key_delsah()
5917 for (sp = LIST_FIRST(&sptree[dir]); in key_timehandler()
5957 for (sah = LIST_FIRST(&sahtree); in key_timehandler()
5970 if (LIST_FIRST(&sah->savtree[SADB_SASTATE_LARVAL]) == NULL && in key_timehandler()
5971 LIST_FIRST(&sah->savtree[SADB_SASTATE_MATURE]) == NULL && in key_timehandler()
5972 LIST_FIRST(&sah->savtree[SADB_SASTATE_DYING]) == NULL && in key_timehandler()
5973 LIST_FIRST(&sah->savtree[SADB_SASTATE_DEAD]) == NULL) { in key_timehandler()
5986 for (sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_LARVAL]); in key_timehandler()
6024 …sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_MATURE]); //%%% should we check dying list if this i… in key_timehandler()
6037 for (sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_MATURE]); in key_timehandler()
6098 for (sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_DYING]); in key_timehandler()
6138 for (sav = LIST_FIRST(&sah->savtree[SADB_SASTATE_DEAD]); in key_timehandler()
6195 for (acq = LIST_FIRST(&acqtree); in key_timehandler()
6214 for (acq = LIST_FIRST(&spacqtree); in key_timehandler()
7577 for (sav = LIST_FIRST(&sah->savtree[state]); in key_delete_all()
8659 for (sah = LIST_FIRST(&sahtree); in key_delete_all_for_socket()
8665 for (sav = LIST_FIRST(&sah->savtree[state]); sav != NULL; sav = nextsav) { in key_delete_all_for_socket()
8886 for (sah = LIST_FIRST(&sahtree); in key_flush()
8900 for (sav = LIST_FIRST(&sah->savtree[state]); in key_flush()
10304 for (sp = LIST_FIRST(&sptree[dir]); in key_delsp_for_ipsec_if()
10329 for (sav = LIST_FIRST(&sah->savtree[state]); sav != NULL; sav = nextsav) { in key_delsp_for_ipsec_if()
10473 if (LIST_FIRST(&sah->savtree[SADB_SASTATE_LARVAL]) == NULL && in key_release_custom_ipsec()
10474 LIST_FIRST(&sah->savtree[SADB_SASTATE_MATURE]) == NULL && in key_release_custom_ipsec()
10475 LIST_FIRST(&sah->savtree[SADB_SASTATE_DYING]) == NULL && in key_release_custom_ipsec()
10476 LIST_FIRST(&sah->savtree[SADB_SASTATE_DEAD]) == NULL) { in key_release_custom_ipsec()