Home
last modified time | relevance | path

Searched refs:LIST_FIRST (Results 1 – 25 of 181) sorted by relevance

12345678

/openbsd/sbin/isakmpd/
H A Dtransport.c59 for (method = LIST_FIRST(&transport_method_list); method; in transport_reinit()
127 for (t = LIST_FIRST(&transport_list); t; t = LIST_NEXT(t, link)) { in transport_report()
160 for (t = LIST_FIRST(&transport_list); t; t = LIST_NEXT(t, link)) in transport_prio_sendqs_empty()
185 for (t = LIST_FIRST(&transport_list); t; t = LIST_NEXT(t, link)) in transport_fd_set()
211 for (t = LIST_FIRST(&transport_list); t; t = LIST_NEXT(t, link)) { in transport_pending_wfd_set()
235 for (t = LIST_FIRST(&transport_list); t; t = LIST_NEXT(t, link)) { in transport_handle_messages()
268 for (t = LIST_FIRST(&transport_list); t; t = LIST_NEXT(t, link)) in transport_send_messages()
271 for (t = LIST_FIRST(&transport_list); t; t = LIST_NEXT(t, link)) { in transport_send_messages()
393 for (t = LIST_FIRST(&transport_list); t; t = next) { in transport_send_messages()
409 for (method = LIST_FIRST(&transport_method_list); method; in transport_create()
H A Dconf.c109 for (cb = LIST_FIRST(&conf_bindings[conf_hash(section)]); cb; in conf_remove_now()
133 for (cb = LIST_FIRST(&conf_bindings[conf_hash(section)]); cb; in conf_remove_section_now()
653 for (cb = LIST_FIRST(&conf_bindings[i]); cb; in conf_reinit()
654 cb = LIST_FIRST(&conf_bindings[i])) in conf_reinit()
731 for (cb = LIST_FIRST(&conf_bindings[conf_hash(section)]); cb; in conf_get_str()
812 for (cb = LIST_FIRST(&conf_bindings[conf_hash(section)]); cb; in conf_get_tag_list()
992 for (cb = LIST_FIRST(&conf_bindings[i]); cb; in conf_report()
H A Ddoi.c50 for (doi = LIST_FIRST(&doi_tab); doi && doi->id != doi_id; in doi_lookup()
H A Disakmp_cfg.c416 for (attr = LIST_FIRST(&ie->attrs); attr; in cfg_initiator_recv_ATTR()
439 for (attr = LIST_FIRST(&ie->attrs); attr; in cfg_initiator_recv_ATTR()
511 for (attr = LIST_FIRST(&ie->attrs); attr; in cfg_responder_recv_ATTR()
747 for (attr = LIST_FIRST(attrs); attr; attr = LIST_NEXT(attr, link)) { in cfg_encode_attributes()
805 for (attr = LIST_FIRST(attrs); attr; attr = LIST_NEXT(attr, link)) { in cfg_encode_attributes()
H A Dvirtual.c168 for (v = LIST_FIRST(&virtual_listen_list); v; v = LIST_NEXT(v, link)) in virtual_reinit()
182 v = LIST_FIRST(&virtual_listen_list); in virtual_reinit()
199 for (v = LIST_FIRST(&virtual_listen_list); v; in virtual_listen_lookup()
625 for (p = LIST_FIRST(&virtual_listen_list); p && p != v; p = in virtual_remove()
H A Dsa.c131 for (sa = LIST_FIRST(&sa_tab[i]); sa; sa = LIST_NEXT(sa, link)) in sa_find()
394 for (sa = LIST_FIRST(&sa_tab[bucket]); in sa_lookup()
748 for (sa = LIST_FIRST(&sa_tab[i]); sa; sa = LIST_NEXT(sa, link)) in sa_report()
794 for (sa = LIST_FIRST(&sa_tab[i]); sa; sa = LIST_NEXT(sa, link)) in sa_report_all()
1195 for (sa = LIST_FIRST(&sa_tab[i]); sa; sa = next) { in sa_teardown_all()
1270 for (sa = LIST_FIRST(&sa_tab[i]); sa; sa = LIST_NEXT(sa, link)) in sa_reinit()
/openbsd/sys/dev/mii/
H A Dmii.c90 for (child = LIST_FIRST(&mii->mii_phys); child != NULL; in mii_attach()
163 for (child = LIST_FIRST(&mii->mii_phys); in mii_detach()
218 for (child = LIST_FIRST(&mii->mii_phys); child != NULL; in mii_mediachg()
235 for (child = LIST_FIRST(&mii->mii_phys); child != NULL; in mii_tick()
251 for (child = LIST_FIRST(&mii->mii_phys); child != NULL; in mii_pollstat()
264 for (child = LIST_FIRST(&mii->mii_phys); child != NULL; in mii_down()
/openbsd/usr.sbin/sasyncd/
H A Dnet.c288 for (p = LIST_FIRST(&cfgstate.peerlist); p; p = LIST_NEXT(p, link)) { in net_init()
408 for (p = LIST_FIRST(&cfgstate.peerlist); p; in net_queue()
427 for (p = LIST_FIRST(&cfgstate.peerlist); p; p = LIST_NEXT(p, link)) in net_set_pending_wfds()
446 for (p = LIST_FIRST(&cfgstate.peerlist); p; p = LIST_NEXT(p, link)) { in net_set_rfds()
480 for (p = LIST_FIRST(&cfgstate.peerlist); p && !found; in net_accept()
530 for (p = LIST_FIRST(&cfgstate.peerlist); p; p = LIST_NEXT(p, link)) { in net_handle_messages()
577 for (p = LIST_FIRST(&cfgstate.peerlist); p; p = LIST_NEXT(p, link)) { in net_send_messages()
633 while ((p = LIST_FIRST(&cfgstate.peerlist))) { in net_shutdown()
804 for (p = LIST_FIRST(&cfgstate.peerlist); p; p = LIST_NEXT(p, link)) { in net_connect()
/openbsd/sys/netinet6/
H A Dfrag6.c338 for (paf6 = NULL, af6 = LIST_FIRST(&q6->ip6q_asfrag); in frag6_input()
375 for (paf6 = NULL, af6 = LIST_FIRST(&q6->ip6q_asfrag); in frag6_input()
392 ip6af = LIST_FIRST(&q6->ip6q_asfrag); in frag6_input()
395 while ((af6 = LIST_FIRST(&q6->ip6q_asfrag)) != NULL) { in frag6_input()
479 while ((af6 = LIST_FIRST(&q6->ip6q_asfrag)) != NULL) { in frag6_input()
529 while ((af6 = LIST_FIRST(&q6->ip6q_asfrag)) != NULL) { in frag6_freef()
/openbsd/sys/kern/
H A Dvfs_sync.c149 while ((vp = LIST_FIRST(slp)) != NULL) { in syncer_thread()
163 if (LIST_FIRST(slp) == vp) { in syncer_thread()
171 if (LIST_FIRST(&vp->v_dirtyblkhd) == NULL && in syncer_thread()
/openbsd/usr.sbin/ospf6d/
H A Darea.c58 while ((iface = LIST_FIRST(&area->iface_list)) != NULL) { in area_del()
63 while ((n = LIST_FIRST(&area->nbr_list)) != NULL) in area_del()
H A Dospf6d.c698 for (a = LIST_FIRST(&conf->area_list); a != NULL; a = na) { in merge_config()
711 for (xa = LIST_FIRST(&xconf->area_list); xa != NULL; xa = na) { in merge_config()
750 orig_rtr_lsa(LIST_FIRST(&a->iface_list)->area); in merge_config()
756 while ((a = LIST_FIRST(&xconf->area_list)) != NULL) { in merge_config()
774 for (i = LIST_FIRST(&a->iface_list); i != NULL; i = ni) { in merge_interfaces()
787 for (xi = LIST_FIRST(&xa->iface_list); xi != NULL; xi = ni) { in merge_interfaces()
/openbsd/usr.sbin/ospfd/
H A Darea.c59 while ((iface = LIST_FIRST(&area->iface_list)) != NULL) { in area_del()
64 while ((n = LIST_FIRST(&area->nbr_list)) != NULL) in area_del()
H A Dospfd.c297 while ((a = LIST_FIRST(&ospfd_conf->area_list)) != NULL) { in main()
740 for (a = LIST_FIRST(&conf->area_list); a != NULL; a = na) { in merge_config()
753 for (xa = LIST_FIRST(&xconf->area_list); xa != NULL; xa = na) { in merge_config()
828 while ((a = LIST_FIRST(&xconf->area_list)) != NULL) { in merge_config()
846 for (i = LIST_FIRST(&a->iface_list); i != NULL; i = ni) { in merge_interfaces()
862 for (xi = LIST_FIRST(&xa->iface_list); xi != NULL; xi = ni) { in merge_interfaces()
/openbsd/sys/arch/macppc/stand/
H A Dalloc.c208 while ((m = LIST_FIRST(&freelist)) != NULL) { in freeall()
214 while ((m = LIST_FIRST(&allocated)) != NULL) { in freeall()
/openbsd/usr.bin/gencat/
H A Dgencat.c611 p = LIST_FIRST(&sethead); in MCAddSet()
654 p = LIST_FIRST(&curSet->msghead); in MCAddMsg()
681 set = LIST_FIRST(&sethead); in MCDelSet()
687 msg = LIST_FIRST(&set->msghead); in MCDelSet()
707 msg = LIST_FIRST(&curSet->msghead); in MCDelMsg()
/openbsd/sys/nfs/
H A Dnfs_aiod.c193 aiod = LIST_FIRST(&nfs_aiods_idle); in nfs_set_naiod()
202 aiod = LIST_FIRST(&nfs_aiods_all); in nfs_set_naiod()
/openbsd/sys/dev/usb/
H A Dusb_mem.c96 for (p = LIST_FIRST(&usb_blk_freelist); p; p = LIST_NEXT(p, next)) { in usb_block_allocmem()
211 for (f = LIST_FIRST(&usb_frag_freelist); f; f = LIST_NEXT(f, next)) in usb_allocmem()
235 f = LIST_FIRST(&usb_frag_freelist); in usb_allocmem()
/openbsd/usr.bin/vi/common/
H A Dmark.c93 while ((lmp = LIST_FIRST(&ep->marks)) != NULL) { in mark_end()
194 for (lastlmp = NULL, lmp = LIST_FIRST(&sp->ep->marks); in mark_find()
/openbsd/lib/libc/thread/
H A Drthread_file.c110 p = LIST_FIRST(&flh[idx].head); in find_lock()
140 p = LIST_FIRST(&flh[idx].head); in do_lock()
/openbsd/usr.sbin/ldpd/
H A Daddress.c72 while ((if_addr = LIST_FIRST(addr_list)) != NULL) { in send_address()
99 while ((if_addr = LIST_FIRST(addr_list)) != NULL) { in send_address()
391 while ((if_addr = LIST_FIRST(addr_list)) != NULL) { in address_list_clr()
/openbsd/sys/sys/
H A Dqueue.h184 #define LIST_FIRST(head) ((head)->lh_first) macro
186 #define LIST_EMPTY(head) (LIST_FIRST(head) == LIST_END(head))
190 for((var) = LIST_FIRST(head); \
195 for ((var) = LIST_FIRST(head); \
203 LIST_FIRST(head) = LIST_END(head); \
/openbsd/sys/netinet/
H A Dif_ether.h352 for ((enm) = LIST_FIRST(&(ac)->ac_multiaddrs); \
379 (step).e_enm = LIST_FIRST(&(ac)->ac_multiaddrs); \
/openbsd/sys/arch/luna88k/luna88k/
H A Disr.c122 for (curisr = LIST_FIRST(list); LIST_NEXT(curisr, isr_link) != NULL; in isrlink_autovec()
/openbsd/sys/uvm/
H A Duvm_aobj.c437 elt = LIST_FIRST(&aobj->u_swhash[i]); in uao_shrink_hash()
594 elt = LIST_FIRST(&aobj->u_swhash[i]); in uao_grow_hash()
1245 if ((aobj = LIST_FIRST(&uao_list)) == NULL) { in uao_swap_off()
1308 for (elt = LIST_FIRST(&aobj->u_swhash[bucket]); in uao_pagein()
1450 for (elt = LIST_FIRST(&aobj->u_swhash[i]); in uao_dropswap_range()

12345678