/openbsd/sbin/isakmpd/ |
H A D | transport.c | 59 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 D | conf.c | 109 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 D | doi.c | 50 for (doi = LIST_FIRST(&doi_tab); doi && doi->id != doi_id; in doi_lookup()
|
H A D | isakmp_cfg.c | 416 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 D | virtual.c | 168 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 D | sa.c | 131 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 D | mii.c | 90 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 D | net.c | 288 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 D | frag6.c | 338 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 D | vfs_sync.c | 149 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 D | area.c | 58 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 D | ospf6d.c | 698 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 D | area.c | 59 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 D | ospfd.c | 297 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 D | alloc.c | 208 while ((m = LIST_FIRST(&freelist)) != NULL) { in freeall() 214 while ((m = LIST_FIRST(&allocated)) != NULL) { in freeall()
|
/openbsd/usr.bin/gencat/ |
H A D | gencat.c | 611 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 D | nfs_aiod.c | 193 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 D | usb_mem.c | 96 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 D | mark.c | 93 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 D | rthread_file.c | 110 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 D | address.c | 72 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 D | queue.h | 184 #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 D | if_ether.h | 352 for ((enm) = LIST_FIRST(&(ac)->ac_multiaddrs); \ 379 (step).e_enm = LIST_FIRST(&(ac)->ac_multiaddrs); \
|
/openbsd/sys/arch/luna88k/luna88k/ |
H A D | isr.c | 122 for (curisr = LIST_FIRST(list); LIST_NEXT(curisr, isr_link) != NULL; in isrlink_autovec()
|
/openbsd/sys/uvm/ |
H A D | uvm_aobj.c | 437 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()
|