Searched refs:elm (Results 1 - 6 of 6) sorted by relevance
/darwin-on-arm/xnu/libkern/libkern/ |
H A D | tree.h | 104 #define SPLAY_LEFT(elm, field) (elm)->field.spe_left 105 #define SPLAY_RIGHT(elm, field) (elm)->field.spe_right 149 /* Finds the node with the same key as elm */ \ 151 name##_SPLAY_FIND(struct name *head, struct type *elm) \ 155 name##_SPLAY(head, elm); \ 156 if ((cmp)(elm, (head)->sph_root) == 0) \ 162 name##_SPLAY_NEXT(struct name *head, struct type *elm) \ 164 name##_SPLAY(head, elm); \ [all...] |
/darwin-on-arm/xnu/bsd/sys/ |
H A D | queue.h | 218 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ 219 SLIST_NEXT((elm), field) = SLIST_NEXT((slistelm), field); \ 220 SLIST_NEXT((slistelm), field) = (elm); \ 223 #define SLIST_INSERT_HEAD(head, elm, field) do { \ 224 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \ 225 SLIST_FIRST((head)) = (elm); \ 228 #define SLIST_NEXT(elm, field) ((elm)->field.sle_next) 230 #define SLIST_REMOVE(head, elm, type, field) do { \ 231 if (SLIST_FIRST((head)) == (elm)) { \ [all...] |
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | tcp_timer.c | 113 #define VERIFY_NEXT_LINK(elm,field) do { \ 114 if (LIST_NEXT((elm),field) != NULL && \ 115 LIST_NEXT((elm),field)->field.le_prev != \ 116 &((elm)->field.le_next)) \ 117 panic("Bad link elm %p next->prev != elm", (elm)); \ 120 #define VERIFY_PREV_LINK(elm,field) do { \ 121 if (*(elm)->field.le_prev != (elm)) \ [all...] |
H A D | tcp_subr.c | 1284 struct bwmeas *elm; local 1285 elm = zalloc(tcp_bwmeas_zone); 1286 if (elm == NULL) 1287 return(elm); 1289 bzero(elm, bwmeas_elm_size); 1290 elm->bw_minsizepkts = TCP_BWMEAS_BURST_MINSIZE; 1291 elm->bw_maxsizepkts = TCP_BWMEAS_BURST_MAXSIZE; 1292 elm->bw_minsize = elm->bw_minsizepkts * tp->t_maxseg; 1293 elm [all...] |
/darwin-on-arm/xnu/bsd/net/ |
H A D | pf_ioctl.c | 1199 #define PF_MD5_UPD(st, elm) \ 1200 MD5Update(ctx, (u_int8_t *)&(st)->elm, sizeof ((st)->elm)) 1202 #define PF_MD5_UPD_STR(st, elm) \ 1203 MD5Update(ctx, (u_int8_t *)(st)->elm, strlen((st)->elm)) 1205 #define PF_MD5_UPD_HTONL(st, elm, stor) do { \ 1206 (stor) = htonl((st)->elm); \ 1210 #define PF_MD5_UPD_HTONS(st, elm, stor) do { \ 1211 (stor) = htons((st)->elm); \ [all...] |
/darwin-on-arm/xnu/bsd/netkey/ |
H A D | key.c | 327 #define LIST_FOREACH(elm, head, field) \ 328 for (elm = LIST_FIRST(head); elm; elm = LIST_NEXT(elm, field)) 330 #define __LIST_CHAINED(elm) \ 331 (!((elm)->chain.le_next == NULL && (elm)->chain.le_prev == NULL)) 332 #define LIST_INSERT_TAIL(head, elm, type, field) \ 336 LIST_INSERT_HEAD(head, elm, fiel [all...] |
Completed in 168 milliseconds