Home
last modified time | relevance | path

Searched refs:reply_len (Results 1 – 25 of 53) sorted by relevance

123

/linux-5.19.10/drivers/macintosh/
Dvia-macii.c119 static int reply_len; /* number of bytes received in reply_buf or req->reply */ variable
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()
507 if (status == ST_EVEN && reply_len == 1) { in macii_interrupt()
509 } else if (status == ST_ODD && reply_len == 2) { in macii_interrupt()
[all …]
Dsmu.c187 int reply_len; in smu_db_intr() local
205 reply_len = rc == 0 ? smu->cmd_buf->length : 0; in smu_db_intr()
206 DPRINTK("SMU: reply len: %d\n", reply_len); in smu_db_intr()
207 if (reply_len > cmd->reply_len) { in smu_db_intr()
210 reply_len, cmd->reply_len); in smu_db_intr()
211 reply_len = cmd->reply_len; in smu_db_intr()
213 cmd->reply_len = reply_len; in smu_db_intr()
214 if (cmd->reply_buf && reply_len) in smu_db_intr()
215 memcpy(cmd->reply_buf, smu->cmd_buf->data, reply_len); in smu_db_intr()
269 cmd->reply_len > SMU_MAX_DATA) in smu_queue_cmd()
[all …]
Dvia-cuda.c520 req->reply_len = 0; in cuda_write()
690 req->reply_len = reply_ptr - req->reply; in cuda_interrupt()
693 if (req->reply_len <= 2 || (req->reply[1] & 2) != 0) { in cuda_interrupt()
695 req->reply_len = 0; in cuda_interrupt()
698 req->reply_len -= 2; in cuda_interrupt()
699 memmove(req->reply, req->reply + 2, req->reply_len); in cuda_interrupt()
787 if (req.reply_len != 7) in cuda_get_time()
788 pr_err("%s: got %d byte reply\n", __func__, req.reply_len); in cuda_get_time()
805 if ((req.reply_len != 3) && (req.reply_len != 7)) in cuda_set_rtc_time()
806 pr_err("%s: got %d byte reply\n", __func__, req.reply_len); in cuda_set_rtc_time()
Dadb.c117 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()
Dvia-pmu.c619 if (req.reply_len > 0) in init_pmu()
627 if (req.reply_len == 2) { in init_pmu()
657 if (req.reply_len < 2) in pmu_set_server_mode()
813 "len: %d, %4ph\n", req->reply_len, in done_battery_state_smart()
996 req->reply_len = 1; in pmu_send_request()
998 req->reply_len = 0; in pmu_send_request()
1008 req->reply_len = 3; in pmu_send_request()
1021 req->reply_len = 3; in pmu_send_request()
1040 req->reply_len = 0; in pmu_send_request()
1102 req.reply_len = 0; in pmu_adb_reset_bus()
[all …]
Dadb-iop.c126 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()
Dmacio-adb.c183 req->reply_len = 0; in macio_send_request()
242 req->reply_len = in_8(&adb->dcount.r) & HMB; in macio_adb_interrupt()
243 for (i = 0; i < req->reply_len; ++i) in macio_adb_interrupt()
Dadbhid.c1044 if ((req.reply_len) && in adbhid_probe()
1051 else if ((req.reply_len >= 4) && in adbhid_probe()
1058 else if ((req.reply_len >= 4) && in adbhid_probe()
1065 else if ((req.reply_len == 9) && in adbhid_probe()
1092 if (req.reply_len < 8) in init_trackpad()
/linux-5.19.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_msg.c214 unsigned long reply_len, bool hb) in vmw_port_hb_in() argument
228 reply_len, si, di, in vmw_port_hb_in()
238 while (reply_len) { in vmw_port_hb_in()
239 unsigned int bytes = min_t(unsigned long, reply_len, 4); 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()
357 reply = kzalloc(reply_len + 1, GFP_KERNEL); in vmw_recv_msg()
365 ebx = vmw_port_hb_in(channel, reply, reply_len, in vmw_recv_msg()
378 reply[reply_len] = '\0'; in vmw_recv_msg()
[all …]
/linux-5.19.10/include/linux/ceph/
Dauth.h73 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-5.19.10/drivers/ufs/core/
Dufs_bsg.c35 unsigned int reply_len) in ufs_bsg_verify_query_size() argument
40 if (min_req_len > request_len || min_rsp_len > reply_len) { in ufs_bsg_verify_query_size()
92 unsigned int reply_len = job->reply_len; in ufs_bsg_request() local
100 ret = ufs_bsg_verify_query_size(hba, req_len, reply_len); in ufs_bsg_request()
162 job->reply_len = sizeof(struct ufs_bsg_reply); in ufs_bsg_request()
/linux-5.19.10/net/ceph/
Dauth.c200 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
499 ret = ac->ops->handle_reply(ac, global_id, reply, reply + reply_len, in ceph_auth_handle_reply_done()
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()
[all …]
Dcls_lock_client.c343 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-5.19.10/net/ethtool/
Dfeatures.c164 int reply_len = 0; in features_send_reply() local
167 reply_len = ethnl_reply_header_size(); in features_send_reply()
172 reply_len += ret; in features_send_reply()
177 reply_len += ret; in features_send_reply()
180 rskb = ethnl_reply_init(reply_len, dev, ETHTOOL_MSG_FEATURES_SET_REPLY, in features_send_reply()
204 reply_len); in features_send_reply()
Dnetlink.c356 int hdr_len, reply_len; in ethnl_default_doit() local
387 reply_len = ret; in ethnl_default_doit()
389 rskb = ethnl_reply_init(reply_len + ethnl_reply_header_size(), in ethnl_default_doit()
398 WARN_ONCE(rskb->len - hdr_len > reply_len, in ethnl_default_doit()
400 cmd, reply_len, rskb->len - hdr_len); in ethnl_default_doit()
411 WARN_ONCE(ret == -EMSGSIZE, "calculated message payload length (%d) not sufficient\n", reply_len); in ethnl_default_doit()
612 int reply_len; in ethnl_default_notify() local
639 reply_len = ret + ethnl_reply_header_size(); in ethnl_default_notify()
640 skb = genlmsg_new(reply_len, GFP_KERNEL); in ethnl_default_notify()
664 reply_len); in ethnl_default_notify()
Dtunnels.c169 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-5.19.10/drivers/net/usb/
Drndis_host.c229 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-5.19.10/drivers/media/usb/gspca/
Dkinect.c121 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-5.19.10/block/
Dbsg-lib.c53 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-5.19.10/arch/powerpc/include/asm/
Dsmu.h397 int reply_len; /* reply len */ member
691 __u32 reply_len; /* Length of data follwing */ member
/linux-5.19.10/include/linux/
Dbsg-lib.h41 unsigned int reply_len; member
Dadb.h15 int reply_len; member
/linux-5.19.10/drivers/scsi/qla2xxx/
Dqla_bsg.c948 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + in qla2x00_process_loopback()
1103 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla84xx_updatefw()
1284 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla84xx_mgmt_cmd()
1389 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + in qla24xx_iidma()
1600 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_update_fru_versions()
1650 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_read_fru_status()
1698 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_write_fru_status()
1744 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_write_i2c()
1793 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_read_i2c()
1971 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla24xx_process_bidir_cmd()
[all …]
/linux-5.19.10/drivers/scsi/
Dsg.c411 int reply_len; in get_sg_io_pack_id() local
415 if (get_user(reply_len, &old_hdr->reply_len)) in get_sg_io_pack_id()
418 if (reply_len >= 0) in get_sg_io_pack_id()
489 old_hdr->reply_len = (int) hp->timeout; in sg_read()
490 old_hdr->pack_len = old_hdr->reply_len; /* old, strange behaviour */ in sg_read()
539 if (count > old_hdr->reply_len) in sg_read()
540 count = old_hdr->reply_len; in sg_read()
631 if (old_hdr.reply_len < 0) in sg_write()
660 mxsize = (input_size > old_hdr.reply_len) ? input_size : old_hdr.reply_len; in sg_write()
673 hp->dxfer_direction = (old_hdr.reply_len > SZ_SG_HEADER) ? in sg_write()
[all …]
/linux-5.19.10/drivers/net/wireless/silabs/wfx/
Dhif_tx.h37 void *reply, size_t reply_len, bool async);

123