Home
last modified time | relevance | path

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

/Linux-v6.1/fs/ksmbd/
Doplock.c615 struct smb2_hdr *rsp_hdr; in __smb2_oplock_break_noti() local
628 rsp_hdr = smb2_get_msg(work->response_buf); in __smb2_oplock_break_noti()
629 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2); in __smb2_oplock_break_noti()
632 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER; in __smb2_oplock_break_noti()
633 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in __smb2_oplock_break_noti()
634 rsp_hdr->CreditRequest = cpu_to_le16(0); in __smb2_oplock_break_noti()
635 rsp_hdr->Command = SMB2_OPLOCK_BREAK; in __smb2_oplock_break_noti()
636 rsp_hdr->Flags = (SMB2_FLAGS_SERVER_TO_REDIR); in __smb2_oplock_break_noti()
637 rsp_hdr->NextCommand = 0; in __smb2_oplock_break_noti()
638 rsp_hdr->MessageId = cpu_to_le64(-1); in __smb2_oplock_break_noti()
[all …]
Dsmb2pdu.c215 struct smb2_hdr *rsp_hdr; in set_smb2_rsp_status() local
218 rsp_hdr = ksmbd_resp_buf_next(work); in set_smb2_rsp_status()
220 rsp_hdr = smb2_get_msg(work->response_buf); in set_smb2_rsp_status()
221 rsp_hdr->Status = err; in set_smb2_rsp_status()
234 struct smb2_hdr *rsp_hdr; in init_smb2_neg_rsp() local
244 rsp_hdr = smb2_get_msg(work->response_buf); in init_smb2_neg_rsp()
245 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2); in init_smb2_neg_rsp()
246 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER; in init_smb2_neg_rsp()
247 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in init_smb2_neg_rsp()
248 rsp_hdr->CreditRequest = cpu_to_le16(2); in init_smb2_neg_rsp()
[all …]
Dserver.c94 struct smb_hdr *rsp_hdr; in check_conn_state() local
97 rsp_hdr = work->response_buf; in check_conn_state()
98 rsp_hdr->Status.CifsError = STATUS_CONNECTION_DISCONNECTED; in check_conn_state()
/Linux-v6.1/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.c339 struct mbox_hdr *rsp_hdr; in otx2_cptpf_afpf_mbox_handler() local
349 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + afpf_mbox->rx_start); in otx2_cptpf_afpf_mbox_handler()
350 offset = ALIGN(sizeof(*rsp_hdr), MBOX_MSG_ALIGN); in otx2_cptpf_afpf_mbox_handler()
352 for (i = 0; i < rsp_hdr->num_msgs; i++) { in otx2_cptpf_afpf_mbox_handler()
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_vf.c91 struct mbox_hdr *rsp_hdr; in otx2vf_vfaf_mbox_handler() local
100 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_handler()
103 offset = mbox->rx_start + ALIGN(sizeof(*rsp_hdr), MBOX_MSG_ALIGN); in otx2vf_vfaf_mbox_handler()
152 struct mbox_hdr *rsp_hdr; in otx2vf_vfaf_mbox_up_handler() local
164 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_up_handler()
168 offset = mbox->rx_start + ALIGN(sizeof(*rsp_hdr), MBOX_MSG_ALIGN); in otx2vf_vfaf_mbox_up_handler()
Dotx2_flows.c1385 struct mbox_msghdr *rsp_hdr; in otx2_enable_rxvlan() local
1422 rsp_hdr = otx2_mbox_get_rsp(&pf->mbox.mbox, 0, &req->hdr); in otx2_enable_rxvlan()
1423 if (IS_ERR(rsp_hdr)) { in otx2_enable_rxvlan()
1425 return PTR_ERR(rsp_hdr); in otx2_enable_rxvlan()
1429 return rsp_hdr->rc; in otx2_enable_rxvlan()
Dotx2_pf.c508 struct mbox_hdr *rsp_hdr; in otx2_pfvf_mbox_up_handler() local
516 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2_pfvf_mbox_up_handler()
517 offset = mbox->rx_start + ALIGN(sizeof(*rsp_hdr), MBOX_MSG_ALIGN); in otx2_pfvf_mbox_up_handler()
819 struct mbox_hdr *rsp_hdr; in otx2_pfaf_mbox_handler() local
829 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2_pfaf_mbox_handler()
831 offset = mbox->rx_start + ALIGN(sizeof(*rsp_hdr), MBOX_MSG_ALIGN); in otx2_pfaf_mbox_handler()
947 struct mbox_hdr *rsp_hdr; in otx2_pfaf_mbox_up_handler() local
950 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2_pfaf_mbox_up_handler()
952 offset = mbox->rx_start + ALIGN(sizeof(*rsp_hdr), MBOX_MSG_ALIGN); in otx2_pfaf_mbox_up_handler()
/Linux-v6.1/drivers/infiniband/ulp/isert/
Dib_isert.c2312 struct iser_cm_hdr rsp_hdr; in isert_rdma_accept() local
2319 memset(&rsp_hdr, 0, sizeof(rsp_hdr)); in isert_rdma_accept()
2320 rsp_hdr.flags = ISERT_ZBVA_NOT_USED; in isert_rdma_accept()
2322 rsp_hdr.flags = rsp_hdr.flags | ISERT_SEND_W_INV_NOT_USED; in isert_rdma_accept()
2323 cp.private_data = (void *)&rsp_hdr; in isert_rdma_accept()
2324 cp.private_data_len = sizeof(rsp_hdr); in isert_rdma_accept()
/Linux-v6.1/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov_common.c779 if (qlcnic_sriov_alloc_bc_msg(&trans->rsp_hdr, num_frags)) in qlcnic_sriov_prepare_bc_hdr()
794 hdr = trans->rsp_hdr; in qlcnic_sriov_prepare_bc_hdr()
818 kfree(trans->rsp_hdr); in qlcnic_sriov_cleanup_transaction()
875 if (trans->curr_rsp_frag < trans->rsp_hdr->num_frags) in qlcnic_sriov_handle_multi_frags()
952 hdr = (u32 *)(trans->rsp_hdr + trans->curr_rsp_frag); in qlcnic_sriov_issue_bc_post()
1104 (u32 *)(trans->rsp_hdr + trans->curr_rsp_frag), in qlcnic_sriov_handle_bc_resp()
1107 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-v6.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu.c2198 struct mbox_hdr *rsp_hdr; in __rvu_mbox_up_handler() local
2219 rsp_hdr = mdev->mbase + mbox->rx_start; in __rvu_mbox_up_handler()
2225 offset = mbox->rx_start + ALIGN(sizeof(*rsp_hdr), MBOX_MSG_ALIGN); in __rvu_mbox_up_handler()