58 ReqIoVec[0].Buffer = &CommonReq;
59 ReqIoVec[0].Size =
sizeof CommonReq;
60 ReqIoVec[1].Buffer = &GetAttrReq;
61 ReqIoVec[1].Size =
sizeof GetAttrReq;
62 ReqSgList.IoVec = ReqIoVec;
65 RespIoVec[0].Buffer = &CommonResp;
66 RespIoVec[0].Size =
sizeof CommonResp;
67 RespIoVec[1].Buffer = &GetAttrResp;
68 RespIoVec[1].Size =
sizeof GetAttrResp;
69 RespIoVec[2].Buffer = FuseAttr;
70 RespIoVec[2].Size =
sizeof *FuseAttr;
71 RespSgList.IoVec = RespIoVec;
78 if (EFI_ERROR (Status)) {
89 VirtioFsFuseOpGetAttr,
92 if (EFI_ERROR (Status)) {
99 GetAttrReq.GetAttrFlags = 0;
100 GetAttrReq.Dummy = 0;
101 GetAttrReq.FileHandle = 0;
107 if (EFI_ERROR (Status)) {
115 if (Status == EFI_DEVICE_ERROR) {
118 "%a: Label=\"%s\" NodeId=%Lu Errno=%d\n",
EFI_STATUS VirtioFsFuseGetAttr(IN OUT VIRTIO_FS *VirtioFs, IN UINT64 NodeId, OUT VIRTIO_FS_FUSE_ATTRIBUTES_RESPONSE *FuseAttr)
#define ARRAY_SIZE(Array)
#define DEBUG(Expression)
EFI_STATUS VirtioFsFuseCheckResponse(IN VIRTIO_FS_SCATTER_GATHER_LIST *ResponseSgList, IN UINT64 RequestId, OUT UINTN *TailBufferFill)
EFI_STATUS VirtioFsFuseNewRequest(IN OUT VIRTIO_FS *VirtioFs, OUT VIRTIO_FS_FUSE_REQUEST *Request, IN UINT32 RequestSize, IN VIRTIO_FS_FUSE_OPCODE Opcode, IN UINT64 NodeId)
EFI_STATUS VirtioFsSgListsSubmit(IN OUT VIRTIO_FS *VirtioFs, IN OUT VIRTIO_FS_SCATTER_GATHER_LIST *RequestSgList, IN OUT VIRTIO_FS_SCATTER_GATHER_LIST *ResponseSgList OPTIONAL)
EFI_STATUS VirtioFsErrnoToEfiStatus(IN INT32 Errno)
EFI_STATUS VirtioFsSgListsValidate(IN VIRTIO_FS *VirtioFs, IN OUT VIRTIO_FS_SCATTER_GATHER_LIST *RequestSgList, IN OUT VIRTIO_FS_SCATTER_GATHER_LIST *ResponseSgList OPTIONAL)