Searched refs:LIST_FIRST (Results 1 - 25 of 36) sorted by relevance

12

/darwin-on-arm/xnu/bsd/sys/
H A Dqueue.h393 if (LIST_FIRST((head)) != NULL && \
394 LIST_FIRST((head))->field.le_prev != \
395 &LIST_FIRST((head))) \
418 #define LIST_FIRST(head) ((head)->lh_first) macro
421 for ((var) = LIST_FIRST((head)); \
426 for ((var) = LIST_FIRST((head)); \
431 LIST_FIRST((head)) = NULL; \
453 if ((LIST_NEXT((elm), field) = LIST_FIRST((head))) != NULL) \
454 LIST_FIRST((head))->field.le_prev = &LIST_NEXT((elm), field);\
455 LIST_FIRST((hea
[all...]
/darwin-on-arm/xnu/bsd/net/
H A Dif_utun_crypto_ipsec.h37 #define IF_UTUN_GET_TX_CRYPTO_KEYS(pcb) LIST_FIRST(&pcb->utun_crypto_ctx[UTUN_CRYPTO_DIR_TO_IDX(UTUN_CRYPTO_DIR_OUT)].keys_listhead)
H A Dif_media.c125 for (entry = LIST_FIRST(&ifm->ifm_list); entry;
126 entry = LIST_FIRST(&ifm->ifm_list)) {
340 ep = LIST_FIRST(&ifm->ifm_list);
H A Dpf_norm.c399 for (frent = LIST_FIRST(&frag->fr_queue); frent;
400 frent = LIST_FIRST(&frag->fr_queue)) {
408 for (frcache = LIST_FIRST(&frag->fr_cache); frcache;
409 frcache = LIST_FIRST(&frag->fr_cache)) {
413 LIST_FIRST(&frag->fr_cache)->fr_off >
620 for (frep = LIST_FIRST(&(*frag)->fr_queue); frep; frep = next) {
637 frent = LIST_FIRST(&(*frag)->fr_queue);
957 LIST_FIRST(&(*frag)->fr_cache)->fr_off == 0 &&
958 LIST_FIRST(&(*frag)->fr_cache)->fr_end == (*frag)->fr_max) {
1125 for (frep = LIST_FIRST(
[all...]
H A Dif_utun_crypto_ipsec.c219 for (sav = LIST_FIRST(&(*sah)->savtree[state]);
393 for (sav = LIST_FIRST(&(*sah)->savtree[state]);
595 for (cur_crypto_keys = (__typeof__(cur_crypto_keys))LIST_FIRST(&crypto_ctx->keys_listhead);
H A Dif_utun_crypto.c306 for (cur_crypto_keys = (__typeof__(cur_crypto_keys))LIST_FIRST(&crypto_ctx->keys_listhead);
H A Dif_vlan.c874 for (ifv = LIST_FIRST(&vlp->vlp_vlan_list); ifv != NULL; ifv = next) {
1560 if (LIST_NEXT(LIST_FIRST(&vlp->vlp_vlan_list), ifv_vlan_list) == NULL) {
H A Dntstat.c885 for (inp = LIST_FIRST(tcbinfo.listhead); inp; inp = LIST_NEXT(inp, inp_list))
1132 for (inp = LIST_FIRST(udbinfo.listhead); inp; inp = LIST_NEXT(inp, inp_list))
H A Dif.c559 for (ifc = LIST_FIRST(&if_cloners); ifc != NULL;) {
670 for (ifc = LIST_FIRST(&if_cloners); ifc != NULL && count != 0;
2766 for (ifma = LIST_FIRST(&ifp->if_multiaddrs); ifma != NULL;
3126 for (ifma = LIST_FIRST(&ifp->if_multiaddrs); ifma != NULL;
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_encap.c194 for (ep = LIST_FIRST(&encaptab); ep; ep = LIST_NEXT(ep, chain)) {
290 for (ep = LIST_FIRST(&encaptab); ep; ep = LIST_NEXT(ep, chain)) {
372 for (ep = LIST_FIRST(&encaptab); ep; ep = LIST_NEXT(ep, chain)) {
461 for (p = LIST_FIRST(&encaptab); p; p = LIST_NEXT(p, chain)) {
H A Din_pcblist.c394 for (inp = LIST_FIRST(pcbinfo->listhead); inp; inp = LIST_NEXT(inp, inp_list)) {
415 for (inp = LIST_FIRST(pcbinfo->listhead);
H A Din_var.h457 (step).i_inm = LIST_FIRST(&in_multihead); \
H A Dtcp_subr.c1191 while((q = LIST_FIRST(&tp->t_segq)) != NULL) {
1221 for (inpb = LIST_FIRST(tcbinfo.listhead); inpb;
1224 while ((te = LIST_FIRST(&tcpb->t_segq))
1426 for (inp = LIST_FIRST(tcbinfo.listhead), i = 0; inp && i < n;
1613 for (inp = LIST_FIRST(tcbinfo.listhead), i = 0; inp && i < n;
H A Dip_divert.c602 for (inp = LIST_FIRST(divcbinfo.listhead), i = 0; inp && i < n;
H A Dudp_usrreq.c1037 for (inp = LIST_FIRST(udbinfo.listhead), i = 0; inp && i < n;
1141 for (inp = LIST_FIRST(udbinfo.listhead), i = 0; inp && i < n;
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_cache.c626 while ( (ncp = LIST_FIRST(&vp->v_nclinks)) )
629 while ( (ncp = LIST_FIRST(&vp->v_ncchildren)) )
654 while ( (ncp = LIST_FIRST(&vp->v_nclinks)) )
1574 if ((vp != NULLVP) && (LIST_FIRST(&vp->v_nclinks))) {
1885 if ((LIST_FIRST(&vp->v_nclinks) == NULL) &&
1886 (LIST_FIRST(&vp->v_ncchildren) == NULL) &&
1896 while ( (ncp = LIST_FIRST(&vp->v_nclinks)) )
1899 while ( (ncp = LIST_FIRST(&vp->v_ncchildren)) )
H A Dvfs_bio.c1390 bp = LIST_FIRST(&local_iterblkhd);
1470 bp = LIST_FIRST(&local_iterblkhd);
1541 bp = LIST_FIRST(&local_iterblkhd);
1638 bp = LIST_FIRST(&local_iterblkhd);
1758 bp = LIST_FIRST(iterheadp);
/darwin-on-arm/xnu/bsd/security/audit/
H A Daudit_mac.c135 head = LIST_FIRST(ar->k_ar.ar_mac_records);
/darwin-on-arm/xnu/bsd/netinet6/
H A Din6_prefix.c854 rap = LIST_FIRST(&new->rp_addrhead);
888 rap = LIST_FIRST(&new->rp_addrhead);
1070 rap = LIST_FIRST(&rpp->rp_addrhead);
1149 rap = LIST_FIRST(&rpp->rp_addrhead);
H A Din6_pcb.c826 for (inp = LIST_FIRST(head); inp != NULL; inp = ninp) {
H A Dip6_fw.c584 chain = LIST_FIRST(&ip6_fw_chain);
/darwin-on-arm/xnu/bsd/netkey/
H A Dkey.c328 for (elm = LIST_FIRST(head); elm; elm = LIST_NEXT(elm, field))
334 struct type *curelm = LIST_FIRST(head); \
943 for (sav = LIST_FIRST(&sah->savtree[state]);
1336 for (currsav = LIST_FIRST(&sah->savtree[state]);
3121 for (sav = (struct secasvar *)LIST_FIRST(&sah->savtree[state]);
5217 for (sp = LIST_FIRST(&sptree[dir]);
5253 for (sah = LIST_FIRST(&sahtree);
5267 if (LIST_FIRST(&sah->savtree[SADB_SASTATE_LARVAL]) == NULL &&
5268 LIST_FIRST(&sah->savtree[SADB_SASTATE_MATURE]) == NULL &&
5269 LIST_FIRST(
[all...]
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_bio.c1440 bp = LIST_FIRST(iterheadp);
3055 while ((bp = LIST_FIRST(&blist))) {
3181 while ((bp = LIST_FIRST(&commitlist))) {
3288 FSDBG(518, LIST_FIRST(&np->n_dirtyblkhd), np->n_flag, 0, 0);
3297 while ((bp = LIST_FIRST(&blist))) {
3482 while ((bp = LIST_FIRST(&blist))) {
3698 while ((bp = LIST_FIRST(&blist))) {
3716 while ((bp = LIST_FIRST(&blist))) {
H A Dnfs_subs.c2722 while ((nxfs = LIST_FIRST(&nfsrv_exports))) {
2730 while ((nx = LIST_FIRST(&nxfs->nxfs_exports))) {
3052 while ((nx = LIST_FIRST(&nxfs->nxfs_exports))) {
3593 while ((unode = LIST_FIRST(&oldlist))) {
H A Dnfs_syscalls.c1512 for (fp = LIST_FIRST(&nfsrv_fmod_hashtbl[i]); fp; fp = nfp) {

Completed in 213 milliseconds

12