Searched refs:roundup_pow_of_two (Results 1 - 25 of 295) sorted by relevance
1234567891011>>
/linux-master/fs/bcachefs/ |
H A D | darray.c | 10 new_size = roundup_pow_of_two(new_size);
|
H A D | keylist.c | 15 newsize = roundup_pow_of_two(newsize); 18 (old_buf && roundup_pow_of_two(oldsize) == newsize))
|
H A D | fifo.h | 17 ? roundup_pow_of_two((fifo)->size) * sizeof((fifo)->data[0]) \ 25 ? roundup_pow_of_two((fifo)->size) - 1 \
|
/linux-master/drivers/hwtracing/stm/ |
H A D | ftrace.c | 68 stm_ftrace.data.nr_chans = roundup_pow_of_two(num_possible_cpus());
|
/linux-master/arch/arm/include/asm/ |
H A D | efi.h | 61 #define EFI_PHYS_ALIGN max(UL(SZ_2M), roundup_pow_of_two(TEXT_OFFSET))
|
/linux-master/tools/perf/util/ |
H A D | print_binary.c | 16 bytes_per_line = roundup_pow_of_two(bytes_per_line);
|
/linux-master/mm/ |
H A D | percpu-km.c | 118 alloc_pages = roundup_pow_of_two(nr_pages);
|
/linux-master/tools/perf/arch/s390/util/ |
H A D | auxtrace.c | 69 opts->auxtrace_mmap_pages = roundup_pow_of_two(pages);
|
/linux-master/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_phys.c | 45 roundup_pow_of_two(obj->base.size), 92 roundup_pow_of_two(obj->base.size), 135 roundup_pow_of_two(obj->base.size),
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_region_lmem.c | 61 current_size = roundup_pow_of_two(pci_resource_len(pdev, GEN12_LMEM_BAR)); 74 rebar_size >= roundup_pow_of_two(lmem_size)) { 84 if (rebar_size != roundup_pow_of_two(lmem_size))
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | profile.c | 106 roundup_pow_of_two(max_t(unsigned, request->num_mtt, 138 profile[i].num = roundup_pow_of_two(profile[i].num); 220 dev->caps.num_eqs = roundup_pow_of_two(
|
/linux-master/arch/mips/bcm63xx/ |
H A D | cs.c | 44 if (size != roundup_pow_of_two(size))
|
/linux-master/tools/include/linux/ |
H A D | log2.h | 144 * roundup_pow_of_two - round the given value up to nearest power of two 151 #define roundup_pow_of_two(n) \ macro
|
/linux-master/drivers/irqchip/ |
H A D | irq-gic-v3-its-platform-msi.c | 66 nvec = max_t(int, 32, roundup_pow_of_two(nvec));
|
H A D | irq-gic-v3-its-fsl-mc-msi.c | 64 nvec = max_t(int, 32, roundup_pow_of_two(nvec));
|
H A D | irq-gic-v3-its-pci-msi.c | 93 nvec = max_t(int, minnvec, roundup_pow_of_two(nvec));
|
/linux-master/drivers/pci/controller/ |
H A D | pcie-rcar.c | 80 mask = (roundup_pow_of_two(size) / SZ_128) - 1;
|
/linux-master/block/ |
H A D | blk-timeout.c | 95 blk_timeout_mask = roundup_pow_of_two(HZ) - 1;
|
/linux-master/drivers/watchdog/ |
H A D | tqmx86_wdt.c | 49 t = roundup_pow_of_two(t);
|
H A D | uniphier_wdt.c | 129 tmp_timeout = roundup_pow_of_two(w->timeout); 148 tmp_timeout = roundup_pow_of_two(t);
|
/linux-master/sound/soc/tegra/ |
H A D | tegra210_ahub.h | 51 .mask = xmax ? roundup_pow_of_two(xmax) - 1 : 0 \
|
/linux-master/drivers/infiniband/sw/rxe/ |
H A D | rxe_queue.c | 79 elem_size = roundup_pow_of_two(elem_size); 84 num_slots = roundup_pow_of_two(num_slots);
|
/linux-master/arch/sh/drivers/pci/ |
H A D | pcie-sh7786.c | 362 memsize = roundup_pow_of_two(memend - memstart); 370 memsize = roundup_pow_of_two(memend - memstart); 462 mask = (roundup_pow_of_two(size) / SZ_256K) - 1;
|
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_rdma.h | 43 #define QED_RDMA_MAX_XRCDS (roundup_pow_of_two(RDMA_MAX_XRC_SRQS))
|
/linux-master/include/linux/ |
H A D | log2.h | 167 * roundup_pow_of_two - round the given value up to nearest power of two 174 #define roundup_pow_of_two(n) \ macro
|
Completed in 233 milliseconds
1234567891011>>