Home
last modified time | relevance | path

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

123

/Linux-v6.6/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c40 u16 out_size = sizeof(port_mac_cmd); in change_mac() local
56 &port_mac_cmd, &out_size); in change_mac()
57 if (err || out_size != sizeof(port_mac_cmd) || in change_mac()
62 err, port_mac_cmd.status, out_size); in change_mac()
119 u16 out_size = sizeof(port_mac_cmd); in hinic_port_get_mac() local
127 &port_mac_cmd, &out_size); in hinic_port_get_mac()
128 if (err || out_size != sizeof(port_mac_cmd) || port_mac_cmd.status) { in hinic_port_get_mac()
130 err, port_mac_cmd.status, out_size); in hinic_port_get_mac()
150 u16 out_size = sizeof(port_mtu_cmd); in hinic_port_set_mtu() local
159 &port_mtu_cmd, &out_size); in hinic_port_set_mtu()
[all …]
Dhinic_sriov.c33 u16 out_size = sizeof(mac_info); in hinic_set_mac() local
41 sizeof(mac_info), &mac_info, &out_size); in hinic_set_mac()
42 if (err || out_size != sizeof(mac_info) || in hinic_set_mac()
45 err, mac_info.status, out_size); in hinic_set_mac()
57 u16 out_size = sizeof(link); in hinic_notify_vf_link_status() local
66 &link, &out_size, 0); in hinic_notify_vf_link_status()
67 if (err || !out_size || link.status) in hinic_notify_vf_link_status()
71 link.status, out_size); in hinic_notify_vf_link_status()
106 u16 out_size = sizeof(vf_vlan); in hinic_set_vf_vlan() local
124 sizeof(vf_vlan), &vf_vlan, &out_size); in hinic_set_vf_vlan()
[all …]
Dhinic_hw_dev.c209 void *buf_in, u16 in_size, void *buf_out, u16 *out_size) in hinic_port_msg_cmd() argument
216 buf_in, in_size, buf_out, out_size, in hinic_port_msg_cmd()
222 u16 *out_size) in hinic_hilink_msg_cmd() argument
229 buf_in, in_size, buf_out, out_size, in hinic_hilink_msg_cmd()
244 u16 out_size = sizeof(fw_ctxt); in init_fw_ctxt() local
252 &fw_ctxt, &out_size); in init_fw_ctxt()
253 if (err || out_size != sizeof(fw_ctxt) || fw_ctxt.status) { in init_fw_ctxt()
255 err, fw_ctxt.status, out_size); in init_fw_ctxt()
411 u16 out_size = sizeof(cmd_base_qpn); in get_base_qpn() local
419 &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);
159 u16 *out_size, u32 timeout);
164 u16 *out_size, u32 timeout);
168 u16 in_size, void *buf_out, u16 *out_size, u32 timeout);
Dhinic_hw_mbox.c303 void *buf_out, u16 *out_size) in recv_vf_mbox_handler() argument
321 recv_mbox->mbox_len, buf_out, out_size); in recv_vf_mbox_handler()
337 u16 *out_size) in recv_pf_from_vf_mbox_handler() argument
359 buf_out, out_size); in recv_pf_from_vf_mbox_handler()
518 u16 out_size = sizeof(rand_info); in set_vf_mbox_random_id() local
534 &rand_info, &out_size, HINIC_MGMT_MSG_SYNC); in set_vf_mbox_random_id()
536 rand_info.status) || !out_size || ret) { in set_vf_mbox_random_id()
538 ret, rand_info.status, out_size); in set_vf_mbox_random_id()
905 u16 out_size, u16 src_func_idx) in response_for_recv_func_mbox() argument
919 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.h442 u16 *out_size);
451 void *buf_out, u16 *out_size);
614 u16 *out_size));
621 u16 *out_size);
625 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()
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_nsp.c175 unsigned int out_size; member
463 if (arg->out_buf && arg->out_size && arg->out_size > arg->in_size) { in nfp_nsp_command_buf_def()
465 arg->out_buf, arg->out_size - arg->in_size); in nfp_nsp_command_buf_def()
483 if (arg->out_buf && arg->out_size) { in nfp_nsp_command_buf_def()
485 arg->out_buf, arg->out_size); in nfp_nsp_command_buf_def()
592 while (off < arg->out_size) { in nfp_nsp_command_buf_dma_sg()
595 len = min_t(u64, chunks[i].len, arg->out_size - off); in nfp_nsp_command_buf_dma_sg()
679 if (arg->out_buf && arg->out_size && arg->out_size > arg->in_size) in nfp_nsp_command_buf()
680 memset(arg->out_buf, 0, arg->out_size - arg->in_size); in nfp_nsp_command_buf()
682 max_size = max(arg->in_size, arg->out_size); in nfp_nsp_command_buf()
[all …]
/Linux-v6.6/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()
Dxz_dec_lzma2.c294 dict->end = b->out_size - b->out_pos; in dict_reset()
384 && b->out_pos < b->out_size) { in dict_uncompressed()
386 b->out_size - b->out_pos); in dict_uncompressed()
1104 b->out_size - b->out_pos, in xz_dec_lzma2_run()
1119 } else if (b->out_pos == b->out_size in xz_dec_lzma2_run()
1263 s->dict.end = b->out_size - b->out_pos; in xz_dec_microlzma_run()
1266 dict_limit(&s->dict, min_t(size_t, b->out_size - b->out_pos, in xz_dec_microlzma_run()
1284 if (b->out_pos == b->out_size) in xz_dec_microlzma_run()
/Linux-v6.6/drivers/dma-buf/
Ddma-heap.c132 unsigned int in_size, out_size, drv_size, ksize; in dma_heap_ioctl() local
145 out_size = _IOC_SIZE(ucmd); in dma_heap_ioctl()
146 in_size = out_size; in dma_heap_ioctl()
150 out_size = 0; in dma_heap_ioctl()
151 ksize = max(max(in_size, out_size), drv_size); in dma_heap_ioctl()
178 if (copy_to_user((void __user *)arg, kdata, out_size) != 0) in dma_heap_ioctl()
/Linux-v6.6/fs/fuse/
Dioctl.c182 size_t in_size, out_size, c; in fuse_do_ioctl() local
234 inarg.out_size = out_size = iov_length(out_iov, out_iovs); in fuse_do_ioctl()
240 out_size = max_t(size_t, out_size, PAGE_SIZE); in fuse_do_ioctl()
241 max_pages = DIV_ROUND_UP(max(in_size, out_size), PAGE_SIZE); in fuse_do_ioctl()
276 ap.args.out_args[1].size = out_size; in fuse_do_ioctl()
330 if (transferred > inarg.out_size) in fuse_do_ioctl()
397 inarg.out_size = size; in fuse_priv_ioctl()
409 args.out_args[1].size = inarg.out_size; in fuse_priv_ioctl()
/Linux-v6.6/drivers/media/platform/nxp/imx8-isi/
Dimx8-isi-hw.c121 const struct v4l2_area *out_size, in mxc_isi_channel_set_scaling() argument
130 out_size->width, out_size->height); in mxc_isi_channel_set_scaling()
132 xscale = mxc_isi_channel_scaling_ratio(in_size->width, out_size->width, in mxc_isi_channel_set_scaling()
134 yscale = mxc_isi_channel_scaling_ratio(in_size->height, out_size->height, in mxc_isi_channel_set_scaling()
162 CHNL_SCL_IMG_CFG_HEIGHT(out_size->height) | in mxc_isi_channel_set_scaling()
163 CHNL_SCL_IMG_CFG_WIDTH(out_size->width)); in mxc_isi_channel_set_scaling()
165 *bypass = in_size->height == out_size->height && in mxc_isi_channel_set_scaling()
166 in_size->width == out_size->width; in mxc_isi_channel_set_scaling()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_dpcd.c144 uint32_t *out_size) in dpcd_extend_address_range() argument
162 *out_size = in_size; in dpcd_extend_address_range()
166 *out_size = ADDRESS_RANGE_SIZE(new_addr_range.start, new_addr_range.end); in dpcd_extend_address_range()
167 *out_data = kzalloc(*out_size * sizeof(**out_data), GFP_KERNEL); in dpcd_extend_address_range()
/Linux-v6.6/fs/erofs/
Ddecompressor_lzma.c200 strm->buf.out_size = 0; in z_erofs_lzma_decompress()
205 if (strm->buf.out_pos == strm->buf.out_size) { in z_erofs_lzma_decompress()
217 strm->buf.out_size = min_t(u32, outlen, in z_erofs_lzma_decompress()
219 outlen -= strm->buf.out_size; in z_erofs_lzma_decompress()
271 DBG_BUGON(strm->buf.out_pos > strm->buf.out_size); in z_erofs_lzma_decompress()
/Linux-v6.6/lib/
Ddecompress_unxz.c281 b.out_size = (size_t)-1; in unxz()
283 b.out_size = XZ_IOBUF_SIZE; in unxz()
327 if (flush != NULL && (b.out_pos == b.out_size in unxz()
Dtest-string_helpers.c421 size_t out_size = 512; in test_string_escape() local
422 char *out_test = kmalloc(out_size, GFP_KERNEL); in test_string_escape()
423 char *out_real = kmalloc(out_size, GFP_KERNEL); in test_string_escape()
463 q_real = string_escape_mem(in, p, out_real, out_size, flags, esc); in test_string_escape()
/Linux-v6.6/drivers/platform/chrome/
Dcros_ec_ishtp.c164 u8 *out_msg, size_t out_size, in ish_send() argument
185 rv = ishtp_cl_send(cros_ish_cl, out_msg, out_size); in ish_send()
495 size_t out_size = sizeof(struct cros_ish_out_msg) + msg->outsize; in cros_ec_pkt_xfer_ish() local
505 if (out_size > ec_dev->dout_size) { in cros_ec_pkt_xfer_ish()
508 out_size, ec_dev->dout_size); in cros_ec_pkt_xfer_ish()
539 (u8 *)out_msg, out_size, in cros_ec_pkt_xfer_ish()
/Linux-v6.6/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_wb.c123 u32 image_size, out_size, out_xy; in dpu_hw_wb_roi() local
127 out_size = (drm_rect_height(&wb->roi) << 16) | drm_rect_width(&wb->roi); in dpu_hw_wb_roi()
131 DPU_REG_WRITE(c, WB_OUT_SIZE, out_size); in dpu_hw_wb_roi()
/Linux-v6.6/fs/squashfs/
Dxz_wrapper.c132 stream->buf.out_size = PAGE_SIZE; in squashfs_xz_uncompress()
161 if (stream->buf.out_pos == stream->buf.out_size) { in squashfs_xz_uncompress()
/Linux-v6.6/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()
/Linux-v6.6/net/ceph/crush/
Dmapper.c455 int out_size, in crush_choose_firstn() argument
476 int count = out_size; in crush_choose_firstn()
913 int out_size; in crush_do_rule() local
1049 out_size = ((numrep < (result_max-osize)) ? in crush_do_rule()
1056 x, out_size, numrep, in crush_do_rule()
1066 osize += out_size; in crush_do_rule()

123