Home
last modified time | relevance | path

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

12345

/freebsd-14.2/sys/dev/aic7xxx/aicasm/
H A Daicasm_symbol.c212 curnode = SLIST_FIRST(symlist); in symlist_search()
254 curnode = SLIST_FIRST(symlist); in symlist_add()
301 node1 = SLIST_FIRST(symlist); in symlist_free()
565 while (SLIST_FIRST(&masks) != NULL) { in symtable_dump()
568 curnode = SLIST_FIRST(&masks); in symtable_dump()
578 while (SLIST_FIRST(&aliases) != NULL) { in symtable_dump()
581 curnode = SLIST_FIRST(&aliases); in symtable_dump()
590 while (SLIST_FIRST(&registers) != NULL) { in symtable_dump()
595 curnode = SLIST_FIRST(&registers); in symtable_dump()
639 while (SLIST_FIRST(&constants) != NULL) { in symtable_dump()
[all …]
H A Daicasm.c217 for (include_dir = SLIST_FIRST(&search_path); in main()
276 if (SLIST_FIRST(&scope_stack) == NULL in main()
277 || SLIST_FIRST(&scope_stack)->type != SCOPE_ROOT) { in main()
283 process_scope(SLIST_FIRST(&scope_stack)); in main()
290 dump_scope(SLIST_FIRST(&scope_stack)); in main()
397 for (cur_node = SLIST_FIRST(&patch_functions); in output_code()
545 for (func_count = 0, cur_func = SLIST_FIRST(&patch_functions); in output_listing()
566 for (cur_func = SLIST_FIRST(&patch_functions); in output_listing()
770 if (SLIST_FIRST(&scope_stack) != NULL) { in scope_alloc()
771 TAILQ_INSERT_TAIL(&SLIST_FIRST(&scope_stack)->inner_scope, in scope_alloc()
/freebsd-14.2/contrib/libarchive/unzip/
H A Dla_queue.h187 if ((SLIST_FIRST(head1) = SLIST_FIRST(head2)) != NULL) \
189 } else if (SLIST_FIRST(head2) != NULL) { \
202 for ((var) = SLIST_FIRST((head)); \
212 for ((var) = SLIST_FIRST((head)); \
222 for ((varp) = &SLIST_FIRST((head)); \
227 SLIST_FIRST((head)) = NULL; \
237 SLIST_FIRST((head)) = (elm); \
244 if (SLIST_FIRST((head)) == (elm)) { \
262 SLIST_FIRST((head)) = SLIST_NEXT(SLIST_FIRST((head)), field); \
273 SLIST_FIRST(head1) = SLIST_FIRST(head2); \
[all …]
/freebsd-14.2/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 …]
H A Dqueue_mergesort.h187 SLIST_HEAD_INITIALIZER, SLIST_EMPTY, SLIST_FIRST, SLIST_NEXT, \
190 SYSQUEUE_MERGE((list1), (list2), (thunk), (cmp), TYPE, NAME, SLIST_FIRST, \
/freebsd-14.2/sys/netpfil/pf/
H A Dpf_osfp.c248 while ((fp = SLIST_FIRST(&V_pf_osfp_list))) { in pf_osfp_flush()
250 while ((entry = SLIST_FIRST(&fp->fp_oses))) { in pf_osfp_flush()
512 SLIST_FIRST(&f2->fp_oses)->fp_class_nm, in pf_osfp_validate()
513 SLIST_FIRST(&f2->fp_oses)->fp_version_nm, in pf_osfp_validate()
514 SLIST_FIRST(&f2->fp_oses)->fp_subtype_nm, in pf_osfp_validate()
515 SLIST_FIRST(&f->fp_oses)->fp_class_nm, in pf_osfp_validate()
516 SLIST_FIRST(&f->fp_oses)->fp_version_nm, in pf_osfp_validate()
517 SLIST_FIRST(&f->fp_oses)->fp_subtype_nm); in pf_osfp_validate()
520 SLIST_FIRST(&f->fp_oses)->fp_class_nm, in pf_osfp_validate()
521 SLIST_FIRST(&f->fp_oses)->fp_version_nm, in pf_osfp_validate()
[all …]
/freebsd-14.2/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-14.2/lib/libc/tests/sys/
H A Dqueue_test.c71 ATF_REQUIRE_EQ(SLIST_FIRST(&head), n1); in ATF_TC_BODY()
108 ATF_REQUIRE_EQ(SLIST_FIRST(&head), n1); in ATF_TC_BODY()
113 ATF_REQUIRE_EQ(SLIST_FIRST(&head), n2); in ATF_TC_BODY()
140 ATF_REQUIRE_EQ(SLIST_FIRST(&head), n2); in ATF_TC_BODY()
/freebsd-14.2/lib/libgssapi/
H A Dgss_release_cred.c45 while (SLIST_FIRST(&cred->gc_mc)) { in gss_release_cred()
46 mc = SLIST_FIRST(&cred->gc_mc); in gss_release_cred()
H A Dgss_release_name.c46 while (SLIST_FIRST(&name->gn_mn)) { in gss_release_name()
48 mn = SLIST_FIRST(&name->gn_mn); in gss_release_name()
H A Dgss_export_name.c50 mn = SLIST_FIRST(&name->gn_mn); in gss_export_name()
/freebsd-14.2/bin/pkill/
H A Dpkill.c441 if (SLIST_FIRST(&ruidlist) != NULL && li == NULL) { in main()
449 if (SLIST_FIRST(&rgidlist) != NULL && li == NULL) { in main()
457 if (SLIST_FIRST(&euidlist) != NULL && li == NULL) { in main()
465 if (SLIST_FIRST(&ppidlist) != NULL && li == NULL) { in main()
473 if (SLIST_FIRST(&pgrplist) != NULL && li == NULL) { in main()
485 if (SLIST_FIRST(&tdevlist) != NULL && li == NULL) { in main()
493 if (SLIST_FIRST(&sidlist) != NULL && li == NULL) { in main()
506 if (SLIST_FIRST(&jidlist) != NULL && li == NULL) { in main()
519 if (SLIST_FIRST(&classlist) != NULL && li == NULL) { in main()
/freebsd-14.2/usr.sbin/pmc/
H A Dpmc_util.c95 pt = SLIST_FIRST(&args->pa_targets); in pmc_util_get_pid()
110 pt = SLIST_FIRST(&args->pa_targets); in pmc_util_kill_process()
/freebsd-14.2/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-14.2/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-14.2/lib/libthr/thread/
H A Dthr_sleepq.c149 td->sleepqueue = SLIST_FIRST(&sq->sq_freeq); in _sleepq_remove()
173 sq2 = SLIST_FIRST(&sq->sq_freeq); in _sleepq_drop()
/freebsd-14.2/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-14.2/sys/netgraph/
H A Dng_pptpgre.c729 np = SLIST_FIRST(q); in ng_pptpgre_sendq()
921 prev = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_rcvdata_lower()
960 np = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_rcvdata_lower()
979 np = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_rcvdata_lower()
1014 np = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_rcvdata_lower()
1180 last = np = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_reorder_timeout()
1187 np = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_reorder_timeout()
1263 np = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_reset()
/freebsd-14.2/sys/kern/
H A Dkern_et.c85 SLIST_FIRST(&eventtimers)->et_quality < et->et_quality) { in et_register()
250 if (et != SLIST_FIRST(&eventtimers)) in sysctl_kern_eventtimer_choice()
/freebsd-14.2/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-14.2/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-14.2/contrib/dma/
H A Daliases_parse.y74 SLIST_FIRST(&al->dests) = $3;
/freebsd-14.2/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmpmap.c113 while ((p = SLIST_FIRST(headp)) != NULL) { in snmp_mapping_listfree()
147 while ((t = SLIST_FIRST(headp)) != NULL) { in snmp_mapping_table_listfree()
163 while ((t = SLIST_FIRST(headp)) != NULL) { in snmp_enumtc_listfree()
300 if ((prev = SLIST_FIRST(headp)) == NULL || in snmp_mapping_insert()
506 if ((prev = SLIST_FIRST(&snmptoolctx->snmp_tablelist)) == NULL || in snmp_table_insert()
/freebsd-14.2/usr.sbin/makefs/zfs/
H A Dfs.c219 dir = SLIST_FIRST(&arg->dirs); in fs_populate_dirent()
267 *dirfdp = SLIST_FIRST(&arg->dirs)->dirfd; in fs_populate_path()
370 parent = SLIST_FIRST(&arg->dirs)->objid; in fs_populate_sattrs()
391 arg->rootdirid : SLIST_FIRST(&arg->dirs)->objid; in fs_populate_sattrs()
399 parent = SLIST_FIRST(&arg->dirs)->objid; in fs_populate_sattrs()
690 dir = SLIST_FIRST(&arg->dirs); in fs_foreach_populate()

12345