Searched refs:roundup_pow_of_two (Results 176 - 200 of 295) sorted by relevance

1234567891011>>

/linux-master/net/netfilter/
H A Dnft_set_hash.c467 return roundup_pow_of_two(val);
/linux-master/fs/erofs/
H A Dsuper.c248 sbi->device_id_mask = roundup_pow_of_two(ondisk_extradevs + 1) - 1;
/linux-master/fs/bcachefs/
H A Dbtree_key_cache.c414 new_u64s = roundup_pow_of_two(new_u64s);
/linux-master/drivers/infiniband/hw/mlx4/
H A Dqp.c360 qp->rq.wqe_cnt = roundup_pow_of_two(max(1U, cap->max_recv_wr));
361 qp->rq.max_gs = roundup_pow_of_two(max(1U, cap->max_recv_sge));
409 qp->sq.wqe_shift = ilog2(roundup_pow_of_two(s));
416 qp->sq.wqe_cnt = roundup_pow_of_two(cap->max_send_wr +
457 ilog2(roundup_pow_of_two(dev->dev->caps.max_sq_desc_sz)) ||
/linux-master/sound/pci/asihpi/
H A Dhpi6205.c745 roundup_pow_of_two(phm->u.d.u.buffer.buffer_size);
1029 roundup_pow_of_two(phm->u.d.u.buffer.buffer_size);
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_qp.c1274 roundup_pow_of_two(cap->max_recv_wr) : 0;
1276 roundup_pow_of_two(cap->max_send_wr) : 0;
H A Dmthca_provider.c709 entries = roundup_pow_of_two(entries + 1);
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_cxt.c668 total = roundup_pow_of_two(local_max);
1630 rounded_conn_num = roundup_pow_of_two(conn_max);
/linux-master/arch/powerpc/platforms/powernv/
H A Dpci-ioda.c1078 window_size = roundup_pow_of_two(memory_hotplug_max() + (1ULL << 32));
1325 top = roundup_pow_of_two(top);
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c667 rxd_cnt = roundup_pow_of_two(ring->rx_pending);
668 txd_cnt = roundup_pow_of_two(ring->tx_pending);
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1172 rx_size = roundup_pow_of_two(param->rx_pending);
1173 tx_size = roundup_pow_of_two(param->tx_pending);
/linux-master/drivers/usb/gadget/udc/
H A Datmel_usba_udc.c1079 roundup_pow_of_two(_ep->maxpacket_limit);
1082 roundup_pow_of_two(le16_to_cpu(desc->wMaxPacketSize));
/linux-master/arch/sparc/mm/
H A Dinit_64.c224 ((1UL<<ilog2(roundup_pow_of_two(NR_CPUS)))-1UL)
2317 ilog2(roundup_pow_of_two(NR_CPUS)) > 32);
/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.c486 alloc_blocks = XFS_FILEOFF_MIN(roundup_pow_of_two(XFS_MAX_BMBT_EXTLEN),
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vm.c2187 vm_size = roundup_pow_of_two(
2193 tmp = roundup_pow_of_two(adev->vm_manager.max_pfn);
/linux-master/tools/perf/util/
H A Dthread-stack.c183 new_sz = roundup_pow_of_two(cpu + 1);
/linux-master/drivers/net/ethernet/sfc/siena/
H A Defx_channels.c436 entries = roundup_pow_of_two(efx->rxq_entries + efx->txq_entries + 128);
/linux-master/drivers/scsi/megaraid/
H A Dmegaraid_sas_fusion.c537 sense_sz, roundup_pow_of_two(sense_sz),
673 roundup_pow_of_two(fusion->io_frames_alloc_sz),
750 roundup_pow_of_two(fusion->reply_alloc_sz * count),
821 roundup_pow_of_two(chunk_size),
/linux-master/drivers/mmc/host/
H A Dmeson-gx-mmc.c212 timeout = roundup_pow_of_two(timeout);
/linux-master/drivers/input/
H A Devdev.c467 return roundup_pow_of_two(n_events);
/linux-master/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00dev.c1163 roundup_pow_of_two(rt2x00dev->ops->tx_queues *
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.c58 ft->max_fte = max_fte ? roundup_pow_of_two(max_fte) : 1;
/linux-master/fs/
H A Dpipe.c1255 return roundup_pow_of_two(size);
/linux-master/drivers/spi/
H A Dspi-geni-qcom.c737 return roundup_pow_of_two(DIV_ROUND_UP(mas->cur_bits_per_word,

Completed in 372 milliseconds

1234567891011>>