Searched refs:roundup_pow_of_two (Results 1 - 25 of 297) sorted by last modified time

1234567891011>>

/linux-master/lib/
H A Dkfifo.c31 size = roundup_pow_of_two(size);
/linux-master/kernel/dma/
H A Dswiotlb.c140 default_nslabs = roundup_pow_of_two(default_nslabs);
157 nareas = roundup_pow_of_two(nareas);
/linux-master/kernel/
H A Dcrash_core.c462 align = min(roundup_pow_of_two(sizeof(note_buf_t)), PAGE_SIZE);
/linux-master/fs/xfs/
H A Dxfs_log_recover.c332 bufblks = roundup_pow_of_two(nbblks);
1531 bufblks = roundup_pow_of_two(blocks);
H A Dxfs_iomap.c500 alloc_blocks = XFS_FILEOFF_MIN(roundup_pow_of_two(XFS_MAX_BMBT_EXTLEN),
/linux-master/fs/ext4/
H A Dsuper.c3149 new_groups = kvzalloc(roundup_pow_of_two(size *
3157 new_groups[i] = kvzalloc(roundup_pow_of_two(
/linux-master/fs/bcachefs/
H A Dutil.c647 rand &= roundup_pow_of_two(max) - 1;
H A Dsuper.c873 c->inode_shard_bits = ilog2(roundup_pow_of_two(num_possible_cpus()));
H A Dsuper-io.c164 new_buffer_size = roundup_pow_of_two(new_bytes);
H A Dsb-members.c433 int resize = ilog2(roundup_pow_of_two(end)) - (m->btree_bitmap_shift + 6);
H A Dprintbuf.c46 unsigned new_size = roundup_pow_of_two(out->size + extra);
H A Djournal_io.c986 new_size = roundup_pow_of_two(new_size);
H A Djournal.c1215 init_fifo(&j->pin, roundup_pow_of_two(nr + 1), GFP_KERNEL);
H A Dec.c894 if (!init_heap(&n, max(1024UL, roundup_pow_of_two(idx + 1)), gfp))
H A Dbtree_types.h565 #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 Dbtree_trans_commit.c439 new_u64s = roundup_pow_of_two(u64s);
H A Dbtree_update.c564 trans->journal_entries_size = roundup_pow_of_two(new_top);
H A Dbtree_key_cache.c414 new_u64s = roundup_pow_of_two(new_u64s);
H A Dbtree_iter.c2924 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 Dunittest.c3528 new_fdt = dt_alloc_memory(size, roundup_pow_of_two(FDT_V17_SIZE));
/linux-master/drivers/md/bcache/
H A Dsuper.c2253 free = roundup_pow_of_two(ca->sb.nbuckets) >> 10;
/linux-master/mm/
H A Dvmalloc.c2466 VMALLOC_PAGES / roundup_pow_of_two(NR_CPUS) / 16))
H A Dslub.c2804 #define TID_STEP roundup_pow_of_two(CONFIG_NR_CPUS)
H A Dreadahead.c349 unsigned long newsize = roundup_pow_of_two(size);
H A Dpercpu.c3386 roundup_pow_of_two(max_t(size_t, PCPU_MIN_UNIT_SIZE,

Completed in 599 milliseconds

1234567891011>>