44 OUT UINT64 *FuseHandle
60 ReqIoVec[0].Buffer = &CommonReq;
61 ReqIoVec[0].Size =
sizeof CommonReq;
62 ReqIoVec[1].Buffer = &OpenReq;
63 ReqIoVec[1].Size =
sizeof OpenReq;
64 ReqSgList.IoVec = ReqIoVec;
67 RespIoVec[0].Buffer = &CommonResp;
68 RespIoVec[0].Size =
sizeof CommonResp;
69 RespIoVec[1].Buffer = &OpenResp;
70 RespIoVec[1].Size =
sizeof OpenResp;
71 RespSgList.IoVec = RespIoVec;
78 if (EFI_ERROR (Status)) {
92 if (EFI_ERROR (Status)) {
99 OpenReq.Flags = (ReadWrite ?
100 VIRTIO_FS_FUSE_OPEN_REQ_F_RDWR :
101 VIRTIO_FS_FUSE_OPEN_REQ_F_RDONLY);
108 if (EFI_ERROR (Status)) {
116 if (EFI_ERROR (Status)) {
117 if (Status == EFI_DEVICE_ERROR) {
120 "%a: Label=\"%s\" NodeId=%Lu ReadWrite=%d "
137 *FuseHandle = OpenResp.FileHandle;
EFI_STATUS VirtioFsFuseOpen(IN OUT VIRTIO_FS *VirtioFs, IN UINT64 NodeId, IN BOOLEAN ReadWrite, OUT UINT64 *FuseHandle)
#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)