Home
last modified time | relevance | path

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

/netbsd/external/bsd/unbound/dist/util/
H A Dregional.c51 #define ALIGN_UP(x, s) (((x) + s - 1) & (~(s - 1))) 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()
/netbsd/external/bsd/nsd/dist/
H A Dutil.h35 #define ALIGN_UP(n, alignment) \ macro
38 (ALIGN_UP((n), (alignment)) - (n))