/Linux-v6.6/drivers/net/ethernet/huawei/hinic/ |
D | hinic_port.c | 40 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 …]
|
D | hinic_sriov.c | 33 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 …]
|
D | hinic_hw_dev.c | 209 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 …]
|
D | hinic_hw_mbox.h | 66 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);
|
D | hinic_hw_mbox.c | 303 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 …]
|
D | hinic_hw_mgmt.c | 87 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()
|
D | hinic_hw_mgmt.h | 123 void *buf_out, u16 *out_size); 166 u16 *out_size)); 173 void *buf_in, u16 in_size, void *buf_out, u16 *out_size,
|
D | hinic_hw_dev.h | 442 u16 *out_size); 451 void *buf_out, u16 *out_size); 614 u16 *out_size)); 621 u16 *out_size); 625 u16 *out_size);
|
D | hinic_debugfs.c | 87 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/ |
D | nfp_nsp.c | 175 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/ |
D | xz_dec_bcj.c | 53 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()
|
D | xz_dec_test.c | 55 .out_size = sizeof(buffer_out) 120 while ((remaining > 0 || buffers.out_pos == buffers.out_size) in xz_dec_test_write()
|
D | xz_dec_lzma2.c | 294 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/ |
D | dma-heap.c | 132 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/ |
D | ioctl.c | 182 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/ |
D | imx8-isi-hw.c | 121 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/ |
D | link_dpcd.c | 144 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/ |
D | decompressor_lzma.c | 200 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/ |
D | decompress_unxz.c | 281 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()
|
D | test-string_helpers.c | 421 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/ |
D | cros_ec_ishtp.c | 164 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/ |
D | dpu_hw_wb.c | 123 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/ |
D | xz_wrapper.c | 132 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/ |
D | ipu-ic.c | 217 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/ |
D | mapper.c | 455 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()
|