/linux-6.1.9/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 …]
|
/linux-6.1.9/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_ec_proto_test.c | 267 KUNIT_EXPECT_EQ(test, mock->msg.insize, in cros_ec_proto_test_query_all_normal() 287 KUNIT_EXPECT_EQ(test, mock->msg.insize, in cros_ec_proto_test_query_all_normal() 303 KUNIT_EXPECT_EQ(test, mock->msg.insize, in cros_ec_proto_test_query_all_normal() 322 KUNIT_EXPECT_EQ(test, mock->msg.insize, in cros_ec_proto_test_query_all_normal() 339 KUNIT_EXPECT_EQ(test, mock->msg.insize, sizeof(struct ec_response_host_event_mask)); in cros_ec_proto_test_query_all_normal() 389 KUNIT_EXPECT_EQ(test, mock->msg.insize, in cros_ec_proto_test_query_all_no_pd_return_error() 403 KUNIT_EXPECT_EQ(test, mock->msg.insize, in cros_ec_proto_test_query_all_no_pd_return_error() 454 KUNIT_EXPECT_EQ(test, mock->msg.insize, in cros_ec_proto_test_query_all_no_pd_return0() 468 KUNIT_EXPECT_EQ(test, mock->msg.insize, in cros_ec_proto_test_query_all_no_pd_return0() 511 KUNIT_EXPECT_EQ(test, mock->msg.insize, in cros_ec_proto_test_query_all_legacy_normal_v3_return_error() [all …]
|
D | cros_ec_proto.c | 149 msg->insize = sizeof(*status); in cros_ec_wait_until_complete() 266 msg->insize = sizeof(*r); in cros_ec_get_host_event_wake_mask() 306 msg->insize = sizeof(*info); in cros_ec_get_proto_info() 383 msg->insize = sizeof(*response); in cros_ec_get_proto_info_legacy() 460 msg->insize = sizeof(*rver); in cros_ec_get_host_command_version_mask() 622 if (msg->insize > ec_dev->max_response) { in cros_ec_cmd_xfer() 624 msg->insize = ec_dev->max_response; in cros_ec_cmd_xfer() 696 msg->insize = size; in get_next_event_xfer() 740 msg->insize = sizeof(ec_dev->event_data.data); in get_keyboard_state_event() 953 msg->insize = sizeof(*resp); in cros_ec_get_sensor_count() [all …]
|
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 | 102 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()
|
D | cros_ec_i2c.c | 74 packet_len = msg->insize + response_header_size; in cros_ec_pkt_xfer_i2c() 152 if (msg->insize < ec_response->data_len) { in cros_ec_pkt_xfer_i2c() 155 msg->insize, in cros_ec_pkt_xfer_i2c() 210 packet_len = msg->insize + 3; in cros_ec_cmd_xfer_i2c() 258 if (len > msg->insize) { in cros_ec_cmd_xfer_i2c() 260 len, msg->insize); in cros_ec_cmd_xfer_i2c()
|
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 | 179 if (response.data_len > msg->insize) { in cros_ec_pkt_xfer_lpc() 182 response.data_len, msg->insize); in cros_ec_pkt_xfer_lpc() 214 msg->insize > EC_PROTO2_MAX_PARAM_SIZE) { in cros_ec_cmd_xfer_lpc() 217 msg->outsize, msg->insize); in cros_ec_cmd_xfer_lpc() 257 if (args.data_size > msg->insize) { in cros_ec_cmd_xfer_lpc() 260 args.data_size, msg->insize); in cros_ec_cmd_xfer_lpc()
|
D | cros_ec_spi.c | 472 ec_msg->insize + sizeof(*response)); in do_cros_ec_pkt_xfer_spi() 497 if (len > ec_msg->insize) { in do_cros_ec_pkt_xfer_spi() 499 len, ec_msg->insize); in do_cros_ec_pkt_xfer_spi() 593 ec_msg->insize + EC_MSG_TX_PROTO_BYTES); in do_cros_ec_cmd_xfer_spi() 616 if (len > ec_msg->insize) { in do_cros_ec_cmd_xfer_spi() 618 len, ec_msg->insize); in do_cros_ec_cmd_xfer_spi() 626 if (ec_msg->insize) in do_cros_ec_cmd_xfer_spi()
|
D | cros_kunit_util.c | 44 if (msg->insize) in cros_kunit_ec_xfer_mock() 45 memcpy(msg->data, mock->o_data, min(msg->insize, mock->o_data_len)); in cros_kunit_ec_xfer_mock()
|
D | cros_ec_vbc.c | 41 msg->insize = resp_sz; in vboot_context_read() 84 msg->insize = 0; in vboot_context_write()
|
/linux-6.1.9/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() 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-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/iio/proximity/ |
D | cros_ec_mkbp_proximity.c | 72 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-6.1.9/drivers/power/supply/ |
D | cros_peripheral_charger.c | 60 unsigned int insize) in cros_pchg_ec_command() argument 66 msg = kzalloc(struct_size(msg, data, max(outsize, insize)), GFP_KERNEL); in cros_pchg_ec_command() 73 msg->insize = insize; in cros_pchg_ec_command() 79 if (ret >= 0 && insize) in cros_pchg_ec_command() 80 memcpy(indata, msg->data, insize); in cros_pchg_ec_command()
|
D | cros_usbpd-charger.c | 101 unsigned int insize) in cros_usbpd_charger_ec_command() argument 107 msg = kzalloc(struct_size(msg, data, 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-6.1.9/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_ui_layer.c | 104 u32 outsize, insize; in sun8i_ui_layer_update_coord() local 121 insize = SUN8I_MIXER_SIZE(src_w, src_h); in sun8i_ui_layer_update_coord() 130 insize); in sun8i_ui_layer_update_coord() 133 insize); in sun8i_ui_layer_update_coord() 135 if (insize != outsize || hphase || vphase) { in sun8i_ui_layer_update_coord()
|
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_vi_layer.c | 108 u32 outsize, insize; in sun8i_vi_layer_update_coord() local 147 insize = SUN8I_MIXER_SIZE(src_w, src_h); in sun8i_vi_layer_update_coord() 157 insize); in sun8i_vi_layer_update_coord() 160 insize); in sun8i_vi_layer_update_coord() 168 if (insize != outsize || subsampled || hphase || vphase) { in sun8i_vi_layer_update_coord()
|
/linux-6.1.9/drivers/extcon/ |
D | extcon-usbc-cros-ec.c | 66 unsigned int insize) in cros_ec_pd_command() argument 71 msg = kzalloc(struct_size(msg, data, 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-6.1.9/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 …]
|
/linux-6.1.9/include/linux/platform_data/ |
D | cros_ec_proto.h | 74 uint32_t insize; member 240 size_t outsize, void *indata, size_t insize);
|