/freebsd/sys/dev/aic7xxx/aicasm/ |
H A D | aicasm_symbol.c | 212 curnode = SLIST_FIRST(symlist); in symlist_search() 254 curnode = SLIST_FIRST(symlist); in symlist_add() 301 node1 = SLIST_FIRST(symlist); in symlist_free() 317 while((node = SLIST_FIRST(symlist_src2)) != NULL) { in symlist_merge() 568 while (SLIST_FIRST(&masks) != NULL) { in symtable_dump() 571 curnode = SLIST_FIRST(&masks); in symtable_dump() 574 regnode = SLIST_FIRST(&curnode->symbol->info.finfo->symrefs); in symtable_dump() 581 while (SLIST_FIRST(&aliases) != NULL) { in symtable_dump() 584 curnode = SLIST_FIRST(&aliases); in symtable_dump() 593 while (SLIST_FIRST( in symtable_dump() [all...] |
H A D | aicasm.c | 217 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/contrib/libarchive/unzip/ |
H A D | la_queue.h | 185 QUEUE_TYPEOF(type) *curelm = SLIST_FIRST(head1); \ 187 if ((SLIST_FIRST(head1) = SLIST_FIRST(head2)) != NULL) \ 189 } else if (SLIST_FIRST(head2) != NULL) { \ 192 SLIST_NEXT(curelm, field) = SLIST_FIRST(head2); \ 199 #define SLIST_FIRST(head) ((head)->slh_first) macro 202 for ((var) = SLIST_FIRST((head)); \ 207 for ((var) = ((var) ? (var) : SLIST_FIRST((head))); \ 212 for ((var) = SLIST_FIRST((head)); \ 217 for ((var) = ((var) ? (var) : SLIST_FIRST((head))); \ 222 for ((varp) = &SLIST_FIRST((head)); \ [all …]
|
/freebsd/sys/sys/ |
H A D | queue.h | 215 QUEUE_TYPEOF(type) *curelm = SLIST_FIRST(head1); \ 217 if ((SLIST_FIRST(head1) = SLIST_FIRST(head2)) != NULL) \ 219 } else if (SLIST_FIRST(head2) != NULL) { \ 222 SLIST_NEXT(curelm, field) = SLIST_FIRST(head2); \ 232 #define SLIST_FIRST(head) ((head)->slh_first) macro 235 for ((var) = SLIST_FIRST((head)); \ 240 for ((var) = ((var) ? (var) : SLIST_FIRST((head))); \ 245 for ((var) = SLIST_FIRST((head)); \ 250 for ((var) = ((var) ? (var) : SLIST_FIRST((head))); \ 255 for ((varp) = &SLIST_FIRST((head)); \ [all …]
|
H A D | queue_mergesort.h | 187 SLIST_HEAD_INITIALIZER, SLIST_EMPTY, SLIST_FIRST, SLIST_NEXT, \ 190 SYSQUEUE_MERGE((list1), (list2), (thunk), (cmp), TYPE, NAME, SLIST_FIRST, \
|
/freebsd/contrib/openbsm/compat/ |
H A D | queue.h | 158 #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/sys/netpfil/pf/ |
H A D | pf_osfp.c | 248 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/lib/libc/tests/sys/ |
H A D | queue_test.c | 71 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/bin/pkill/ |
H A D | pkill.c | 440 if (SLIST_FIRST(&ruidlist) != NULL && li == NULL) { in main() 448 if (SLIST_FIRST(&rgidlist) != NULL && li == NULL) { in main() 456 if (SLIST_FIRST(&euidlist) != NULL && li == NULL) { in main() 464 if (SLIST_FIRST(&ppidlist) != NULL && li == NULL) { in main() 472 if (SLIST_FIRST(&pgrplist) != NULL && li == NULL) { in main() 484 if (SLIST_FIRST(&tdevlist) != NULL && li == NULL) { in main() 492 if (SLIST_FIRST(&sidlist) != NULL && li == NULL) { in main() 505 if (SLIST_FIRST(&jidlist) != NULL && li == NULL) { in main() 518 if (SLIST_FIRST(&classlist) != NULL && li == NULL) { in main()
|
/freebsd/lib/libgssapi/ |
H A D | gss_release_cred.c | 45 while (SLIST_FIRST(&cred->gc_mc)) { in gss_release_cred() 46 mc = SLIST_FIRST(&cred->gc_mc); in gss_release_cred()
|
H A D | gss_release_name.c | 46 while (SLIST_FIRST(&name->gn_mn)) { in gss_release_name() 48 mn = SLIST_FIRST(&name->gn_mn); in gss_release_name()
|
H A D | gss_export_name.c | 50 mn = SLIST_FIRST(&name->gn_mn); in gss_export_name()
|
/freebsd/usr.sbin/pmc/ |
H A D | pmc_util.c | 94 pt = SLIST_FIRST(&args->pa_targets); in pmc_util_get_pid() 109 pt = SLIST_FIRST(&args->pa_targets); in pmc_util_kill_process()
|
/freebsd/contrib/bsnmp/snmpd/ |
H A D | trap.c | 656 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/crypto/openssh/openbsd-compat/ |
H A D | sys-queue.h | 96 #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/lib/libthr/thread/ |
H A D | thr_sleepq.c | 149 td->sleepqueue = SLIST_FIRST(&sq->sq_freeq); in _sleepq_remove() 173 sq2 = SLIST_FIRST(&sq->sq_freeq); in _sleepq_drop()
|
/freebsd/contrib/nvi/common/ |
H A D | seq.c | 139 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 D | cut.c | 198 if (cbp == SLIST_FIRST(sp->gp->cutq)) in cb_rotate() 264 while ((cbp = SLIST_FIRST(gp->cutq)) != NULL) { in cut_close()
|
/freebsd/sys/netgraph/ |
H A D | ng_pptpgre.c | 735 np = SLIST_FIRST(q); in ng_pptpgre_sendq() 927 prev = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_rcvdata_lower() 966 np = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_rcvdata_lower() 985 np = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_rcvdata_lower() 1020 np = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_rcvdata_lower() 1186 last = np = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_reorder_timeout() 1193 np = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_reorder_timeout() 1269 np = SLIST_FIRST(&hpriv->roq); in ng_pptpgre_reset()
|
/freebsd/sys/kern/ |
H A D | kern_et.c | 84 SLIST_FIRST(&eventtimers)->et_quality < et->et_quality) { in et_register() 249 if (et != SLIST_FIRST(&eventtimers)) in sysctl_kern_eventtimer_choice()
|
/freebsd/contrib/ntp/sntp/libevent/compat/sys/ |
H A D | queue.h | 106 #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/contrib/libevent/compat/sys/ |
H A D | queue.h | 106 #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/usr.sbin/bsnmpd/tools/libbsnmptools/ |
H A D | bsnmpmap.c | 113 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/usr.sbin/makefs/zfs/ |
H A D | fs.c | 228 dir = SLIST_FIRST(&arg->dirs); in fs_populate_dirent() 276 *dirfdp = SLIST_FIRST(&arg->dirs)->dirfd; in fs_populate_path() 379 parent = SLIST_FIRST(&arg->dirs)->objid; in fs_populate_sattrs() 406 arg->rootdirid : SLIST_FIRST(&arg->dirs)->objid; in fs_populate_sattrs() 414 parent = SLIST_FIRST(&arg->dirs)->objid; in fs_populate_sattrs() 715 dir = SLIST_FIRST(&arg->dirs); in fs_foreach_populate()
|
/freebsd/contrib/dma/ |
H A D | aliases_parse.y | 74 SLIST_FIRST(&al->dests) = $3;
|