Home
last modified time | relevance | path

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

12345678910

/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A 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 …]
H A 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 …]
H A 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()
843 bridge = kvzalloc(sizeof(*bridge), GFP_KERNEL); in mlx5_esw_bridge_create()
1178 vlan = kvzalloc(sizeof(*vlan), GFP_KERNEL); in mlx5_esw_bridge_vlan_create()
1364 entry = kvzalloc(sizeof(*entry), GFP_KERNEL); in mlx5_esw_bridge_fdb_entry_init()
[all …]
H A 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/drivers/net/ethernet/mellanox/mlx5/core/
H A 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()
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()
495 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_modify_nic_vport_node_guid()
567 in = kvzalloc(in_sz, GFP_KERNEL); in mlx5_query_hca_vport_gid()
632 in = kvzalloc(in_sz, GFP_KERNEL); in mlx5_query_hca_vport_pkey()
826 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_modify_nic_vport_promisc()
863 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_nic_vport_update_local_lb()
[all …]
H A 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()
H A Dwc.c84 in = kvzalloc(inlen, GFP_KERNEL); in create_wc_cq()
114 cqc = kvzalloc(MLX5_ST_SZ_BYTES(cqc), GFP_KERNEL); in mlx5_wc_create_cq()
160 in = kvzalloc(inlen, GFP_KERNEL); in create_wc_sq()
221 sqc_data = kvzalloc(MLX5_ST_SZ_BYTES(sqc), GFP_KERNEL); in mlx5_wc_create_sq()
/linux/scripts/coccinelle/api/alloc/
H A 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/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_surface.c95 struct dc_plane_state *plane_state = kvzalloc(sizeof(*plane_state), in dc_create_plane_state()
203 struct dc_gamma *gamma = kvzalloc(sizeof(*gamma), GFP_KERNEL); in dc_create_gamma()
233 struct dc_transfer_func *tf = kvzalloc(sizeof(*tf), GFP_KERNEL); in dc_create_transfer_func()
255 struct dc_3dlut *lut = kvzalloc(sizeof(*lut), GFP_KERNEL); in dc_create_3dlut_func()
/linux/scripts/coccinelle/api/
H A 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);
H A Dmemdup_user.cocci56 - to = \(kvmalloc@p\|kvzalloc@p\)(size,\(GFP_KERNEL\|GFP_USER\));
92 * to = \(kvmalloc@p\|kvzalloc@p\)(size,\(GFP_KERNEL\|GFP_USER\));
H A 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/drivers/infiniband/hw/mlx5/
H A 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()
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()
495 create_in = kvzalloc(inlen, GFP_KERNEL); in create_xrq_cmd()
[all …]
/linux/drivers/s390/char/
H A Duvdevice.c205 arcb = kvzalloc(uvio_attest->arcb_len, GFP_KERNEL); in uvio_attestation()
206 measurement = kvzalloc(uvio_attest->meas_len, GFP_KERNEL); in uvio_attestation()
211 add_data = kvzalloc(uvio_attest->add_data_len, GFP_KERNEL); in uvio_attestation()
280 asrcb = kvzalloc(uv_ioctl->argument_len, GFP_KERNEL); in uvio_add_secret()
331 secrets = kvzalloc(UVIO_LIST_SECRETS_LEN, GFP_KERNEL); in uvio_list_secrets()
/linux/net/core/
H A Dnetdev_rx_queue.c23 new_mem = kvzalloc(dev->queue_mgmt_ops->ndo_queue_mem_size, GFP_KERNEL); in netdev_rx_queue_restart()
27 old_mem = kvzalloc(dev->queue_mgmt_ops->ndo_queue_mem_size, GFP_KERNEL); in netdev_rx_queue_restart()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A 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()
H A Dfs_ttc.c274 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5_generate_ttc_rule()
382 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_create_ttc_table_groups()
463 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5_generate_inner_ttc_rule()
546 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_create_inner_ttc_table_groups()
621 ttc = kvzalloc(sizeof(*ttc), GFP_KERNEL); in mlx5_create_inner_ttc_table()
694 ttc = kvzalloc(sizeof(*ttc), GFP_KERNEL); in mlx5_create_ttc_table()
/linux/fs/smb/client/
H A Dcompress.c240 sample = kvzalloc(len, GFP_KERNEL); in is_compressible()
332 src = kvzalloc(slen, GFP_KERNEL); in smb_compress()
351 dst = kvzalloc(dlen, GFP_KERNEL); in smb_compress()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A 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()
H A 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/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A 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/drivers/block/zram/
H A Dbackend_zstd.c37 return kvzalloc(size, GFP_ATOMIC); in zstd_custom_alloc()
39 return kvzalloc(size, __GFP_KSWAPD_RECLAIM | __GFP_NOWARN); in zstd_custom_alloc()
/linux/sound/soc/intel/atom/sst/
H A 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/drivers/net/ethernet/mellanox/mlx5/core/en/
H A 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()
H A 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()

12345678910