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 D | params.c | 276 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 D | bset.c | 138 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 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/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_cq.c | 125 entries = roundup_pow_of_two(entries);
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
H A D | hclge_comm_rss.c | 72 roundup_size = roundup_pow_of_two(rss_size);
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_uld.h | 417 (pci_resource_len((pdev), 2) - roundup_pow_of_two((vres)->ocq.size))
|
/linux-master/drivers/s390/scsi/ |
H A D | zfcp_aux.c | 55 return kmem_cache_create(name, size, roundup_pow_of_two(size), 0, NULL);
|
/linux-master/arch/powerpc/kvm/ |
H A D | guest-state-buffer.c | 35 size = roundup_pow_of_two(size);
|
/linux-master/drivers/infiniband/sw/siw/ |
H A D | siw_verbs.c | 374 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 D | intel-bts.c | 172 opts->auxtrace_mmap_pages = roundup_pow_of_two(sz);
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | tx_common.c | 30 entries = max(roundup_pow_of_two(efx->txq_entries), EFX_MIN_DMAQ_SIZE);
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | tx_common.c | 30 entries = max(roundup_pow_of_two(efx->txq_entries), EFX_MIN_DMAQ_SIZE);
|
/linux-master/drivers/pci/endpoint/ |
H A D | pci-epf-core.c | 286 size = roundup_pow_of_two(size);
|
/linux-master/drivers/dma-buf/ |
H A D | dma-resv.c | 195 max = max(4ul, roundup_pow_of_two(num_fences));
|
/linux-master/drivers/video/fbdev/ |
H A D | vesafb.c | 438 temp_size = roundup_pow_of_two(temp_size);
|
/linux-master/lib/ |
H A D | stackdepot.c | 210 entries = roundup_pow_of_two(entries);
|
/linux-master/net/sched/ |
H A D | sch_choke.c | 369 mask = roundup_pow_of_two(ctl->limit + 1) - 1;
|
/linux-master/fs/bcachefs/ |
H A D | printbuf.c | 46 unsigned new_size = roundup_pow_of_two(out->size + extra);
|
/linux-master/kernel/ |
H A D | crash_core.c | 462 align = min(roundup_pow_of_two(sizeof(note_buf_t)), PAGE_SIZE);
|
/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | cq.c | 194 entries = roundup_pow_of_two(entries + 1); 393 entries = roundup_pow_of_two(entries + 1);
|
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | rx.c | 693 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 D | ce.c | 592 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 D | ipoib_tx.c | 694 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 D | xt_recent.c | 373 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>>