Lines Matching refs:ALLOC_ELEMENT
22 * The ALLOC_ELEMENT structure is the structure that describes any single
26 * we don't drop core accessing the fields of the ALLOC_ELEMENT structure.
29 * This is enforced by terminating the ALLOC_ELEMENT structure with a uintmax_t
89 } ALLOC_ELEMENT;
95 #define SHALLOC_FRAGMENT (sizeof(ALLOC_ELEMENT) + 64)
107 static void __env_size_insert __P((ALLOC_LAYOUT *, ALLOC_ELEMENT *));
120 ALLOC_ELEMENT *elp;
144 elp = (ALLOC_ELEMENT *)((u_int8_t *)head + sizeof(ALLOC_LAYOUT));
154 * The length, the ALLOC_ELEMENT structure and an optional guard byte,
159 (size_t)DB_ALIGN((len) + sizeof(ALLOC_ELEMENT) + 1, sizeof(uintmax_t))
162 (size_t)DB_ALIGN((len) + sizeof(ALLOC_ELEMENT), sizeof(uintmax_t))
174 return (sizeof(ALLOC_ELEMENT));
203 ALLOC_ELEMENT *elp, *frag, *elp_tmp;
312 frag = (ALLOC_ELEMENT *)((u_int8_t *)elp + total_len);
326 p = (u_int8_t *)elp + sizeof(ALLOC_ELEMENT);
347 ALLOC_ELEMENT *elp, *elp_tmp;
379 elp = (ALLOC_ELEMENT *)(p - sizeof(ALLOC_ELEMENT));
386 memset(p, CLEAR_BYTE, elp->len - sizeof(ALLOC_ELEMENT));
438 ALLOC_ELEMENT *elp;
441 ALLOC_ELEMENT *elp_tmp;
470 ALLOC_ELEMENT *elp;