Searched refs:roundup_pow_of_two (Results 1 - 25 of 297) sorted by last modified time
1234567891011>>
/linux-master/lib/ |
H A D | kfifo.c | 31 size = roundup_pow_of_two(size);
|
/linux-master/kernel/dma/ |
H A D | swiotlb.c | 140 default_nslabs = roundup_pow_of_two(default_nslabs); 157 nareas = roundup_pow_of_two(nareas);
|
/linux-master/kernel/ |
H A D | crash_core.c | 462 align = min(roundup_pow_of_two(sizeof(note_buf_t)), PAGE_SIZE);
|
/linux-master/fs/xfs/ |
H A D | xfs_log_recover.c | 332 bufblks = roundup_pow_of_two(nbblks); 1531 bufblks = roundup_pow_of_two(blocks);
|
H A D | xfs_iomap.c | 500 alloc_blocks = XFS_FILEOFF_MIN(roundup_pow_of_two(XFS_MAX_BMBT_EXTLEN),
|
/linux-master/fs/ext4/ |
H A D | super.c | 3149 new_groups = kvzalloc(roundup_pow_of_two(size * 3157 new_groups[i] = kvzalloc(roundup_pow_of_two(
|
/linux-master/fs/bcachefs/ |
H A D | util.c | 647 rand &= roundup_pow_of_two(max) - 1;
|
H A D | super.c | 873 c->inode_shard_bits = ilog2(roundup_pow_of_two(num_possible_cpus()));
|
H A D | super-io.c | 164 new_buffer_size = roundup_pow_of_two(new_bytes);
|
H A D | sb-members.c | 433 int resize = ilog2(roundup_pow_of_two(end)) - (m->btree_bitmap_shift + 6);
|
H A D | printbuf.c | 46 unsigned new_size = roundup_pow_of_two(out->size + extra);
|
H A D | journal_io.c | 986 new_size = roundup_pow_of_two(new_size);
|
H A D | journal.c | 1215 init_fifo(&j->pin, roundup_pow_of_two(nr + 1), GFP_KERNEL);
|
H A D | ec.c | 894 if (!init_heap(&n, max(1024UL, roundup_pow_of_two(idx + 1)), gfp))
|
H A D | btree_types.h | 565 #define BTREE_WRITE_TYPE_MASK (roundup_pow_of_two(BTREE_WRITE_TYPE_NR) - 1) 566 #define BTREE_WRITE_TYPE_BITS ilog2(roundup_pow_of_two(BTREE_WRITE_TYPE_NR))
|
H A D | btree_trans_commit.c | 439 new_u64s = roundup_pow_of_two(u64s);
|
H A D | btree_update.c | 564 trans->journal_entries_size = roundup_pow_of_two(new_top);
|
H A D | btree_key_cache.c | 414 new_u64s = roundup_pow_of_two(new_u64s);
|
H A D | btree_iter.c | 2924 unsigned new_bytes = roundup_pow_of_two(new_top); 3191 unsigned expected_mem_bytes = roundup_pow_of_two(s->max_mem);
|
/linux-master/drivers/of/ |
H A D | unittest.c | 3528 new_fdt = dt_alloc_memory(size, roundup_pow_of_two(FDT_V17_SIZE));
|
/linux-master/drivers/md/bcache/ |
H A D | super.c | 2253 free = roundup_pow_of_two(ca->sb.nbuckets) >> 10;
|
/linux-master/mm/ |
H A D | vmalloc.c | 2466 VMALLOC_PAGES / roundup_pow_of_two(NR_CPUS) / 16))
|
H A D | slub.c | 2804 #define TID_STEP roundup_pow_of_two(CONFIG_NR_CPUS)
|
H A D | readahead.c | 349 unsigned long newsize = roundup_pow_of_two(size);
|
H A D | percpu.c | 3386 roundup_pow_of_two(max_t(size_t, PCPU_MIN_UNIT_SIZE,
|
Completed in 599 milliseconds
1234567891011>>