/linux/drivers/macintosh/ |
A D | via-macii.c | 225 req.reply_len = 0; in macii_queue_poll() 265 req->reply_len = 0; in macii_write() 408 reply_len = 1; in macii_interrupt() 411 reply_len = 0; in macii_interrupt() 446 reply_len = 1; in macii_interrupt() 460 reply_len = 1; in macii_interrupt() 470 reply_len = 1; in macii_interrupt() 515 reply_len = 0; in macii_interrupt() 520 req->reply_len = reply_len; in macii_interrupt() 528 adb_input(reply_buf, reply_len, 1); in macii_interrupt() [all …]
|
A D | smu.c | 188 int reply_len; in smu_db_intr() local 208 if (reply_len > cmd->reply_len) { in smu_db_intr() 211 reply_len, cmd->reply_len); in smu_db_intr() 212 reply_len = cmd->reply_len; in smu_db_intr() 214 cmd->reply_len = reply_len; in smu_db_intr() 215 if (cmd->reply_buf && reply_len) in smu_db_intr() 924 cmd.reply_len = chunk; in smu_read_datablock() 939 if (cmd.reply_len != clen) { in smu_read_datablock() 942 cmd.reply_len, clen); in smu_read_datablock() 1211 pp->cmd.reply_len = 0; in smu_read_command() [all …]
|
A D | via-cuda.c | 517 req->reply_len = 0; in cuda_write() 687 req->reply_len = reply_ptr - req->reply; in cuda_interrupt() 690 if (req->reply_len <= 2 || (req->reply[1] & 2) != 0) { in cuda_interrupt() 692 req->reply_len = 0; in cuda_interrupt() 695 req->reply_len -= 2; in cuda_interrupt() 696 memmove(req->reply, req->reply + 2, req->reply_len); in cuda_interrupt() 784 if (req.reply_len != 7) in cuda_get_time() 785 pr_err("%s: got %d byte reply\n", __func__, req.reply_len); in cuda_get_time() 802 if ((req.reply_len != 3) && (req.reply_len != 7)) in cuda_set_rtc_time() 803 pr_err("%s: got %d byte reply\n", __func__, req.reply_len); in cuda_set_rtc_time()
|
A D | adb.c | 117 printk("adb reply (%d)", req->reply_len); 118 for(i = 0; i < req->reply_len; i++) 136 if (req.reply_len > 1) in adb_scan_bus() 170 if (req.reply_len <= 1) continue; in adb_scan_bus() 177 if (req.reply_len > 1) { in adb_scan_bus() 565 if (req.reply_len < 2) in try_handler_change() 620 req->reply_len = 0; in adb_write_done() 657 req->reply_len = 2; in do_adb_query() 762 ret = req->reply_len; in adb_read()
|
A D | via-pmu.c | 624 if (req.reply_len > 0) in init_pmu() 662 if (req.reply_len < 2) in pmu_set_server_mode() 1001 req->reply_len = 1; in pmu_send_request() 1003 req->reply_len = 0; in pmu_send_request() 1013 req->reply_len = 3; in pmu_send_request() 1026 req->reply_len = 3; in pmu_send_request() 1045 req->reply_len = 0; in pmu_send_request() 1107 req.reply_len = 0; in pmu_adb_reset_bus() 1144 req->reply_len = 0; in pmu_request() 2588 req.reply_len = 1; in pmu_blink() [all …]
|
A D | adb-iop.c | 126 req->reply_len = amsg->count + 1; in adb_iop_listen() 127 memcpy(req->reply, &amsg->cmd, req->reply_len); in adb_iop_listen() 229 req->reply_len = 0; in adb_iop_write()
|
A D | macio-adb.c | 180 req->reply_len = 0; in macio_send_request() 239 req->reply_len = in_8(&adb->dcount.r) & HMB; in macio_adb_interrupt() 240 for (i = 0; i < req->reply_len; ++i) in macio_adb_interrupt()
|
A D | adbhid.c | 1047 if ((req.reply_len) && in adbhid_probe() 1054 else if ((req.reply_len >= 4) && in adbhid_probe() 1061 else if ((req.reply_len >= 4) && in adbhid_probe() 1068 else if ((req.reply_len == 9) && in adbhid_probe() 1095 if (req.reply_len < 8) in init_trackpad()
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_msg.c | 228 reply_len, si, di, in vmw_port_hb_in() 238 while (reply_len) { in vmw_port_hb_in() 254 reply_len -= bytes; in vmw_port_hb_in() 327 size_t reply_len; in vmw_recv_msg() local 356 reply_len = ebx; in vmw_recv_msg() 408 *msg_len = reply_len; in vmw_recv_msg() 433 size_t reply_len = 0; in vmw_host_get_guestinfo() local 460 reply_len = max(reply_len - 2, (size_t) 0); in vmw_host_get_guestinfo() 461 reply_len = min(reply_len, *length); in vmw_host_get_guestinfo() 463 if (reply_len > 0) in vmw_host_get_guestinfo() [all …]
|
/linux/include/linux/ceph/ |
A D | auth.h | 73 void *reply, int reply_len, 120 void *reply_buf, size_t reply_len); 138 void *reply, int reply_len, 163 int reply_len, void *buf, int buf_len); 165 u64 global_id, void *reply, int reply_len, 178 void *reply, int reply_len, 182 void *reply, int reply_len,
|
/linux/drivers/scsi/ufs/ |
A D | ufs_bsg.c | 29 unsigned int reply_len) in ufs_bsg_verify_query_size() argument 34 if (min_req_len > request_len || min_rsp_len > reply_len) { in ufs_bsg_verify_query_size() 86 unsigned int reply_len = job->reply_len; in ufs_bsg_request() local 94 ret = ufs_bsg_verify_query_size(hba, req_len, reply_len); in ufs_bsg_request() 156 job->reply_len = sizeof(struct ufs_bsg_reply); in ufs_bsg_request()
|
/linux/net/ceph/ |
A D | auth.c | 200 void *reply_buf, size_t reply_len) in ceph_handle_auth_reply() argument 268 ret = build_request(ac, true, reply_buf, reply_len); in ceph_handle_auth_reply() 365 void *reply, int reply_len, in ceph_auth_verify_authorizer_reply() argument 374 reply, reply_len, session_key, session_key_len, in ceph_auth_verify_authorizer_reply() 476 int reply_len, void *buf, int buf_len) in ceph_auth_handle_reply_more() argument 481 ret = ac->ops->handle_reply(ac, 0, reply, reply + reply_len, in ceph_auth_handle_reply_more() 492 u64 global_id, void *reply, int reply_len, in ceph_auth_handle_reply_done() argument 579 void *reply, int reply_len, in ceph_auth_handle_svc_reply_more() argument 587 reply, reply_len); in ceph_auth_handle_svc_reply_more() 603 void *reply, int reply_len, in ceph_auth_handle_svc_reply_done() argument [all …]
|
A D | cls_lock_client.c | 343 size_t reply_len = PAGE_SIZE; in ceph_cls_lock_info() local 373 get_info_op_buf_size, &reply_page, &reply_len); in ceph_cls_lock_info() 378 end = p + reply_len; in ceph_cls_lock_info()
|
/linux/drivers/net/usb/ |
A D | rndis_host.c | 229 void **reply, int *reply_len) in rndis_query() argument 261 if (*reply_len != -1 && len != *reply_len) in rndis_query() 265 *reply_len = len; in rndis_query() 306 int reply_len; in generic_rndis_bind() local 387 reply_len = sizeof *phym; in generic_rndis_bind() 390 reply_len, (void **)&phym, &reply_len); in generic_rndis_bind() 412 reply_len = ETH_ALEN; in generic_rndis_bind() 415 48, (void **) &bp, &reply_len); in generic_rndis_bind()
|
/linux/net/ethtool/ |
A D | features.c | 165 int reply_len = 0; in features_send_reply() local 168 reply_len = ethnl_reply_header_size(); in features_send_reply() 173 reply_len += ret; in features_send_reply() 178 reply_len += ret; in features_send_reply() 181 rskb = ethnl_reply_init(reply_len, dev, ETHTOOL_MSG_FEATURES_SET_REPLY, in features_send_reply() 205 reply_len); in features_send_reply()
|
A D | netlink.c | 354 int hdr_len, reply_len; in ethnl_default_doit() local 385 reply_len = ret; in ethnl_default_doit() 387 rskb = ethnl_reply_init(reply_len + ethnl_reply_header_size(), in ethnl_default_doit() 396 WARN_ONCE(rskb->len - hdr_len > reply_len, in ethnl_default_doit() 398 cmd, reply_len, rskb->len - hdr_len); in ethnl_default_doit() 409 WARN_ONCE(ret == -EMSGSIZE, "calculated message payload length (%d) not sufficient\n", reply_len); in ethnl_default_doit() 610 int reply_len; in ethnl_default_notify() local 637 reply_len = ret + ethnl_reply_header_size(); in ethnl_default_notify() 639 skb = genlmsg_new(reply_len, GFP_KERNEL); in ethnl_default_notify() 663 reply_len); in ethnl_default_notify()
|
A D | tunnels.c | 169 int reply_len; in ethnl_tunnel_info_doit() local 183 reply_len = ret + ethnl_reply_header_size(); in ethnl_tunnel_info_doit() 185 rskb = ethnl_reply_init(reply_len, req_info.dev, in ethnl_tunnel_info_doit()
|
/linux/drivers/media/usb/gspca/ |
A D | kinect.c | 121 unsigned int cmd_len, void *replybuf, unsigned int reply_len) in send_cmd() argument 185 if (actual_len > reply_len) { in send_cmd() 187 reply_len, actual_len); in send_cmd() 188 memcpy(replybuf, ibuf+sizeof(*rhdr), reply_len); in send_cmd()
|
/linux/block/ |
A D | bsg-lib.c | 53 job->reply_len = SCSI_SENSE_BUFFERSIZE; in bsg_transport_sg_io_fn() 111 job->reply_len = sizeof(u32); in bsg_transport_sg_io_fn() 115 if (job->reply_len && hdr->response) { in bsg_transport_sg_io_fn() 116 int len = min(hdr->max_response_len, job->reply_len); in bsg_transport_sg_io_fn()
|
/linux/arch/powerpc/include/asm/ |
A D | smu.h | 397 int reply_len; /* reply len */ member 691 __u32 reply_len; /* Length of data follwing */ member
|
/linux/drivers/scsi/qla2xxx/ |
A D | qla_bsg.c | 947 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + in qla2x00_process_loopback() 1599 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_update_fru_versions() 1649 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_read_fru_status() 1697 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_write_fru_status() 1743 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_write_i2c() 1792 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_read_i2c() 1970 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla24xx_process_bidir_cmd() 2137 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla26xx_serdes_op() 2371 bsg_job->reply_len = sizeof(*bsg_reply); in qla2x00_get_priv_stats() 2416 bsg_job->reply_len = sizeof(*bsg_reply); in qla2x00_do_dport_diagnostics() [all …]
|
/linux/drivers/scsi/ |
A D | sg.c | 412 int reply_len; in get_sg_io_pack_id() local 416 if (get_user(reply_len, &old_hdr->reply_len)) in get_sg_io_pack_id() 419 if (reply_len >= 0) in get_sg_io_pack_id() 493 old_hdr->reply_len = (int) hp->timeout; in sg_read() 543 if (count > old_hdr->reply_len) in sg_read() 544 count = old_hdr->reply_len; in sg_read() 635 if (old_hdr.reply_len < 0) in sg_write() 664 mxsize = (input_size > old_hdr.reply_len) ? input_size : old_hdr.reply_len; in sg_write() 677 hp->dxfer_direction = (old_hdr.reply_len > SZ_SG_HEADER) ? in sg_write() 688 hp->timeout = old_hdr.reply_len; /* structure abuse ... */ in sg_write() [all …]
|
/linux/include/linux/ |
A D | bsg-lib.h | 42 unsigned int reply_len; member
|
A D | adb.h | 15 int reply_len; member
|
/linux/drivers/s390/crypto/ |
A D | zcrypt_msgtype6.c | 641 unsigned int reply_len, pad_len; in convert_type86_ica() local 671 reply_len = msg->length - 2; in convert_type86_ica() 672 if (reply_len > outputdatalength) in convert_type86_ica() 684 pad_len = outputdatalength - reply_len; in convert_type86_ica() 695 if (copy_to_user(outputdata + pad_len, data, reply_len)) in convert_type86_ica()
|