Searched refs:roundup_pow_of_two (Results 76 - 100 of 297) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dparams.c276 sz = roundup_pow_of_two(mlx5e_rx_get_linear_sz_skb(params, no_head_tail_room));
751 info->arr[i].frag_stride = roundup_pow_of_two(frag_size);
1066 hd_per_wq = roundup_pow_of_two(hd_per_wqe * wq_size);
/linux-master/drivers/md/bcache/
H A Dbset.c138 newsize = roundup_pow_of_two(newsize);
141 roundup_pow_of_two(oldsize) == newsize)
454 j |= roundup_pow_of_two(size) >> shift;
/linux-master/drivers/net/ethernet/netronome/nfp/abm/
H A Dctrl.c319 size = roundup_pow_of_two(order_base_2(abm->num_bands));
/linux-master/drivers/net/wireless/ath/ath5k/
H A Dqcu.c126 cw_req = (u16) roundup_pow_of_two(cw_req) - 1;
/linux-master/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_cq.c125 entries = roundup_pow_of_two(entries);
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_rss.c72 roundup_size = roundup_pow_of_two(rss_size);
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_uld.h417 (pci_resource_len((pdev), 2) - roundup_pow_of_two((vres)->ocq.size))
/linux-master/drivers/s390/scsi/
H A Dzfcp_aux.c55 return kmem_cache_create(name, size, roundup_pow_of_two(size), 0, NULL);
/linux-master/arch/powerpc/kvm/
H A Dguest-state-buffer.c35 size = roundup_pow_of_two(size);
/linux-master/drivers/infiniband/sw/siw/
H A Dsiw_verbs.c374 num_sqe = roundup_pow_of_two(attrs->cap.max_send_wr);
377 num_rqe = roundup_pow_of_two(num_rqe);
1150 size = roundup_pow_of_two(size);
1600 srq->num_rqe = roundup_pow_of_two(attrs->max_wr);
/linux-master/tools/perf/arch/x86/util/
H A Dintel-bts.c172 opts->auxtrace_mmap_pages = roundup_pow_of_two(sz);
/linux-master/drivers/net/ethernet/sfc/
H A Dtx_common.c30 entries = max(roundup_pow_of_two(efx->txq_entries), EFX_MIN_DMAQ_SIZE);
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dtx_common.c30 entries = max(roundup_pow_of_two(efx->txq_entries), EFX_MIN_DMAQ_SIZE);
/linux-master/drivers/pci/endpoint/
H A Dpci-epf-core.c286 size = roundup_pow_of_two(size);
/linux-master/drivers/dma-buf/
H A Ddma-resv.c195 max = max(4ul, roundup_pow_of_two(num_fences));
/linux-master/drivers/video/fbdev/
H A Dvesafb.c438 temp_size = roundup_pow_of_two(temp_size);
/linux-master/lib/
H A Dstackdepot.c210 entries = roundup_pow_of_two(entries);
/linux-master/net/sched/
H A Dsch_choke.c369 mask = roundup_pow_of_two(ctl->limit + 1) - 1;
/linux-master/fs/bcachefs/
H A Dprintbuf.c46 unsigned new_size = roundup_pow_of_two(out->size + extra);
/linux-master/kernel/
H A Dcrash_core.c462 align = min(roundup_pow_of_two(sizeof(note_buf_t)), PAGE_SIZE);
/linux-master/drivers/infiniband/hw/mlx4/
H A Dcq.c194 entries = roundup_pow_of_two(entries + 1);
393 entries = roundup_pow_of_two(entries + 1);
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Drx.c693 entries = max(roundup_pow_of_two(efx->rxq_entries), EF4_MIN_DMAQ_SIZE);
734 page_ring_size = roundup_pow_of_two(bufs_in_recycle_ring /
/linux-master/drivers/net/wireless/ath/ath12k/
H A Dce.c592 nentries = roundup_pow_of_two(attr->src_nentries);
602 nentries = roundup_pow_of_two(attr->dest_nentries);
/linux-master/drivers/infiniband/hw/hfi1/
H A Dipoib_tx.c694 tx_ring_size = roundup_pow_of_two(dev->tx_queue_len + 1);
695 tx_item_size = roundup_pow_of_two(sizeof(struct ipoib_txreq));
/linux-master/net/netfilter/
H A Dxt_recent.c373 nstamp_mask = roundup_pow_of_two(ip_pkt_list_tot) - 1;
375 nstamp_mask = roundup_pow_of_two(info->hit_count) - 1;

Completed in 278 milliseconds

1234567891011>>