Home
last modified time | relevance | path

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

123456789

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dipsec.c23 query_cap = kvzalloc(query_sz, GFP_KERNEL); in esw_ipsec_vf_query_generic()
63 query_cap = kvzalloc(query_sz, GFP_KERNEL); in mlx5_esw_ipsec_vf_offload_get()
91 query_cap = kvzalloc(query_sz, GFP_KERNEL); in esw_ipsec_vf_set_generic()
92 hca_cap = kvzalloc(set_sz, GFP_KERNEL); in esw_ipsec_vf_set_generic()
131 query_cap = kvzalloc(query_sz, GFP_KERNEL); in esw_ipsec_vf_set_bytype()
132 hca_cap = kvzalloc(set_sz, GFP_KERNEL); in esw_ipsec_vf_set_bytype()
179 query_cap = kvzalloc(query_sz, GFP_KERNEL); in esw_ipsec_vf_crypto_aux_caps_set()
180 hca_cap = kvzalloc(set_sz, GFP_KERNEL); in esw_ipsec_vf_crypto_aux_caps_set()
267 query_cap = kvzalloc(query_sz, GFP_KERNEL); in esw_ipsec_offload_supported()
307 query_cap = kvzalloc(query_sz, GFP_KERNEL); in mlx5_esw_ipsec_vf_crypto_offload_supported()
[all …]
Dbridge_mcast.c68 rule_spec = kvzalloc(sizeof(*rule_spec), GFP_KERNEL); in mlx5_esw_bridge_mdb_flow_create()
155 entry = kvzalloc(sizeof(*entry), GFP_KERNEL); in mlx5_esw_bridge_port_mdb_entry_init()
341 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_esw_bridge_mcast_filter_fg_create()
375 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_esw_bridge_mcast_vlan_proto_fg_create()
428 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_esw_bridge_mcast_fwd_fg_create()
519 rule_spec = kvzalloc(sizeof(*rule_spec), GFP_KERNEL); in mlx5_esw_bridge_mcast_flow_with_esw_create()
587 rule_spec = kvzalloc(sizeof(*rule_spec), GFP_KERNEL); in mlx5_esw_bridge_mcast_vlan_flow_create()
659 rule_spec = kvzalloc(sizeof(*rule_spec), GFP_KERNEL); in mlx5_esw_bridge_mcast_fwd_flow_create()
780 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_esw_bridge_ingress_igmp_fg_create()
819 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_esw_bridge_ingress_mld_fg_create()
[all …]
Dbridge.c98 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_esw_bridge_ingress_vlan_proto_fg_create()
160 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create()
218 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_esw_bridge_ingress_mac_fg_create()
256 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_esw_bridge_egress_vlan_proto_fg_create()
309 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_esw_bridge_egress_mac_fg_create()
340 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_esw_bridge_egress_miss_fg_create()
587 rule_spec = kvzalloc(sizeof(*rule_spec), GFP_KERNEL); in mlx5_esw_bridge_ingress_flow_with_esw_create()
699 rule_spec = kvzalloc(sizeof(*rule_spec), GFP_KERNEL); in mlx5_esw_bridge_ingress_filter_flow_create()
752 rule_spec = kvzalloc(sizeof(*rule_spec), GFP_KERNEL); in mlx5_esw_bridge_egress_flow_create()
820 rule_spec = kvzalloc(sizeof(*rule_spec), GFP_KERNEL); in mlx5_esw_bridge_egress_miss_flow_create()
[all …]
Dindir_table.c49 struct mlx5_esw_indir_table *indir = kvzalloc(sizeof(*indir), GFP_KERNEL); in mlx5_esw_indir_table_init()
195 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_create_indir_recirc_group()
217 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_create_indir_fwd_group()
/linux-6.6.21/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()
339 in = kvzalloc(in_sz, GFP_KERNEL); in mlx5_modify_nic_vport_mac_list()
390 in = kvzalloc(in_sz, GFP_KERNEL); in mlx5_modify_nic_vport_vlans()
427 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_system_image_guid()
448 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_node_guid()
474 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_modify_nic_vport_node_guid()
502 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_qkey_viol_cntr()
[all …]
Drdma.c41 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in mlx5_rdma_enable_roce_steering()
44 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5_rdma_enable_roce_steering()
Den_common.c58 in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_create_mkey()
152 in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_refresh_tirs()
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/drivers/s390/char/
Duvdevice.c202 arcb = kvzalloc(uvio_attest->arcb_len, GFP_KERNEL); in uvio_attestation()
203 measurement = kvzalloc(uvio_attest->meas_len, GFP_KERNEL); in uvio_attestation()
208 add_data = kvzalloc(uvio_attest->add_data_len, GFP_KERNEL); in uvio_attestation()
277 asrcb = kvzalloc(uv_ioctl->argument_len, GFP_KERNEL); in uvio_add_secret()
328 secrets = kvzalloc(UVIO_LIST_SECRETS_LEN, GFP_KERNEL); in uvio_list_secrets()
/linux-6.6.21/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()
Dipsec_fs_roce.c57 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in ipsec_fs_roce_rx_rule_setup()
156 in = kvzalloc(MLX5_ST_SZ_BYTES(create_flow_group_in), GFP_KERNEL); in mlx5_ipsec_fs_roce_tx_create()
266 in = kvzalloc(MLX5_ST_SZ_BYTES(create_flow_group_in), GFP_KERNEL); in mlx5_ipsec_fs_roce_rx_create()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dact_stats.c39 handle = kvzalloc(sizeof(*handle), GFP_KERNEL); in mlx5e_tc_act_stats_create()
70 act_stats = kvzalloc(sizeof(*act_stats), GFP_KERNEL); in mlx5e_tc_act_stats_add()
Dpost_meter.c89 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_post_meter_rate_fg_create()
159 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5e_post_meter_rate_rules_create()
302 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in mlx5e_post_meter_create_mtu_table()
/linux-6.6.21/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()
375 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5e_fs_tt_redirect_any_add_rule()
436 in = kvzalloc(inlen, GFP_KERNEL); in fs_any_create_groups()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dhelper.c61 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in esw_egress_acl_vlan_create()
103 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in esw_acl_egress_vlan_grp_create()
/linux-6.6.21/sound/soc/intel/atom/sst/
Dsst.c469 fw_save->iram = kvzalloc(ctx->iram_end - ctx->iram_base, GFP_KERNEL); in intel_sst_suspend()
474 fw_save->dram = kvzalloc(ctx->dram_end - ctx->dram_base, GFP_KERNEL); in intel_sst_suspend()
479 fw_save->sram = kvzalloc(SST_MAILBOX_SIZE, GFP_KERNEL); in intel_sst_suspend()
485 fw_save->ddr = kvzalloc(ctx->ddr_end - ctx->ddr_base, GFP_KERNEL); in intel_sst_suspend()
/linux-6.6.21/fs/xfs/scrub/
Dsymlink.c24 sc->buf = kvzalloc(XFS_SYMLINK_MAXLEN + 1, XCHK_GFP_FLAGS); in xchk_setup_symlink()

123456789