Home
last modified time | relevance | path

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

12345678

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c185 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_modify_nic_vport_mac_address()
217 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_mtu()
237 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_modify_nic_vport_mtu()
283 out = kvzalloc(out_sz, GFP_KERNEL); in mlx5_query_nic_vport_mac_list()
338 in = kvzalloc(in_sz, GFP_KERNEL); in mlx5_modify_nic_vport_mac_list()
389 in = kvzalloc(in_sz, GFP_KERNEL); in mlx5_modify_nic_vport_vlans()
426 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_system_image_guid()
447 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_node_guid()
473 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_modify_nic_vport_node_guid()
501 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_qkey_viol_cntr()
[all …]
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_common.c56 in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_create_mkey()
141 in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_refresh_tirs()
/linux-6.1.9/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\|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_surface.c106 struct dc_plane_state *plane_state = kvzalloc(sizeof(*plane_state), in dc_create_plane_state()
211 struct dc_gamma *gamma = kvzalloc(sizeof(*gamma), GFP_KERNEL); in dc_create_gamma()
241 struct dc_transfer_func *tf = kvzalloc(sizeof(*tf), GFP_KERNEL); in dc_create_transfer_func()
263 struct dc_3dlut *lut = kvzalloc(sizeof(*lut), GFP_KERNEL); in dc_create_3dlut_func()
/linux-6.1.9/scripts/coccinelle/api/
Dkvmalloc.cocci130 + E = kvzalloc(size, flags);
136 + E = kvzalloc(size, GFP_KERNEL);
141 + E = kvzalloc(size, flags);
146 + E = kvzalloc(size, GFP_KERNEL);
151 + T x = kvzalloc(size, flags);
156 + T x = kvzalloc(size, GFP_KERNEL);
Dmemdup_user.cocci56 - to = \(kvmalloc@p\|kvzalloc@p\)(size,\(GFP_KERNEL\|GFP_USER\));
92 * to = \(kvmalloc@p\|kvzalloc@p\)(size,\(GFP_KERNEL\|GFP_USER\));
Dkfree_mismatch.cocci57 E = \(kvmalloc\|kvzalloc\|kvcalloc\|kvzalloc_node\|kvmalloc_node\|
123 * E = \(kvmalloc\|kvzalloc\|kvcalloc\|kvzalloc_node\|kvmalloc_node\|
133 E = \(kvmalloc\|kvzalloc\|kvcalloc\|kvzalloc_node\|kvmalloc_node\|
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dsrq_cmd.c133 create_in = kvzalloc(inlen, GFP_KERNEL); in create_srq_cmd()
197 srq_out = kvzalloc(MLX5_ST_SZ_BYTES(query_srq_out), GFP_KERNEL); in query_srq_cmd()
236 create_in = kvzalloc(inlen, GFP_KERNEL); in create_xrc_srq_cmd()
306 xrcsrq_out = kvzalloc(MLX5_ST_SZ_BYTES(query_xrc_srq_out), GFP_KERNEL); in query_xrc_srq_cmd()
350 create_in = kvzalloc(inlen, GFP_KERNEL); in create_rmp_cmd()
351 create_out = kvzalloc(outlen, GFP_KERNEL); in create_rmp_cmd()
411 in = kvzalloc(inlen, GFP_KERNEL); in arm_rmp_cmd()
412 out = kvzalloc(outlen, GFP_KERNEL); in arm_rmp_cmd()
451 rmp_out = kvzalloc(outlen, GFP_KERNEL); in query_rmp_cmd()
452 rmp_in = kvzalloc(inlen, GFP_KERNEL); in query_rmp_cmd()
[all …]
/linux-6.1.9/drivers/s390/char/
Duvdevice.c153 arcb = kvzalloc(uvio_attest->arcb_len, GFP_KERNEL); in uvio_attestation()
154 measurement = kvzalloc(uvio_attest->meas_len, GFP_KERNEL); in uvio_attestation()
159 add_data = kvzalloc(uvio_attest->add_data_len, GFP_KERNEL); in uvio_attestation()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Daso.c90 in = kvzalloc(inlen, GFP_KERNEL); in create_aso_cq()
127 cqc_data = kvzalloc(MLX5_ST_SZ_BYTES(cqc), GFP_KERNEL); in mlx5_aso_create_cq()
187 in = kvzalloc(inlen, GFP_KERNEL); in create_aso_sq()
227 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_aso_set_sq_rdy()
275 sqc_data = kvzalloc(MLX5_ST_SZ_BYTES(sqc), GFP_KERNEL); in mlx5_aso_create_sq()
Dfs_ttc.c204 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5_generate_ttc_rule()
303 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_create_ttc_table_groups()
369 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5_generate_inner_ttc_rule()
445 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_create_inner_ttc_table_groups()
502 ttc = kvzalloc(sizeof(*ttc), GFP_KERNEL); in mlx5_create_inner_ttc_table()
555 ttc = kvzalloc(sizeof(*ttc), GFP_KERNEL); in mlx5_create_ttc_table()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dbridge.c183 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_esw_bridge_ingress_vlan_proto_fg_create()
245 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create()
303 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_esw_bridge_ingress_mac_fg_create()
341 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_esw_bridge_egress_vlan_proto_fg_create()
394 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_esw_bridge_egress_mac_fg_create()
425 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_esw_bridge_egress_miss_fg_create()
672 rule_spec = kvzalloc(sizeof(*rule_spec), GFP_KERNEL); in mlx5_esw_bridge_ingress_flow_with_esw_create()
771 rule_spec = kvzalloc(sizeof(*rule_spec), GFP_KERNEL); in mlx5_esw_bridge_ingress_filter_flow_create()
824 rule_spec = kvzalloc(sizeof(*rule_spec), GFP_KERNEL); in mlx5_esw_bridge_egress_flow_create()
892 rule_spec = kvzalloc(sizeof(*rule_spec), GFP_KERNEL); in mlx5_esw_bridge_egress_miss_flow_create()
[all …]
Dindir_table.c57 struct mlx5_esw_indir_table *indir = kvzalloc(sizeof(*indir), GFP_KERNEL); in mlx5_esw_indir_table_init()
145 rule_spec = kvzalloc(sizeof(*rule_spec), GFP_KERNEL); in mlx5_esw_indir_table_rule_get()
296 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_create_indir_recirc_group()
349 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_create_indir_fwd_group()
353 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5_create_indir_fwd_group()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Drqt.c29 in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_rqt_init()
126 in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_rqt_redirect()
Dselq.c33 selq->standby = kvzalloc(sizeof(*selq->standby), GFP_KERNEL); in mlx5e_selq_init()
37 init_params = kvzalloc(sizeof(*selq->active), GFP_KERNEL); in mlx5e_selq_init()
Dfs_tt_redirect.c93 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5e_fs_tt_redirect_udp_add_rule()
154 in = kvzalloc(inlen, GFP_KERNEL); in fs_udp_create_groups()
374 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5e_fs_tt_redirect_any_add_rule()
435 in = kvzalloc(inlen, GFP_KERNEL); in fs_any_create_groups()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dpost_meter.c61 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_post_meter_fg_create()
97 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5e_post_meter_rules_create()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dhelper.c60 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in esw_egress_acl_vlan_create()
102 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in esw_acl_egress_vlan_grp_create()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c99 icm_mr = kvzalloc(sizeof(*icm_mr), GFP_KERNEL); in dr_icm_pool_mr_create()
267 buddy = kvzalloc(sizeof(*buddy), GFP_KERNEL); in dr_icm_buddy_create()
326 chunk = kvzalloc(sizeof(*chunk), GFP_KERNEL); in dr_icm_chunk_create()
496 pool = kvzalloc(sizeof(*pool), GFP_KERNEL); in mlx5dr_icm_pool_create()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_fs.c65 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in rx_err_add_rule()
123 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in rx_fs_create()
124 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in rx_fs_create()
421 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in rx_add_rule()
487 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in tx_add_rule()
Dmacsec_fs.c159 in = kvzalloc(inlen, GFP_KERNEL); in macsec_fs_tx_create_crypto_table_groups()
259 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in macsec_fs_tx_create()
263 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in macsec_fs_tx_create()
536 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in macsec_fs_tx_add_rule()
747 in = kvzalloc(inlen, GFP_KERNEL); in macsec_fs_rx_create_crypto_table_groups()
909 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in macsec_fs_rx_create()
913 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in macsec_fs_rx_create()
1130 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in macsec_fs_rx_add_rule()
Dfs_tcp.c85 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5e_accel_fs_add_sk()
190 in = kvzalloc(inlen, GFP_KERNEL); in accel_fs_tcp_create_groups()
380 accel_tcp = kvzalloc(sizeof(*accel_tcp), GFP_KERNEL); in mlx5e_accel_fs_tcp_create()
/linux-6.1.9/sound/soc/intel/atom/sst/
Dsst.c463 fw_save->iram = kvzalloc(ctx->iram_end - ctx->iram_base, GFP_KERNEL); in intel_sst_suspend()
468 fw_save->dram = kvzalloc(ctx->dram_end - ctx->dram_base, GFP_KERNEL); in intel_sst_suspend()
473 fw_save->sram = kvzalloc(SST_MAILBOX_SIZE, GFP_KERNEL); in intel_sst_suspend()
479 fw_save->ddr = kvzalloc(ctx->ddr_end - ctx->ddr_base, GFP_KERNEL); in intel_sst_suspend()
/linux-6.1.9/fs/xfs/scrub/
Dsymlink.c24 sc->buf = kvzalloc(XFS_SYMLINK_MAXLEN + 1, GFP_KERNEL); in xchk_setup_symlink()

12345678