Home
last modified time | relevance | path

Searched refs:kmalloc_array (Results 1 – 21 of 21) sorted by relevance

/freebsd/sys/dev/mthca/
H A Dmthca_allocator.c93 alloc->table = kmalloc_array(BITS_TO_LONGS(num), sizeof(long), in mthca_alloc_init()
165 array->page_list = kmalloc_array(npage, sizeof(*array->page_list), in mthca_array_init()
224 dma_list = kmalloc_array(npages, sizeof(*dma_list), in mthca_buf_alloc()
236 dma_list = kmalloc_array(npages, sizeof(*dma_list), in mthca_buf_alloc()
241 buf->page_list = kmalloc_array(npages, in mthca_buf_alloc()
H A Dmthca_eq.c482 eq->page_list = kmalloc_array(npages, sizeof(*eq->page_list), in mthca_create_eq()
490 dma_list = kmalloc_array(npages, sizeof(*dma_list), GFP_KERNEL); in mthca_create_eq()
H A Dmthca_srq.c159 srq->wrid = kmalloc_array(srq->max, sizeof(u64), GFP_KERNEL); in mthca_alloc_srq_buf()
H A Dmthca_memfree.c715 dev->db_tab->page = kmalloc_array(dev->db_tab->npages, in mthca_init_db_tab()
H A Dmthca_mr.c156 buddy->bits[i] = kmalloc_array(s, sizeof(long), GFP_KERNEL); in mthca_buddy_init()
H A Dmthca_cmd.c557 dev->cmd.context = kmalloc_array(dev->cmd.max_cmds, in mthca_cmd_use_events()
H A Dmthca_qp.c1058 qp->wrid = kmalloc_array(qp->rq.max + qp->sq.max, sizeof(u64), in mthca_alloc_wqe_buf()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dslab.h194 kmalloc_array(size_t n, size_t size, gfp_t flags) in kmalloc_array() function
206 return (kmalloc_array(n, size, flags)); in kcalloc()
H A Dbitmap.h434 return (kmalloc_array(BITS_TO_LONGS(size), in bitmap_alloc()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Did_table.c101 alloc->table = kmalloc_array(BITS_TO_LONGS(num), sizeof(long), in c4iw_id_table_alloc()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_cq.c162 cq->wc = kmalloc_array(IB_POLL_BATCH, sizeof(*cq->wc), GFP_KERNEL); in __ib_alloc_cq_user()
H A Dib_fmr_pool.c250 kmalloc_array(IB_FMR_HASH_SIZE, in ib_create_fmr_pool()
H A Dib_uverbs_uapi.c451 data = kmalloc_array(uapi->num_write + uapi->num_write_ex, in uapi_finalize()
H A Dib_cma.c2107 rt->path_rec = kmalloc_array(rt->num_paths, sizeof(*rt->path_rec), in cma_ib_new_conn_id()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_srq.c168 srq->wrid = kmalloc_array(srq->msrq.max, sizeof(u64), in mlx4_ib_create_srq()
H A Dmlx4_ib_main.c311 gids = kmalloc_array(MLX4_MAX_PORT_GIDS, sizeof(*gids), in mlx4_ib_add_gid()
365 gids = kmalloc_array(MLX4_MAX_PORT_GIDS, sizeof(*gids), in mlx4_ib_del_gid()
2643 kmalloc_array(BITS_TO_LONGS(ibdev->steer_qpn_count), in mlx4_ib_add()
H A Dmlx4_ib_qp.c565 kmalloc_array(qp->rq.wqe_cnt, sizeof(struct mlx4_ib_buf), in alloc_proxy_bufs()
822 qp->sq.wrid = kmalloc_array(qp->sq.wqe_cnt, sizeof(u64), in create_qp_common()
827 qp->rq.wrid = kmalloc_array(qp->rq.wqe_cnt, sizeof(u64), in create_qp_common()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c2922 __cpu_data = kmalloc_array(mp_maxid + 1, in linux_compat_init()
2962 static_single_cpu_mask = kmalloc_array(mp_maxid + 1, in linux_compat_init()
2982 static_single_cpu_mask_lcs = kmalloc_array(mp_ncpus, in linux_compat_init()
/freebsd/sys/contrib/dev/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_lcn.c2604 values_to_save = kmalloc_array(20, sizeof(u16), GFP_ATOMIC); in wlc_lcnphy_tx_iqlo_cal()
3612 phy_c32 = kmalloc_array(20, sizeof(u16), GFP_ATOMIC); in wlc_lcnphy_a1()
H A Dphy_n.c23010 data_buf = kmalloc_array(num_samps, sizeof(u32), GFP_ATOMIC); in wlc_phy_loadsampletable_nphy()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_resource_tracker.c1190 counters_arr = kmalloc_array(dev->caps.max_counters, in mlx4_calc_vf_counters()
5158 counters_arr = kmalloc_array(dev->caps.max_counters, in rem_slave_counters()