Searched refs:ALIGN_UP (Results 1 – 3 of 3) sorted by relevance
| /openbsd-src/sbin/unwind/libunbound/util/ |
| H A D | regional.c | 51 #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()
|
| /openbsd-src/usr.sbin/unbound/util/ |
| H A D | regional.c | 51 #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()
|
| /openbsd-src/usr.sbin/nsd/ |
| H A D | util.h | 35 #define ALIGN_UP(n, alignment) \ macro 38 (ALIGN_UP((n), (alignment)) - (n))
|