Searched refs:SIZE_ALIGN (Results 1 – 7 of 7) sorted by relevance
/external/musl/src/malloc/oldmalloc/ |
D | malloc.c | 95 x = x / SIZE_ALIGN - 1; in bin_index() 104 x = x / SIZE_ALIGN - 1; in bin_index_up() 205 n += SIZE_ALIGN; in expand_heap() 214 n -= SIZE_ALIGN; in expand_heap() 215 p = (char *)p + SIZE_ALIGN; in expand_heap() 237 if (*n-1 > PTRDIFF_MAX - SIZE_ALIGN - PAGE_SIZE) { in adjust_size() 242 *n = SIZE_ALIGN; in adjust_size() 246 *n = (*n + OVERHEAD + SIZE_ALIGN - 1) & SIZE_MASK; in adjust_size() 306 c = (void *)(base + SIZE_ALIGN - OVERHEAD); in malloc() 307 c->csize = len - (SIZE_ALIGN - OVERHEAD); in malloc() [all …]
|
D | malloc_impl.h | 18 #define SIZE_ALIGN (4*sizeof(size_t)) macro 19 #define SIZE_MASK (-SIZE_ALIGN) 21 #define MMAP_THRESHOLD (0x1c00*SIZE_ALIGN)
|
D | aligned_alloc.c | 21 if (align <= SIZE_ALIGN) in aligned_alloc()
|
/external/f2fs-tools/include/ |
D | f2fs_fs.h | 1168 #define MAX_SIT_BITMAP_SIZE (SEG_ALIGN(SIZE_ALIGN(F2FS_MAX_SEGMENT, \ 1171 #define MAX_CP_PAYLOAD (SEG_ALIGN(SIZE_ALIGN(UINT32_MAX, NAT_ENTRY_PER_BLOCK)) * \ 1616 #define SIZE_ALIGN(val, size) (((val) + (size) - 1) / (size)) macro 1617 #define SEG_ALIGN(blks) SIZE_ALIGN(blks, c.blks_per_seg) 1618 #define ZONE_ALIGN(blks) SIZE_ALIGN(blks, c.blks_per_seg * \
|
/external/f2fs-tools/fsck/ |
D | resize.c | 43 blocks_for_sit = SIZE_ALIGN(get_sb(segment_count), SIT_ENTRY_PER_BLOCK); in get_new_sb() 52 blocks_for_nat = SIZE_ALIGN(total_valid_blks_available, in get_new_sb()
|
/external/arm-trusted-firmware/plat/brcm/board/stingray/src/ |
D | sr_paxb_phy.c | 87 #define SIZE_ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro
|
/external/f2fs-tools/mkfs/ |
D | f2fs_format.c | 331 blocks_for_sit = SIZE_ALIGN(get_sb(segment_count), SIT_ENTRY_PER_BLOCK); in f2fs_prepare_super_block() 344 blocks_for_nat = SIZE_ALIGN(total_valid_blks_available, in f2fs_prepare_super_block()
|