Home
last modified time | relevance | path

Searched refs:rsp (Results 1 – 25 of 434) sorted by relevance

12345678910>>...18

/linux-6.6.21/kernel/rcu/
Dsync.c21 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_hurry(&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-6.6.21/arch/x86/kernel/
Dftrace_64.S70 pushq \added+8*2(%rsp)
72 movq %rsp, %rbp
74 pushq \added+8*3(%rsp)
76 movq %rsp, %rbp
82 subq $(FRAME_SIZE), %rsp
83 movq %rax, RAX(%rsp)
84 movq %rcx, RCX(%rsp)
85 movq %rdx, RDX(%rsp)
86 movq %rsi, RSI(%rsp)
87 movq %rdi, RDI(%rsp)
[all …]
/linux-6.6.21/net/ncsi/
Dncsi-rsp.c46 h = (struct ncsi_rsp_pkt_hdr *)skb_network_header(nr->rsp); in ncsi_validate_rsp_pkt()
91 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_cis() local
97 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_cis()
98 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, &np, &nc); in ncsi_rsp_handler_cis()
103 id = NCSI_CHANNEL_INDEX(rsp->rsp.common.channel); in ncsi_rsp_handler_cis()
112 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_sp() local
120 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_sp()
121 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_sp()
127 id = NCSI_PACKAGE_INDEX(rsp->rsp.common.channel); in ncsi_rsp_handler_sp()
138 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_dp() local
[all …]
/linux-6.6.21/arch/x86/entry/
Dentry_64.S93 movq %rsp, PER_CPU_VAR(cpu_tss_rw + TSS_sp2)
94 SWITCH_TO_KERNEL_CR3 scratch_reg=%rsp
95 movq PER_CPU_VAR(pcpu_hot + X86_top_of_stack), %rsp
112 movq %rsp, %rdi
132 movq RCX(%rsp), %rcx
133 movq RIP(%rsp), %r11
161 cmpq $__USER_CS, CS(%rsp) /* CS must match SYSRET */
164 movq R11(%rsp), %r11
165 cmpq %r11, EFLAGS(%rsp) /* R11 == RFLAGS */
191 cmpq $__USER_DS, SS(%rsp) /* SS must match SYSRET */
[all …]
Dentry_64_compat.S61 movq PER_CPU_VAR(pcpu_hot + X86_top_of_stack), %rsp
115 testl $X86_EFLAGS_NT|X86_EFLAGS_AC|X86_EFLAGS_TF, EFLAGS(%rsp)
119 movq %rsp, %rdi
190 SWITCH_TO_KERNEL_CR3 scratch_reg=%rsp
193 movq PER_CPU_VAR(pcpu_hot + X86_top_of_stack), %rsp
213 movq %rsp, %rdi
229 movq RBX(%rsp), %rbx /* pt_regs->rbx */
230 movq RBP(%rsp), %rbp /* pt_regs->rbp */
231 movq EFLAGS(%rsp), %r11 /* pt_regs->flags (in r11) */
232 movq RIP(%rsp), %rcx /* pt_regs->ip (in rcx) */
[all …]
/linux-6.6.21/net/bluetooth/
Da2mp.c135 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-6.6.21/tools/net/ynl/generated/
Ddevlink-user.c430 void devlink_get_rsp_free(struct devlink_get_rsp *rsp) in devlink_get_rsp_free() argument
432 free(rsp->bus_name); in devlink_get_rsp_free()
433 free(rsp->dev_name); in devlink_get_rsp_free()
434 devlink_dl_dev_stats_free(&rsp->dev_stats); in devlink_get_rsp_free()
435 free(rsp); in devlink_get_rsp_free()
502 struct devlink_get_rsp *rsp; in devlink_get() local
515 rsp = calloc(1, sizeof(*rsp)); in devlink_get()
516 yrs.yarg.data = rsp; in devlink_get()
524 return rsp; in devlink_get()
527 devlink_get_rsp_free(rsp); in devlink_get()
[all …]
Dethtool-user.c1556 void ethtool_strset_get_rsp_free(struct ethtool_strset_get_rsp *rsp) in ethtool_strset_get_rsp_free() argument
1558 ethtool_header_free(&rsp->header); in ethtool_strset_get_rsp_free()
1559 ethtool_stringsets_free(&rsp->stringsets); in ethtool_strset_get_rsp_free()
1560 free(rsp); in ethtool_strset_get_rsp_free()
1604 struct ethtool_strset_get_rsp *rsp; in ethtool_strset_get() local
1619 rsp = calloc(1, sizeof(*rsp)); in ethtool_strset_get()
1620 yrs.yarg.data = rsp; in ethtool_strset_get()
1628 return rsp; in ethtool_strset_get()
1631 ethtool_strset_get_rsp_free(rsp); in ethtool_strset_get()
1636 void ethtool_strset_get_list_free(struct ethtool_strset_get_list *rsp) in ethtool_strset_get_list_free() argument
[all …]
Dnetdev-user.c69 void netdev_dev_get_rsp_free(struct netdev_dev_get_rsp *rsp) in netdev_dev_get_rsp_free() argument
71 free(rsp); in netdev_dev_get_rsp_free()
110 struct netdev_dev_get_rsp *rsp; in netdev_dev_get() local
121 rsp = calloc(1, sizeof(*rsp)); in netdev_dev_get()
122 yrs.yarg.data = rsp; in netdev_dev_get()
130 return rsp; in netdev_dev_get()
133 netdev_dev_get_rsp_free(rsp); in netdev_dev_get()
138 void netdev_dev_get_list_free(struct netdev_dev_get_list *rsp) in netdev_dev_get_list_free() argument
140 struct netdev_dev_get_list *next = rsp; in netdev_dev_get_list_free()
143 rsp = next; in netdev_dev_get_list_free()
[all …]
/linux-6.6.21/drivers/nvme/target/
Drdma.c164 static bool nvmet_rdma_execute_command(struct nvmet_rdma_rsp *rsp);
194 static inline bool nvmet_rdma_need_data_in(struct nvmet_rdma_rsp *rsp) in nvmet_rdma_need_data_in() argument
196 return nvme_is_write(rsp->req.cmd) && in nvmet_rdma_need_data_in()
197 rsp->req.transfer_len && in nvmet_rdma_need_data_in()
198 !(rsp->flags & NVMET_RDMA_REQ_INLINE_DATA); in nvmet_rdma_need_data_in()
201 static inline bool nvmet_rdma_need_data_out(struct nvmet_rdma_rsp *rsp) in nvmet_rdma_need_data_out() argument
203 return !nvme_is_write(rsp->req.cmd) && in nvmet_rdma_need_data_out()
204 rsp->req.transfer_len && in nvmet_rdma_need_data_out()
205 !rsp->req.cqe->status && in nvmet_rdma_need_data_out()
206 !(rsp->flags & NVMET_RDMA_REQ_INLINE_DATA); in nvmet_rdma_need_data_out()
[all …]
/linux-6.6.21/fs/smb/server/
Dsmb2pdu.c42 static void __wbuf(struct ksmbd_work *work, void **req, void **rsp) in __wbuf() argument
46 *rsp = ksmbd_resp_buf_next(work); in __wbuf()
49 *rsp = smb2_get_msg(work->response_buf); in __wbuf()
253 struct smb2_negotiate_rsp *rsp; in init_smb2_neg_rsp() local
271 rsp = smb2_get_msg(work->response_buf); in init_smb2_neg_rsp()
275 rsp->StructureSize = cpu_to_le16(65); in init_smb2_neg_rsp()
277 rsp->DialectRevision = cpu_to_le16(conn->dialect); in init_smb2_neg_rsp()
281 rsp->Capabilities = cpu_to_le32(conn->vals->capabilities); in init_smb2_neg_rsp()
283 rsp->MaxTransactSize = cpu_to_le32(conn->vals->max_trans_size); in init_smb2_neg_rsp()
284 rsp->MaxReadSize = cpu_to_le32(conn->vals->max_read_size); in init_smb2_neg_rsp()
[all …]
/linux-6.6.21/arch/x86/platform/efi/
Defi_thunk_64.S37 movq %rsp, %rax
38 movq efi_mixed_mode_stack_pa(%rip), %rsp
44 subq $0x24, %rsp
48 movl %ebp, 0x18(%rsp)
49 movl %ebx, 0x1c(%rsp)
50 movl %eax, 0x20(%rsp)
63 movl %ebx, 0x0(%rsp) /* return address */
64 movl %esi, 0x4(%rsp)
65 movl %edx, 0x8(%rsp)
66 movl %ecx, 0xc(%rsp)
[all …]
/linux-6.6.21/drivers/media/usb/as102/
Das10x_cmd.c24 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 …]
Das10x_cmd.h94 } __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-6.6.21/drivers/nfc/s3fwrn5/
Dfirmware.c25 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-6.6.21/drivers/net/wireless/ath/wcn36xx/
Dtestmode.c48 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-6.6.21/arch/x86/crypto/
Dchacha-ssse3-x86_64.S180 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 …]
Dchacha-avx2-x86_64.S207 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-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Dmcs_rvu_if.c74 struct msg_rsp *rsp) in rvu_mbox_handler_mcs_set_lmac_mode() argument
174 struct msg_rsp *rsp) in rvu_mbox_handler_mcs_intr_cfg() argument
199 struct mcs_hw_info *rsp) in rvu_mbox_handler_mcs_get_hw_info() argument
208 rsp->num_mcs_blks = rvu->mcs_blk_cnt; in rvu_mbox_handler_mcs_get_hw_info()
209 rsp->tcam_entries = mcs->hw->tcam_entries; in rvu_mbox_handler_mcs_get_hw_info()
210 rsp->secy_entries = mcs->hw->secy_entries; in rvu_mbox_handler_mcs_get_hw_info()
211 rsp->sc_entries = mcs->hw->sc_entries; in rvu_mbox_handler_mcs_get_hw_info()
212 rsp->sa_entries = mcs->hw->sa_entries; in rvu_mbox_handler_mcs_get_hw_info()
217 struct msg_rsp *rsp) in rvu_mbox_handler_mcs_port_reset() argument
233 struct msg_rsp *rsp) in rvu_mbox_handler_mcs_clear_stats() argument
[all …]
/linux-6.6.21/net/core/
Dnetdev-genl.c12 netdev_nl_dev_fill(struct net_device *netdev, struct sk_buff *rsp, in netdev_nl_dev_fill() argument
17 hdr = genlmsg_iput(rsp, info); in netdev_nl_dev_fill()
21 if (nla_put_u32(rsp, NETDEV_A_DEV_IFINDEX, netdev->ifindex) || in netdev_nl_dev_fill()
22 nla_put_u64_64bit(rsp, NETDEV_A_DEV_XDP_FEATURES, in netdev_nl_dev_fill()
24 genlmsg_cancel(rsp, hdr); in netdev_nl_dev_fill()
29 if (nla_put_u32(rsp, NETDEV_A_DEV_XDP_ZC_MAX_SEGS, in netdev_nl_dev_fill()
31 genlmsg_cancel(rsp, hdr); in netdev_nl_dev_fill()
36 genlmsg_end(rsp, hdr); in netdev_nl_dev_fill()
69 struct sk_buff *rsp; in netdev_nl_dev_get_doit() local
78 rsp = genlmsg_new(GENLMSG_DEFAULT_SIZE, GFP_KERNEL); in netdev_nl_dev_get_doit()
[all …]
/linux-6.6.21/net/nfc/nci/
Drsp.c31 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-6.6.21/include/linux/surface_aggregator/
Dcontroller.h212 struct ssam_response *rsp);
216 struct ssam_response *rsp,
238 #define ssam_request_do_sync_onstack(ctrl, rqst, rsp, payload_len) \ argument
243 ssam_request_do_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_do_sync_onstack(ctrl, &rqst, &rsp, 0); \
460 if (rsp.length != sizeof(rtype)) { \
[all …]
/linux-6.6.21/drivers/crypto/marvell/octeontx2/
Dotx2_cptpf_mbox.c69 struct otx2_cpt_caps_rsp *rsp; in handle_msg_get_caps() local
71 rsp = (struct otx2_cpt_caps_rsp *) in handle_msg_get_caps()
73 sizeof(*rsp)); in handle_msg_get_caps()
74 if (!rsp) in handle_msg_get_caps()
77 rsp->hdr.id = MBOX_MSG_GET_CAPS; in handle_msg_get_caps()
78 rsp->hdr.sig = OTX2_MBOX_RSP_SIG; in handle_msg_get_caps()
79 rsp->hdr.pcifunc = req->pcifunc; in handle_msg_get_caps()
80 rsp->cpt_pf_drv_version = OTX2_CPT_PF_DRV_VERSION; in handle_msg_get_caps()
81 rsp->cpt_revision = cptpf->pdev->revision; in handle_msg_get_caps()
82 memcpy(&rsp->eng_caps, &cptpf->eng_caps, sizeof(rsp->eng_caps)); in handle_msg_get_caps()
[all …]
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_mid.c275 qla2x00_alert_all_vps(struct rsp_que *rsp, uint16_t *mb) in qla2x00_alert_all_vps() argument
278 struct qla_hw_data *ha = rsp->hw; in qla2x00_alert_all_vps()
301 qla2x00_async_event(vha, rsp, mb); in qla2x00_alert_all_vps()
309 qla2x00_async_event(vha, rsp, mb); in qla2x00_alert_all_vps()
592 qla25xx_free_rsp_que(struct scsi_qla_host *vha, struct rsp_que *rsp) in qla25xx_free_rsp_que() argument
595 uint16_t que_id = rsp->id; in qla25xx_free_rsp_que()
597 if (rsp->msix && rsp->msix->have_irq) { in qla25xx_free_rsp_que()
598 free_irq(rsp->msix->vector, rsp->msix->handle); in qla25xx_free_rsp_que()
599 rsp->msix->have_irq = 0; in qla25xx_free_rsp_que()
600 rsp->msix->in_use = 0; in qla25xx_free_rsp_que()
[all …]
/linux-6.6.21/tools/testing/selftests/tpm2/
Dtpm2.py388 rsp = self.tpm.read()
397 sys.stderr.write(hex_dump(rsp) + os.linesep)
399 rc = struct.unpack('>I', rsp[6:10])[0]
404 return rsp
421 rsp = self.send_cmd(cmd)
423 pcr_update_cnt, pcr_select_cnt = struct.unpack('>II', rsp[10:18])
425 rsp = rsp[18:]
427 alg2, pcrsel_len2 = struct.unpack('>HB', rsp[:3])
429 rsp = rsp[3 + pcrsel_len:]
431 digest_cnt = struct.unpack('>I', rsp[:4])[0]
[all …]

12345678910>>...18