Searched refs:roundup_pow_of_two (Results 1 - 122 of 122) sorted by relevance

/linux-4.1.27/include/linux/
H A Dlog2.h161 * roundup_pow_of_two - round the given value up to nearest power of two
168 #define roundup_pow_of_two(n) \ macro
206 #define order_base_2(n) ilog2(roundup_pow_of_two(n))
H A Dnetdevice.h650 * possible cpus : rps_cpu_mask = roundup_pow_of_two(nr_cpu_ids) - 1
/linux-4.1.27/tools/include/linux/
H A Dlog2.h154 * roundup_pow_of_two - round the given value up to nearest power of two
161 #define roundup_pow_of_two(n) \ macro
/linux-4.1.27/arch/mips/bcm63xx/
H A Dcs.c43 if (size != roundup_pow_of_two(size)) bcm63xx_set_cs_base()
/linux-4.1.27/mm/
H A Dpercpu-km.c103 alloc_pages = roundup_pow_of_two(nr_pages); pcpu_verify_alloc_info()
H A Dpage-writeback.c849 const unsigned long period = roundup_pow_of_two(3 * HZ); bdi_update_write_bandwidth()
1203 t = bdi_dirty / (1 + bw / roundup_pow_of_two(1 + HZ / 8)); bdi_max_pause()
1252 pages = dirty_ratelimit * t / roundup_pow_of_two(HZ); bdi_min_pause()
1264 pages = dirty_ratelimit * t / roundup_pow_of_two(HZ); bdi_min_pause()
1274 pages = task_ratelimit * t / roundup_pow_of_two(HZ); bdi_min_pause()
H A Dreadahead.c253 unsigned long newsize = roundup_pow_of_two(size); get_init_ra_size()
H A Dpercpu.c2228 roundup_pow_of_two(max_t(size_t, PCPU_MIN_UNIT_SIZE, setup_per_cpu_areas()
H A Dvmalloc.c753 VMALLOC_PAGES / roundup_pow_of_two(NR_CPUS) / 16))
H A Dhugetlb.c2267 num_fault_mutexes = roundup_pow_of_two(8 * num_possible_cpus()); hugetlb_init()
H A Dslub.c1753 #define TID_STEP roundup_pow_of_two(CONFIG_NR_CPUS)
H A Dpage_alloc.c6105 numentries = roundup_pow_of_two(numentries); alloc_large_system_hash()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Dprofile.c107 roundup_pow_of_two(max_t(unsigned, request->num_mtt, mlx4_make_profile()
138 profile[i].num = roundup_pow_of_two(profile[i].num); mlx4_make_profile()
223 dev->caps.num_eqs = roundup_pow_of_two( mlx4_make_profile()
H A Dqp.c587 roundup_pow_of_two(MLX4_BF_QP_SKIP_MASK)) || mlx4_create_zones()
644 err = mlx4_bitmap_init(*bitmap + k, roundup_pow_of_two(size), mlx4_create_zones()
645 roundup_pow_of_two(size) - 1, 0, mlx4_create_zones()
646 roundup_pow_of_two(size) - size); mlx4_create_zones()
747 roundup_pow_of_two(fixed_reserved_from_bot_rv + 1); mlx4_init_qp_table()
H A Den_clock.c249 max_val_cycles : roundup_pow_of_two(max_val_cycles) - 1; freq_to_shift()
H A Deq.c934 eq->nent = roundup_pow_of_two(max(nent, 2)); mlx4_create_eq()
1155 roundup_pow_of_two(dev->caps.num_eqs), mlx4_init_eq_table()
1158 roundup_pow_of_two(dev->caps.num_eqs) - mlx4_init_eq_table()
H A Den_rx.c384 tmp = size * roundup_pow_of_two(MLX4_EN_MAX_RX_FRAGS * mlx4_en_create_rx_ring()
436 int stride = roundup_pow_of_two(sizeof(struct mlx4_en_rx_desc) + mlx4_en_activate_rx_rings()
H A Dalloc.c177 if (num != roundup_pow_of_two(num)) mlx4_bitmap_init()
H A Dmlx4_en.h212 #define ROUNDUP_LOG2(x) ilog2(roundup_pow_of_two(x))
H A Den_ethtool.c1034 rx_size = roundup_pow_of_two(param->rx_pending); mlx4_en_set_ringparam()
1037 tx_size = roundup_pow_of_two(param->tx_pending); mlx4_en_set_ringparam()
H A Den_netdev.c2865 priv->stride = roundup_pow_of_two(sizeof(struct mlx4_en_rx_desc) + mlx4_en_init_netdev()
H A Dresource_tracker.c2496 roundup_pow_of_two((total_mem + (page_offset << 6)) >> qp_get_mtt_size()
/linux-4.1.27/drivers/infiniband/hw/mlx5/
H A Dmem.c67 *order = ilog2(roundup_pow_of_two(*count)); mlx5_ib_cont_pages()
105 m = min_t(unsigned long, ilog2(roundup_pow_of_two(i)), m); mlx5_ib_cont_pages()
108 *order = ilog2(roundup_pow_of_two(i) >> m); mlx5_ib_cont_pages()
H A Dsrq.c264 srq->msrq.max = roundup_pow_of_two(init_attr->attr.max_wr + 1); mlx5_ib_create_srq()
269 desc_size = roundup_pow_of_two(desc_size); mlx5_ib_create_srq()
H A Dcq.c756 entries = roundup_pow_of_two(entries + 1); mlx5_ib_create_cq()
1087 entries = roundup_pow_of_two(entries + 1); mlx5_ib_resize_cq()
H A Dqp.c245 wqe_size = roundup_pow_of_two(wqe_size); set_rq_size()
246 wq_size = roundup_pow_of_two(cap->max_recv_wr) * wqe_size; set_rq_size()
359 wq_size = roundup_pow_of_two(attr->cap.max_send_wr * wqe_size); calc_sq_size()
/linux-4.1.27/net/core/
H A Dsysctl_net_core.c62 size = roundup_pow_of_two(size); rps_sock_flow_sysctl()
70 rps_cpu_mask = roundup_pow_of_two(nr_cpu_ids) - 1; rps_sock_flow_sysctl()
H A Drequest_sock.c48 nr_table_entries = roundup_pow_of_two(nr_table_entries + 1); reqsk_queue_alloc()
H A Dnet-sysfs.c764 /* mask = roundup_pow_of_two(count) - 1; store_rps_dev_flow_table_cnt()
/linux-4.1.27/lib/
H A Drhashtable.c74 size = roundup_pow_of_two(nr_pcpus * ht->p.locks_mul); alloc_bucket_locks()
335 size = roundup_pow_of_two(atomic_read(&ht->nelems) * 3 / 2); rhashtable_shrink()
665 return max(roundup_pow_of_two(params->nelem_hint * 4 / 3), rounded_hashtable_size()
738 ht->p.min_size = roundup_pow_of_two(params->min_size); rhashtable_init()
770 ht->p.locks_mul = roundup_pow_of_two(params->locks_mul); rhashtable_init()
H A Dkfifo.c45 size = roundup_pow_of_two(size); __kfifo_alloc()
85 size = roundup_pow_of_two(size); __kfifo_init()
H A Dgenalloc.c525 unsigned long align_mask = roundup_pow_of_two(nr) - 1; gen_pool_first_fit_order_align()
/linux-4.1.27/drivers/infiniband/hw/cxgb3/
H A Diwch_provider.c183 entries = roundup_pow_of_two(entries); iwch_create_cq()
259 cqe = roundup_pow_of_two(cqe+1); iwch_resize_cq()
912 rqsize = roundup_pow_of_two(attrs->cap.max_recv_wr); iwch_create_qp()
914 rqsize = roundup_pow_of_two(attrs->cap.max_recv_wr+1); iwch_create_qp()
931 sqsize = roundup_pow_of_two(attrs->cap.max_send_wr); iwch_create_qp()
932 wqsize = roundup_pow_of_two(rqsize + sqsize); iwch_create_qp()
940 wqsize = roundup_pow_of_two(rqsize + iwch_create_qp()
941 roundup_pow_of_two(attrs->cap.max_send_wr * 2)); iwch_create_qp()
/linux-4.1.27/drivers/infiniband/hw/mlx4/
H A Dsrq.c97 srq->msrq.max = roundup_pow_of_two(init_attr->attr.max_wr + 1); mlx4_ib_create_srq()
101 roundup_pow_of_two(sizeof (struct mlx4_wqe_srq_next_seg) + mlx4_ib_create_srq()
H A Dcq.c185 entries = roundup_pow_of_two(entries + 1); mlx4_ib_create_cq()
377 entries = roundup_pow_of_two(entries + 1); mlx4_ib_resize_cq()
H A Dqp.c395 qp->rq.wqe_cnt = roundup_pow_of_two(max(1U, cap->max_recv_wr)); set_rq_size()
396 qp->rq.max_gs = roundup_pow_of_two(max(1U, cap->max_recv_sge)); set_rq_size()
481 qp->sq.wqe_shift = ilog2(roundup_pow_of_two(s)); set_kernel_sq_size()
491 qp->sq.wqe_cnt = roundup_pow_of_two(cap->max_send_wr * set_kernel_sq_size()
537 ilog2(roundup_pow_of_two(dev->dev->caps.max_sq_desc_sz)) || set_user_sq_size()
/linux-4.1.27/arch/sh/drivers/pci/
H A Dpci-sh7780.c304 memsize = roundup_pow_of_two(memory_end - memory_start); sh7780_pci_init()
371 __raw_writel(((roundup_pow_of_two(size) / SZ_256K) - 1) << 18, sh7780_pci_init()
H A Dpcie-sh7786.c361 memsize = roundup_pow_of_two(memory_end - memory_start); pcie_init()
450 mask = (roundup_pow_of_two(size) / SZ_256K) - 1; pcie_init()
/linux-4.1.27/drivers/md/bcache/
H A Dutil.h136 _allocated_size = roundup_pow_of_two((fifo)->size + 1); \
160 (fifo)->size = roundup_pow_of_two((fifo)->size) - 1; \
H A Dbset.c136 newsize = roundup_pow_of_two(newsize); __bch_keylist_realloc()
139 roundup_pow_of_two(oldsize) == newsize) __bch_keylist_realloc()
437 j |= roundup_pow_of_two(size) >> shift; __inorder_to_tree()
H A Dsuper.c1851 free = roundup_pow_of_two(ca->sb.nbuckets) >> 10; cache_alloc()
/linux-4.1.27/drivers/md/
H A Ddm-cache-policy-cleaner.c63 return roundup_pow_of_two(max(n, min)); next_power()
H A Ddm-cache-policy-mq.c25 return roundup_pow_of_two(max(n, min)); next_power()
H A Ddm-raid.c330 region_size = roundup_pow_of_two(min_region_size); validate_region_size()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Dce.c837 nentries = roundup_pow_of_two(attr->src_nentries); ath10k_ce_init_src_ring()
874 nentries = roundup_pow_of_two(attr->dest_nentries); ath10k_ce_init_dest_ring()
907 nentries = roundup_pow_of_two(nentries); ath10k_ce_alloc_src_ring()
974 nentries = roundup_pow_of_two(attr->dest_nentries); ath10k_ce_alloc_dest_ring()
/linux-4.1.27/drivers/tty/serial/
H A Dkgdb_nmi.c91 #define KGDB_NMI_FIFO_SIZE roundup_pow_of_two(KGDB_NMI_BAUD / 8 / HZ)
/linux-4.1.27/net/ipv4/
H A Dtcp_probe.c271 bufsize = roundup_pow_of_two(bufsize); tcpprobe_init()
H A Dtcp_input.c296 per_mss = roundup_pow_of_two(per_mss) + tcp_sndbuf_expand()
/linux-4.1.27/net/netfilter/
H A Dnft_hash.c345 roundup_pow_of_two(desc->size * 4 / 3) * nft_hash_estimate()
H A Dxt_recent.c372 nstamp_mask = roundup_pow_of_two(ip_pkt_list_tot) - 1; recent_mt_check()
374 nstamp_mask = roundup_pow_of_two(info->hit_count) - 1; recent_mt_check()
/linux-4.1.27/drivers/infiniband/hw/mthca/
H A Dmthca_srq.c216 srq->max = roundup_pow_of_two(srq->max + 1); mthca_alloc_srq()
221 roundup_pow_of_two(sizeof (struct mthca_next_seg) + mthca_alloc_srq()
H A Dmthca_eq.c479 eq->nent = roundup_pow_of_two(max(nent, 2)); mthca_create_eq()
H A Dmthca_qp.c1252 roundup_pow_of_two(cap->max_recv_wr) : 0; mthca_set_qp_size()
1254 roundup_pow_of_two(cap->max_send_wr) : 0; mthca_set_qp_size()
H A Dmthca_main.c1209 *pval = roundup_pow_of_two(old_pval); __mthca_check_profile_val()
H A Dmthca_provider.c780 entries = roundup_pow_of_two(entries + 1); mthca_resize_cq()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_uld.h224 (pci_resource_len((pdev), 2) - roundup_pow_of_two((vres)->ocq.size))
H A Dcxgb4_main.c3128 sz_kb = roundup_pow_of_two(adap->vres.ocq.size) >> 10; setup_memwin_rdma()
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/
H A Dmdp5_smp.c205 n = roundup_pow_of_two(n); mdp5_smp_request()
/linux-4.1.27/kernel/bpf/
H A Dhashtab.c58 htab->n_buckets = roundup_pow_of_two(htab->map.max_entries); htab_map_alloc()
/linux-4.1.27/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c1140 size = roundup_pow_of_two(arp_tbl.gc_thresh3); ipoib_neigh_hash_init()
1755 ipoib_recvq_size = roundup_pow_of_two(ipoib_recvq_size); ipoib_init_module()
1759 ipoib_sendq_size = roundup_pow_of_two(ipoib_sendq_size); ipoib_init_module()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
H A Deq.c348 eq->nent = roundup_pow_of_two(nent + MLX5_NUM_SPARE_EQE); mlx5_create_map_eq()
H A Dcmd.c1369 int align = roundup_pow_of_two(size); mlx5_cmd_init()
/linux-4.1.27/drivers/scsi/bnx2i/
H A Dbnx2i_init.c516 sq_size = roundup_pow_of_two(sq_size); bnx2i_mod_init()
/linux-4.1.27/drivers/s390/scsi/
H A Dzfcp_aux.c53 return kmem_cache_create(name, size, roundup_pow_of_two(size), 0, NULL); zfcp_cache_hw_align()
/linux-4.1.27/drivers/video/fbdev/
H A Dvesafb.c434 temp_size = roundup_pow_of_two(temp_size); vesafb_probe()
H A Duvesafb.c1541 temp_size = roundup_pow_of_two(temp_size); uvesafb_init_mtrr()
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Dmsi.c409 int m = roundup_pow_of_two(nvec); rtas_setup_msi_irqs()
/linux-4.1.27/net/sched/
H A Dsch_choke.c437 mask = roundup_pow_of_two(ctl->limit + 1) - 1; choke_change()
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Drx.c696 entries = max(roundup_pow_of_two(efx->rxq_entries), EFX_MIN_DMAQ_SIZE); efx_probe_rx_queue()
735 page_ring_size = roundup_pow_of_two(bufs_in_recycle_ring / efx_init_rx_recycle_ring()
H A Dtx.c685 entries = max(roundup_pow_of_two(efx->txq_entries), EFX_MIN_DMAQ_SIZE); efx_probe_tx_queue()
H A Defx.c336 entries = roundup_pow_of_two(efx->rxq_entries + efx->txq_entries + 128); efx_probe_eventq()
/linux-4.1.27/drivers/pci/host/
H A Dpcie-rcar.c336 mask = (roundup_pow_of_two(size) / SZ_128) - 1; rcar_pcie_setup_window()
822 mask = roundup_pow_of_two(size) - 1; rcar_pcie_inbound_ranges()
/linux-4.1.27/arch/powerpc/platforms/powernv/
H A Dpci-ioda.c1208 roundup_pow_of_two(num_vfs) / pdn->m64_per_iov; pnv_pci_vf_assign_m64()
1341 vf_per_group = roundup_pow_of_two(num_vfs) / pdn->m64_per_iov; pnv_ioda_release_vf_PE()
1480 vf_per_group = roundup_pow_of_two(num_vfs) / pdn->m64_per_iov; pnv_ioda_setup_vf_PE()
1873 top = roundup_pow_of_two(top); pnv_pci_ioda2_set_bypass()
2393 mul = roundup_pow_of_two(total_vfs); pnv_pci_ioda_fixup_iov_resources()
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_ethtool.c431 num_desc = roundup_pow_of_two(num_desc); netxen_validate_ringparam()
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
H A Dqcu.c126 cw_req = (u16) roundup_pow_of_two(cw_req) - 1; ath5k_cw_validate()
/linux-4.1.27/drivers/rapidio/devices/
H A Dtsi721_dma.c108 sts_size = roundup_pow_of_two(sts_size); tsi721_bdma_ch_init()
H A Dtsi721.c1087 sts_size = roundup_pow_of_two(sts_size); tsi721_bdma_maint_init()
1541 priv->omsg_ring[mbox].sts_size = roundup_pow_of_two(entries + 1); tsi721_open_outb_mbox()
/linux-4.1.27/arch/sparc/kernel/
H A Dpci_sun4v.c577 dma_mask = (roundup_pow_of_two(vdma[1]) - 1UL); pci_sun4v_iommu_init()
/linux-4.1.27/fs/nfsd/
H A Dnfscache.c120 return roundup_pow_of_two(limit / TARGET_BUCKET_SIZE); nfsd_hashsize()
/linux-4.1.27/drivers/infiniband/hw/ocrdma/
H A Docrdma_verbs.c3041 *pbe_size = roundup_pow_of_two(*pbe_size); count_kernel_pbes()
3056 buf_size = roundup_pow_of_two(buf_size); count_kernel_pbes()
3092 roundup_pow_of_two(roundup(buf_list[i].size, PAGE_SIZE)) / build_kernel_pbes()
H A Docrdma_hw.c1555 *num_entries = roundup_pow_of_two(*num_entries); ocrdma_build_q_conf()
/linux-4.1.27/arch/sparc/mm/
H A Dinit_64.c217 ((1UL<<ilog2(roundup_pow_of_two(NR_CPUS)))-1UL)
2045 ilog2(roundup_pow_of_two(NR_CPUS)) > 32); paging_init()
/linux-4.1.27/fs/xfs/libxfs/
H A Dxfs_inode_fork.c1373 rnew_size = roundup_pow_of_two(new_size); xfs_iext_realloc_direct()
1390 rnew_size = roundup_pow_of_two(new_size); xfs_iext_realloc_direct()
/linux-4.1.27/sound/pci/asihpi/
H A Dhpi6205.c761 roundup_pow_of_two(phm->u.d.u.buffer.buffer_size); outstream_host_buffer_allocate()
1045 roundup_pow_of_two(phm->u.d.u.buffer.buffer_size); instream_host_buffer_allocate()
H A Dhpifunc.c420 roundup_pow_of_two(((size + 4095L) & ~4095L)); hpi_stream_estimate_buffer_size()
/linux-4.1.27/drivers/irqchip/
H A Dirq-gic-v3-its.c1152 nr_ites = max(2UL, roundup_pow_of_two(nvecs)); its_create_device()
/linux-4.1.27/drivers/media/i2c/
H A Dmt9p031.c252 div = roundup_pow_of_two(div) / 2; mt9p031_clk_setup()
/linux-4.1.27/drivers/net/wireless/rt2x00/
H A Drt2x00dev.c1081 roundup_pow_of_two(rt2x00dev->ops->tx_queues * rt2x00lib_probe_hw()
/linux-4.1.27/drivers/of/
H A Dfdt.c1110 roundup_pow_of_two(FDT_V17_SIZE)); unflatten_and_copy_device_tree()
/linux-4.1.27/drivers/input/
H A Devdev.c436 return roundup_pow_of_two(n_events); evdev_compute_buffer_size()
/linux-4.1.27/arch/x86/include/asm/
H A Dkvm_host.h511 gfn_t gfns[roundup_pow_of_two(ASYNC_PF_PER_VCPU)];
/linux-4.1.27/fs/
H A Dpipe.c1015 return roundup_pow_of_two(nr_pages) << PAGE_SHIFT; round_pipe_size()
H A Dfile.c95 nr = roundup_pow_of_two(nr + 1); alloc_fdtable()
/linux-4.1.27/fs/xfs/
H A Dxfs_iomap.c460 alloc_blocks = XFS_FILEOFF_MIN(roundup_pow_of_two(MAXEXTLEN), xfs_iomap_prealloc_size()
/linux-4.1.27/arch/powerpc/platforms/ps3/
H A Dmm.c674 roundup_pow_of_two(r->len), r->page_size, r->region_type, dma_sb_region_create()
/linux-4.1.27/arch/alpha/kernel/
H A Dpci_iommu.c53 max = roundup_pow_of_two(mem); size_for_memory()
/linux-4.1.27/tools/perf/util/
H A Devlist.c950 pages = roundup_pow_of_two(pages); parse_pages_arg()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
H A Ddevice.c990 roundup_pow_of_two(devp->rdev.lldi.vr->ocq.size); c4iw_alloc()
H A Dqp.c210 wq->rq.rqt_size = roundup_pow_of_two(max_t(u16, wq->rq.size, 16)); create_qp()
/linux-4.1.27/drivers/mmc/host/
H A Dusdhi6rol0.c751 roundup_pow_of_two(DIV_ROUND_UP(host->imclk, rate)); usdhi6_clk_set()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_ethtool.c644 num_desc = roundup_pow_of_two(num_desc); qlcnic_validate_ringparam()
/linux-4.1.27/drivers/media/platform/coda/
H A Dcoda-bit.c1375 ctx->bitstream.size = roundup_pow_of_two(q_data->sizeimage * 2); coda_alloc_bitstream_buffer()
/linux-4.1.27/drivers/media/rc/
H A Drc-main.c133 rc_map->alloc = roundup_pow_of_two(size * sizeof(struct rc_map_table)); ir_create_table()
/linux-4.1.27/include/sound/
H A Dsoc.h185 .mask = xitems ? roundup_pow_of_two(xitems) - 1 : 0}
/linux-4.1.27/arch/x86/kvm/
H A Dx86.c180 for (i = 0; i < roundup_pow_of_two(ASYNC_PF_PER_VCPU); i++) kvm_async_pf_hash_reset()
7840 return (key + 1) & (roundup_pow_of_two(ASYNC_PF_PER_VCPU) - 1); kvm_async_pf_next_probe()
7858 for (i = 0; i < roundup_pow_of_two(ASYNC_PF_PER_VCPU) && kvm_async_pf_gfn_slot()
/linux-4.1.27/drivers/net/ethernet/8390/
H A Dpcnet_cs.c1411 window_size = roundup_pow_of_two(window_size); setup_shmem_window()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dr600_cs.c1405 val = roundup_pow_of_two(val); r600_mip_minify()
H A Dr100.c2187 w = roundup_pow_of_two(w); r100_cs_track_texture_check()
2194 h = roundup_pow_of_two(h); r100_cs_track_texture_check()
/linux-4.1.27/drivers/net/ethernet/marvell/
H A Dsky2.c4159 return max(128ul, roundup_pow_of_two(pending+1)); roundup_ring_size()
5006 hw->st_size = hw->ports * roundup_pow_of_two(3*RX_MAX_PENDING + TX_MAX_PENDING); sky2_probe()
/linux-4.1.27/drivers/scsi/libfc/
H A Dfc_exch.c2612 fc_cpu_order = ilog2(roundup_pow_of_two(nr_cpu_ids)); fc_setup_exch_mgr()
/linux-4.1.27/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c494 adapter->rx_frag_size = roundup_pow_of_two(head_size); atl1c_set_rxbufsize()
/linux-4.1.27/drivers/crypto/
H A Dtalitos.c2709 priv->fifo_len = roundup_pow_of_two(priv->chfifo_len); talitos_probe()
/linux-4.1.27/kernel/
H A Dfutex.c3057 futex_hashsize = roundup_pow_of_two(256 * num_possible_cpus()); futex_init()
/linux-4.1.27/kernel/printk/
H A Dprintk.c836 size = roundup_pow_of_two(size); log_buf_len_update()
/linux-4.1.27/sound/core/oss/
H A Dpcm_oss.c758 min_period_size = roundup_pow_of_two(min_period_size); snd_pcm_oss_period_size()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_display.c6001 *ret_n = min_t(unsigned int, roundup_pow_of_two(n), DATA_LINK_N_MAX); compute_m_n()
8654 unsigned int stride = roundup_pow_of_two(width) * 4; i845_update_cursor()
12779 stride = roundup_pow_of_two(state->base.crtc_w) * 4; intel_check_cursor_plane()
/linux-4.1.27/drivers/net/ethernet/rocker/
H A Drocker.c915 min(roundup_pow_of_two(size), ROCKER_DMA_SIZE_MAX)); rocker_dma_ring_size_fix()
/linux-4.1.27/drivers/scsi/be2iscsi/
H A Dbe_main.c2591 phba->mem_req[HWI_MEM_WRBH] = roundup_pow_of_two((wrb_sz_per_cxn) * beiscsi_find_mem_req()
/linux-4.1.27/fs/ext4/
H A Dmballoc.c2354 size = roundup_pow_of_two(sizeof(*sbi->s_group_info) * size); ext4_mb_alloc_groupinfo()
H A Dsuper.c1964 size = roundup_pow_of_two(size * sizeof(struct flex_groups)); ext4_alloc_flex_bg_array()
/linux-4.1.27/drivers/usb/host/
H A Dxhci.c3050 *num_stream_ctxs = roundup_pow_of_two(*num_streams); xhci_calculate_streams_entries()
/linux-4.1.27/net/bluetooth/
H A Dl2cap_core.c321 alloc_size = roundup_pow_of_two(size); l2cap_seq_list_init()

Completed in 3348 milliseconds