Searched refs:roundup_pow_of_two (Results 201 - 225 of 297) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/xe/
H A Dxe_migrate.c401 m->min_chunk_size = roundup_pow_of_two(m->min_chunk_size);
/linux-master/fs/xfs/
H A Dxfs_iomap.c500 alloc_blocks = XFS_FILEOFF_MIN(roundup_pow_of_two(XFS_MAX_BMBT_EXTLEN),
/linux-master/fs/bcachefs/
H A Dbtree_key_cache.c414 new_u64s = roundup_pow_of_two(new_u64s);
H A Dbtree_trans_commit.c439 new_u64s = roundup_pow_of_two(u64s);
H A Dsuper-io.c164 new_buffer_size = roundup_pow_of_two(new_bytes);
/linux-master/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c1547 int rqt_table_size = roundup_pow_of_two(ndev->rqt_size);
1548 int act_sz = roundup_pow_of_two(ndev->cur_num_vqs / 2);
1583 int act_sz = roundup_pow_of_two(num / 2);
/linux-master/drivers/irqchip/
H A Dirq-gic-v3-its.c3431 nvecs = roundup_pow_of_two(nvecs);
4535 bitmap = its_lpi_alloc(roundup_pow_of_two(nr_irqs), &base, &nr_ids);
5033 entries = roundup_pow_of_two(nr_cpu_ids);
/linux-master/drivers/infiniband/hw/cxgb4/
H A Ddevice.c1028 roundup_pow_of_two(devp->rdev.lldi.vr->ocq.size);
/linux-master/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.c291 rbdr->pgcnt = roundup_pow_of_two(rbdr->pgcnt);
/linux-master/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_ethtool.c656 num_desc = roundup_pow_of_two(num_desc);
/linux-master/drivers/media/rc/
H A Drc-main.c221 rc_map->alloc = roundup_pow_of_two(size * sizeof(struct rc_map_table));
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_ste.c644 chunk_size = ilog2(roundup_pow_of_two(action->rewrite->num_of_actions));
/linux-master/drivers/mmc/host/
H A Dusdhi6rol0.c759 roundup_pow_of_two(DIV_ROUND_UP(host->imclk, rate));
/linux-master/drivers/infiniband/hw/irdma/
H A Dctrl.c612 roundup_pow_of_two(2 * ird_size) : 4) {
4747 q1_cnt = roundup_pow_of_two(dev->hw_attrs.max_hw_ird * 2 * qpwanted);
4750 q1_cnt = roundup_pow_of_two(dev->hw_attrs.max_hw_ird * 2 * qpwanted + 512);
4761 hmc_info->hmc_obj[IRDMA_HMC_IW_XF].cnt = roundup_pow_of_two(qpwanted * dev->hw_attrs.max_hw_wqes);
/linux-master/drivers/usb/cdns3/
H A Dcdnsp-gadget.c785 num_stream_ctxs = roundup_pow_of_two(num_streams);
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dhtt_tx.c428 size = roundup_pow_of_two(htt->max_num_pending_tx);
/linux-master/tools/perf/util/
H A Devlist.c944 pages = roundup_pow_of_two(pages);
/linux-master/drivers/md/
H A Ddm-cache-policy-smq.c590 nr_buckets = roundup_pow_of_two(max(nr_entries / 4u, 16u));
/linux-master/net/core/
H A Dsock_map.c1121 htab->buckets_num = roundup_pow_of_two(htab->map.max_entries);
/linux-master/drivers/net/ethernet/8390/
H A Dpcnet_cs.c1423 window_size = roundup_pow_of_two(window_size);
/linux-master/drivers/dma/idxd/
H A Dsysfs.c995 *val = roundup_pow_of_two(*val);
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_fb.c1370 return roundup_pow_of_two(max(pitch_tiles, 8u));
/linux-master/drivers/video/fbdev/
H A Duvesafb.c1525 temp_size = roundup_pow_of_two(temp_size);
/linux-master/include/sound/
H A Dsoc.h238 .mask = xitems ? roundup_pow_of_two(xitems) - 1 : 0}
/linux-master/mm/
H A Dmm_init.c2435 numentries = roundup_pow_of_two(numentries);

Completed in 328 milliseconds

1234567891011>>