| /netbsd-src/sys/arch/atari/pci/ |
| H A D | pci_machdep.c | 261 p = LIST_FIRST(head); in insert_into_list() 503 p = LIST_FIRST(&memlist); in enable_pci_devices() 513 } while (overlap_pci_areas(LIST_FIRST(&memlist), in enable_pci_devices() 538 } while (overlap_pci_areas(LIST_FIRST(&memlist), in enable_pci_devices() 572 p = LIST_FIRST(&iolist); in enable_pci_devices() 587 } while (overlap_pci_areas(LIST_FIRST(&iolist), p, in enable_pci_devices() 613 p = LIST_FIRST(&iolist); in enable_pci_devices() 621 p = LIST_FIRST(&memlist); in enable_pci_devices() 633 p = LIST_FIRST(&iolist); in enable_pci_devices() 638 p = LIST_FIRST( in enable_pci_devices() [all...] |
| /netbsd-src/sys/arch/hp300/hp300/ |
| H A D | autoconf.c | 368 for (dd = LIST_FIRST(&dev_data_list); in cpu_rootconf() 521 for (dd = LIST_FIRST(&dev_data_list); dd != NULL; in findbootdev() 595 for (cdd = LIST_FIRST(ddlist); ctlr != 0 && cdd != NULL; in findbootdev_slave() 609 for (dd = LIST_FIRST(&dev_data_list); dd != NULL; in findbootdev_slave() 690 for (cdd = LIST_FIRST(&dev_data_list_hpib), ctlr = 0; in setbootdev() 708 for (cdd = LIST_FIRST(&dev_data_list_scsi), ctlr = 0; in setbootdev() 726 for (dd = LIST_FIRST(&dev_data_list); dd != NULL; ) { in setbootdev() 741 for (dd = LIST_FIRST(&dev_data_list); dd != NULL; in dev_data_lookup() 764 de = LIST_FIRST(ddlist); in dev_data_insert()
|
| /netbsd-src/crypto/dist/ipsec-tools/src/include-glibc/sys/ |
| H A D | queue.h | 275 #define LIST_FIRST(head) ((head)->lh_first) macro 278 for ((var) = LIST_FIRST((head)); \ 283 LIST_FIRST((head)) = NULL; \ 302 if ((LIST_NEXT((elm), field) = LIST_FIRST((head))) != NULL) \ 303 LIST_FIRST((head))->field.le_prev = &LIST_NEXT((elm), field);\ 304 LIST_FIRST((head)) = (elm); \ 305 (elm)->field.le_prev = &LIST_FIRST((head)); \
|
| /netbsd-src/sys/arch/atari/atari/ |
| H A D | intr.c | 181 cur_vec = LIST_FIRST(vec_list); in intr_establish() 192 for (cur_vec = LIST_FIRST(vec_list); in intr_establish() 246 for (cur_vec = LIST_FIRST(vec_list); in intr_disestablish() 289 if ((ih = LIST_FIRST(vec_list)) == NULL) { in intr_dispatch()
|
| /netbsd-src/sys/compat/linux/common/ |
| H A D | linux_exec.c | 126 l = LIST_FIRST(&p->p_lwps); in linux_e_proc_exec() 142 l = LIST_FIRST(&p->p_lwps); in linux_e_proc_exit() 153 l2 = LIST_FIRST(&p2->p_lwps); in linux_e_proc_fork()
|
| /netbsd-src/usr.sbin/sdpd/ |
| H A D | db.c | 159 r = LIST_FIRST(&srv->rlist); in db_next() 375 n = LIST_FIRST(&srv->rlist); in db_create() 408 n = LIST_FIRST(&srv->rlist); in db_unselect() 432 n = LIST_FIRST(&srv->rlist); in db_release()
|
| /netbsd-src/usr.bin/systat/ |
| H A D | bufcache.c | 187 for (i = lastrow, ml = LIST_FIRST(&mount_list); ml != NULL; in showbufcache() 332 if ((ml = LIST_FIRST(&mount_list)) == NULL || in fetchbufcache() 337 for (ml = LIST_FIRST(&mount_list); ml != NULL; in fetchbufcache() 369 while ((ml = LIST_FIRST(&mount_list)) != NULL) { in ml_init() 418 for (ml = LIST_FIRST(&mount_list); ml != NULL; in ml_lookup()
|
| /netbsd-src/sys/netinet/ |
| H A D | sctp_usrreq.c | 711 stcb = LIST_FIRST(&inp->sctp_asoc_list); in sctp_disconnect() 833 stcb = LIST_FIRST(&inp->sctp_asoc_list); in sctp_shutdown() 1169 stcb = LIST_FIRST(&inp->sctp_asoc_list); in sctp_do_connect_x() 1410 stcb = LIST_FIRST(&inp->sctp_asoc_list); in sctp_optsget() 1419 stcb = LIST_FIRST(&inp->sctp_asoc_list); in sctp_optsget() 1539 stcb = LIST_FIRST(&inp->sctp_asoc_list); in sctp_optsget() 1732 stcb = LIST_FIRST(&inp->sctp_asoc_list); in sctp_optsget() 1789 stcb = LIST_FIRST(&inp->sctp_asoc_list); in sctp_optsget() 1873 stcb = LIST_FIRST(&inp->sctp_asoc_list); in sctp_optsget() 1891 stcb = LIST_FIRST( in sctp_optsget() [all...] |
| /netbsd-src/tests/include/sys/ |
| H A D | t_list.c | 72 n3 = LIST_FIRST(&new_head); in ATF_TC_BODY() 79 LIST_REMOVE(LIST_FIRST(&new_head), entries); in ATF_TC_BODY()
|
| /netbsd-src/sys/net/npf/ |
| H A D | npf_conndb.c | 281 return LIST_FIRST(&cd->cd_list); in npf_conndb_getlist() 293 con = LIST_FIRST(&cd->cd_list); in npf_conndb_getnext() 403 while ((con = LIST_FIRST(&cd->cd_list)) != NULL) { in npf_conndb_gc() 438 while ((con = LIST_FIRST(&cd->cd_gclist)) != NULL) { in npf_conndb_gc()
|
| /netbsd-src/sys/net/ |
| H A D | if_ieee1394subr.c | 435 for (rq = LIST_FIRST(&ic->ic_reassq); ; rq = LIST_NEXT(rq, rq_node)) { in ieee1394_reass() 453 for (rp = LIST_FIRST(&rq->rq_pkt); rp != NULL; rp = nrp) { in ieee1394_reass() 469 for (rp = LIST_FIRST(&rq->rq_pkt); rp != NULL; in ieee1394_reass() 578 while ((rq = LIST_FIRST(&ic->ic_reassq)) != NULL) { in ieee1394_drain() 580 while ((rp = LIST_FIRST(&rq->rq_pkt)) != NULL) { in ieee1394_drain() 598 for (rq = LIST_FIRST(&ic->ic_reassq); rq != NULL; in ieee1394_watchdog() 600 for (rp = LIST_FIRST(&rq->rq_pkt); rp != NULL; rp = nrp) { in ieee1394_watchdog()
|
| /netbsd-src/crypto/dist/ipsec-tools/src/racoon/ |
| H A D | handler.c | 278 for (p = LIST_FIRST(&old_iph1->ph2tree); p; p = next) { 499 for (p = LIST_FIRST(&ph1tree); p; p = next) { in flushph1() 616 for (p = LIST_FIRST(&ph2tree); p; p = next) { 861 for (p = LIST_FIRST(&ph2tree); p; p = next) { in flushph2() 893 for (iph2 = LIST_FIRST(&ph2tree); iph2 != NULL; iph2 = next) { 992 for (p = LIST_FIRST(&ctdtree); p; p = next) { 1188 for (r = LIST_FIRST(&rcptree); r; r = next) { in sweep_recvdpkt() 1473 for (iph2 = LIST_FIRST(&iph1->ph2tree); iph2; iph2 = iph2_next) { in remove_ph1() 1493 for (p = LIST_FIRST(&ph1tree); p; p = next) { in revalidate_ph1tree_rmconf() 1514 for (p = LIST_FIRST(&ph2tree); p; p = next) { in revalidate_ph2tree() [all …]
|
| /netbsd-src/sys/kern/ |
| H A D | vfs_dirhash.c | 153 while ((dirh_e = LIST_FIRST(&dirh->entries[hashline])) in dirhash_purge_entries() 160 while ((dirh_e = LIST_FIRST(&dirh->free_entries)) != NULL) { in dirhash_purge_entries() 412 dirh_e = LIST_FIRST(&dirh->entries[hashline]); in dirhash_lookup() 449 dirh_e = LIST_FIRST(&dirh->free_entries); in dirhash_lookup_freed()
|
| H A D | sched_4bsd.c | 452 pl = LIST_FIRST(&parent->p_lwps); in sched_proc_fork() 472 pl = LIST_FIRST(&parent->p_lwps); in sched_proc_exit() 473 cl = LIST_FIRST(&child->p_lwps); in sched_proc_exit()
|
| H A D | subr_extent.c | 140 if ((rp = LIST_FIRST(&fex->fex_freelist)) != NULL) { in extent_alloc_region_descriptor() 334 for (rp = LIST_FIRST(&ex->ex_regions); rp != NULL; ) { in extent_destroy() 370 (LIST_FIRST(&ex->ex_regions) != NULL) && in extent_insert_and_optimize() 371 ((start + size) == LIST_FIRST(&ex->ex_regions)->er_start)) { in extent_insert_and_optimize() 375 LIST_FIRST(&ex->ex_regions)->er_start = start; in extent_insert_and_optimize()
|
| H A D | kern_time.c | 938 for (itn = LIST_FIRST(itl), pitn = NULL; in itimer_settime() 1002 for (itn = LIST_FIRST(it->it_vlist); itn && itn != it; in itimer_gettime() 1116 for (itn = LIST_FIRST(&pts->pts_virtual); in ptimers_free() 1122 LIST_FIRST(&pts->pts_virtual) = NULL; in ptimers_free() 1130 for (itn = LIST_FIRST(&pts->pts_prof); in ptimers_free() 1136 LIST_FIRST(&pts->pts_prof) = NULL; in ptimers_free() 1757 if (user && (it = LIST_FIRST(&pts->pts_virtual)) != NULL) in ptimer_tick() 1760 if ((it = LIST_FIRST(&pts->pts_prof)) != NULL) in ptimer_tick()
|
| /netbsd-src/sys/fs/nfs/client/ |
| H A D | nfs_clsubs.c | 275 dp = LIST_FIRST(&np->n_cookies); in ncl_getcookie() 327 if (LIST_FIRST(&np->n_cookies)) in ncl_invaldir() 328 LIST_FIRST(&np->n_cookies)->ndm_eocookie = 0; in ncl_invaldir()
|
| /netbsd-src/usr.bin/gencat/ |
| H A D | gencat.c | 765 p = LIST_FIRST(&sethead); in MCAddSet() 806 p = LIST_FIRST(&curSet->msghead); in MCAddMsg() 843 set = LIST_FIRST(&sethead); in MCDelSet() 849 while ((msg = LIST_FIRST(&set->msghead)) != NULL) { in MCDelSet() 868 msg = LIST_FIRST(&curSet->msghead); in MCDelMsg()
|
| /netbsd-src/sbin/fsck_lfs/ |
| H A D | vnode.c | 133 while ((bp = LIST_FIRST(&tossvp->v_dirtyblkhd)) != NULL) { in vnode_destroy() 138 while ((bp = LIST_FIRST(&tossvp->v_cleanblkhd)) != NULL) { in vnode_destroy()
|
| /netbsd-src/external/bsd/nvi/dist/common/ |
| H A D | mark.c | 101 while ((lmp = LIST_FIRST(&ep->marks)) != NULL) { in mark_end() 202 for (lastlmp = NULL, lmp = LIST_FIRST(&sp->ep->marks); in mark_find()
|
| /netbsd-src/dist/pf/usr.sbin/ftp-proxy/ |
| H A D | ipf.c | 131 while ((fpn = LIST_FIRST(&fpe->nat_entries)) != NULL) { in ftp_proxy_entry_remove() 289 for (fpe = LIST_FIRST(&ftp_proxy_entries); fpe != NULL; fpe = n) { in ipf_do_commit() 297 while ((fpn = LIST_FIRST(&fpe->nat_entries)) != NULL) { in ipf_do_commit()
|
| /netbsd-src/crypto/external/bsd/libsaslc/dist/src/ |
| H A D | dict.c | 175 saslc__dict_list_node_destroy(LIST_FIRST(dict + i)); in saslc__dict_destroy() 303 __func__, key, LIST_FIRST(dict)->key); in saslc__dict_insert()
|
| /netbsd-src/sys/arch/playstation2/dev/ |
| H A D | ohci_sbus.c | 208 for (ds = LIST_FIRST(&sc->sc_dmaseg_head); ds != NULL; in _ohci_sbus_mem_free() 231 for (ds = LIST_FIRST(&sc->sc_dmaseg_head); ds != NULL; in _ohci_sbus_mem_map()
|
| /netbsd-src/external/bsd/libevent/dist/ |
| H A D | util-internal.h | 188 elm1 = LIST_FIRST((dlist)); \ 201 nextp = &LIST_FIRST((dlist)); \ 202 elm1 = LIST_FIRST((dlist)); \
|
| /netbsd-src/external/bsd/ntp/dist/sntp/libevent/compat/sys/ |
| H A D | queue.h | 159 #define LIST_FIRST(head) ((head)->lh_first) macro 161 #define LIST_EMPTY(head) (LIST_FIRST(head) == LIST_END(head)) 165 for((var) = LIST_FIRST(head); \ 173 LIST_FIRST(head) = LIST_END(head); \
|