45 IN UINT64 ParentNodeId,
61 ReqIoVec[0].Buffer = &CommonReq;
62 ReqIoVec[0].Size =
sizeof CommonReq;
63 ReqIoVec[1].Buffer = Name;
65 ReqSgList.IoVec = ReqIoVec;
68 RespIoVec[0].Buffer = &CommonResp;
69 RespIoVec[0].Size =
sizeof CommonResp;
70 RespSgList.IoVec = RespIoVec;
77 if (EFI_ERROR (Status)) {
88 IsDir ? VirtioFsFuseOpRmDir : VirtioFsFuseOpUnlink,
91 if (EFI_ERROR (Status)) {
99 if (EFI_ERROR (Status)) {
107 if (Status == EFI_DEVICE_ERROR) {
110 "%a: Label=\"%s\" ParentNodeId=%Lu Name=\"%a\" "
111 "IsDir=%d Errno=%d\n",
UINTN EFIAPI AsciiStrSize(IN CONST CHAR8 *String)
EFI_STATUS VirtioFsFuseRemoveFileOrDir(IN OUT VIRTIO_FS *VirtioFs, IN UINT64 ParentNodeId, IN CHAR8 *Name, IN BOOLEAN IsDir)
#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)