Home
last modified time | relevance | path

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

123456

/freebsd-13.1/sys/dev/aic7xxx/aicasm/
H A Daicasm_symbol.c214 curnode = SLIST_FIRST(symlist); in symlist_search()
256 curnode = SLIST_FIRST(symlist); in symlist_add()
303 node1 = SLIST_FIRST(symlist); in symlist_free()
567 while (SLIST_FIRST(&masks) != NULL) { in symtable_dump()
570 curnode = SLIST_FIRST(&masks); 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()
597 curnode = SLIST_FIRST(&registers); in symtable_dump()
641 while (SLIST_FIRST(&constants) != NULL) { in symtable_dump()
[all …]
H A Daicasm.c219 for (include_dir = SLIST_FIRST(&search_path); in main()
278 if (SLIST_FIRST(&scope_stack) == NULL in main()
279 || SLIST_FIRST(&scope_stack)->type != SCOPE_ROOT) { in main()
285 process_scope(SLIST_FIRST(&scope_stack)); in main()
292 dump_scope(SLIST_FIRST(&scope_stack)); in main()
399 for (cur_node = SLIST_FIRST(&patch_functions); in output_code()
547 for (func_count = 0, cur_func = SLIST_FIRST(&patch_functions); in output_listing()
568 for (cur_func = SLIST_FIRST(&patch_functions); in output_listing()
772 if (SLIST_FIRST(&scope_stack) != NULL) { in scope_alloc()
773 TAILQ_INSERT_TAIL(&SLIST_FIRST(&scope_stack)->inner_scope, in scope_alloc()
/freebsd-13.1/sys/sys/
H A Dqueue.h219 if ((SLIST_FIRST(head1) = SLIST_FIRST(head2)) != NULL) \
221 } else if (SLIST_FIRST(head2) != NULL) { \
234 for ((var) = SLIST_FIRST((head)); \
244 for ((var) = SLIST_FIRST((head)); \
254 for ((varp) = &SLIST_FIRST((head)); \
259 SLIST_FIRST((head)) = NULL; \
269 SLIST_FIRST((head)) = (elm); \
275 if (SLIST_FIRST((head)) == (elm)) { \
295 SLIST_FIRST((head)) = SLIST_NEXT(SLIST_FIRST((head)), field); \
307 SLIST_FIRST(head1) = SLIST_FIRST(head2); \
[all …]
/freebsd-13.1/contrib/openbsm/compat/
H A Dqueue.h158 #define SLIST_FIRST(head) ((head)->slh_first) macro
161 for ((var) = SLIST_FIRST((head)); \
166 for ((var) = SLIST_FIRST((head)); \
171 for ((varp) = &SLIST_FIRST((head)); \
176 SLIST_FIRST((head)) = NULL; \
185 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \
186 SLIST_FIRST((head)) = (elm); \
192 if (SLIST_FIRST((head)) == (elm)) { \
196 struct type *curelm = SLIST_FIRST((head)); \
206 SLIST_FIRST((head)) = SLIST_NEXT(SLIST_FIRST((head)), field); \
/freebsd-13.1/sys/netpfil/pf/
H A Dpf_osfp.c250 while ((fp = SLIST_FIRST(&V_pf_osfp_list))) { in pf_osfp_flush()
252 while ((entry = SLIST_FIRST(&fp->fp_oses))) { in pf_osfp_flush()
514 SLIST_FIRST(&f2->fp_oses)->fp_class_nm, in pf_osfp_validate()
515 SLIST_FIRST(&f2->fp_oses)->fp_version_nm, in pf_osfp_validate()
516 SLIST_FIRST(&f2->fp_oses)->fp_subtype_nm, in pf_osfp_validate()
517 SLIST_FIRST(&f->fp_oses)->fp_class_nm, in pf_osfp_validate()
518 SLIST_FIRST(&f->fp_oses)->fp_version_nm, in pf_osfp_validate()
519 SLIST_FIRST(&f->fp_oses)->fp_subtype_nm); in pf_osfp_validate()
522 SLIST_FIRST(&f->fp_oses)->fp_class_nm, in pf_osfp_validate()
523 SLIST_FIRST(&f->fp_oses)->fp_version_nm, in pf_osfp_validate()
[all …]
/freebsd-13.1/lib/libc/tests/sys/
H A Dqueue_test.c74 ATF_REQUIRE_EQ(SLIST_FIRST(&head), n1); in ATF_TC_BODY()
111 ATF_REQUIRE_EQ(SLIST_FIRST(&head), n1); in ATF_TC_BODY()
116 ATF_REQUIRE_EQ(SLIST_FIRST(&head), n2); in ATF_TC_BODY()
143 ATF_REQUIRE_EQ(SLIST_FIRST(&head), n2); in ATF_TC_BODY()
/freebsd-13.1/lib/libgssapi/
H A Dgss_release_cred.c47 while (SLIST_FIRST(&cred->gc_mc)) { in gss_release_cred()
48 mc = SLIST_FIRST(&cred->gc_mc); in gss_release_cred()
H A Dgss_release_name.c48 while (SLIST_FIRST(&name->gn_mn)) { in gss_release_name()
50 mn = SLIST_FIRST(&name->gn_mn); in gss_release_name()
H A Dgss_export_name.c52 mn = SLIST_FIRST(&name->gn_mn); in gss_export_name()
/freebsd-13.1/bin/pkill/
H A Dpkill.c416 if (SLIST_FIRST(&ruidlist) != NULL && li == NULL) { in main()
424 if (SLIST_FIRST(&rgidlist) != NULL && li == NULL) { in main()
432 if (SLIST_FIRST(&euidlist) != NULL && li == NULL) { in main()
440 if (SLIST_FIRST(&ppidlist) != NULL && li == NULL) { in main()
448 if (SLIST_FIRST(&pgrplist) != NULL && li == NULL) { in main()
460 if (SLIST_FIRST(&tdevlist) != NULL && li == NULL) { in main()
468 if (SLIST_FIRST(&sidlist) != NULL && li == NULL) { in main()
481 if (SLIST_FIRST(&jidlist) != NULL && li == NULL) { in main()
494 if (SLIST_FIRST(&classlist) != NULL && li == NULL) { in main()
/freebsd-13.1/usr.sbin/pmc/
H A Dpmc_util.c97 pt = SLIST_FIRST(&args->pa_targets); in pmc_util_get_pid()
112 pt = SLIST_FIRST(&args->pa_targets); in pmc_util_kill_process()
/freebsd-13.1/contrib/bsnmp/snmpd/
H A Dtrap.c656 return (SLIST_FIRST(&target_addresslist)); in target_first_address()
686 if ((prev = SLIST_FIRST(&target_addresslist)) == NULL || in target_new_address()
757 return (SLIST_FIRST(&target_paramlist)); in target_first_param()
785 if ((prev = SLIST_FIRST(&target_paramlist)) == NULL || in target_new_param()
822 return (SLIST_FIRST(&target_notifylist)); in target_first_notify()
850 if ((prev = SLIST_FIRST(&target_notifylist)) == NULL || in target_new_notify()
891 while ((addrs = SLIST_FIRST(&target_addresslist)) != NULL) { in target_flush_all()
899 while ((param = SLIST_FIRST(&target_paramlist)) != NULL) { in target_flush_all()
905 while ((notify = SLIST_FIRST(&target_notifylist)) != NULL) { in target_flush_all()
/freebsd-13.1/crypto/openssh/openbsd-compat/
H A Dsys-queue.h96 #undef SLIST_FIRST
202 #define SLIST_FIRST(head) ((head)->slh_first) macro
204 #define SLIST_EMPTY(head) (SLIST_FIRST(head) == SLIST_END(head))
208 for((var) = SLIST_FIRST(head); \
213 for ((var) = SLIST_FIRST(head); \
221 SLIST_FIRST(head) = SLIST_END(head); \
/freebsd-13.1/lib/libthr/thread/
H A Dthr_sleepq.c152 td->sleepqueue = SLIST_FIRST(&sq->sq_freeq); in _sleepq_remove()
176 sq2 = SLIST_FIRST(&sq->sq_freeq); in _sleepq_drop()
/freebsd-13.1/contrib/nvi/common/
H A Dseq.c139 if (qp == SLIST_FIRST(sp->gp->seqq)) in seq_delete()
196 for (qp = SLIST_FIRST(sp->gp->seqq); qp != NULL; in seq_find()
261 while ((qp = SLIST_FIRST(gp->seqq)) != NULL) { in seq_close()
H A Dcut.c198 if (cbp == SLIST_FIRST(sp->gp->cutq)) in cb_rotate()
264 while ((cbp = SLIST_FIRST(gp->cutq)) != NULL) { in cut_close()
/freebsd-13.1/sys/netgraph/
H A Dng_pptpgre.c731 np = SLIST_FIRST(q); in ng_pptpgre_sendq()
923 prev = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_rcvdata_lower()
962 np = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_rcvdata_lower()
981 np = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_rcvdata_lower()
1016 np = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_rcvdata_lower()
1182 last = np = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_reorder_timeout()
1189 np = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_reorder_timeout()
1265 np = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_reset()
/freebsd-13.1/sys/kern/
H A Dkern_et.c87 SLIST_FIRST(&eventtimers)->et_quality < et->et_quality) { in et_register()
252 if (et != SLIST_FIRST(&eventtimers)) in sysctl_kern_eventtimer_choice()
/freebsd-13.1/contrib/ntp/sntp/libevent/compat/sys/
H A Dqueue.h106 #define SLIST_FIRST(head) ((head)->slh_first) macro
108 #define SLIST_EMPTY(head) (SLIST_FIRST(head) == SLIST_END(head))
112 for((var) = SLIST_FIRST(head); \
120 SLIST_FIRST(head) = SLIST_END(head); \
/freebsd-13.1/contrib/libevent/compat/sys/
H A Dqueue.h106 #define SLIST_FIRST(head) ((head)->slh_first) macro
108 #define SLIST_EMPTY(head) (SLIST_FIRST(head) == SLIST_END(head))
112 for((var) = SLIST_FIRST(head); \
120 SLIST_FIRST(head) = SLIST_END(head); \
/freebsd-13.1/sys/mips/malta/
H A Duart_bus_maltausart.c83 sc->sc_sysdev = SLIST_FIRST(&uart_sysdevs); in uart_malta_probe()
/freebsd-13.1/sys/mips/cavium/
H A Duart_bus_octeonusart.c100 sc->sc_sysdev = SLIST_FIRST(&uart_sysdevs); in uart_octeon_probe()
/freebsd-13.1/sys/mips/atheros/ar531x/
H A Duart_bus_ar5315.c76 sc->sc_sysdev = SLIST_FIRST(&uart_sysdevs); in uart_ar5315_probe()
/freebsd-13.1/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmpmap.c115 while ((p = SLIST_FIRST(headp)) != NULL) { in snmp_mapping_listfree()
149 while ((t = SLIST_FIRST(headp)) != NULL) { in snmp_mapping_table_listfree()
165 while ((t = SLIST_FIRST(headp)) != NULL) { in snmp_enumtc_listfree()
302 if ((prev = SLIST_FIRST(headp)) == NULL || in snmp_mapping_insert()
508 if ((prev = SLIST_FIRST(&snmptoolctx->snmp_tablelist)) == NULL || in snmp_table_insert()
/freebsd-13.1/contrib/dma/
H A Daliases_parse.y74 SLIST_FIRST(&al->dests) = $3;

123456