/kernel/linux/linux-5.10/fs/coda/ |
D | upcall.c | 63 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/ |
D | cros_ec_trace.h | 29 __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,
|
D | cros_usbpd_notify.c | 73 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()
|
D | cros_ec_debugfs.c | 220 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()
|
D | cros_ec_sysfs.c | 101 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()
|
D | cros_ec_i2c.c | 74 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()
|
D | cros_ec_proto.c | 125 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 …]
|
D | cros_ec_chardev.c | 68 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()
|
D | cros_ec_lpc.c | 177 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()
|
D | cros_ec_spi.c | 469 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()
|
D | cros_ec_vbc.c | 41 msg->insize = resp_sz; in vboot_context_read() 84 msg->insize = 0; in vboot_context_write()
|
D | cros_ec_typec.c | 307 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()
|
D | cros_ec_rpmsg.c | 116 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/ |
D | io_uring-cp.c | 123 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/ |
D | misc.c | 48 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/ |
D | misc.c | 38 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/ |
D | cros-ec-regulator.c | 26 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/ |
D | sun8i_ui_scaler.c | 152 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()
|
D | sun8i_vi_scaler.c | 932 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()
|
D | sun8i_ui_layer.c | 82 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()
|
D | sun8i_vi_layer.c | 77 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/ |
D | extcon-usbc-cros-ec.c | 66 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/ |
D | garmin_gps.c | 121 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/ |
D | cros_usbpd-charger.c | 101 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/ |
D | pwm-cros-ec.c | 74 msg->insize = 0; in cros_ec_pwm_set_duty() 102 msg->insize = sizeof(*resp); in cros_ec_pwm_get_duty()
|