Searched refs:roundup_pow_of_two (Results 251 - 275 of 297) sorted by relevance

<<1112

/linux-master/mm/
H A Dpercpu.c3386 roundup_pow_of_two(max_t(size_t, PCPU_MIN_UNIT_SIZE,
/linux-master/fs/bcachefs/
H A Dec.c894 if (!init_heap(&n, max(1024UL, roundup_pow_of_two(idx + 1)), gfp))
H A Dsuper.c873 c->inode_shard_bits = ilog2(roundup_pow_of_two(num_possible_cpus()));
H A Djournal_io.c986 new_size = roundup_pow_of_two(new_size);
/linux-master/drivers/md/bcache/
H A Dsuper.c2253 free = roundup_pow_of_two(ca->sb.nbuckets) >> 10;
/linux-master/drivers/net/ethernet/marvell/
H A Dsky2.c4147 return max(128ul, roundup_pow_of_two(pending+1));
4908 hw->st_size = hw->ports * roundup_pow_of_two(3*RX_MAX_PENDING + TX_MAX_PENDING);
/linux-master/drivers/net/ethernet/cadence/
H A Dmacb_main.c3329 new_rx_size = roundup_pow_of_two(new_rx_size);
3333 new_tx_size = roundup_pow_of_two(new_tx_size);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_device.c1925 amdgpu_sched_jobs = roundup_pow_of_two(amdgpu_sched_jobs);
1956 amdgpu_sched_hw_submission = roundup_pow_of_two(amdgpu_sched_hw_submission);
/linux-master/kernel/trace/
H A Dtrace_events_hist.c286 return (u64) ilog2(roundup_pow_of_two(val));
1407 map_bits = ilog2(roundup_pow_of_two(size));
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v2.c2167 caps->max_rq_sg = roundup_pow_of_two(caps->max_rq_sg);
2169 caps->max_srq_sges = roundup_pow_of_two(caps->max_srq_sges);
/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/sound/pci/asihpi/
H A Dhpifunc.c421 roundup_pow_of_two(((size + 4095L) & ~4095L));
/linux-master/drivers/infiniband/hw/ocrdma/
H A Docrdma_hw.c1621 *num_entries = roundup_pow_of_two(*num_entries);
/linux-master/drivers/infiniband/sw/rdmavt/
H A Dqp.c161 table_size = roundup_pow_of_two(llc_size);
/linux-master/drivers/crypto/
H A Dtalitos.c3446 priv->fifo_len = roundup_pow_of_two(priv->chfifo_len);
/linux-master/drivers/md/
H A Ddm-raid.c957 region_size = roundup_pow_of_two(min_region_size);
/linux-master/sound/core/oss/
H A Dpcm_oss.c733 min_period_size = roundup_pow_of_two(min_period_size);
/linux-master/drivers/usb/host/
H A Dxhci.c3295 *num_stream_ctxs = roundup_pow_of_two(*num_streams);
/linux-master/net/ipv4/
H A Dudp.c3537 hash_entries = roundup_pow_of_two(hash_entries);
H A Dtcp_ipv4.c3401 ehash_entries = roundup_pow_of_two(ehash_entries);
/linux-master/drivers/spi/
H A Dspi.c3817 maxsize = maxwords * roundup_pow_of_two(BITS_TO_BYTES(xfer->bits_per_word));
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dmain.c2542 nent_pow2 = roundup_pow_of_two(dev->caps.max_counters);
/linux-master/fs/smb/client/
H A Dfile.c275 rsize = roundup_pow_of_two(rsize);
/linux-master/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.c1020 hwq_attr.aux_depth = roundup_pow_of_two(bnxt_qplib_set_sq_size(sq, qp->wqe_mode));
/linux-master/drivers/iommu/amd/
H A Diommu.c3090 alignment = roundup_pow_of_two(count);

Completed in 734 milliseconds

<<1112