Home
last modified time | relevance | path

Searched refs:out_sz (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c263 int out_sz; in mlx5_query_nic_vport_mac_list() local
280 out_sz = MLX5_ST_SZ_BYTES(query_nic_vport_context_in) + in mlx5_query_nic_vport_mac_list()
283 out = kvzalloc(out_sz, GFP_KERNEL); in mlx5_query_nic_vport_mac_list()
293 err = mlx5_cmd_exec(dev, in, sizeof(in), out, out_sz); in mlx5_query_nic_vport_mac_list()
521 int out_sz = MLX5_ST_SZ_BYTES(query_hca_vport_gid_out); in mlx5_query_hca_vport_gid() local
543 out_sz += nout * sizeof(*gid); in mlx5_query_hca_vport_gid()
546 out = kvzalloc(out_sz, GFP_KERNEL); in mlx5_query_hca_vport_gid()
567 err = mlx5_cmd_exec(dev, in, in_sz, out, out_sz); in mlx5_query_hca_vport_gid()
587 int out_sz = MLX5_ST_SZ_BYTES(query_hca_vport_pkey_out); in mlx5_query_hca_vport_pkey() local
608 out_sz += nout * MLX5_ST_SZ_BYTES(pkey); in mlx5_query_hca_vport_pkey()
[all …]
Dfw.c739 u8 out_sz = MLX5_ST_SZ_BYTES(mcqs_reg); in mlx5_reg_mcqs_query() local
743 memset(out, 0, out_sz); in mlx5_reg_mcqs_query()
748 out_sz, MLX5_REG_MCQS, 0, 0); in mlx5_reg_mcqs_query()
Dmain.c345 int out_sz = MLX5_ST_SZ_BYTES(query_hca_cap_out); in mlx5_core_get_caps_mode() local
351 out = kzalloc(out_sz, GFP_KERNEL); in mlx5_core_get_caps_mode()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dstd_types.c85 size_t out_sz = MLX5_ST_SZ_BYTES(query_hca_cap_out); in fill_vport_vhca_id() local
90 out = kzalloc(out_sz, GFP_KERNEL); in fill_vport_vhca_id()
101 err = mlx5_cmd_exec(mdev, in, sizeof(in), out, out_sz); in fill_vport_vhca_id()
Dib_virt.c123 int out_sz = MLX5_ST_SZ_BYTES(query_vport_counter_out); in mlx5_ib_get_vf_stats() local
132 out = kzalloc(out_sz, GFP_KERNEL); in mlx5_ib_get_vf_stats()
/linux-6.1.9/drivers/platform/x86/amd/pmf/
Dacpi.c50 static int apmf_if_call_store_buffer(struct amd_pmf_dev *pdev, int fn, void *dest, size_t out_sz) in apmf_if_call_store_buffer() argument
80 if (size < out_sz) { in apmf_if_call_store_buffer()
86 memcpy(dest, info->buffer.pointer, out_sz); in apmf_if_call_store_buffer()
/linux-6.1.9/arch/powerpc/platforms/pseries/
Diommu.c1017 int ret, out_sz; in query_ddw() local
1026 out_sz = 6; in query_ddw()
1028 out_sz = 5; in query_ddw()
1041 ret = rtas_call(ddw_avail[DDW_QUERY_PE_DMA_WIN], 3, out_sz, query_out, in query_ddw()
1044 switch (out_sz) { in query_ddw()