Searched refs:ALIGN_MASK (Results 1 – 4 of 4) sorted by relevance
8 #define ALIGN_MASK 15UL macro9 #define MEMPOOL_RESERVED ((sizeof(struct mempool)+ALIGN_MASK) & ~ALIGN_MASK)34 max_size = size + ALIGN_MASK > max_size ? size + ALIGN_MASK : max_size; in mempool_create()43 …(*mptr)->used += (ALIGN_MASK + 1 - (mptr_used_start & ALIGN_MASK)) & ALIGN_MASK; // reserve b… in mempool_create()44 assert (!(((uintptr_t) (*mptr) + (*mptr)->used) & ALIGN_MASK)); in mempool_create()54 (*mptr)->used += (size + ALIGN_MASK) & ~ALIGN_MASK; in mempool_alloc()
90 #define ALIGN_MASK (ALIGN_NUM-1) macro146 copy[i].dst &= ~dst_align_arr[rand32 (0) & ALIGN_MASK]; in init_copies()148 copy[i].src &= ~src_align_arr[rand32 (0) & ALIGN_MASK]; in init_copies()
79 #define ALIGN_MASK (ALIGN_NUM - 1) macro122 int align = strlen_align_arr[rand32 (0) & ALIGN_MASK]; in init_strlen_tests()
1167 #define ALIGN_MASK (ALIGN_SIZE - 1) macro