Home
last modified time | relevance | path

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

123

/linux-6.6.21/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.c189 int reply_len; in smu_db_intr() local
207 reply_len = rc == 0 ? smu->cmd_buf->length : 0; in smu_db_intr()
208 DPRINTK("SMU: reply len: %d\n", reply_len); in smu_db_intr()
209 if (reply_len > cmd->reply_len) { in smu_db_intr()
212 reply_len, cmd->reply_len); in smu_db_intr()
213 reply_len = cmd->reply_len; in smu_db_intr()
215 cmd->reply_len = reply_len; in smu_db_intr()
216 if (cmd->reply_buf && reply_len) in smu_db_intr()
217 memcpy(cmd->reply_buf, smu->cmd_buf->data, reply_len); in smu_db_intr()
271 cmd->reply_len > SMU_MAX_DATA) in smu_queue_cmd()
[all …]
Dvia-cuda.c514 req->reply_len = 0; in cuda_write()
684 req->reply_len = reply_ptr - req->reply; in cuda_interrupt()
687 if (req->reply_len <= 2 || (req->reply[1] & 2) != 0) { in cuda_interrupt()
689 req->reply_len = 0; in cuda_interrupt()
692 req->reply_len -= 2; in cuda_interrupt()
693 memmove(req->reply, req->reply + 2, req->reply_len); in cuda_interrupt()
781 if (req.reply_len != 7) in cuda_get_time()
782 pr_err("%s: got %d byte reply\n", __func__, req.reply_len); in cuda_get_time()
799 if ((req.reply_len != 3) && (req.reply_len != 7)) in cuda_set_rtc_time()
800 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.c614 if (req.reply_len > 0) in init_pmu()
622 if (req.reply_len == 2) { in init_pmu()
652 if (req.reply_len < 2) in pmu_set_server_mode()
808 "len: %d, %4ph\n", req->reply_len, in done_battery_state_smart()
993 req->reply_len = 1; in pmu_send_request()
995 req->reply_len = 0; in pmu_send_request()
1005 req->reply_len = 3; in pmu_send_request()
1018 req->reply_len = 3; in pmu_send_request()
1037 req->reply_len = 0; in pmu_send_request()
1099 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.c187 req->reply_len = 0; in macio_send_request()
247 req->reply_len = in_8(&adb->dcount.r) & HMB; in macio_adb_interrupt()
248 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-6.6.21/drivers/gpu/drm/vmwgfx/
Dvmwgfx_msg.c221 unsigned long reply_len, bool hb) in vmw_port_hb_in() argument
235 reply_len, si, di, in vmw_port_hb_in()
245 while (reply_len) { in vmw_port_hb_in()
246 unsigned int bytes = min_t(unsigned long, reply_len, 4); in vmw_port_hb_in()
261 reply_len -= bytes; in vmw_port_hb_in()
334 size_t reply_len; in vmw_recv_msg() local
363 reply_len = ebx; in vmw_recv_msg()
364 reply = kzalloc(reply_len + 1, GFP_KERNEL); in vmw_recv_msg()
372 ebx = vmw_port_hb_in(channel, reply, reply_len, in vmw_recv_msg()
385 reply[reply_len] = '\0'; in vmw_recv_msg()
[all …]
/linux-6.6.21/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-6.6.21/net/rxrpc/
Drxperf.c55 size_t reply_len; /* Size of reply blob */ member
410 call->reply_len = 0; in rxperf_deliver_param_block()
456 call->reply_len = 0; in rxperf_deliver_request()
461 call->reply_len = ntohl(call->tmp[0]); in rxperf_deliver_request()
466 call->reply_len = ntohl(call->tmp[1]); in rxperf_deliver_request()
474 call->type, call->req_len, call->reply_len); in rxperf_deliver_request()
500 size_t reply_len = call->reply_len, len; in rxperf_process_call() local
503 reply_len + sizeof(rxperf_magic_cookie)); in rxperf_process_call()
505 while (reply_len > 0) { in rxperf_process_call()
506 len = min_t(size_t, reply_len, PAGE_SIZE); in rxperf_process_call()
[all …]
/linux-6.6.21/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-6.6.21/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.c376 int hdr_len, reply_len; in ethnl_default_doit() local
409 reply_len = ret; in ethnl_default_doit()
411 rskb = ethnl_reply_init(reply_len + ethnl_reply_header_size(), in ethnl_default_doit()
420 WARN_ONCE(rskb->len - hdr_len > reply_len, in ethnl_default_doit()
422 cmd, reply_len, rskb->len - hdr_len); in ethnl_default_doit()
433 WARN_ONCE(ret == -EMSGSIZE, "calculated message payload length (%d) not sufficient\n", reply_len); in ethnl_default_doit()
654 int reply_len; in ethnl_default_notify() local
683 reply_len = ret + ethnl_reply_header_size(); in ethnl_default_notify()
684 skb = genlmsg_new(reply_len, GFP_KERNEL); in ethnl_default_notify()
708 reply_len); in ethnl_default_notify()
Dtunnels.c171 int reply_len; in ethnl_tunnel_info_doit() local
185 reply_len = ret + ethnl_reply_header_size(); in ethnl_tunnel_info_doit()
187 rskb = ethnl_reply_init(reply_len, req_info.dev, in ethnl_tunnel_info_doit()
/linux-6.6.21/drivers/net/usb/
Drndis_host.c229 void **reply, int *reply_len) in rndis_query() argument
262 if (*reply_len != -1 && len != *reply_len) in rndis_query()
266 *reply_len = len; in rndis_query()
307 int reply_len; in generic_rndis_bind() local
388 reply_len = sizeof *phym; in generic_rndis_bind()
391 reply_len, (void **)&phym, &reply_len); in generic_rndis_bind()
413 reply_len = ETH_ALEN; in generic_rndis_bind()
416 48, (void **) &bp, &reply_len); in generic_rndis_bind()
/linux-6.6.21/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-6.6.21/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-6.6.21/arch/powerpc/include/asm/
Dsmu.h397 int reply_len; /* reply len */ member
691 __u32 reply_len; /* Length of data follwing */ member
/linux-6.6.21/include/linux/
Dbsg-lib.h41 unsigned int reply_len; member
Dadb.h15 int reply_len; member
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_bsg.c953 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + in qla2x00_process_loopback()
1108 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla84xx_updatefw()
1289 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla84xx_mgmt_cmd()
1394 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + in qla24xx_iidma()
1605 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_update_fru_versions()
1655 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_read_fru_status()
1703 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_write_fru_status()
1749 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_write_i2c()
1798 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_read_i2c()
1976 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla24xx_process_bidir_cmd()
[all …]
/linux-6.6.21/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-6.6.21/drivers/net/wireless/silabs/wfx/
Dhif_tx.h37 void *reply, size_t reply_len, bool async);

123