/Linux-v5.15/kernel/rcu/ |
D | sync.c | 21 void rcu_sync_init(struct rcu_sync *rsp) in rcu_sync_init() argument 23 memset(rsp, 0, sizeof(*rsp)); in rcu_sync_init() 24 init_waitqueue_head(&rsp->gp_wait); in rcu_sync_init() 36 void rcu_sync_enter_start(struct rcu_sync *rsp) in rcu_sync_enter_start() argument 38 rsp->gp_count++; in rcu_sync_enter_start() 39 rsp->gp_state = GP_PASSED; in rcu_sync_enter_start() 45 static void rcu_sync_call(struct rcu_sync *rsp) in rcu_sync_call() argument 47 call_rcu(&rsp->cb_head, rcu_sync_func); in rcu_sync_call() 75 struct rcu_sync *rsp = container_of(rhp, struct rcu_sync, cb_head); in rcu_sync_func() local 78 WARN_ON_ONCE(READ_ONCE(rsp->gp_state) == GP_IDLE); in rcu_sync_func() [all …]
|
/Linux-v5.15/net/ncsi/ |
D | ncsi-rsp.c | 33 h = (struct ncsi_rsp_pkt_hdr *)skb_network_header(nr->rsp); in ncsi_validate_rsp_pkt() 78 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_cis() local 84 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_cis() 85 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, &np, &nc); in ncsi_rsp_handler_cis() 90 id = NCSI_CHANNEL_INDEX(rsp->rsp.common.channel); in ncsi_rsp_handler_cis() 99 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_sp() local 107 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_sp() 108 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_sp() 114 id = NCSI_PACKAGE_INDEX(rsp->rsp.common.channel); in ncsi_rsp_handler_sp() 125 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_dp() local [all …]
|
/Linux-v5.15/arch/x86/kernel/ |
D | ftrace_64.S | 68 pushq \added+8*2(%rsp) 70 movq %rsp, %rbp 72 pushq \added+8*3(%rsp) 74 movq %rsp, %rbp 80 subq $(FRAME_SIZE), %rsp 81 movq %rax, RAX(%rsp) 82 movq %rcx, RCX(%rsp) 83 movq %rdx, RDX(%rsp) 84 movq %rsi, RSI(%rsp) 85 movq %rdi, RDI(%rsp) [all …]
|
/Linux-v5.15/arch/x86/entry/ |
D | entry_64.S | 92 movq %rsp, PER_CPU_VAR(cpu_tss_rw + TSS_sp2) 93 SWITCH_TO_KERNEL_CR3 scratch_reg=%rsp 94 movq PER_CPU_VAR(cpu_current_top_of_stack), %rsp 110 movq %rsp, %rdi 125 movq RCX(%rsp), %rcx 126 movq RIP(%rsp), %r11 154 cmpq $__USER_CS, CS(%rsp) /* CS must match SYSRET */ 157 movq R11(%rsp), %r11 158 cmpq %r11, EFLAGS(%rsp) /* R11 == RFLAGS */ 184 cmpq $__USER_DS, SS(%rsp) /* SS must match SYSRET */ [all …]
|
D | entry_64_compat.S | 58 movq PER_CPU_VAR(cpu_current_top_of_stack), %rsp 134 testl $X86_EFLAGS_NT|X86_EFLAGS_AC|X86_EFLAGS_TF, EFLAGS(%rsp) 138 movq %rsp, %rdi 208 SWITCH_TO_KERNEL_CR3 scratch_reg=%rsp 211 movq PER_CPU_VAR(cpu_current_top_of_stack), %rsp 255 movq %rsp, %rdi 269 movq RBX(%rsp), %rbx /* pt_regs->rbx */ 270 movq RBP(%rsp), %rbp /* pt_regs->rbp */ 271 movq EFLAGS(%rsp), %r11 /* pt_regs->flags (in r11) */ 272 movq RIP(%rsp), %rcx /* pt_regs->ip (in rcx) */ [all …]
|
/Linux-v5.15/net/bluetooth/ |
D | a2mp.c | 135 struct a2mp_discov_rsp *rsp; in a2mp_discover_req() local 170 len = struct_size(rsp, cl, num_ctrl); in a2mp_discover_req() 171 rsp = kmalloc(len, GFP_ATOMIC); in a2mp_discover_req() 172 if (!rsp) { in a2mp_discover_req() 177 rsp->mtu = cpu_to_le16(L2CAP_A2MP_DEFAULT_MTU); in a2mp_discover_req() 178 rsp->ext_feat = 0; in a2mp_discover_req() 180 __a2mp_add_cl(mgr, rsp->cl); in a2mp_discover_req() 184 a2mp_send(mgr, A2MP_DISCOVER_RSP, hdr->ident, len, rsp); in a2mp_discover_req() 186 kfree(rsp); in a2mp_discover_req() 193 struct a2mp_discov_rsp *rsp = (void *) skb->data; in a2mp_discover_rsp() local [all …]
|
/Linux-v5.15/drivers/nvme/target/ |
D | rdma.c | 163 static bool nvmet_rdma_execute_command(struct nvmet_rdma_rsp *rsp); 193 static inline bool nvmet_rdma_need_data_in(struct nvmet_rdma_rsp *rsp) in nvmet_rdma_need_data_in() argument 195 return nvme_is_write(rsp->req.cmd) && in nvmet_rdma_need_data_in() 196 rsp->req.transfer_len && in nvmet_rdma_need_data_in() 197 !(rsp->flags & NVMET_RDMA_REQ_INLINE_DATA); in nvmet_rdma_need_data_in() 200 static inline bool nvmet_rdma_need_data_out(struct nvmet_rdma_rsp *rsp) in nvmet_rdma_need_data_out() argument 202 return !nvme_is_write(rsp->req.cmd) && in nvmet_rdma_need_data_out() 203 rsp->req.transfer_len && in nvmet_rdma_need_data_out() 204 !rsp->req.cqe->status && in nvmet_rdma_need_data_out() 205 !(rsp->flags & NVMET_RDMA_REQ_INLINE_DATA); in nvmet_rdma_need_data_out() [all …]
|
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_cpt.c | 22 #define cpt_get_eng_sts(e_min, e_max, rsp, etype) \ argument 25 typeof(rsp) _rsp = rsp; \ 99 struct msg_rsp *rsp) in rvu_mbox_handler_cpt_lf_alloc() argument 186 struct msg_rsp *rsp) in rvu_mbox_handler_cpt_lf_free() argument 261 struct cpt_rd_wr_reg_msg *rsp) in rvu_mbox_handler_cpt_rd_wr_register() argument 274 rsp->reg_offset = req->reg_offset; in rvu_mbox_handler_cpt_rd_wr_register() 275 rsp->ret_val = req->ret_val; in rvu_mbox_handler_cpt_rd_wr_register() 276 rsp->is_write = req->is_write; in rvu_mbox_handler_cpt_rd_wr_register() 284 rsp->val = rvu_read64(rvu, blkaddr, req->reg_offset); in rvu_mbox_handler_cpt_rd_wr_register() 289 static void get_ctx_pc(struct rvu *rvu, struct cpt_sts_rsp *rsp, int blkaddr) in get_ctx_pc() argument [all …]
|
D | rvu_cgx.c | 483 struct msg_rsp *rsp) in rvu_mbox_handler_cgx_start_rxtx() argument 490 struct msg_rsp *rsp) in rvu_mbox_handler_cgx_stop_rxtx() argument 497 void *rsp) in rvu_lmac_get_stats() argument 519 ((struct rpm_stats_rsp *)rsp)->rx_stats[stat] = rx_stat; in rvu_lmac_get_stats() 521 ((struct cgx_stats_rsp *)rsp)->rx_stats[stat] = rx_stat; in rvu_lmac_get_stats() 532 ((struct rpm_stats_rsp *)rsp)->tx_stats[stat] = tx_stat; in rvu_lmac_get_stats() 534 ((struct cgx_stats_rsp *)rsp)->tx_stats[stat] = tx_stat; in rvu_lmac_get_stats() 541 struct cgx_stats_rsp *rsp) in rvu_mbox_handler_cgx_stats() argument 543 return rvu_lmac_get_stats(rvu, req, (void *)rsp); in rvu_mbox_handler_cgx_stats() 547 struct rpm_stats_rsp *rsp) in rvu_mbox_handler_rpm_stats() argument [all …]
|
/Linux-v5.15/fs/ksmbd/ |
D | smb2pdu.c | 41 static void __wbuf(struct ksmbd_work *work, void **req, void **rsp) in __wbuf() argument 45 *rsp = ksmbd_resp_buf_next(work); in __wbuf() 48 *rsp = work->response_buf; in __wbuf() 234 struct smb2_negotiate_rsp *rsp; in init_smb2_neg_rsp() local 259 rsp = work->response_buf; in init_smb2_neg_rsp() 263 rsp->StructureSize = cpu_to_le16(65); in init_smb2_neg_rsp() 265 rsp->DialectRevision = cpu_to_le16(conn->dialect); in init_smb2_neg_rsp() 269 rsp->Capabilities = cpu_to_le32(conn->vals->capabilities); in init_smb2_neg_rsp() 271 rsp->MaxTransactSize = cpu_to_le32(conn->vals->max_trans_size); in init_smb2_neg_rsp() 272 rsp->MaxReadSize = cpu_to_le32(conn->vals->max_read_size); in init_smb2_neg_rsp() [all …]
|
/Linux-v5.15/drivers/media/usb/as102/ |
D | as10x_cmd.c | 24 prsp = adap->rsp; in as10x_cmd_turn_on() 39 sizeof(prsp->body.turn_on.rsp) + in as10x_cmd_turn_on() 65 prsp = adap->rsp; in as10x_cmd_turn_off() 80 sizeof(prsp->body.turn_off.rsp) + HEADER_SIZE); in as10x_cmd_turn_off() 107 prsp = adap->rsp; in as10x_cmd_set_tune() 134 sizeof(prsp->body.set_tune.rsp) in as10x_cmd_set_tune() 162 prsp = adap->rsp; in as10x_cmd_get_tune_status() 179 sizeof(prsp->body.get_tune_status.rsp) + HEADER_SIZE); in as10x_cmd_get_tune_status() 191 pstatus->tune_state = prsp->body.get_tune_status.rsp.sts.tune_state; in as10x_cmd_get_tune_status() 193 le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.signal_strength); in as10x_cmd_get_tune_status() [all …]
|
D | as10x_cmd.h | 94 } __packed rsp; member 109 } __packed rsp; member 126 } __packed rsp; member 143 } __packed rsp; member 160 } __packed rsp; member 175 } __packed rsp; member 198 } __packed rsp; member 215 } __packed rsp; member 230 } __packed rsp; member 245 } __packed rsp; member [all …]
|
/Linux-v5.15/drivers/nfc/s3fwrn5/ |
D | firmware.c | 25 struct sk_buff *msg, struct sk_buff **rsp) in s3fwrn5_fw_send_msg() argument 44 if (!fw_info->rsp) in s3fwrn5_fw_send_msg() 47 *rsp = fw_info->rsp; in s3fwrn5_fw_send_msg() 48 fw_info->rsp = NULL; in s3fwrn5_fw_send_msg() 80 struct sk_buff *msg, *rsp = NULL; in s3fwrn5_fw_get_bootinfo() local 91 ret = s3fwrn5_fw_send_msg(fw_info, msg, &rsp); in s3fwrn5_fw_get_bootinfo() 96 hdr = (struct s3fwrn5_fw_header *) rsp->data; in s3fwrn5_fw_get_bootinfo() 102 memcpy(bootinfo, rsp->data + S3FWRN5_FW_HDR_SIZE, 10); in s3fwrn5_fw_get_bootinfo() 105 kfree_skb(rsp); in s3fwrn5_fw_get_bootinfo() 114 struct sk_buff *msg, *rsp = NULL; in s3fwrn5_fw_enter_update_mode() local [all …]
|
/Linux-v5.15/arch/x86/platform/efi/ |
D | efi_thunk_64.S | 35 movq %rsp, %rax 36 movq efi_mixed_mode_stack_pa(%rip), %rsp 50 subq $28, %rsp 51 movl %ebx, 0x0(%rsp) /* return address */ 52 movl %esi, 0x4(%rsp) 53 movl %edx, 0x8(%rsp) 54 movl %ecx, 0xc(%rsp) 55 movl %r8d, 0x10(%rsp) 56 movl %r9d, 0x14(%rsp) 63 1: movq 24(%rsp), %rsp
|
/Linux-v5.15/drivers/net/wireless/ath/wcn36xx/ |
D | testmode.c | 48 struct ftm_rsp_msg *msg, *rsp = NULL; in wcn36xx_tm_cmd_ptt() local 77 rsp = msg; in wcn36xx_tm_cmd_ptt() 78 rsp->resp_status = 0; in wcn36xx_tm_cmd_ptt() 85 msg->msg_body_length, (void *)(&rsp)); in wcn36xx_tm_cmd_ptt() 90 if (rsp) in wcn36xx_tm_cmd_ptt() 93 rsp->msg_body_length); in wcn36xx_tm_cmd_ptt() 96 if (!rsp) { in wcn36xx_tm_cmd_ptt() 97 rsp = msg; in wcn36xx_tm_cmd_ptt() 99 rsp->resp_status); in wcn36xx_tm_cmd_ptt() 102 rsp, rsp->msg_body_length); in wcn36xx_tm_cmd_ptt() [all …]
|
/Linux-v5.15/arch/x86/crypto/ |
D | chacha-ssse3-x86_64.S | 180 lea 8(%rsp),%r10 181 sub $0x10,%rsp 182 and $~31,%rsp 185 mov %rsp,%rdi 189 pxor 0x00(%rsp),%xmm0 190 movdqa %xmm0,0x00(%rsp) 192 mov %rsp,%rsi 197 lea -8(%r10),%rsp 240 lea 8(%rsp),%r10 241 sub $0x80,%rsp [all …]
|
D | chacha-avx2-x86_64.S | 207 lea 8(%rsp),%r10 208 sub $0x10,%rsp 209 and $~31,%rsp 212 mov %rsp,%rdi 216 vpxor 0x00(%rsp),%xmm7,%xmm7 217 vmovdqa %xmm7,0x00(%rsp) 219 mov %rsp,%rsi 224 lea -8(%r10),%rsp 512 lea 8(%rsp),%r10 513 sub $0x10,%rsp [all …]
|
/Linux-v5.15/drivers/scsi/qla2xxx/ |
D | qla_mid.c | 271 qla2x00_alert_all_vps(struct rsp_que *rsp, uint16_t *mb) in qla2x00_alert_all_vps() argument 274 struct qla_hw_data *ha = rsp->hw; in qla2x00_alert_all_vps() 297 qla2x00_async_event(vha, rsp, mb); in qla2x00_alert_all_vps() 305 qla2x00_async_event(vha, rsp, mb); in qla2x00_alert_all_vps() 598 qla25xx_free_rsp_que(struct scsi_qla_host *vha, struct rsp_que *rsp) in qla25xx_free_rsp_que() argument 601 uint16_t que_id = rsp->id; in qla25xx_free_rsp_que() 603 if (rsp->msix && rsp->msix->have_irq) { in qla25xx_free_rsp_que() 604 free_irq(rsp->msix->vector, rsp->msix->handle); in qla25xx_free_rsp_que() 605 rsp->msix->have_irq = 0; in qla25xx_free_rsp_que() 606 rsp->msix->in_use = 0; in qla25xx_free_rsp_que() [all …]
|
/Linux-v5.15/drivers/crypto/marvell/octeontx2/ |
D | otx2_cptpf_mbox.c | 48 struct otx2_cpt_caps_rsp *rsp; in handle_msg_get_caps() local 50 rsp = (struct otx2_cpt_caps_rsp *) in handle_msg_get_caps() 52 sizeof(*rsp)); in handle_msg_get_caps() 53 if (!rsp) in handle_msg_get_caps() 56 rsp->hdr.id = MBOX_MSG_GET_CAPS; in handle_msg_get_caps() 57 rsp->hdr.sig = OTX2_MBOX_RSP_SIG; in handle_msg_get_caps() 58 rsp->hdr.pcifunc = req->pcifunc; in handle_msg_get_caps() 59 rsp->cpt_pf_drv_version = OTX2_CPT_PF_DRV_VERSION; in handle_msg_get_caps() 60 rsp->cpt_revision = cptpf->pdev->revision; in handle_msg_get_caps() 61 memcpy(&rsp->eng_caps, &cptpf->eng_caps, sizeof(rsp->eng_caps)); in handle_msg_get_caps() [all …]
|
/Linux-v5.15/net/nfc/nci/ |
D | rsp.c | 31 const struct nci_core_reset_rsp *rsp = (void *)skb->data; in nci_core_reset_rsp_packet() local 33 pr_debug("status 0x%x\n", rsp->status); in nci_core_reset_rsp_packet() 37 if (rsp->status == NCI_STATUS_OK) { in nci_core_reset_rsp_packet() 38 ndev->nci_ver = rsp->nci_ver; in nci_core_reset_rsp_packet() 40 rsp->nci_ver, rsp->config_status); in nci_core_reset_rsp_packet() 43 nci_req_complete(ndev, rsp->status); in nci_core_reset_rsp_packet() 89 const struct nci_core_init_rsp_nci_ver2 *rsp = (void *)skb->data; in nci_core_init_rsp_packet_v2() local 90 const u8 *supported_rf_interface = rsp->supported_rf_interfaces; in nci_core_init_rsp_packet_v2() 94 pr_debug("status %x\n", rsp->status); in nci_core_init_rsp_packet_v2() 96 if (rsp->status != NCI_STATUS_OK) in nci_core_init_rsp_packet_v2() [all …]
|
/Linux-v5.15/drivers/power/supply/ |
D | cros_peripheral_charger.c | 90 struct ec_response_get_cmd_versions rsp; in cros_pchg_cmd_ver_check() local 95 &req, sizeof(req), &rsp, sizeof(rsp)); in cros_pchg_cmd_ver_check() 103 return !!(rsp.version_mask & BIT(pchg_cmd_version)); in cros_pchg_cmd_ver_check() 108 struct ec_response_pchg_count rsp; in cros_pchg_port_count() local 112 NULL, 0, &rsp, sizeof(rsp)); in cros_pchg_port_count() 119 return rsp.port_count; in cros_pchg_port_count() 126 struct ec_response_pchg rsp; in cros_pchg_get_status() local 134 &req, sizeof(req), &rsp, sizeof(rsp)); in cros_pchg_get_status() 141 switch (rsp.state) { in cros_pchg_get_status() 163 port->battery_percentage = rsp.battery_percentage; in cros_pchg_get_status() [all …]
|
/Linux-v5.15/drivers/xen/ |
D | pvcalls-back.c | 264 struct xen_pvcalls_response *rsp; in pvcalls_back_socket() local 278 rsp = RING_GET_RESPONSE(&fedata->ring, fedata->ring.rsp_prod_pvt++); in pvcalls_back_socket() 279 rsp->req_id = req->req_id; in pvcalls_back_socket() 280 rsp->cmd = req->cmd; in pvcalls_back_socket() 281 rsp->u.socket.id = req->u.socket.id; in pvcalls_back_socket() 282 rsp->ret = ret; in pvcalls_back_socket() 393 struct xen_pvcalls_response *rsp; in pvcalls_back_connect() local 423 rsp = RING_GET_RESPONSE(&fedata->ring, fedata->ring.rsp_prod_pvt++); in pvcalls_back_connect() 424 rsp->req_id = req->req_id; in pvcalls_back_connect() 425 rsp->cmd = req->cmd; in pvcalls_back_connect() [all …]
|
/Linux-v5.15/tools/testing/selftests/tpm2/ |
D | tpm2.py | 383 rsp = self.tpm.read() 392 sys.stderr.write(hex_dump(rsp) + os.linesep) 394 rc = struct.unpack('>I', rsp[6:10])[0] 399 return rsp 416 rsp = self.send_cmd(cmd) 418 pcr_update_cnt, pcr_select_cnt = struct.unpack('>II', rsp[10:18]) 420 rsp = rsp[18:] 422 alg2, pcrsel_len2 = struct.unpack('>HB', rsp[:3]) 424 rsp = rsp[3 + pcrsel_len:] 426 digest_cnt = struct.unpack('>I', rsp[:4])[0] [all …]
|
/Linux-v5.15/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_hw.c | 437 struct ocrdma_create_eq_rsp *rsp = dev->mbx_cmd; in ocrdma_mbx_create_eq() local 453 eq->q.id = rsp->vector_eqid & 0xffff; in ocrdma_mbx_create_eq() 454 eq->vector = (rsp->vector_eqid >> 16) & 0xffff; in ocrdma_mbx_create_eq() 528 struct ocrdma_create_cq_cmd_rsp *rsp = dev->mbx_cmd; in ocrdma_mbx_mq_cq_create() local 549 cq->id = (u16) (rsp->cq_id & OCRDMA_CREATE_CQ_RSP_CQ_ID_MASK); in ocrdma_mbx_mq_cq_create() 570 struct ocrdma_create_mq_rsp *rsp = dev->mbx_cmd; in ocrdma_mbx_create_mq() local 598 mq->id = rsp->id; in ocrdma_mbx_create_mq() 1077 struct ocrdma_mbx_rsp *rsp = NULL; in ocrdma_mbx_cmd() local 1092 rsp = &mqe->u.rsp; in ocrdma_mbx_cmd() 1097 if (rsp) { in ocrdma_mbx_cmd() [all …]
|
/Linux-v5.15/include/linux/surface_aggregator/ |
D | controller.h | 212 struct ssam_response *rsp); 216 struct ssam_response *rsp, 238 #define ssam_request_sync_onstack(ctrl, rqst, rsp, payload_len) \ argument 243 ssam_request_sync_with_buffer(ctrl, rqst, rsp, &__buf); \ 441 struct ssam_response rsp; \ 452 rsp.capacity = sizeof(rtype); \ 453 rsp.length = 0; \ 454 rsp.pointer = (u8 *)ret; \ 456 status = ssam_request_sync_onstack(ctrl, &rqst, &rsp, 0); \ 460 if (rsp.length != sizeof(rtype)) { \ [all …]
|