Home
last modified time | relevance | path

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

12

/linux/fs/coda/
A Dupcall.c66 outsize = insize; \
81 insize = SIZE(root); in venus_rootfid()
118 insize = SIZE(setattr); in venus_setattr()
165 int insize, outsize, error; in venus_close() local
167 insize = SIZE(release); in venus_close()
187 insize = SIZE(open_by_fd); in venus_open()
444 int insize, outsize, error; in venus_fsync() local
446 insize=SIZE(fsync); in venus_fsync()
462 insize = SIZE(access); in venus_access()
483 insize = VC_MAXMSGSIZE; in venus_pioctl()
[all …]
/linux/tools/io_uring/
A 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()
140 while (insize) { in copy_file()
141 off_t this_size = insize; in copy_file()
153 insize -= this_size; in copy_file()
253 off_t insize; in main() local
274 if (get_file_size(infd, &insize)) in main()
277 ret = copy_file(&ring, insize); in main()
/linux/drivers/platform/chrome/
A Dcros_ec_trace.h30 __field(uint32_t, insize)
37 __entry->insize = cmd->insize;
42 __entry->outsize, __entry->insize)
53 __field(uint32_t, insize)
62 __entry->insize = cmd->insize;
69 __entry->outsize, __entry->insize,
A 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()
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()
593 msg->insize = ec_dev->max_response; in cros_ec_cmd_xfer_status()
639 msg->insize = size; in get_next_event_xfer()
863 msg->insize = sizeof(*resp); in cros_ec_get_sensor_count()
920 int insize) in cros_ec_command() argument
932 msg->insize = insize; in cros_ec_command()
941 if (insize) in cros_ec_command()
[all …]
A Dcros_ec_debugfs.c219 msg->insize = sizeof(*resp); in cros_ec_pdinfo_read()
254 msg.cmd.insize = sizeof(msg.resp); in cros_ec_uptime_is_supported()
280 msg.cmd.insize = sizeof(*resp); in cros_ec_uptime_read()
330 msg->insize = sizeof(*response); in ec_read_version_supported()
373 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()
A Dcros_ec_sysfs.c102 msg->insize = 0; in reboot_store()
130 msg->insize = sizeof(*r_ver); in version_show()
152 msg->insize = EC_HOST_PARAM_SIZE; in version_show()
166 msg->insize = sizeof(*r_chip); in version_show()
188 msg->insize = sizeof(*r_board); in version_show()
222 msg->insize = sizeof(*resp); in flashinfo_show()
260 msg->insize = sizeof(*resp); in kb_wake_angle_show()
297 msg->insize = sizeof(struct ec_response_motion_sense); in kb_wake_angle_store()
A 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()
A 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()
A 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()
A 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()
A Dcros_ec_vbc.c41 msg->insize = resp_sz; in vboot_context_read()
84 msg->insize = 0; in vboot_context_write()
/linux/drivers/regulator/
A 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()
/linux/arch/alpha/boot/
A 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()
/linux/arch/nios2/boot/compressed/
A 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()
/linux/drivers/iio/proximity/
A Dcros_ec_mkbp_proximity.c72 size_t insize = sizeof(*switches); in cros_ec_mkbp_proximity_query() local
78 msg->insize = insize; in cros_ec_mkbp_proximity_query()
87 if (ret != insize) { in cros_ec_mkbp_proximity_query()
89 insize); in cros_ec_mkbp_proximity_query()
/linux/drivers/power/supply/
A Dcros_peripheral_charger.c59 unsigned int insize) in cros_pchg_ec_command() argument
65 msg = kzalloc(sizeof(*msg) + max(outsize, insize), GFP_KERNEL); in cros_pchg_ec_command()
72 msg->insize = insize; in cros_pchg_ec_command()
78 if (ret >= 0 && insize) in cros_pchg_ec_command()
79 memcpy(indata, msg->data, insize); in cros_pchg_ec_command()
A 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()
/linux/drivers/gpu/drm/sun4i/
A 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()
A 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()
A Dsun8i_ui_layer.c103 u32 outsize, insize; in sun8i_ui_layer_update_coord() local
120 insize = SUN8I_MIXER_SIZE(src_w, src_h); in sun8i_ui_layer_update_coord()
159 insize); in sun8i_ui_layer_update_coord()
162 insize); in sun8i_ui_layer_update_coord()
164 if (insize != outsize || hphase || vphase) { in sun8i_ui_layer_update_coord()
A Dsun8i_vi_layer.c107 u32 outsize, insize; in sun8i_vi_layer_update_coord() local
146 insize = SUN8I_MIXER_SIZE(src_w, src_h); in sun8i_vi_layer_update_coord()
156 insize); in sun8i_vi_layer_update_coord()
159 insize); in sun8i_vi_layer_update_coord()
167 if (insize != outsize || subsampled || hphase || vphase) { in sun8i_vi_layer_update_coord()
/linux/drivers/extcon/
A 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()
/linux/drivers/usb/serial/
A 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()
778 if (garmin_data_p->insize >= len) { in nat_receive()
782 garmin_data_p->insize = 0; in nat_receive()
[all …]
/linux/include/linux/platform_data/
A Dcros_ec_proto.h70 uint32_t insize; member
235 int outsize, void *indata, int insize);
/linux/sound/soc/codecs/
A Dcros_ec_codec.c76 uint8_t *in, size_t insize) in send_ec_host_command() argument
81 msg = kmalloc(sizeof(*msg) + max(outsize, insize), GFP_KERNEL); in send_ec_host_command()
88 msg->insize = insize; in send_ec_host_command()
97 if (in && insize) in send_ec_host_command()
98 memcpy(in, msg->data, insize); in send_ec_host_command()

Completed in 52 milliseconds

12