Home
last modified time | relevance | path

Searched refs:SLIST_FIRST (Results 1 – 25 of 93) sorted by relevance

1234

/netbsd-src/sys/dev/microcode/aic7xxx/
H A Daicasm_symbol.c213 curnode = SLIST_FIRST(symlist); in symlist_search()
255 curnode = SLIST_FIRST(symlist); in symlist_add()
302 node1 = SLIST_FIRST(symlist); in symlist_free()
318 while((node = SLIST_FIRST(symlist_src2)) != NULL) { in symlist_merge()
567 while (SLIST_FIRST(&masks) != NULL) { in symtable_dump()
570 curnode = SLIST_FIRST(&masks); in symtable_dump()
573 regnode = SLIST_FIRST(&curnode->symbol->info.finfo->symrefs); in symtable_dump()
580 while (SLIST_FIRST(&aliases) != NULL) { in symtable_dump()
583 curnode = SLIST_FIRST(&aliases); in symtable_dump()
592 while (SLIST_FIRST(&registers) != NULL) { in symtable_dump()
[all …]
H A Daicasm.c223 for (include_dir = SLIST_FIRST(&search_path); in main()
279 if (SLIST_FIRST(&scope_stack) == NULL in main()
280 || SLIST_FIRST(&scope_stack)->type != SCOPE_ROOT) { in main()
286 process_scope(SLIST_FIRST(&scope_stack)); in main()
293 dump_scope(SLIST_FIRST(&scope_stack)); in main()
401 for (cur_node = SLIST_FIRST(&patch_functions); in output_code()
552 for (func_count = 0, cur_func = SLIST_FIRST(&patch_functions); in output_listing()
573 for (cur_func = SLIST_FIRST(&patch_functions); in output_listing()
775 if (SLIST_FIRST(&scope_stack) != NULL) { in scope_alloc()
776 TAILQ_INSERT_TAIL(&SLIST_FIRST(&scope_stack)->inner_scope, in scope_alloc()
H A Daicasm_gram.y1076 scope_context = SLIST_FIRST(&scope_stack);
1101 scope_context = SLIST_FIRST(&scope_stack);
1121 scope_context = SLIST_FIRST(&scope_stack);
1134 if (SLIST_FIRST(&scope_stack) == NULL) {
/netbsd-src/crypto/dist/ipsec-tools/src/include-glibc/sys/
H A Dqueue.h127 #define SLIST_FIRST(head) ((head)->slh_first) macro
130 for ((var) = SLIST_FIRST((head)); \
135 SLIST_FIRST((head)) = NULL; \
144 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \
145 SLIST_FIRST((head)) = (elm); \
151 if (SLIST_FIRST((head)) == (elm)) { \
155 struct type *curelm = SLIST_FIRST((head)); \
164 SLIST_FIRST((head)) = SLIST_NEXT(SLIST_FIRST((head)), field); \
/netbsd-src/sys/dist/pf/net/
H A Dpf_osfp.c335 while ((fp = SLIST_FIRST(&pf_osfp_list))) { in pf_osfp_flush()
337 while ((entry = SLIST_FIRST(&fp->fp_oses))) { in pf_osfp_flush()
596 SLIST_FIRST(&f2->fp_oses)->fp_class_nm, in pf_osfp_validate()
597 SLIST_FIRST(&f2->fp_oses)->fp_version_nm, in pf_osfp_validate()
598 SLIST_FIRST(&f2->fp_oses)->fp_subtype_nm, in pf_osfp_validate()
599 SLIST_FIRST(&f->fp_oses)->fp_class_nm, in pf_osfp_validate()
600 SLIST_FIRST(&f->fp_oses)->fp_version_nm, in pf_osfp_validate()
601 SLIST_FIRST(&f->fp_oses)->fp_subtype_nm); in pf_osfp_validate()
604 SLIST_FIRST(&f->fp_oses)->fp_class_nm, in pf_osfp_validate()
605 SLIST_FIRST(&f->fp_oses)->fp_version_nm, in pf_osfp_validate()
[all …]
/netbsd-src/usr.bin/pkill/
H A Dpkill.c363 if (SLIST_FIRST(&ruidlist) != NULL && li == NULL) { in main()
371 if (SLIST_FIRST(&rgidlist) != NULL && li == NULL) { in main()
379 if (SLIST_FIRST(&euidlist) != NULL && li == NULL) { in main()
387 if (SLIST_FIRST(&ppidlist) != NULL && li == NULL) { in main()
395 if (SLIST_FIRST(&pgrplist) != NULL && li == NULL) { in main()
407 if (SLIST_FIRST(&tdevlist) != NULL && li == NULL) { in main()
415 if (SLIST_FIRST(&sidlist) != NULL && li == NULL) { in main()
/netbsd-src/lib/libc/stdlib/
H A Dhcreate.c171 ie = SLIST_FIRST(&table[idx]); in hdestroy1_r()
217 ie = SLIST_FIRST(chain); in hsearch_r()
H A Dcxa_thread_atexit.c55 while ((entry = SLIST_FIRST(&cxa_dtors)) != NULL) { in __cxa_thread_run_atexit()
/netbsd-src/usr.bin/config/
H A Dutil.c81 struct prefix *prevpf = SLIST_FIRST(pl); in prefixlist_push()
104 if ((pf = SLIST_FIRST(pl)) == NULL) { in prefixlist_pop()
160 pf = SLIST_EMPTY(&prefixes) ? NULL : SLIST_FIRST(&prefixes); in sourcepath()
H A Dscan.l440 pf = SLIST_FIRST(&curdirs);
526 struct prefix *pf = SLIST_FIRST(&curdirs);
H A Dfiles.c180 SLIST_FIRST(&prefixes)->pf_prefix; in addfile()
182 SLIST_FIRST(&buildprefixes)->pf_prefix; in addfile()
/netbsd-src/external/bsd/ntp/dist/sntp/libevent/compat/sys/
H A Dqueue.h108 #define SLIST_FIRST(head) ((head)->slh_first) macro
110 #define SLIST_EMPTY(head) (SLIST_FIRST(head) == SLIST_END(head))
114 for((var) = SLIST_FIRST(head); \
122 SLIST_FIRST(head) = SLIST_END(head); \
/netbsd-src/sys/arch/arm/xscale/
H A Dpxa2x0_dmac.c945 for (desc = SLIST_FIRST(&dxs->dxs_descs); desc; desc = ndesc) { in pxa2x0_dmac_abort_xfer()
1074 (desc = SLIST_FIRST(&sc->sc_descs)) != NULL) { in dmac_continue_xfer()
1152 for (desc = SLIST_FIRST(&dxs->dxs_descs); in dmac_continue_xfer()
1179 dd->dd_ddadr = SLIST_FIRST(&dxs->dxs_descs)->d_desc_pa; in dmac_continue_xfer()
1186 SLIST_FIRST(&dxs->dxs_descs)->d_desc_pa); in dmac_continue_xfer()
1236 for (desc = SLIST_FIRST(&dxs->dxs_descs); desc; desc = ndesc) { in dmac_channel_intr()
/netbsd-src/lib/libpthread/
H A Dres_state.c88 st = SLIST_FIRST(&res_list); in __res_get_state()
/netbsd-src/common/lib/libprop/
H A Dprop_stack.c89 if ((eelem = SLIST_FIRST(&stack->extern_elems)) != NULL) { in _prop_stack_pop()
/netbsd-src/sys/arch/xen/xen/
H A Dif_xennet_xenbus.c773 req = SLIST_FIRST(&sc->sc_rxreq_head); in xennet_alloc_rx_buffer()
1108 KASSERT(SLIST_FIRST(&sc->sc_txreq_head) == req); in xennet_submit_tx_request()
1137 req = SLIST_FIRST(&sc->sc_txreq_head); in xennet_submit_tx_request()
1150 req = SLIST_FIRST(&txchain); in xennet_submit_tx_request()
1183 req = SLIST_FIRST(&sc->sc_txreq_head); in xennet_start()
H A Dxbd_xenbus.c1066 while ((xbdreq = SLIST_FIRST(&sc->sc_xbdreq_head)) == NULL) in xbdioctl()
1156 xbdreq = SLIST_FIRST(&sc->sc_xbdreq_head); in xbd_diskstart()
1240 struct xbd_req *xbdreq2 = SLIST_FIRST(&sc->sc_xbdreq_head); in xbd_diskstart()
1347 xbdreq->req_indirect = SLIST_FIRST(&sc->sc_indirect_head); in xbd_diskstart_submit_indirect()
/netbsd-src/sys/arch/arm/arm32/
H A Dpmap.c996 pvp = &SLIST_FIRST(&md->pvh_list); in pmap_enter_pv()
1101 prevptr = &SLIST_FIRST(&md->pvh_list); /* prev pv_entry ptr */ in pmap_remove_pv()
1153 if (SLIST_FIRST(&md->pvh_list) == NULL in pmap_remove_pv()
1154 || (SLIST_FIRST(&md->pvh_list)->pv_flags & PVF_KWRITE) != PVF_KWRITE) in pmap_remove_pv()
2062 pv = SLIST_FIRST(&md->pvh_list); in pmap_vac_me_harder()
2125 KASSERT(SLIST_FIRST(&md->pvh_list) != NULL); in pmap_vac_me_harder()
2126 KASSERT(SLIST_NEXT(SLIST_FIRST(&md->pvh_list), pv_link) != NULL); in pmap_vac_me_harder()
2144 pv = SLIST_FIRST(&md->pvh_list); in pmap_vac_me_harder()
2212 KASSERT(SLIST_FIRST(&md->pvh_list) != NULL); in pmap_vac_me_harder()
2213 KASSERT(SLIST_NEXT(SLIST_FIRST(&md->pvh_list), pv_link) != NULL); in pmap_vac_me_harder()
[all …]
H A Darm32_kvminit.c333 pv_addr_t **pvp = &SLIST_FIRST(&bmi->bmi_chunks); in add_pages()
358 pv_addr_t * const new_pv = SLIST_FIRST(&bmi->bmi_freechunks); in add_pages()
822 pv_addr_t *pv = SLIST_FIRST(&bmi->bmi_chunks); in arm32_kernel_vm_init()
/netbsd-src/sys/dev/dm/
H A Ddm_pdev.c201 while ((dmp = SLIST_FIRST(&dm_pdev_list)) != NULL) { in dm_pdev_destroy()
H A Ddm_table.c167 while ((table_en = SLIST_FIRST(tbl)) != NULL) { in dm_table_destroy()
/netbsd-src/sbin/dump/
H A Ditime.c122 dtwalk = SLIST_FIRST(&dthead); in readdumptimes()
/netbsd-src/sys/dev/ppbus/
H A Dppbus_conf.c219 while ((child = SLIST_FIRST(&ppbus->sc_childlist_head)) != NULL) { in ppbus_detach()
/netbsd-src/lib/libc/cdb/
H A Dcdbw.c305 while ((key_hash = SLIST_FIRST(head)) != NULL) { in cdbw_put_key()
328 while ((key_hash = SLIST_FIRST(head)) != NULL) { in cdbw_close()
/netbsd-src/sys/ddb/
H A Ddb_xxx.c377 SLIST_FIRST(&sel.sel_klist), sel.sel_cluster, sel.sel_lwp, in db_show_selinfo()

1234