55 ReqIoVec[0].Buffer = &CommonReq;
56 ReqIoVec[0].Size =
sizeof CommonReq;
57 ReqIoVec[1].Buffer = &FlushReq;
58 ReqIoVec[1].Size =
sizeof FlushReq;
59 ReqSgList.IoVec = ReqIoVec;
62 RespIoVec[0].Buffer = &CommonResp;
63 RespIoVec[0].Size =
sizeof CommonResp;
64 RespSgList.IoVec = RespIoVec;
71 if (EFI_ERROR (Status)) {
85 if (EFI_ERROR (Status)) {
92 FlushReq.FileHandle = FuseHandle;
95 FlushReq.LockOwner = 0;
101 if (EFI_ERROR (Status)) {
109 if (Status == EFI_DEVICE_ERROR) {
112 "%a: Label=\"%s\" NodeId=%Lu FuseHandle=%Lu "
EFI_STATUS VirtioFsFuseFlush(IN OUT VIRTIO_FS *VirtioFs, IN UINT64 NodeId, IN 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)