/linux/include/linux/surface_aggregator/ |
A D | controller.h | 181 rqst->resp = resp; in ssam_request_sync_set_resp() 207 return rqst->status; in ssam_request_sync_wait() 366 rqst.length = 0; \ 367 rqst.payload = NULL; \ 449 rqst.length = 0; \ 450 rqst.payload = NULL; \ 465 rqst.command_id); \ 506 rqst.length = 0; \ 507 rqst.payload = NULL; \ 593 rqst.length = 0; \ [all …]
|
/linux/drivers/platform/surface/aggregator/ |
A D | ssh_request_layer.c | 180 rqst->ops->complete(rqst, NULL, NULL, status); in ssh_rtl_complete_with_status() 194 rqst->ops->complete(rqst, cmd, data, 0); in ssh_rtl_complete_with_rsp() 232 rqst = p; in ssh_rtl_tx_next() 237 return rqst; in ssh_rtl_tx_next() 247 if (IS_ERR(rqst)) in ssh_rtl_tx_try_process_one() 949 rqst->ops->release(rqst); in ssh_rtl_packet_release() 987 rqst->state = 0; in ssh_request_init() 992 rqst->ops = ops; in ssh_request_init() 1163 WARN_ON(rqst.status != 0 && rqst.status != -ECANCELED && in ssh_rtl_flush() 1164 rqst.status != -ESHUTDOWN && rqst.status != -EINTR); in ssh_rtl_flush() [all …]
|
A D | controller.c | 1566 *rqst = kzalloc(sizeof(**rqst) + msglen, flags); in ssam_request_sync_alloc() 1567 if (!*rqst) in ssam_request_sync_alloc() 1594 kfree(rqst); in ssam_request_sync_free() 1619 init_completion(&rqst->comp); in ssam_request_sync_init() 1620 rqst->resp = NULL; in ssam_request_sync_init() 1621 rqst->status = 0; in ssam_request_sync_init() 1670 ssh_request_put(&rqst->base); in ssam_request_sync_submit() 1720 ssam_request_sync_free(rqst); in ssam_request_sync() 1837 struct ssam_request rqst; in __ssam_ssh_event_request() local 1855 rqst.command_id = cid; in __ssam_ssh_event_request() [all …]
|
A D | ssh_msgb.h | 173 const struct ssam_request *rqst) in msgb_push_cmd() argument 182 msgb_push_frame(msgb, type, sizeof(struct ssh_command) + rqst->length, seq); in msgb_push_cmd() 191 __msgb_push_u8(msgb, rqst->target_category); /* Target category. */ in msgb_push_cmd() 192 __msgb_push_u8(msgb, rqst->target_id); /* Target ID (out). */ in msgb_push_cmd() 194 __msgb_push_u8(msgb, rqst->instance_id); /* Instance ID. */ in msgb_push_cmd() 196 __msgb_push_u8(msgb, rqst->command_id); /* Command ID. */ in msgb_push_cmd() 199 msgb_push_buf(msgb, rqst->payload, rqst->length); in msgb_push_cmd()
|
A D | ssh_request_layer.h | 121 static inline struct ssh_rtl *ssh_request_rtl(struct ssh_request *rqst) in ssh_request_rtl() argument 125 ptl = READ_ONCE(rqst->packet.ptl); in ssh_request_rtl() 129 int ssh_rtl_submit(struct ssh_rtl *rtl, struct ssh_request *rqst); 130 bool ssh_rtl_cancel(struct ssh_request *rqst, bool pending); 140 int ssh_request_init(struct ssh_request *rqst, enum ssam_request_flags flags,
|
/linux/net/sunrpc/xprtrdma/ |
A D | backchannel.c | 73 *p++ = rqst->rq_xid; in rpcrdma_bc_marshal_reply() 175 struct rpc_rqst *rqst; in rpcrdma_bc_rqst_get() local 181 if (!rqst) in rpcrdma_bc_rqst_get() 185 return rqst; in rpcrdma_bc_rqst_get() 205 rqst = &req->rl_slot; in rpcrdma_bc_rqst_get() 206 rqst->rq_xprt = xprt; in rpcrdma_bc_rqst_get() 209 return rqst; in rpcrdma_bc_rqst_get() 229 struct rpc_rqst *rqst; in rpcrdma_bc_receive_call() local 244 if (!rqst) in rpcrdma_bc_receive_call() 248 rqst->rq_xid = *p; in rpcrdma_bc_receive_call() [all …]
|
A D | rpc_rdma.c | 131 struct rpc_rqst *rqst) in rpcrdma_args_inline() argument 163 struct rpc_rqst *rqst) in rpcrdma_results_inline() argument 882 rqst); in rpcrdma_marshal_req() 889 *p++ = rqst->rq_xid; in rpcrdma_marshal_req() 1262 struct rpc_rqst *rqst) in rpcrdma_decode_msg() argument 1361 xprt_unpin_rqst(rqst); in rpcrdma_unpin_rqst() 1399 xprt_unpin_rqst(rqst); in rpcrdma_complete_rqst() 1432 struct rpc_rqst *rqst; in rpcrdma_reply_handler() local 1464 if (!rqst) in rpcrdma_reply_handler() 1466 xprt_pin_rqst(rqst); in rpcrdma_reply_handler() [all …]
|
A D | svc_rdma_backchannel.c | 76 struct rpc_rqst *rqst, in svc_rdma_bc_sendto() argument 112 struct rpc_rqst *rqst = task->tk_rqstp; in xprt_rdma_bc_allocate() local 113 size_t size = rqst->rq_callsize; in xprt_rdma_bc_allocate() 125 rqst->rq_buffer = page_address(page); in xprt_rdma_bc_allocate() 127 rqst->rq_rbuffer = kmalloc(rqst->rq_rcvsize, RPCRDMA_DEF_GFP); in xprt_rdma_bc_allocate() 128 if (!rqst->rq_rbuffer) { in xprt_rdma_bc_allocate() 138 struct rpc_rqst *rqst = task->tk_rqstp; in xprt_rdma_bc_free() local 141 kfree(rqst->rq_rbuffer); in xprt_rdma_bc_free() 147 struct rpc_xprt *xprt = rqst->rq_xprt; in rpcrdma_bc_send_request() 160 *p++ = rqst->rq_xid; in rpcrdma_bc_send_request() [all …]
|
A D | transport.c | 542 memset(rqst, 0, sizeof(*rqst)); in xprt_rdma_free_slot() 571 struct rpc_rqst *rqst = task->tk_rqstp; in xprt_rdma_allocate() local 604 struct rpc_rqst *rqst = task->tk_rqstp; in xprt_rdma_free() local 638 struct rpc_xprt *xprt = rqst->rq_xprt; in xprt_rdma_send_request() 644 if (unlikely(!rqst->rq_buffer)) in xprt_rdma_send_request() 645 return xprt_rdma_bc_send_reply(rqst); in xprt_rdma_send_request() 651 if (!xprt_request_get_cong(xprt, rqst)) in xprt_rdma_send_request() 654 rc = rpcrdma_marshal_req(r_xprt, rqst); in xprt_rdma_send_request() 661 rqst->rq_xtime = ktime_get(); in xprt_rdma_send_request() 666 rqst->rq_xmit_bytes_sent += rqst->rq_snd_buf.len; in xprt_rdma_send_request() [all …]
|
/linux/fs/cifs/ |
A D | smb2inode.c | 30 if (rqst[1].rq_iov) in free_set_inf_compound() 32 if (rqst[2].rq_iov) in free_set_inf_compound() 40 struct smb_rqst rqst[3]; member 62 struct smb_rqst *rqst; in smb2_compound_op() local 81 rqst = &vars->rqst[0]; in smb2_compound_op() 133 &rqst[num_rqst], in smb2_compound_op() 142 &rqst[num_rqst], in smb2_compound_op() 167 &rqst[num_rqst], in smb2_compound_op() 177 &rqst[num_rqst], in smb2_compound_op() 251 &rqst[num_rqst], in smb2_compound_op() [all …]
|
A D | transport.c | 267 rqst->rq_nvec >= 2 && rqst->rq_iov[0].iov_len == 4) { in smb_rqst_len() 271 iov = rqst->rq_iov; in smb_rqst_len() 272 nvec = rqst->rq_nvec; in smb_rqst_len() 285 if (rqst->rq_npages) { in smb_rqst_len() 293 buflen += rqst->rq_pagesz * (rqst->rq_npages - 1) - in smb_rqst_len() 294 rqst->rq_offset; in smb_rqst_len() 304 struct smb_rqst *rqst) in __smb_send_rqst() argument 368 iov = rqst[j].rq_iov; in __smb_send_rqst() 779 rqst->rq_iov[0].iov_base + 4 != rqst->rq_iov[1].iov_base) in cifs_setup_async_request() 993 rqst->rq_iov[0].iov_base + 4 != rqst->rq_iov[1].iov_base) in cifs_setup_request() [all …]
|
A D | smb2pdu.c | 920 rqst.rq_nvec = 1; in SMB2_negotiate() 1324 rqst.rq_nvec = 2; in SMB2_sess_sendreceive() 1329 &rqst, in SMB2_sess_sendreceive() 2889 if (rqst && rqst->rq_iov) { in SMB2_open_free() 3087 if (rqst && rqst->rq_iov) { in SMB2_ioctl_free() 3277 if (rqst && rqst->rq_iov) in SMB2_close_free() 3461 if (rqst && rqst->rq_iov) in SMB2_query_info_free() 3830 if (rqst && rqst->rq_iov) in SMB2_flush_free() 4537 &rqst, in SMB2_write() 4782 if (rqst && rqst->rq_iov) { in SMB2_query_directory_free() [all …]
|
A D | smb2proto.h | 37 struct smb_rqst *rqst); 44 extern int smb2_calc_signature(struct smb_rqst *rqst, 47 extern int smb3_calc_signature(struct smb_rqst *rqst, 117 struct smb_rqst *rqst); 119 struct smb_rqst *rqst); 141 struct smb_rqst *rqst, 151 struct smb_rqst *rqst, 167 struct smb_rqst *rqst, 185 struct smb_rqst *rqst, 210 struct smb_rqst *rqst, [all …]
|
A D | smb2ops.c | 802 memset(rqst, 0, sizeof(rqst)); in open_cached_dir() 1269 memset(rqst, 0, sizeof(rqst)); in smb2_set_ea() 1638 rqst = &vars->rqst[0]; in smb2_ioctl_query_info() 2345 memset(rqst, 0, sizeof(rqst)); in smb2_query_dir_first() 2601 rqst->rq_iov[rqst->rq_nvec].iov_base = smb2_padding; in smb2_set_next_command() 2602 rqst->rq_iov[rqst->rq_nvec].iov_len = num_padding; in smb2_set_next_command() 2618 rqst->rq_iov[0].iov_len += rqst->rq_iov[i].iov_len; in smb2_set_next_command() 2659 memset(rqst, 0, sizeof(rqst)); in smb2_query_info_compound() 3068 memset(rqst, 0, sizeof(rqst)); in smb2_query_symlink() 3246 memset(rqst, 0, sizeof(rqst)); in smb2_query_reparse_tag() [all …]
|
A D | cifsencrypt.c | 33 struct kvec *iov = rqst->rq_iov; in __cifs_calc_signature() 34 int n_vec = rqst->rq_nvec; in __cifs_calc_signature() 66 for (i = 0; i < rqst->rq_npages; i++) { in __cifs_calc_signature() 78 kunmap(rqst->rq_pages[i]); in __cifs_calc_signature() 82 kunmap(rqst->rq_pages[i]); in __cifs_calc_signature() 104 if (!rqst->rq_iov || !signature || !server) in cifs_calc_signature() 137 if (rqst->rq_iov[0].iov_len != 4 || in cifs_sign_rqst() 138 rqst->rq_iov[0].iov_base + 4 != rqst->rq_iov[1].iov_base) in cifs_sign_rqst() 172 struct smb_rqst rqst = { .rq_iov = iov, in cifs_sign_smbv() local 202 if (rqst->rq_iov[0].iov_len != 4 || in cifs_verify_signature() [all …]
|
A D | smb2transport.c | 214 struct kvec *iov = rqst->rq_iov; in smb2_calc_signature() 266 drqst = *rqst; in smb2_calc_signature() 535 struct kvec *iov = rqst->rq_iov; in smb3_calc_signature() 585 drqst = *rqst; in smb3_calc_signature() 645 (struct smb2_hdr *)rqst->rq_iov[0].iov_base; in smb2_verify_signature() 785 struct smb_rqst rqst = { .rq_iov = iov, in smb2_check_receive() local 796 rc = smb2_verify_signature(&rqst, server); in smb2_check_receive() 807 struct smb_rqst *rqst) in smb2_setup_request() argument 811 (struct smb2_hdr *)rqst->rq_iov[0].iov_base; in smb2_setup_request() 822 rc = smb2_sign_rqst(rqst, server); in smb2_setup_request() [all …]
|
/linux/drivers/hid/surface-hid/ |
A D | surface_hid.c | 46 struct ssam_request rqst; in ssam_hid_get_descriptor() local 60 rqst.target_id = shid->uid.target; in ssam_hid_get_descriptor() 65 rqst.payload = buffer; in ssam_hid_get_descriptor() 116 struct ssam_request rqst; in ssam_hid_set_raw_report() local 127 rqst.command_id = cid; in ssam_hid_set_raw_report() 128 rqst.flags = 0; in ssam_hid_set_raw_report() 129 rqst.length = len; in ssam_hid_set_raw_report() 130 rqst.payload = buf; in ssam_hid_set_raw_report() 139 struct ssam_request rqst; in ssam_hid_get_raw_report() local 147 rqst.length = sizeof(rprt_id); in ssam_hid_get_raw_report() [all …]
|
A D | surface_kbd.c | 36 struct ssam_request rqst; in ssam_kbd_get_descriptor() local 41 rqst.target_id = shid->uid.target; in ssam_kbd_get_descriptor() 45 rqst.length = sizeof(entry); in ssam_kbd_get_descriptor() 46 rqst.payload = &entry; in ssam_kbd_get_descriptor() 67 struct ssam_request rqst; in ssam_kbd_set_caps_led() local 74 rqst.flags = 0; in ssam_kbd_set_caps_led() 75 rqst.length = sizeof(value_u8); in ssam_kbd_set_caps_led() 76 rqst.payload = &value_u8; in ssam_kbd_set_caps_led() 83 struct ssam_request rqst; in ssam_kbd_get_feature_report() local 93 rqst.length = sizeof(payload); in ssam_kbd_get_feature_report() [all …]
|
/linux/include/trace/events/ |
A D | sunrpc.h | 660 if (xdr->rqst) { 1043 TP_ARGS(rqst, status), 1073 TP_ARGS(rqst), 1232 TP_ARGS(rqst), 1633 TP_ARGS(rqst, name), 1668 TP_ARGS(rqst), 1691 TP_ARGS(rqst)) 1774 TP_ARGS(xprt, rqst), 1783 __entry->pid = rqst? rqst->rq_task->pid : 0; 1852 TP_ARGS(rqst), [all …]
|
A D | rpcrdma.h | 599 const struct rpc_rqst *rqst 602 TP_ARGS(r_xprt, rqst), 628 TP_ARGS(r_xprt, rqst)) 862 TP_ARGS(rqst, ret), 889 TP_ARGS(rqst, ret), 1282 DEFINE_REPLY_EVENT(rqst); 1293 TP_ARGS(rqst, min, max), 1322 TP_ARGS(rqst), 1347 TP_ARGS(rqst, procedure), 1374 TP_ARGS(rqst, fixup), [all …]
|
/linux/drivers/nvme/host/ |
A D | fc.h | 42 acc->rqst.desc_tag = cpu_to_be32(FCNVME_LSDESC_RQST); in nvme_fc_format_rsp_hdr() 43 acc->rqst.desc_len = in nvme_fc_format_rsp_hdr() 45 acc->rqst.w0.ls_cmd = rqst_ls_cmd; in nvme_fc_format_rsp_hdr() 194 struct fcnvme_ls_disconnect_assoc_rqst *rqst) in nvmefc_vldt_lsreq_discon_assoc() argument 200 else if (rqst->desc_list_len != in nvmefc_vldt_lsreq_discon_assoc() 204 else if (rqst->associd.desc_tag != cpu_to_be32(FCNVME_LSDESC_ASSOC_ID)) in nvmefc_vldt_lsreq_discon_assoc() 206 else if (rqst->associd.desc_len != in nvmefc_vldt_lsreq_discon_assoc() 210 else if (rqst->discon_cmd.desc_tag != in nvmefc_vldt_lsreq_discon_assoc() 213 else if (rqst->discon_cmd.desc_len != in nvmefc_vldt_lsreq_discon_assoc() 221 else if (rqst->discon_cmd.rsvd8[0]) in nvmefc_vldt_lsreq_discon_assoc()
|
/linux/include/linux/sunrpc/ |
A D | svc.h | 311 #define SVC_NET(rqst) (rqst->rq_xprt ? rqst->rq_xprt->xpt_net : rqst->rq_bc_net) argument 316 static inline struct sockaddr_in *svc_addr_in(const struct svc_rqst *rqst) in svc_addr_in() argument 318 return (struct sockaddr_in *) &rqst->rq_addr; in svc_addr_in() 323 return (struct sockaddr_in6 *) &rqst->rq_addr; in svc_addr_in6() 326 static inline struct sockaddr *svc_addr(const struct svc_rqst *rqst) in svc_addr() argument 328 return (struct sockaddr *) &rqst->rq_addr; in svc_addr() 333 return (struct sockaddr_in *) &rqst->rq_daddr; in svc_daddr_in() 338 return (struct sockaddr_in6 *) &rqst->rq_daddr; in svc_daddr_in6() 341 static inline struct sockaddr *svc_daddr(const struct svc_rqst *rqst) in svc_daddr() argument 343 return (struct sockaddr *) &rqst->rq_daddr; in svc_daddr() [all …]
|
/linux/drivers/platform/surface/ |
A D | surface_acpi_notify.c | 530 struct ssam_request *rqst, in san_rqst_fixup_suspended() argument 533 if (rqst->target_category == SSAM_SSH_TC_BAS && rqst->command_id == 0x0D) { in san_rqst_fixup_suspended() 565 struct ssam_request rqst; in san_rqst() local 573 rqst.target_category = gsb_rqst->tc; in san_rqst() 574 rqst.target_id = gsb_rqst->tid; in san_rqst() 575 rqst.command_id = gsb_rqst->cid; in san_rqst() 576 rqst.instance_id = gsb_rqst->iid; in san_rqst() 578 rqst.length = get_unaligned(&gsb_rqst->cdl); in san_rqst() 579 rqst.payload = &gsb_rqst->pld[0]; in san_rqst() 588 return san_rqst_fixup_suspended(d, &rqst, buffer); in san_rqst() [all …]
|
A D | surface_aggregator_cdev.c | 257 struct ssam_cdev_request rqst; in ssam_cdev_request() local 266 ret = copy_struct_from_user(&rqst, sizeof(rqst), r, sizeof(*r)); in ssam_cdev_request() 270 plddata = u64_to_user_ptr(rqst.payload.data); in ssam_cdev_request() 271 rspdata = u64_to_user_ptr(rqst.response.data); in ssam_cdev_request() 274 spec.target_category = rqst.target_category; in ssam_cdev_request() 275 spec.target_id = rqst.target_id; in ssam_cdev_request() 276 spec.command_id = rqst.command_id; in ssam_cdev_request() 277 spec.instance_id = rqst.instance_id; in ssam_cdev_request() 279 spec.length = rqst.payload.length; in ssam_cdev_request() 285 if (rqst.flags & SSAM_CDEV_REQUEST_UNSEQUENCED) in ssam_cdev_request() [all …]
|
/linux/drivers/nvme/target/ |
A D | fc.c | 1668 else if (rqst->assoc_cmd.desc_tag != in nvmet_fc_ls_create_association() 1674 else if (!rqst->assoc_cmd.ersp_ratio || in nvmet_fc_ls_create_association() 1698 sizeof(*acc), rqst->w0.ls_cmd, in nvmet_fc_ls_create_association() 1746 else if (rqst->desc_list_len != in nvmet_fc_ls_create_connection() 1752 else if (rqst->associd.desc_len != in nvmet_fc_ls_create_connection() 1756 else if (rqst->connect_cmd.desc_tag != in nvmet_fc_ls_create_connection() 1759 else if (rqst->connect_cmd.desc_len != in nvmet_fc_ls_create_connection() 1776 be16_to_cpu(rqst->connect_cmd.qid), in nvmet_fc_ls_create_connection() 1791 sizeof(*acc), rqst->w0.ls_cmd, in nvmet_fc_ls_create_connection() 1853 sizeof(*acc), rqst->w0.ls_cmd, in nvmet_fc_ls_disconnect() [all …]
|