Home
last modified time | relevance | path

Searched refs:insize (Results 1 – 25 of 41) sorted by relevance

12

/kernel/linux/linux-5.10/fs/coda/
Dupcall.c63 inp = (union inputArgs *)alloc_upcall(op, insize); \
66 outsize = insize; \
79 int insize, outsize, error; in venus_rootfid() local
81 insize = SIZE(root); in venus_rootfid()
84 error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); in venus_rootfid()
97 int insize, outsize, error; in venus_getattr() local
99 insize = SIZE(getattr); in venus_getattr()
103 error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); in venus_getattr()
116 int insize, outsize, error; in venus_setattr() local
118 insize = SIZE(setattr); in venus_setattr()
[all …]
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dcros_ec_trace.h29 __field(uint32_t, insize)
36 __entry->insize = cmd->insize;
41 __entry->outsize, __entry->insize)
52 __field(uint32_t, insize)
61 __entry->insize = cmd->insize;
68 __entry->outsize, __entry->insize,
Dcros_usbpd_notify.c73 int insize) in cros_ec_pd_command() argument
78 msg = kzalloc(sizeof(*msg) + max(insize, outsize), GFP_KERNEL); in cros_ec_pd_command()
84 msg->insize = insize; in cros_ec_pd_command()
93 if (insize) in cros_ec_pd_command()
94 memcpy(indata, msg->data, insize); in cros_ec_pd_command()
Dcros_ec_debugfs.c220 msg->insize = sizeof(*resp); in cros_ec_pdinfo_read()
255 msg.cmd.insize = sizeof(msg.resp); in cros_ec_uptime_is_supported()
281 msg.cmd.insize = sizeof(*resp); in cros_ec_uptime_read()
331 msg->insize = sizeof(*response); in ec_read_version_supported()
374 debug_info->read_msg->insize = read_response_size; in cros_ec_create_console_log()
405 int insize; in cros_ec_create_panicinfo() local
407 insize = ec_dev->max_response; in cros_ec_create_panicinfo()
410 sizeof(*msg) + insize, GFP_KERNEL); in cros_ec_create_panicinfo()
415 msg->insize = insize; in cros_ec_create_panicinfo()
Dcros_ec_sysfs.c101 msg->insize = 0; in reboot_store()
129 msg->insize = sizeof(*r_ver); in version_show()
151 msg->insize = EC_HOST_PARAM_SIZE; in version_show()
165 msg->insize = sizeof(*r_chip); in version_show()
187 msg->insize = sizeof(*r_board); in version_show()
221 msg->insize = sizeof(*resp); in flashinfo_show()
259 msg->insize = sizeof(*resp); in kb_wake_angle_show()
296 msg->insize = sizeof(struct ec_response_motion_sense); in kb_wake_angle_store()
Dcros_ec_i2c.c74 packet_len = msg->insize + response_header_size; in cros_ec_pkt_xfer_i2c()
144 if (msg->insize < ec_response->data_len) { in cros_ec_pkt_xfer_i2c()
147 msg->insize, in cros_ec_pkt_xfer_i2c()
202 packet_len = msg->insize + 3; in cros_ec_cmd_xfer_i2c()
250 if (len > msg->insize) { in cros_ec_cmd_xfer_i2c()
252 len, msg->insize); in cros_ec_cmd_xfer_i2c()
Dcros_ec_proto.c125 status_msg->insize = sizeof(*status); in send_command()
245 msg->insize = sizeof(*r); in cros_ec_get_host_event_wake_mask()
279 msg->insize = sizeof(struct ec_response_get_protocol_info); in cros_ec_host_command_proto_query()
324 msg->insize = sizeof(*hello_response); in cros_ec_host_command_proto_query_v2()
387 msg->insize = sizeof(*rver); in cros_ec_get_host_command_version_mask()
597 if (msg->insize > ec_dev->max_response) { in cros_ec_cmd_xfer()
599 msg->insize = ec_dev->max_response; in cros_ec_cmd_xfer()
671 msg->insize = size; in get_next_event_xfer()
715 msg->insize = sizeof(ec_dev->event_data.data); in get_keyboard_state_event()
885 msg->insize = sizeof(ec->features); in cros_ec_check_features()
[all …]
Dcros_ec_chardev.c68 msg->insize = sizeof(*resp); in ec_get_version()
284 u_cmd.insize > EC_MAX_MSG_BYTES) in cros_ec_chardev_ioctl_xcmd()
287 s_cmd = kmalloc(sizeof(*s_cmd) + max(u_cmd.outsize, u_cmd.insize), in cros_ec_chardev_ioctl_xcmd()
298 u_cmd.insize != s_cmd->insize) { in cros_ec_chardev_ioctl_xcmd()
309 if (copy_to_user(arg, s_cmd, sizeof(*s_cmd) + s_cmd->insize)) in cros_ec_chardev_ioctl_xcmd()
Dcros_ec_lpc.c177 if (response.data_len > msg->insize) { in cros_ec_pkt_xfer_lpc()
180 response.data_len, msg->insize); in cros_ec_pkt_xfer_lpc()
212 msg->insize > EC_PROTO2_MAX_PARAM_SIZE) { in cros_ec_cmd_xfer_lpc()
215 msg->outsize, msg->insize); in cros_ec_cmd_xfer_lpc()
255 if (args.data_size > msg->insize) { in cros_ec_cmd_xfer_lpc()
258 args.data_size, msg->insize); in cros_ec_cmd_xfer_lpc()
Dcros_ec_spi.c469 ec_msg->insize + sizeof(*response)); in do_cros_ec_pkt_xfer_spi()
494 if (len > ec_msg->insize) { in do_cros_ec_pkt_xfer_spi()
496 len, ec_msg->insize); in do_cros_ec_pkt_xfer_spi()
588 ec_msg->insize + EC_MSG_TX_PROTO_BYTES); in do_cros_ec_cmd_xfer_spi()
611 if (len > ec_msg->insize) { in do_cros_ec_cmd_xfer_spi()
613 len, ec_msg->insize); in do_cros_ec_cmd_xfer_spi()
621 if (ec_msg->insize) in do_cros_ec_cmd_xfer_spi()
Dcros_ec_vbc.c41 msg->insize = resp_sz; in vboot_context_read()
84 msg->insize = 0; in vboot_context_write()
Dcros_ec_typec.c307 unsigned int insize) in cros_typec_ec_command() argument
312 msg = kzalloc(sizeof(*msg) + max(outsize, insize), GFP_KERNEL); in cros_typec_ec_command()
319 msg->insize = insize; in cros_typec_ec_command()
325 if (ret >= 0 && insize) in cros_typec_ec_command()
326 memcpy(indata, msg->data, insize); in cros_typec_ec_command()
Dcros_ec_rpmsg.c116 if (response->data_len > ec_msg->insize) { in cros_ec_pkt_xfer_rpmsg()
118 response->data_len, ec_msg->insize); in cros_ec_pkt_xfer_rpmsg()
/kernel/linux/linux-5.10/tools/io_uring/
Dio_uring-cp.c123 static int copy_file(struct io_uring *ring, off_t insize) in copy_file() argument
130 write_left = insize; in copy_file()
133 while (insize || write_left) { in copy_file()
141 while (insize) { in copy_file()
142 off_t this_size = insize; in copy_file()
154 insize -= this_size; in copy_file()
230 off_t insize; in main() local
251 if (get_file_size(infd, &insize)) in main()
254 ret = copy_file(&ring, insize); in main()
/kernel/linux/linux-5.10/arch/alpha/boot/
Dmisc.c48 static unsigned insize; /* valid bytes in inbuf */ variable
61 #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf())
109 if (insize != 0) in fill_inbuf()
113 insize = input_data_size; in fill_inbuf()
/kernel/linux/linux-5.10/arch/nios2/boot/compressed/
Dmisc.c38 static unsigned insize; /* valid bytes in inbuf */ variable
52 #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf())
120 if (insize != 0) in fill_inbuf()
124 insize = input_len; in fill_inbuf()
/kernel/linux/linux-5.10/drivers/regulator/
Dcros-ec-regulator.c26 void *outdata, u32 outsize, void *indata, u32 insize) in cros_ec_cmd() argument
31 msg = kzalloc(sizeof(*msg) + max(outsize, insize), GFP_KERNEL); in cros_ec_cmd()
38 msg->insize = insize; in cros_ec_cmd()
47 if (insize) in cros_ec_cmd()
48 memcpy(indata, msg->data, insize); in cros_ec_cmd()
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun8i_ui_scaler.c152 u32 insize, outsize; in sun8i_ui_scaler_setup() local
166 insize = SUN8I_UI_SCALER_SIZE(src_w, src_h); in sun8i_ui_scaler_setup()
172 SUN8I_SCALER_GSU_INSIZE(base), insize); in sun8i_ui_scaler_setup()
Dsun8i_vi_scaler.c932 u32 insize, outsize; in sun8i_vi_scaler_setup() local
942 insize = SUN8I_VI_SCALER_SIZE(src_w, src_h); in sun8i_vi_scaler_setup()
974 SUN8I_SCALER_VSU_YINSIZE(base), insize); in sun8i_vi_scaler_setup()
Dsun8i_ui_layer.c82 u32 outsize, insize; in sun8i_ui_layer_update_coord() local
99 insize = SUN8I_MIXER_SIZE(src_w, src_h); in sun8i_ui_layer_update_coord()
138 insize); in sun8i_ui_layer_update_coord()
141 insize); in sun8i_ui_layer_update_coord()
143 if (insize != outsize || hphase || vphase) { in sun8i_ui_layer_update_coord()
Dsun8i_vi_layer.c77 u32 outsize, insize; in sun8i_vi_layer_update_coord() local
116 insize = SUN8I_MIXER_SIZE(src_w, src_h); in sun8i_vi_layer_update_coord()
126 insize); in sun8i_vi_layer_update_coord()
129 insize); in sun8i_vi_layer_update_coord()
137 if (insize != outsize || subsampled || hphase || vphase) { in sun8i_vi_layer_update_coord()
/kernel/linux/linux-5.10/drivers/extcon/
Dextcon-usbc-cros-ec.c66 unsigned int insize) in cros_ec_pd_command() argument
71 msg = kzalloc(sizeof(*msg) + max(outsize, insize), GFP_KERNEL); in cros_ec_pd_command()
78 msg->insize = insize; in cros_ec_pd_command()
84 if (ret >= 0 && insize) in cros_ec_pd_command()
85 memcpy(indata, msg->data, insize); in cros_ec_pd_command()
/kernel/linux/linux-5.10/drivers/usb/serial/
Dgarmin_gps.c121 int insize; member
481 size = garmin_data_p->insize; in gsp_receive()
552 garmin_data_p->insize = size; in gsp_receive()
746 if (garmin_data_p->insize >= GARMIN_PKTHDR_LENGTH) in nat_receive()
758 garmin_data_p->insize = 0; in nat_receive()
762 len -= garmin_data_p->insize; in nat_receive()
767 + garmin_data_p->insize; in nat_receive()
769 garmin_data_p->insize += len; in nat_receive()
775 if (garmin_data_p->insize >= GARMIN_PKTHDR_LENGTH) { in nat_receive()
778 if (garmin_data_p->insize >= len) { in nat_receive()
[all …]
/kernel/linux/linux-5.10/drivers/power/supply/
Dcros_usbpd-charger.c101 unsigned int insize) in cros_usbpd_charger_ec_command() argument
107 msg = kzalloc(sizeof(*msg) + max(outsize, insize), GFP_KERNEL); in cros_usbpd_charger_ec_command()
114 msg->insize = insize; in cros_usbpd_charger_ec_command()
120 if (ret >= 0 && insize) in cros_usbpd_charger_ec_command()
121 memcpy(indata, msg->data, insize); in cros_usbpd_charger_ec_command()
/kernel/linux/linux-5.10/drivers/pwm/
Dpwm-cros-ec.c74 msg->insize = 0; in cros_ec_pwm_set_duty()
102 msg->insize = sizeof(*resp); in cros_ec_pwm_get_duty()

12