| /freebsd-11-stable/sys/dev/mlx5/mlx5_core/ |
| HD | mlx5_uar.c | 86 uuari->uars = kcalloc(uuari->num_uars, sizeof(*uuari->uars), GFP_KERNEL); in mlx5_alloc_uuars() 88 uuari->bfs = kcalloc(tot_uuars, sizeof(*uuari->bfs), GFP_KERNEL); in mlx5_alloc_uuars() 90 uuari->bitmap = kcalloc(BITS_TO_LONGS(tot_uuars), sizeof(*uuari->bitmap), in mlx5_alloc_uuars() 93 uuari->count = kcalloc(tot_uuars, sizeof(*uuari->count), GFP_KERNEL); in mlx5_alloc_uuars()
|
| HD | mlx5_alloc.c | 81 buf->page_list = kcalloc(buf->npages, sizeof(*buf->page_list), in mlx5_buf_alloc()
|
| HD | mlx5_eswitch.c | 527 mac_list = kcalloc(size, ETH_ALEN, GFP_KERNEL); in esw_update_vport_addr_list() 1107 esw->l2_table.bitmap = kcalloc(BITS_TO_LONGS(l2_table_size), in mlx5_eswitch_init() 1121 esw->vports = kcalloc(total_vports, sizeof(struct mlx5_vport), in mlx5_eswitch_init()
|
| /freebsd-11-stable/contrib/libucl/klib/ |
| HD | khash.h | 179 #ifndef kcalloc 180 #define kcalloc(N,Z) calloc(N,Z) macro 213 return (kh_##name##_t*)kcalloc(1, sizeof(kh_##name##_t)); \
|
| /freebsd-11-stable/sys/contrib/vchiq/interface/compat/ |
| HD | vchi_bsd.h | 332 #define kcalloc(n, size, flags) malloc((n) * (size), M_VCHI, M_NOWAIT | M_ZERO) macro 333 #define kzalloc(a, b) kcalloc(1, (a), (b))
|
| /freebsd-11-stable/sys/dev/mlx4/mlx4_core/ |
| HD | mlx4_qp.c | 829 dev->caps.qp0_tunnel = kcalloc(dev->caps.num_ports, sizeof (u32), GFP_KERNEL); in mlx4_init_qp_table() 830 dev->caps.qp0_proxy = kcalloc(dev->caps.num_ports, sizeof (u32), GFP_KERNEL); in mlx4_init_qp_table() 831 dev->caps.qp1_tunnel = kcalloc(dev->caps.num_ports, sizeof (u32), GFP_KERNEL); in mlx4_init_qp_table() 832 dev->caps.qp1_proxy = kcalloc(dev->caps.num_ports, sizeof (u32), GFP_KERNEL); in mlx4_init_qp_table()
|
| HD | mlx4_mr.c | 112 buddy->bits = kcalloc(buddy->max_order + 1, sizeof (long *), in mlx4_buddy_init() 114 buddy->num_free = kcalloc((buddy->max_order + 1), sizeof *buddy->num_free, in mlx4_buddy_init() 121 buddy->bits[i] = kcalloc(s, sizeof (long), GFP_KERNEL | __GFP_NOWARN); in mlx4_buddy_init()
|
| HD | mlx4_profile.c | 87 profile = kcalloc(MLX4_RES_NUM, sizeof(*profile), GFP_KERNEL); in mlx4_make_profile()
|
| HD | mlx4_main.c | 913 dev->caps.qp0_qkey = kcalloc(dev->caps.num_ports, sizeof(u32), GFP_KERNEL); in mlx4_slave_cap() 914 dev->caps.qp0_tunnel = kcalloc(dev->caps.num_ports, sizeof (u32), GFP_KERNEL); in mlx4_slave_cap() 915 dev->caps.qp0_proxy = kcalloc(dev->caps.num_ports, sizeof (u32), GFP_KERNEL); in mlx4_slave_cap() 916 dev->caps.qp1_tunnel = kcalloc(dev->caps.num_ports, sizeof (u32), GFP_KERNEL); in mlx4_slave_cap() 917 dev->caps.qp1_proxy = kcalloc(dev->caps.num_ports, sizeof (u32), GFP_KERNEL); in mlx4_slave_cap() 2850 entries = kcalloc(nreq, sizeof *entries, GFP_KERNEL); in mlx4_enable_msi_x() 3106 dev->dev_vfs = kcalloc(total_vfs, sizeof(*dev->dev_vfs), in mlx4_enable_sriov()
|
| HD | mlx4_icm.c | 400 table->icm = kcalloc(num_icm, sizeof *table->icm, GFP_KERNEL); in mlx4_init_icm_table()
|
| HD | mlx4_eq.c | 1143 priv->eq_table.eq = kcalloc(dev->caps.num_eqs - dev->caps.reserved_eqs, in mlx4_alloc_eq_table() 1162 priv->eq_table.uar_map = kcalloc(mlx4_num_eq_uar(dev), in mlx4_init_eq_table()
|
| HD | mlx4_alloc.c | 614 buf->page_list = kcalloc(buf->nbufs, sizeof(*buf->page_list), in mlx4_buf_alloc()
|
| /freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
| HD | slab.h | 115 kcalloc(size_t n, size_t size, gfp_t flags) in kcalloc() function
|
| /freebsd-11-stable/sys/dev/mlx5/mlx5_ib/ |
| HD | mlx5_ib_gsi.c | 134 gsi->tx_qps = kcalloc(num_qps, sizeof(*gsi->tx_qps), GFP_KERNEL); in mlx5_ib_gsi_create_qp() 140 gsi->outstanding_wrs = kcalloc(init_attr->cap.max_send_wr, in mlx5_ib_gsi_create_qp()
|
| HD | mlx5_ib_main.c | 1189 uars = kcalloc(num_uars, sizeof(*uars), GFP_KERNEL); in mlx5_ib_alloc_ucontext() 1195 uuari->bitmap = kcalloc(BITS_TO_LONGS(gross_uuars), in mlx5_ib_alloc_ucontext() 1211 uuari->count = kcalloc(gross_uuars, sizeof(*uuari->count), GFP_KERNEL); in mlx5_ib_alloc_ucontext() 3106 dev->port = kcalloc(MLX5_CAP_GEN(mdev, num_ports), sizeof(*dev->port), in mlx5_ib_add()
|
| /freebsd-11-stable/sys/dev/mlx5/mlx5_en/ |
| HD | mlx5_en_flow_table.c | 476 vlans = kcalloc(list_size, sizeof(*vlans), GFP_KERNEL); in mlx5e_vport_context_update_vlans() 959 addr_array = kcalloc(size, ETH_ALEN, GFP_KERNEL); in mlx5e_vport_context_update_addr_list() 1299 ft->g = kcalloc(MLX5E_NUM_MAIN_GROUPS, sizeof(*ft->g), GFP_KERNEL); in mlx5e_create_main_flow_table() 1418 ft->g = kcalloc(MLX5E_NUM_VLAN_GROUPS, sizeof(*ft->g), GFP_KERNEL); in mlx5e_create_vlan_flow_table() 1537 ft->g = kcalloc(MLX5E_NUM_INNER_RSS_GROUPS, sizeof(*ft->g), in mlx5e_create_inner_rss_flow_table()
|
| /freebsd-11-stable/sys/dev/mlxfw/ |
| HD | mlxfw_mfa2.c | 300 mfa2_file = kcalloc(1, sizeof(*mfa2_file), GFP_KERNEL); in mlxfw_mfa2_file_init()
|
| /freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
| HD | ib_cache.c | 625 table->data_vec = kcalloc(sz, sizeof(*table->data_vec), GFP_KERNEL); in alloc_gid_table() 789 table = kcalloc(ib_dev->phys_port_cnt, sizeof(*table), GFP_KERNEL); in _gid_table_setup_one()
|
| HD | ib_sysfs.c | 707 tab_attr = kcalloc(1 + len, sizeof(struct attribute *), GFP_KERNEL); in alloc_group_attrs()
|
| HD | ib_uverbs_cmd.c | 3528 wqs_handles = kcalloc(num_wq_handles, sizeof(*wqs_handles), in ib_uverbs_ex_create_rwq_ind_table() 3538 wqs = kcalloc(num_wq_handles, sizeof(*wqs), GFP_KERNEL); in ib_uverbs_ex_create_rwq_ind_table()
|
| /freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
| HD | mlx4_ib_main.c | 2190 *name = kcalloc(num_counters, sizeof(**name), GFP_KERNEL); in __mlx4_ib_alloc_diag_counters() 2194 *offset = kcalloc(num_counters, sizeof(**offset), GFP_KERNEL); in __mlx4_ib_alloc_diag_counters() 2422 ibdev->eq_table = kcalloc(dev->caps.num_comp_vectors, in mlx4_ib_alloc_eqs() 3000 dm = kcalloc(ports, sizeof(*dm), GFP_ATOMIC); in do_slave_init()
|
| HD | mlx4_ib_sysfs.c | 508 tab_attr = kcalloc(1 + len, sizeof (struct attribute *), GFP_KERNEL); in alloc_group_attrs()
|
| HD | mlx4_ib_mad.c | 1578 tun_qp->tx_ring = kcalloc(MLX4_NUM_TUNNEL_BUFS, in mlx4_ib_alloc_pv_bufs() 2126 ctx->tun = kcalloc(dev->dev->caps.sqp_demux, in mlx4_ib_alloc_demux_ctx()
|
| /freebsd-11-stable/sys/dev/mthca/ |
| HD | mthca_mr.c | 149 buddy->num_free = kcalloc((buddy->max_order + 1), sizeof *buddy->num_free, in mthca_buddy_init()
|
| /freebsd-11-stable/sys/dev/mlx4/mlx4_en/ |
| HD | mlx4_en_netdev.c | 2191 priv->tx_ring = kcalloc(MAX_TX_RINGS, in mlx4_en_init_netdev() 2197 priv->tx_cq = kcalloc(sizeof(struct mlx4_en_cq *), MAX_TX_RINGS, in mlx4_en_init_netdev()
|