/freebsd/sys/contrib/dev/iwlwifi/pcie/ |
H A D | ctxt-info.c | 102 dram->fw = kcalloc(umac_cnt + lmac_cnt, sizeof(*dram->fw), GFP_KERNEL); in iwl_pcie_init_fw_sec() 105 dram->paging = kcalloc(paging_cnt, sizeof(*dram->paging), GFP_KERNEL); in iwl_pcie_init_fw_sec()
|
H A D | rx.c | 779 trans_pcie->rxq = kcalloc(trans->num_rx_queues, sizeof(struct iwl_rxq), 781 trans_pcie->rx_pool = kcalloc(RX_POOL_SIZE(trans_pcie->num_rx_bufs), 785 kcalloc(RX_POOL_SIZE(trans_pcie->num_rx_bufs),
|
/freebsd/contrib/libucl/klib/ |
H A D | 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/sys/contrib/dev/iwlwifi/ |
H A D | iwl-phy-db.c | 175 phy_db->calib_ch_group_papd = kcalloc(chg_id + 1, in iwl_phy_db_set_section() 189 phy_db->calib_ch_group_txp = kcalloc(chg_id + 1, in iwl_phy_db_set_section()
|
/freebsd/sys/contrib/vchiq/interface/compat/ |
H A D | vchi_bsd.h | 328 #define kcalloc(n, size, flags) mallocarray((n), (size), M_VCHI, \ macro 330 #define kzalloc(a, b) kcalloc(1, (a), (b))
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | 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()
|
H A D | 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()
|
H A D | mlx4_profile.c | 87 profile = kcalloc(MLX4_RES_NUM, sizeof(*profile), GFP_KERNEL); in mlx4_make_profile()
|
H A D | mlx4_icm.c | 400 table->icm = kcalloc(num_icm, sizeof *table->icm, GFP_KERNEL); in mlx4_init_icm_table()
|
H A D | mlx4_main.c | 914 dev->caps.qp0_qkey = kcalloc(dev->caps.num_ports, sizeof(u32), GFP_KERNEL); in mlx4_slave_cap() 915 dev->caps.qp0_tunnel = kcalloc(dev->caps.num_ports, sizeof (u32), GFP_KERNEL); in mlx4_slave_cap() 916 dev->caps.qp0_proxy = kcalloc(dev->caps.num_ports, sizeof (u32), GFP_KERNEL); in mlx4_slave_cap() 917 dev->caps.qp1_tunnel = kcalloc(dev->caps.num_ports, sizeof (u32), GFP_KERNEL); in mlx4_slave_cap() 918 dev->caps.qp1_proxy = kcalloc(dev->caps.num_ports, sizeof (u32), GFP_KERNEL); in mlx4_slave_cap() 2856 entries = kcalloc(nreq, sizeof *entries, GFP_KERNEL); in mlx4_enable_msi_x() 3112 dev->dev_vfs = kcalloc(total_vfs, sizeof(*dev->dev_vfs), in mlx4_enable_sriov()
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | qplib_res.c | 717 sgid_tbl->tbl = kcalloc(max, sizeof(*sgid_tbl->tbl), GFP_KERNEL); in bnxt_qplib_alloc_sgid_tbl() 721 sgid_tbl->hw_id = kcalloc(max, sizeof(u32), GFP_KERNEL); in bnxt_qplib_alloc_sgid_tbl() 725 sgid_tbl->ctx = kcalloc(max, sizeof(void *), GFP_KERNEL); in bnxt_qplib_alloc_sgid_tbl() 729 sgid_tbl->vlan = kcalloc(max, sizeof(u8), GFP_KERNEL); in bnxt_qplib_alloc_sgid_tbl()
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_gsi.c | 135 gsi->tx_qps = kcalloc(num_qps, sizeof(*gsi->tx_qps), GFP_KERNEL); in mlx5_ib_gsi_create_qp() 141 gsi->outstanding_wrs = kcalloc(init_attr->cap.max_send_wr, in mlx5_ib_gsi_create_qp()
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_alloc.c | 81 buf->page_list = kcalloc(buf->npages, sizeof(*buf->page_list), in mlx5_buf_alloc()
|
H A D | mlx5_rl.c | 206 table->rl_entry = kcalloc(table->max_size, sizeof(struct mlx5_rl_entry), in mlx5_init_rl_table()
|
H A D | mlx5_eswitch.c | 521 mac_list = kcalloc(size, ETH_ALEN, GFP_KERNEL); in esw_update_vport_addr_list() 1076 esw->l2_table.bitmap = kcalloc(BITS_TO_LONGS(l2_table_size), in mlx5_eswitch_init() 1090 esw->vports = kcalloc(total_vports, sizeof(struct mlx5_vport), in mlx5_eswitch_init()
|
H A D | mlx5_fs_tcp.c | 222 ft->g = kcalloc(MLX5E_ACCEL_FS_TCP_NUM_GROUPS, sizeof(*ft->g), GFP_KERNEL); in accel_fs_tcp_create_groups()
|
H A D | mlx5_fs_core.c | 2088 gen_dest = kcalloc(num_dest + 1, sizeof(*dest), in mlx5_add_flow_rules() 2902 steering->fdb_sub_ns = kcalloc(FDB_NUM_CHAINS, in create_fdb_fast_path() 3036 kcalloc(total_vports, in mlx5_fs_egress_acls_init() 3080 kcalloc(total_vports, in mlx5_fs_ingress_acls_init()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | slab.h | 121 kcalloc(size_t n, size_t size, gfp_t flags) in kmalloc_node() 126 kcalloc(size_t n, size_t size, gfp_t flags) kcalloc() function
|
/freebsd/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_flow_table.c | 636 vlans = kcalloc(list_size, sizeof(*vlans), GFP_KERNEL); in mlx5e_vport_context_update_vlans() 1092 addr_array = kcalloc(size, ETH_ALEN, GFP_KERNEL); in mlx5e_vport_context_update_addr_list() 1510 ft->g = kcalloc(MLX5E_NUM_MAIN_GROUPS, sizeof(*ft->g), GFP_KERNEL); in mlx5e_create_main_flow_table() 1637 ft->g = kcalloc(MLX5E_NUM_VLAN_GROUPS, sizeof(*ft->g), GFP_KERNEL); in mlx5e_create_vlan_flow_table() 2025 ft->g = kcalloc(MLX5E_NUM_VXLAN_GROUPS, sizeof(*ft->g), GFP_KERNEL); in mlx5e_create_vxlan_flow_table() 2141 ft->g = kcalloc(MLX5E_NUM_INNER_RSS_GROUPS, sizeof(*ft->g), in mlx5e_create_inner_rss_flow_table()
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | mhi.c | 274 irq = kcalloc(num_vectors, sizeof(int), GFP_KERNEL); in ath11k_mhi_get_msi()
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | dp.c | 1348 rx_descs = kcalloc(ATH12K_MAX_SPT_ENTRIES, sizeof(*rx_descs), in ath12k_dp_cc_desc_init() 1372 tx_descs = kcalloc(ATH12K_MAX_SPT_ENTRIES, sizeof(*tx_descs), in ath12k_dp_cc_desc_init() 1420 dp->spt_info = kcalloc(dp->num_spt_pages, sizeof(struct ath12k_spt_info), in ath12k_dp_cc_init()
|
H A D | mhi.c | 267 irq = kcalloc(num_vectors, sizeof(*irq), GFP_KERNEL); in ath12k_mhi_get_msi()
|
/freebsd/sys/dev/mlxfw/ |
H A D | mlxfw_mfa2.c | 298 mfa2_file = kcalloc(1, sizeof(*mfa2_file), GFP_KERNEL); in mlxfw_mfa2_file_init()
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_cache.c | 624 table->data_vec = kcalloc(sz, sizeof(*table->data_vec), GFP_KERNEL); in alloc_gid_table() 788 table = kcalloc(ib_dev->phys_port_cnt, sizeof(*table), GFP_KERNEL); in _gid_table_setup_one()
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_hw.c | 975 cqp->cqp_requests = kcalloc(sqsize, sizeof(*cqp->cqp_requests), in irdma_create_cqp() 980 cqp->scratch_array = kcalloc(sqsize, sizeof(*cqp->scratch_array), in irdma_create_cqp() 1339 rf->ceqlist = kcalloc(num_ceqs, sizeof(*rf->ceqlist), GFP_KERNEL); in irdma_setup_ceq_0() 2141 kcalloc(BITS_TO_LONGS(IRDMA_MAX_WS_NODES), in irdma_initialize_hw_rsrc()
|