Home
last modified time | relevance | path

Searched refs:out_sz (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c262 int out_sz; in mlx5_query_nic_vport_mac_list() local
279 out_sz = MLX5_ST_SZ_BYTES(query_nic_vport_context_out) + in mlx5_query_nic_vport_mac_list()
282 out = kzalloc(out_sz, GFP_KERNEL); in mlx5_query_nic_vport_mac_list()
292 err = mlx5_cmd_exec(dev, in, sizeof(in), out, out_sz); in mlx5_query_nic_vport_mac_list()
518 int out_sz = MLX5_ST_SZ_BYTES(query_hca_vport_gid_out); in mlx5_query_hca_vport_gid() local
540 out_sz += nout * sizeof(*gid); in mlx5_query_hca_vport_gid()
543 out = kzalloc(out_sz, GFP_KERNEL); in mlx5_query_hca_vport_gid()
564 err = mlx5_cmd_exec(dev, in, in_sz, out, out_sz); in mlx5_query_hca_vport_gid()
584 int out_sz = MLX5_ST_SZ_BYTES(query_hca_vport_pkey_out); in mlx5_query_hca_vport_pkey() local
605 out_sz in mlx5_query_hca_vport_pkey()
649 int out_sz = MLX5_ST_SZ_BYTES(query_hca_vport_context_out); mlx5_query_hca_vport_context() local
[all...]
H A Dfw.c705 u8 out_sz = MLX5_ST_SZ_BYTES(mcqs_reg); in mlx5_reg_mcqs_query() local
709 memset(out, 0, out_sz); in mlx5_reg_mcqs_query()
714 out_sz, MLX5_REG_MCQS, 0, 0); in mlx5_reg_mcqs_query()
H A Dmain.c365 int out_sz = MLX5_ST_SZ_BYTES(query_hca_cap_out); in mlx5_core_get_caps_mode() local
371 out = kzalloc(out_sz, GFP_KERNEL); in mlx5_core_get_caps_mode()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c263 int out_sz; in mlx5_query_nic_vport_mac_list() local
280 out_sz = MLX5_ST_SZ_BYTES(query_nic_vport_context_out) + in mlx5_query_nic_vport_mac_list()
283 out = kvzalloc(out_sz, GFP_KERNEL); in mlx5_query_nic_vport_mac_list()
294 err = mlx5_cmd_exec(dev, in, sizeof(in), out, out_sz); in mlx5_query_nic_vport_mac_list()
522 int out_sz = MLX5_ST_SZ_BYTES(query_hca_vport_gid_out); in mlx5_query_hca_vport_gid() local
544 out_sz += nout * sizeof(*gid); in mlx5_query_hca_vport_gid()
547 out = kvzalloc(out_sz, GFP_KERNEL); in mlx5_query_hca_vport_gid()
568 err = mlx5_cmd_exec(dev, in, in_sz, out, out_sz); in mlx5_query_hca_vport_gid()
588 int out_sz = MLX5_ST_SZ_BYTES(query_hca_vport_pkey_out); in mlx5_query_hca_vport_pkey() local
609 out_sz in mlx5_query_hca_vport_pkey()
653 int out_sz = MLX5_ST_SZ_BYTES(query_hca_vport_context_out); mlx5_query_hca_vport_context() local
[all...]
H A Dfw.c733 u8 out_sz = MLX5_ST_SZ_BYTES(mcqs_reg); in mlx5_reg_mcqs_query() local
737 memset(out, 0, out_sz); in mlx5_reg_mcqs_query()
742 out_sz, MLX5_REG_MCQS, 0, 0); in mlx5_reg_mcqs_query()
H A Dmain.c374 int out_sz = MLX5_ST_SZ_BYTES(query_hca_cap_out); in mlx5_core_get_caps_mode() local
380 out = kzalloc(out_sz, GFP_KERNEL); in mlx5_core_get_caps_mode()
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A 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()
H A 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()
/kernel/linux/linux-6.6/drivers/platform/x86/amd/pmf/
H A 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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dib_virt.c124 int out_sz = MLX5_ST_SZ_BYTES(query_vport_counter_out); in mlx5_ib_get_vf_stats() local
133 out = kzalloc(out_sz, GFP_KERNEL); in mlx5_ib_get_vf_stats()
/kernel/linux/common_modules/newip/src/linux-5.10/drivers/net/bt/
H A Dbtdev.c176 ssize_t out_sz; in bt_io_file_read() local
198 out_sz = skb->len > MACADDR_LEN ? (skb->len - MACADDR_LEN) : 0; in bt_io_file_read()
199 if (unlikely(out_sz > size) || unlikely(out_sz == 0)) { in bt_io_file_read()
206 cdev_name(vnet), (long)out_sz, (long)size, skb->len); in bt_io_file_read()
211 if (copy_to_user(buffer, skb->data + MACADDR_LEN, out_sz)) { in bt_io_file_read()
222 btdev_dbg("read %ld data from %s", (long)out_sz, cdev_name(vnet)); in bt_io_file_read()
228 return out_sz; in bt_io_file_read()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A Diommu.c939 int ret, out_sz; in query_ddw() local
948 out_sz = 6; in query_ddw()
950 out_sz = 5; in query_ddw()
963 ret = rtas_call(ddw_avail[DDW_QUERY_PE_DMA_WIN], 3, out_sz, query_out, in query_ddw()
969 switch (out_sz) { in query_ddw()
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Diommu.c1081 int ret, out_sz; in query_ddw() local
1090 out_sz = 6; in query_ddw()
1092 out_sz = 5; in query_ddw()
1105 ret = rtas_call(ddw_avail[DDW_QUERY_PE_DMA_WIN], 3, out_sz, query_out, in query_ddw()
1108 switch (out_sz) { in query_ddw()

Completed in 18 milliseconds