Home
last modified time | relevance | path

Searched refs:rsp_hdr (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/fs/smb/server/
Doplock.c641 struct smb2_hdr *rsp_hdr; in __smb2_oplock_break_noti() local
654 rsp_hdr = smb2_get_msg(work->response_buf); in __smb2_oplock_break_noti()
655 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2); in __smb2_oplock_break_noti()
656 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER; in __smb2_oplock_break_noti()
657 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in __smb2_oplock_break_noti()
658 rsp_hdr->CreditRequest = cpu_to_le16(0); in __smb2_oplock_break_noti()
659 rsp_hdr->Command = SMB2_OPLOCK_BREAK; in __smb2_oplock_break_noti()
660 rsp_hdr->Flags = (SMB2_FLAGS_SERVER_TO_REDIR); in __smb2_oplock_break_noti()
661 rsp_hdr->NextCommand = 0; in __smb2_oplock_break_noti()
662 rsp_hdr->MessageId = cpu_to_le64(-1); in __smb2_oplock_break_noti()
[all …]
Dsmb_common.c323 struct smb_hdr *rsp_hdr = (struct smb_hdr *)work->response_buf; in init_smb1_rsp_hdr() local
326 rsp_hdr->Command = SMB_COM_NEGOTIATE; in init_smb1_rsp_hdr()
327 *(__le32 *)rsp_hdr->Protocol = SMB1_PROTO_NUMBER; in init_smb1_rsp_hdr()
328 rsp_hdr->Flags = SMBFLG_RESPONSE; in init_smb1_rsp_hdr()
329 rsp_hdr->Flags2 = SMBFLG2_UNICODE | SMBFLG2_ERR_STATUS | in init_smb1_rsp_hdr()
331 rsp_hdr->Pid = rcv_hdr->Pid; in init_smb1_rsp_hdr()
332 rsp_hdr->Mid = rcv_hdr->Mid; in init_smb1_rsp_hdr()
Dsmb2pdu.c232 struct smb2_hdr *rsp_hdr; in set_smb2_rsp_status() local
234 rsp_hdr = smb2_get_msg(work->response_buf); in set_smb2_rsp_status()
235 rsp_hdr->Status = err; in set_smb2_rsp_status()
252 struct smb2_hdr *rsp_hdr; in init_smb2_neg_rsp() local
257 rsp_hdr = smb2_get_msg(work->response_buf); in init_smb2_neg_rsp()
258 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2); in init_smb2_neg_rsp()
259 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER; in init_smb2_neg_rsp()
260 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in init_smb2_neg_rsp()
261 rsp_hdr->CreditRequest = cpu_to_le16(2); in init_smb2_neg_rsp()
262 rsp_hdr->Command = SMB2_NEGOTIATE; in init_smb2_neg_rsp()
[all …]
Dserver.c94 struct smb_hdr *rsp_hdr; in check_conn_state() local
98 rsp_hdr = work->response_buf; in check_conn_state()
99 rsp_hdr->Status.CifsError = STATUS_CONNECTION_DISCONNECTED; in check_conn_state()
/linux-6.6.21/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_mbox.c142 struct mbox_hdr *rsp_hdr; in otx2_cptvf_pfvf_mbox_handler() local
153 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + pfvf_mbox->rx_start); in otx2_cptvf_pfvf_mbox_handler()
154 if (rsp_hdr->num_msgs == 0) in otx2_cptvf_pfvf_mbox_handler()
158 for (i = 0; i < rsp_hdr->num_msgs; i++) { in otx2_cptvf_pfvf_mbox_handler()
Dotx2_cptpf_mbox.c510 struct mbox_hdr *rsp_hdr; in otx2_cptpf_afpf_mbox_handler() local
520 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + afpf_mbox->rx_start); in otx2_cptpf_afpf_mbox_handler()
521 offset = ALIGN(sizeof(*rsp_hdr), MBOX_MSG_ALIGN); in otx2_cptpf_afpf_mbox_handler()
523 for (i = 0; i < rsp_hdr->num_msgs; i++) { in otx2_cptpf_afpf_mbox_handler()
586 struct mbox_hdr *rsp_hdr; in otx2_cptpf_afpf_mbox_up_handler() local
597 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2_cptpf_afpf_mbox_up_handler()
598 offset = mbox->rx_start + ALIGN(sizeof(*rsp_hdr), MBOX_MSG_ALIGN); in otx2_cptpf_afpf_mbox_up_handler()
600 for (i = 0; i < rsp_hdr->num_msgs; i++) { in otx2_cptpf_afpf_mbox_up_handler()
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_vf.c87 struct mbox_hdr *rsp_hdr; in otx2vf_vfaf_mbox_handler() local
96 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_handler()
99 offset = mbox->rx_start + ALIGN(sizeof(*rsp_hdr), MBOX_MSG_ALIGN); in otx2vf_vfaf_mbox_handler()
148 struct mbox_hdr *rsp_hdr; in otx2vf_vfaf_mbox_up_handler() local
160 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_up_handler()
164 offset = mbox->rx_start + ALIGN(sizeof(*rsp_hdr), MBOX_MSG_ALIGN); in otx2vf_vfaf_mbox_up_handler()
Dotx2_pf.c509 struct mbox_hdr *rsp_hdr; in otx2_pfvf_mbox_up_handler() local
517 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2_pfvf_mbox_up_handler()
518 offset = mbox->rx_start + ALIGN(sizeof(*rsp_hdr), MBOX_MSG_ALIGN); in otx2_pfvf_mbox_up_handler()
818 struct mbox_hdr *rsp_hdr; in otx2_pfaf_mbox_handler() local
828 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2_pfaf_mbox_handler()
830 offset = mbox->rx_start + ALIGN(sizeof(*rsp_hdr), MBOX_MSG_ALIGN); in otx2_pfaf_mbox_handler()
946 struct mbox_hdr *rsp_hdr; in otx2_pfaf_mbox_up_handler() local
949 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2_pfaf_mbox_up_handler()
951 offset = mbox->rx_start + ALIGN(sizeof(*rsp_hdr), MBOX_MSG_ALIGN); in otx2_pfaf_mbox_up_handler()
Dotx2_flows.c1453 struct mbox_msghdr *rsp_hdr; in otx2_enable_rxvlan() local
1490 rsp_hdr = otx2_mbox_get_rsp(&pf->mbox.mbox, 0, &req->hdr); in otx2_enable_rxvlan()
1491 if (IS_ERR(rsp_hdr)) { in otx2_enable_rxvlan()
1493 return PTR_ERR(rsp_hdr); in otx2_enable_rxvlan()
1497 return rsp_hdr->rc; in otx2_enable_rxvlan()
/linux-6.6.21/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov_common.c781 if (qlcnic_sriov_alloc_bc_msg(&trans->rsp_hdr, num_frags)) in qlcnic_sriov_prepare_bc_hdr()
796 hdr = trans->rsp_hdr; in qlcnic_sriov_prepare_bc_hdr()
820 kfree(trans->rsp_hdr); in qlcnic_sriov_cleanup_transaction()
877 if (trans->curr_rsp_frag < trans->rsp_hdr->num_frags) in qlcnic_sriov_handle_multi_frags()
954 hdr = (u32 *)(trans->rsp_hdr + trans->curr_rsp_frag); in qlcnic_sriov_issue_bc_post()
1106 (u32 *)(trans->rsp_hdr + trans->curr_rsp_frag), in qlcnic_sriov_handle_bc_resp()
1109 if (++trans->curr_rsp_frag < trans->rsp_hdr->num_frags) in qlcnic_sriov_handle_bc_resp()
Dqlcnic_sriov.h85 struct qlcnic_bc_hdr *rsp_hdr; member
/linux-6.6.21/drivers/infiniband/ulp/isert/
Dib_isert.c2315 struct iser_cm_hdr rsp_hdr; in isert_rdma_accept() local
2322 memset(&rsp_hdr, 0, sizeof(rsp_hdr)); in isert_rdma_accept()
2323 rsp_hdr.flags = ISERT_ZBVA_NOT_USED; in isert_rdma_accept()
2325 rsp_hdr.flags = rsp_hdr.flags | ISERT_SEND_W_INV_NOT_USED; in isert_rdma_accept()
2326 cp.private_data = (void *)&rsp_hdr; in isert_rdma_accept()
2327 cp.private_data_len = sizeof(rsp_hdr); in isert_rdma_accept()
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Drvu.c2206 struct mbox_hdr *rsp_hdr; in __rvu_mbox_up_handler() local
2227 rsp_hdr = mdev->mbase + mbox->rx_start; in __rvu_mbox_up_handler()
2233 offset = mbox->rx_start + ALIGN(sizeof(*rsp_hdr), MBOX_MSG_ALIGN); in __rvu_mbox_up_handler()