Searched refs:SIZE_ALIGN (Results 1 – 15 of 15) sorted by relevance
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 …]
18 #define SIZE_ALIGN (4*sizeof(size_t)) macro19 #define SIZE_MASK (-SIZE_ALIGN)21 #define MMAP_THRESHOLD (0x1c00*SIZE_ALIGN)
21 if (align <= SIZE_ALIGN) in aligned_alloc()
97 x = x / SIZE_ALIGN - 1; in bin_index()106 x = x / SIZE_ALIGN - 1; in bin_index_up()207 n += SIZE_ALIGN; in expand_heap()217 n -= SIZE_ALIGN; in expand_heap()218 p = (char *)p + SIZE_ALIGN; in expand_heap()244 if (*n-1 > PTRDIFF_MAX - SIZE_ALIGN - PAGE_SIZE) { in adjust_size()249 *n = SIZE_ALIGN; in adjust_size()253 *n = (*n + OVERHEAD + SIZE_ALIGN - 1) & SIZE_MASK; in adjust_size()327 c = (void *)(base + SIZE_ALIGN - OVERHEAD); in malloc()328 c->csize = len - (SIZE_ALIGN - OVERHEAD); in malloc()[all …]
64 #define SIZE_ALIGN ROUNDUP(sizeof(struct chunk), 0x10) macro65 #define SIZE_MASK (-SIZE_ALIGN)72 #define DONTCARE SIZE_ALIGN
22 if (align <= SIZE_ALIGN) in aligned_alloc()
5 #define SIZE_ALIGN (4 * sizeof(size_t)) macro6 #define THRESHOLD (0x1c00 * SIZE_ALIGN)15 for (size_t size = 0; size < THRESHOLD; size += SIZE_ALIGN + 1) { in main()
10 #define SIZE_ALIGN (4 * sizeof(size_t)) macro16 #define MALLOC_TIME (ITER_TIME * (THRESHOLD / (SIZE_ALIGN + 1)))41 for (size_t size = 0; size < THRESHOLD; size += SIZE_ALIGN + 1) { in func()
29 #define SIZE_ALIGN (8 * sizeof(size_t)) macro30 #define MMAP_THRESHOLD ((0x1c00 * SIZE_ALIGN) - OVERHEAD)
21 #define SIZE_ALIGN (4 * sizeof(size_t)) macro
36 if (align <= SIZE_ALIGN) in __memalign()
1125 #define MAX_SIT_BITMAP_SIZE (SEG_ALIGN(SIZE_ALIGN(F2FS_MAX_SEGMENT, \1567 #define SIZE_ALIGN(val, size) (((val) + (size) - 1) / (size)) macro1568 #define SEG_ALIGN(blks) SIZE_ALIGN(blks, c.blks_per_seg)1569 #define ZONE_ALIGN(blks) SIZE_ALIGN(blks, c.blks_per_seg * \
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()
333 blocks_for_sit = SIZE_ALIGN(get_sb(segment_count), SIT_ENTRY_PER_BLOCK); in f2fs_prepare_super_block()346 blocks_for_nat = SIZE_ALIGN(total_valid_blks_available, in f2fs_prepare_super_block()