Searched refs:roundup_pow_of_two (Results 1 - 25 of 295) sorted by path
1234567891011>>
/linux-master/arch/mips/bcm63xx/ |
H A D | cs.c | 44 if (size != roundup_pow_of_two(size))
|
/linux-master/drivers/infiniband/hw/mthca/ |
H A D | mthca_srq.c | 224 srq->max = roundup_pow_of_two(srq->max + 1); 229 roundup_pow_of_two(sizeof (struct mthca_next_seg) +
|
/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));
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | alloc.c | 177 if (num != roundup_pow_of_two(num))
|
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/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | ctrl.c | 319 size = roundup_pow_of_two(order_base_2(abm->num_bands));
|
/linux-master/drivers/net/wireless/ath/ath5k/ |
H A D | qcu.c | 126 cw_req = (u16) roundup_pow_of_two(cw_req) - 1;
|
/linux-master/drivers/watchdog/ |
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/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/arch/alpha/kernel/ |
H A D | pci_iommu.c | 54 max = roundup_pow_of_two(mem);
|
/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/arch/powerpc/kvm/ |
H A D | book3s_hv.c | 3525 return n_subcores * roundup_pow_of_two(n_threads) <= MAX_SMT_THREADS;
|
H A D | guest-state-buffer.c | 35 size = roundup_pow_of_two(size);
|
H A D | test-guest-state-buffer.c | 19 KUNIT_EXPECT_EQ(test, gsb->capacity, roundup_pow_of_two(size));
|
/linux-master/arch/powerpc/mm/book3s32/ |
H A D | mmu.c | 164 size = roundup_pow_of_two((unsigned long)_einittext - PAGE_OFFSET);
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | pci-ioda.c | 1078 window_size = roundup_pow_of_two(memory_hotplug_max() + (1ULL << 32)); 1325 top = roundup_pow_of_two(top);
|
/linux-master/arch/powerpc/platforms/ps3/ |
H A D | mm.c | 664 roundup_pow_of_two(r->len), r->page_size, r->region_type,
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | msi.c | 369 int m = roundup_pow_of_two(nvec);
|
H A D | plpks.c | 142 password = kzalloc(roundup_pow_of_two(maxpwsize), GFP_KERNEL); 180 auth = kzalloc(roundup_pow_of_two(struct_size(auth, password, maxpwsize)), GFP_KERNEL); 218 label = kzalloc(roundup_pow_of_two(sizeof(*label)), GFP_KERNEL);
|
H A D | rtas-work-area.c | 37 RTAS_WORK_AREA_MIN_ALLOC_SZ = roundup_pow_of_two(80),
|
/linux-master/arch/riscv/kernel/ |
H A D | module.c | 749 unsigned long hashtable_size = roundup_pow_of_two(num_relocations);
|
/linux-master/arch/sh/drivers/pci/ |
H A D | pci-sh7780.c | 300 memsize = roundup_pow_of_two(memory_end - memory_start); 367 __raw_writel(((roundup_pow_of_two(size) / SZ_256K) - 1) << 18,
|
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/arch/sparc/kernel/ |
H A D | pci_sun4v.c | 849 dma_mask = (roundup_pow_of_two(atu->size) - 1UL); 884 dma_mask = (roundup_pow_of_two(vdma[1]) - 1UL);
|
/linux-master/arch/sparc/mm/ |
H A D | init_64.c | 224 ((1UL<<ilog2(roundup_pow_of_two(NR_CPUS)))-1UL) 2317 ilog2(roundup_pow_of_two(NR_CPUS)) > 32);
|
Completed in 858 milliseconds
1234567891011>>