/src/lib/libc/include/isc/ |
list.h | 29 #define INIT_LINK_TYPE(elt, link, type) \ 31 (elt)->link.prev = (type *)(-1); \ 32 (elt)->link.next = (type *)(-1); \ 34 #define INIT_LINK(elt, link) \ 35 INIT_LINK_TYPE(elt, link, void) 36 #define LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1) && \ 37 (void *)((elt)->link.next) != (void *)(-1)) 43 #define PREPEND(list, elt, link) \ 45 INSIST(!LINKED(elt, link)); [all...] |
/src/sys/uvm/ |
uvm_aobj.c | 82 /* Given an ELT and a page index, find the swap slot. */ 83 #define UAO_SWHASH_ELT_PAGESLOT(elt, idx) \ 84 ((elt)->slots[UAO_SWHASH_ELT_PAGESLOT_IDX(idx)]) 86 /* Given an ELT, return its pageidx base. */ 87 #define UAO_SWHASH_ELT_PAGEIDX_BASE(ELT) \ 88 ((elt)->tag << UAO_SWHASH_CLUSTER_SHIFT) 207 struct uao_swhash_elt *elt; local in function:LIST_HEAD 217 LIST_FOREACH(elt, swhash, list) { 218 if (elt->tag == page_tag) { 219 return elt; 251 struct uao_swhash_elt *elt; local in function:uao_find_swslot 291 struct uao_swhash_elt *elt; local in function:uao_set_swslot 1168 struct uao_swhash_elt *elt; local in function:uao_pagein 1329 struct uao_swhash_elt *elt, *next; local in function:uao_dropswap_range [all...] |
/src/sys/external/bsd/drm2/dist/drm/qxl/ |
qxl_cmd.c | 121 uint8_t *elt; local in function:qxl_ring_push 149 elt = ring->ring->elements + idx * ring->element_size; 151 memcpy((void *)elt, new_elt, ring->element_size);
|
/src/sys/dev/scsipi/ |
ses.c | 1251 * int elt 1253 * This is the element type being sought. If elt is -1, 1258 * This is the ordinal Mth element of type elt being sought. 1263 * the Mth element of type Elt. 1267 ses_decode(char *b, int amt, uint8_t *ep, int elt, int elm, SesComStat *sp) 1275 if (elt == -1) { 1286 * Check to make sure that the Mth element is legal for type Elt. 1289 if (elm >= ep[elt]) 1296 for (idx = 8, i = 0; i < elt; i++) { 1324 PRINTF("Get Elt 0x%x Elm 0x%x (idx %d)\n", elt, elm, idx-4) [all...] |