Home
last modified time | relevance | path

Searched refs:ALIGNMENT (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/unbound/util/
H A Dregional.c47 #ifdef ALIGNMENT
48 # undef ALIGNMENT
53 #define ALIGNMENT (sizeof(uint64_t)) macro
75 size_t a = ALIGN_UP(sizeof(struct regional), ALIGNMENT); in regional_init()
93 size = ALIGN_UP(size, ALIGNMENT); in regional_create_custom_large_object()
158 a = ALIGN_UP(size, ALIGNMENT); in regional_alloc()
161 s = malloc(ALIGNMENT + size); in regional_alloc()
163 r->total_large += ALIGNMENT+size; in regional_alloc()
166 return (char*)s+ALIGNMENT; in regional_alloc()
174 r->data = (char*)s + ALIGNMENT; in regional_alloc()
[all …]
/freebsd/sys/netgraph/
H A Dng_parse.c135 #define ALIGNMENT(t) (METHOD(t, getAlign) == NULL ? \ macro
213 int falign = ALIGNMENT(field->type); in ng_struct_getAlign()
267 return ALIGNMENT(fi->elementType); in ng_fixedarray_getAlign()
314 return ALIGNMENT(ai->elementType); in ng_array_getAlign()
1356 if ((align = ALIGNMENT(type)) != 0) { in ng_parse_composite()
1604 align = ALIGNMENT(etype); in ng_parse_get_elem_pad()