Home
last modified time | relevance | path

Searched refs:kvzalloc (Results 1 – 25 of 107) sorted by relevance

12345

/Linux-v5.4/scripts/coccinelle/api/alloc/
Dalloc_cast.cocci37 kvmalloc\|kvzalloc\|kvmalloc_node\|kvzalloc_node\|pci_alloc_consistent\|
60 kvmalloc\|kvzalloc\|kvmalloc_node\|kvzalloc_node\|pci_alloc_consistent\|
83 kvmalloc\|kvzalloc\|kvmalloc_node\|kvzalloc_node\|pci_alloc_consistent\|
100 kvmalloc\|kvzalloc\|kvmalloc_node\|kvzalloc_node\|pci_alloc_consistent\|
Dzalloc-simple.cocci110 + x = kvzalloc(E1,E2);
113 + x = kvzalloc(E1,E2);
116 + x = (T)kvzalloc(E1,E2);
370 msg="WARNING: kvzalloc should be used for %s, instead of kvmalloc/memset" % (x)
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/core/
Ddc_surface.c117 struct dc_plane_state *plane_state = kvzalloc(sizeof(*plane_state), in dc_create_plane_state()
222 struct dc_gamma *gamma = kvzalloc(sizeof(*gamma), GFP_KERNEL); in dc_create_gamma()
252 struct dc_transfer_func *tf = kvzalloc(sizeof(*tf), GFP_KERNEL); in dc_create_transfer_func()
275 struct dc_3dlut *lut = kvzalloc(sizeof(*lut), GFP_KERNEL); in dc_create_3dlut_func()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dsrq_cmd.c108 create_in = kvzalloc(inlen, GFP_KERNEL); in create_srq_cmd()
171 srq_out = kvzalloc(MLX5_ST_SZ_BYTES(query_srq_out), GFP_KERNEL); in query_srq_cmd()
206 create_in = kvzalloc(inlen, GFP_KERNEL); in create_xrc_srq_cmd()
274 xrcsrq_out = kvzalloc(MLX5_ST_SZ_BYTES(query_xrc_srq_out), GFP_KERNEL); in query_xrc_srq_cmd()
314 create_in = kvzalloc(inlen, GFP_KERNEL); in create_rmp_cmd()
315 create_out = kvzalloc(outlen, GFP_KERNEL); in create_rmp_cmd()
368 in = kvzalloc(inlen, GFP_KERNEL); in arm_rmp_cmd()
369 out = kvzalloc(outlen, GFP_KERNEL); in arm_rmp_cmd()
408 rmp_out = kvzalloc(outlen, GFP_KERNEL); in query_rmp_cmd()
409 rmp_in = kvzalloc(inlen, GFP_KERNEL); in query_rmp_cmd()
[all …]
Dcong.c265 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_ib_get_cc_params()
303 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_ib_set_cc_params()
Dmad.c237 out_cnt = kvzalloc(sz, GFP_KERNEL); in process_pma_cmd()
252 out_cnt = kvzalloc(sz, GFP_KERNEL); in process_pma_cmd()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c168 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_mac_address()
204 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_modify_nic_vport_mac_address()
234 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_mtu()
254 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_modify_nic_vport_mtu()
441 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_system_image_guid()
461 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_node_guid()
489 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_modify_nic_vport_node_guid()
515 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_qkey_viol_cntr()
817 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_modify_nic_vport_promisc()
852 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_nic_vport_update_local_lb()
[all …]
Den_common.c72 in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_create_mkey()
155 in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_refresh_tirs()
Drdma.c42 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in mlx5_rdma_enable_roce_steering()
45 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5_rdma_enable_roce_steering()
Den_fs.c237 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5e_add_vlan_rule()
824 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5e_generate_ttc_rule()
937 in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_create_ttc_table_groups()
1002 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5e_generate_inner_ttc_rule()
1077 in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_create_inner_ttc_table_groups()
1249 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5e_add_l2_flow_rule()
1311 in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_create_l2_table_groups()
1480 in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_create_vlan_table_groups()
Deswitch_offloads.c557 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5_eswitch_add_send_to_vport_rule()
693 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in esw_add_fdb_peer_miss_rules()
699 flows = kvzalloc(nvports * sizeof(*flows), GFP_KERNEL); in esw_add_fdb_peer_miss_rules()
802 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in esw_add_fdb_miss_rule()
1060 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in esw_create_offloads_fdb_tables()
1284 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in esw_create_vport_rx_group()
1322 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5_eswitch_create_vport_rx_rule()
1764 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in esw_vport_ingress_prio_tag_config()
1887 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in esw_vport_egress_prio_tag_config()
Den_arfs.c182 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in arfs_add_default_rule()
230 in = kvzalloc(inlen, GFP_KERNEL); in arfs_create_groups()
468 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in arfs_add_rule()
Deswitch.c204 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in __esw_fdb_set_vport_rule()
336 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in esw_create_legacy_fdb_table()
990 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in esw_vport_enable_egress_acl()
1108 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in esw_vport_enable_ingress_acl()
1269 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in esw_vport_ingress_config()
1361 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in esw_vport_egress_config()
1797 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_esw_query_functions()
2251 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in _mlx5_eswitch_set_vepa_locked()
2517 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_eswitch_get_vport_stats()
Deq.c273 in = kvzalloc(inlen, GFP_KERNEL); in create_map_eq()
420 eq_table = kvzalloc(sizeof(*eq_table), GFP_KERNEL); in mlx5_eq_table_init()
700 struct mlx5_eq *eq = kvzalloc(sizeof(*eq), GFP_KERNEL); in mlx5_eq_create_generic()
Dpagealloc.c286 in = kvzalloc(inlen, GFP_KERNEL); in give_pages()
387 out = kvzalloc(outlen, GFP_KERNEL); in reclaim_pages()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c107 icm_mr = kvzalloc(sizeof(*icm_mr), GFP_KERNEL); in dr_icm_pool_mr_create()
173 chunk->ste_arr = kvzalloc(bucket->num_of_entries * in dr_icm_chunk_ste_init()
178 chunk->hw_ste_arr = kvzalloc(bucket->num_of_entries * in dr_icm_chunk_ste_init()
240 chunk = kvzalloc(sizeof(*chunk), GFP_KERNEL); in dr_icm_chunks_create()
528 pool = kvzalloc(sizeof(*pool), GFP_KERNEL); in mlx5dr_icm_pool_create()
Ddr_cmd.c186 in = kvzalloc(inlen, GFP_KERNEL); in mlx5dr_cmd_set_fte_modify_and_vport()
241 in = kvzalloc(inlen, GFP_KERNEL); in mlx5dr_cmd_alloc_modify_header()
409 in = kvzalloc(inlen, GFP_KERNEL); in mlx5dr_cmd_create_reformat_ctx()
/Linux-v5.4/sound/soc/intel/atom/sst/
Dsst.c466 fw_save->iram = kvzalloc(ctx->iram_end - ctx->iram_base, GFP_KERNEL); in intel_sst_suspend()
471 fw_save->dram = kvzalloc(ctx->dram_end - ctx->dram_base, GFP_KERNEL); in intel_sst_suspend()
476 fw_save->sram = kvzalloc(SST_MAILBOX_SIZE, GFP_KERNEL); in intel_sst_suspend()
482 fw_save->ddr = kvzalloc(ctx->ddr_end - ctx->ddr_base, GFP_KERNEL); in intel_sst_suspend()
/Linux-v5.4/drivers/net/ethernet/google/gve/
Dgve_main.c144 priv->msix_vectors = kvzalloc(num_vecs_requested * in gve_alloc_notify_blocks()
415 priv->tx = kvzalloc(priv->tx_cfg.num_queues * sizeof(*priv->tx), in gve_alloc_rings()
423 priv->rx = kvzalloc(priv->rx_cfg.num_queues * sizeof(*priv->rx), in gve_alloc_rings()
548 qpl->pages = kvzalloc(pages * sizeof(*qpl->pages), GFP_KERNEL); in gve_alloc_queue_page_list()
552 qpl->page_buses = kvzalloc(pages * sizeof(*qpl->page_buses), in gve_alloc_queue_page_list()
607 priv->qpls = kvzalloc(num_qpls * sizeof(*priv->qpls), GFP_KERNEL); in gve_alloc_qpls()
626 priv->qpl_cfg.qpl_id_map = kvzalloc(BITS_TO_LONGS(num_qpls) * in gve_alloc_qpls()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls.c36 tx_priv = kvzalloc(sizeof(*tx_priv), GFP_KERNEL); in mlx5e_ktls_add()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dsrq.c43 s = kvzalloc(sizeof(*s), GFP_KERNEL); in t4_init_srq()
Dsched.c197 qe = kvzalloc(sizeof(struct sched_queue_entry), GFP_KERNEL); in t4_sched_queue_bind()
480 s = kvzalloc(struct_size(s, tab, sched_size), GFP_KERNEL); in t4_init_sched()
Dsmt.c50 s = kvzalloc(struct_size(s, smtab, smt_size), GFP_KERNEL); in t4_init_smt()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhv_vhca_stats.c128 priv->stats_agent.buf = kvzalloc(buf_len, GFP_KERNEL); in mlx5e_hv_vhca_stats_create()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dsetup.c75 cparam = kvzalloc(sizeof(*cparam), GFP_KERNEL); in mlx5e_open_xsk()

12345