Home
last modified time | relevance | path

Searched refs:out_size (Results 1 – 25 of 66) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c43 u16 out_size = sizeof(port_mac_cmd); in change_mac() local
59 &port_mac_cmd, &out_size); in change_mac()
60 if (err || out_size != sizeof(port_mac_cmd) || in change_mac()
65 err, port_mac_cmd.status, out_size); in change_mac()
122 u16 out_size = sizeof(port_mac_cmd); in hinic_port_get_mac() local
130 &port_mac_cmd, &out_size); in hinic_port_get_mac()
131 if (err || (out_size != sizeof(port_mac_cmd)) || port_mac_cmd.status) { in hinic_port_get_mac()
133 err, port_mac_cmd.status, out_size); in hinic_port_get_mac()
154 u16 out_size = sizeof(port_mtu_cmd); in hinic_port_set_mtu() local
174 &port_mtu_cmd, &out_size); in hinic_port_set_mtu()
[all …]
Dhinic_sriov.c31 u16 out_size = sizeof(mac_info); in hinic_set_mac() local
39 sizeof(mac_info), &mac_info, &out_size); in hinic_set_mac()
40 if (err || out_size != sizeof(mac_info) || in hinic_set_mac()
43 err, mac_info.status, out_size); in hinic_set_mac()
55 u16 out_size = sizeof(link); in hinic_notify_vf_link_status() local
64 &link, &out_size, 0); in hinic_notify_vf_link_status()
65 if (err || !out_size || link.status) in hinic_notify_vf_link_status()
69 link.status, out_size); in hinic_notify_vf_link_status()
104 u16 out_size = sizeof(vf_vlan); in hinic_set_vf_vlan() local
122 sizeof(vf_vlan), &vf_vlan, &out_size); in hinic_set_vf_vlan()
[all …]
Dhinic_hw_dev.c215 void *buf_in, u16 in_size, void *buf_out, u16 *out_size) in hinic_port_msg_cmd() argument
222 buf_in, in_size, buf_out, out_size, in hinic_port_msg_cmd()
228 u16 *out_size) in hinic_hilink_msg_cmd() argument
235 buf_in, in_size, buf_out, out_size, in hinic_hilink_msg_cmd()
250 u16 out_size = sizeof(fw_ctxt); in init_fw_ctxt() local
258 &fw_ctxt, &out_size); in init_fw_ctxt()
259 if (err || (out_size != sizeof(fw_ctxt)) || fw_ctxt.status) { in init_fw_ctxt()
261 err, fw_ctxt.status, out_size); in init_fw_ctxt()
417 u16 out_size = sizeof(cmd_base_qpn); in get_base_qpn() local
425 &cmd_base_qpn, &out_size); in get_base_qpn()
[all …]
Dhinic_hw_mbox.h66 u16 in_size, void *buf_out, u16 *out_size);
68 u16 in_size, void *buf_out, u16 *out_size);
128 void *buf_out, u16 *out_size);
163 u16 *out_size, u32 timeout);
168 u16 *out_size, u32 timeout);
172 u16 in_size, void *buf_out, u16 *out_size, u32 timeout);
Dhinic_hw_mbox.c308 void *buf_out, u16 *out_size) in recv_vf_mbox_handler() argument
326 recv_mbox->mbox_len, buf_out, out_size); in recv_vf_mbox_handler()
342 u16 *out_size) in recv_pf_from_vf_mbox_handler() argument
364 buf_out, out_size); in recv_pf_from_vf_mbox_handler()
523 u16 out_size = sizeof(rand_info); in set_vf_mbox_random_id() local
539 &rand_info, &out_size, HINIC_MGMT_MSG_SYNC); in set_vf_mbox_random_id()
541 rand_info.status) || !out_size || ret) { in set_vf_mbox_random_id()
543 ret, rand_info.status, out_size); in set_vf_mbox_random_id()
910 u16 out_size, u16 src_func_idx) in response_for_recv_func_mbox() argument
924 if (!out_size || err) in response_for_recv_func_mbox()
[all …]
Dhinic_hw_mgmt.c87 u16 *out_size)) in hinic_register_mgmt_msg_cb() argument
248 u8 *buf_out, u16 *out_size, in msg_to_mgmt_sync() argument
299 *out_size = recv_msg->msg_len; in msg_to_mgmt_sync()
352 void *buf_in, u16 in_size, void *buf_out, u16 *out_size, in hinic_msg_to_mgmt() argument
374 in_size, buf_out, out_size, timeout); in hinic_msg_to_mgmt()
382 buf_out, out_size, MGMT_DIRECT_SEND, in hinic_msg_to_mgmt()
396 u16 out_size = 0; in recv_mgmt_msg_work_handler() local
417 buf_out, &out_size); in recv_mgmt_msg_work_handler()
427 buf_out, out_size, MGMT_RESP, in recv_mgmt_msg_work_handler()
Dhinic_hw_mgmt.h123 void *buf_out, u16 *out_size);
166 u16 *out_size));
173 void *buf_in, u16 in_size, void *buf_out, u16 *out_size,
Dhinic_hw_dev.h376 u16 *out_size);
385 void *buf_out, u16 *out_size);
548 u16 *out_size));
555 u16 *out_size);
559 u16 *out_size);
Dhinic_debugfs.c87 u16 out_size = sizeof(*read_data); in hinic_dbg_get_func_table() local
102 sizeof(*read_data), read_data, &out_size); in hinic_dbg_get_func_table()
103 if (err || out_size != sizeof(*read_data) || read_data->status) { in hinic_dbg_get_func_table()
106 err, read_data->status, out_size); in hinic_dbg_get_func_table()
Dhinic_devlink.c131 u16 out_size = sizeof(*fw_update_msg); in hinic_flash_fw() local
223 fw_update_msg, &out_size); in hinic_flash_fw()
224 if (err || !out_size || fw_update_msg->status) { in hinic_flash_fw()
226 err, fw_update_msg->status, out_size); in hinic_flash_fw()
/kernel/linux/linux-5.10/drivers/dma-buf/
Ddma-heap.c120 unsigned int in_size, out_size, drv_size, ksize; in dma_heap_ioctl() local
133 out_size = _IOC_SIZE(ucmd); in dma_heap_ioctl()
134 in_size = out_size; in dma_heap_ioctl()
138 out_size = 0; in dma_heap_ioctl()
139 ksize = max(max(in_size, out_size), drv_size); in dma_heap_ioctl()
166 if (copy_to_user((void __user *)arg, kdata, out_size) != 0) in dma_heap_ioctl()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_nsp.c174 unsigned int out_size; member
462 if (arg->out_buf && arg->out_size && arg->out_size > arg->in_size) { in nfp_nsp_command_buf_def()
464 arg->out_buf, arg->out_size - arg->in_size); in nfp_nsp_command_buf_def()
482 if (arg->out_buf && arg->out_size) { in nfp_nsp_command_buf_def()
484 arg->out_buf, arg->out_size); in nfp_nsp_command_buf_def()
591 while (off < arg->out_size) { in nfp_nsp_command_buf_dma_sg()
594 len = min_t(u64, chunks[i].len, arg->out_size - off); in nfp_nsp_command_buf_dma_sg()
678 if (arg->out_buf && arg->out_size && arg->out_size > arg->in_size) in nfp_nsp_command_buf()
679 memset(arg->out_buf, 0, arg->out_size - arg->in_size); in nfp_nsp_command_buf()
681 max_size = max(arg->in_size, arg->out_size); in nfp_nsp_command_buf()
[all …]
/kernel/linux/linux-5.10/lib/xz/
Dxz_dec_bcj.c53 size_t out_size; member
403 copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos); in bcj_flush()
449 if (s->temp.size < b->out_size - b->out_pos || s->temp.size == 0) { in xz_dec_bcj_run()
478 if (b->out_pos + s->temp.size < b->out_size) in xz_dec_bcj_run()
490 if (b->out_pos < b->out_size) { in xz_dec_bcj_run()
494 s->out_size = b->out_size; in xz_dec_bcj_run()
497 b->out_size = sizeof(s->temp.buf); in xz_dec_bcj_run()
504 b->out_size = s->out_size; in xz_dec_bcj_run()
Dxz_dec_test.c55 .out_size = sizeof(buffer_out)
120 while ((remaining > 0 || buffers.out_pos == buffers.out_size) in xz_dec_test_write()
/kernel/linux/linux-5.10/lib/
Ddecompress_unxz.c279 b.out_size = (size_t)-1; in unxz()
281 b.out_size = XZ_IOBUF_SIZE; in unxz()
325 if (flush != NULL && (b.out_pos == b.out_size in unxz()
Dtest-string_helpers.c301 size_t out_size = 512; in test_string_escape() local
302 char *out_test = kmalloc(out_size, GFP_KERNEL); in test_string_escape()
303 char *out_real = kmalloc(out_size, GFP_KERNEL); in test_string_escape()
338 q_real = string_escape_mem(in, p, out_real, out_size, flags, esc); in test_string_escape()
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dcros_ec_ishtp.c165 u8 *out_msg, size_t out_size, in ish_send() argument
186 rv = ishtp_cl_send(cros_ish_cl, out_msg, out_size); in ish_send()
496 size_t out_size = sizeof(struct cros_ish_out_msg) + msg->outsize; in cros_ec_pkt_xfer_ish() local
506 if (out_size > ec_dev->dout_size) { in cros_ec_pkt_xfer_ish()
509 out_size, ec_dev->dout_size); in cros_ec_pkt_xfer_ish()
538 (u8 *)out_msg, out_size, in cros_ec_pkt_xfer_ish()
/kernel/linux/linux-5.10/fs/squashfs/
Dxz_wrapper.c132 stream->buf.out_size = PAGE_SIZE; in squashfs_xz_uncompress()
157 if (stream->buf.out_pos == stream->buf.out_size) { in squashfs_xz_uncompress()
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/
Dipu-ic.c217 u32 in_size, u32 out_size, in calc_resize_coeffs() argument
233 if (out_size > 1024) { in calc_resize_coeffs()
239 if ((out_size << 2) < in_size) { in calc_resize_coeffs()
247 while (((temp_size > 1024) || (temp_size >= out_size * 2)) && in calc_resize_coeffs()
259 *resize_coeff = (8192L * (temp_size - 1)) / (out_size - 1); in calc_resize_coeffs()
/kernel/linux/linux-5.10/net/ceph/crush/
Dmapper.c455 int out_size, in crush_choose_firstn() argument
476 int count = out_size; in crush_choose_firstn()
914 int out_size; in crush_do_rule() local
1050 out_size = ((numrep < (result_max-osize)) ? in crush_do_rule()
1057 x, out_size, numrep, in crush_do_rule()
1067 osize += out_size; in crush_do_rule()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_ioctl.c828 unsigned int in_size, out_size, drv_size, ksize; in drm_ioctl() local
858 out_size = in_size = _IOC_SIZE(cmd); in drm_ioctl()
862 out_size = 0; in drm_ioctl()
863 ksize = max(max(in_size, out_size), drv_size); in drm_ioctl()
898 if (copy_to_user((void __user *)arg, kdata, out_size) != 0) in drm_ioctl()
/kernel/linux/linux-5.10/include/linux/
Dxz.h143 size_t out_size; member
/kernel/linux/linux-5.10/sound/soc/intel/common/
Dsst-dsp-priv.h53 size_t out_size; member
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dnvram.h68 extern loff_t nvram_find_partition(const char *name, int sig, int *out_size);
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/
Dprestera_pci.c305 void *out_msg, size_t out_size, in prestera_fw_cmd_send() argument
338 if (ret_size > out_size) { in prestera_fw_cmd_send()
340 ret_size, out_size); in prestera_fw_cmd_send()
354 size_t out_size, unsigned int waitms) in prestera_fw_send_req() argument
362 ret = prestera_fw_cmd_send(fw, in_msg, in_size, out_msg, out_size, waitms); in prestera_fw_send_req()

123