menu

destack:fs/binding

import destack:fs/binding

Structs

  1. BytePathByte-oriented host path.
  2. BytePathBufferByte-oriented host path output buffer.
  3. DirectoryBatchDirectory entries written by one read operation.
  4. DirectoryEntryDirectory entry metadata.
  5. FileLockOptionsFile lock options.
  6. FileMountFilesystem mount entry.
  7. FileOpenOptionsFile open options.
  8. FileOwnerFile owner assignment.
  9. FilePrincipalUnixUnix file owner principal.
  10. FilePrincipalWindowsWindows file owner principal.
  11. FileRangeFile byte range.
  12. FileReadOptionsFile read options.
  13. FileStatusFile status returned by host metadata operations.
  14. FileStatusOptionsFile status options.
  15. FilesystemEntryFilesystem entry addressed by an optional directory root and host path.
  16. FilesystemNodeOptionsHost filesystem node creation options.
  17. FileTimesAccess and modification timestamps.
  18. FileVolumeStatusVolume status returned by host metadata operations.
  19. FileWatchBatchWatch events written by one read operation.
  20. FileWatchEventCreateFilesystem create watch event.
  21. FileWatchEventMetadataFilesystem metadata watch event.
  22. FileWatchEventModifyFilesystem modify watch event.
  23. FileWatchEventOverflowFilesystem overflow watch event.
  24. FileWatchEventRemoveFilesystem remove watch event.
  25. FileWatchEventRenameFilesystem rename watch event.
  26. FileWatchOptionsFilesystem watch options.
  27. FileWriteOptionsFile write options.
  28. PathSpanPath buffer span in bytes or UTF-16 units.
  29. Utf16PathUTF-16-oriented host path.
  30. Utf16PathBufferUTF-16-oriented host path output buffer.
  31. XattrTargetEntryFilesystem entry extended attribute target.
  32. XattrTargetFileOpen file extended attribute target.

Enums

  1. DirectoryEntryKindFile type for directory entries.
  2. FileAdviceFile access pattern advice.
  3. FileLockModeFile lock mode.
  4. FileSeekOriginSeek origin.
  5. FilesystemSymlinkKindSymlink target type hint.

Newtypes

  1. DirectoryHandleHandle for an open directory.
  2. FileAccessMaskAccess check bitset.
  3. FileAllocateFlagsFile allocation flags.
  4. FileHandleHandle for an open file.
  5. FileModeFile permission mode bits.
  6. FileOffsetFile offset in bytes.
  7. FileOpenFlagsFile open flags.
  8. FilePrincipalFile owner principal.
  9. FilePrincipalSidWindows file security identifier bytes.
  10. FileReadFlagsFile read flags.
  11. FileResolveFlagsResolve flags for path opening.
  12. FileSizeFile size in bytes.
  13. FileStatusFlagsFile status flags.
  14. FileStatusMaskFile status field mask.
  15. FileSyncFlagsSync range flags.
  16. FilesystemLinkFlagsLink operation flags.
  17. FilesystemNodeDeviceNode device identifier.
  18. FilesystemRenameFlagsRename operation flags.
  19. FileTimeFile timestamp in nanoseconds since the Unix epoch.
  20. FileVolumeFlagsVolume mount flags.
  21. FileVolumeMaskVolume status field mask.
  22. FileWatchEventFilesystem watch event.
  23. FileWatchMaskFilesystem watch mask bitset.
  24. FileWriteFlagsFile write flags.
  25. PathHost path payload.
  26. PathBufferHost path output buffer.
  27. PathByteBufferRaw byte path output buffer.
  28. PathBytesRaw byte path on byte-oriented hosts.
  29. PathUtf16UTF-16 path on UTF-16-oriented hosts.
  30. PathUtf16BufferUTF-16 path output buffer.
  31. WatchHandleHandle for a filesystem watcher.
  32. XattrFlagsExtended attribute creation flags.
  33. XattrTargetTarget for extended attribute operations.

Interfaces

  1. FsAttributeBindingFilesystem attribute binding family.
  2. FsBindingFilesystem binding family.
  3. FsDirectoryBindingFilesystem directory binding family.
  4. FsFileBindingFilesystem file binding family.
  5. FsMountBindingFilesystem mount binding family.
  6. FsNamespaceBindingFilesystem namespace binding family.
  7. FsStatusBindingFilesystem status binding family.
  8. FsVolumeBindingFilesystem volume binding family.
  9. FsWatchBindingFilesystem watch binding family.
  10. FsXattrBindingFilesystem extended attribute binding family.

Functions

  1. filesystemEntryBuild an entry resolved from the ambient process namespace.
  2. filesystemEntryAtBuild an entry resolved relative to a directory handle.
  3. pathByteBufferBuild a byte-oriented host path output buffer.
  4. pathBytesBuild a byte-oriented host path.
  5. pathUtf16Build a UTF-16-oriented host path.
  6. pathUtf16BufferBuild a UTF-16-oriented host path output buffer.

Constants

  1. FILE_ACCESS_EXECUTECheck for execute permission.
  2. FILE_ACCESS_EXISTSCheck only for entry existence.
  3. FILE_ACCESS_READCheck for read permission.
  4. FILE_ACCESS_WRITECheck for write permission.
  5. FILE_ALLOCATE_COLLAPSE_RANGERemove the requested range and collapse later data downward.
  6. FILE_ALLOCATE_INSERT_RANGEInsert a hole and push later data upward.
  7. FILE_ALLOCATE_KEEP_SIZEAllocate blocks without extending apparent file size.
  8. FILE_ALLOCATE_NO_HIDE_STALEDo not hide stale data when the host supports that mode.
  9. FILE_ALLOCATE_PUNCH_HOLEDeallocate blocks in the requested range.
  10. FILE_ALLOCATE_UNSHARE_RANGEBreak shared extents before future writes.
  11. FILE_ALLOCATE_ZERO_RANGEConvert the requested range into explicit zeroed blocks.
  12. FILE_MODE_BLOCKBlock device file type bits.
  13. FILE_MODE_CHARACTERCharacter device file type bits.
  14. FILE_MODE_DIRECTORYDirectory file type bits.
  15. FILE_MODE_FIFOFIFO file type bits.
  16. FILE_MODE_FILERegular file type bits.
  17. FILE_MODE_GROUP_EXECUTEGroup execute permission bit.
  18. FILE_MODE_GROUP_READGroup read permission bit.
  19. FILE_MODE_GROUP_WRITEGroup write permission bit.
  20. FILE_MODE_OTHER_EXECUTEOther execute permission bit.
  21. FILE_MODE_OTHER_READOther read permission bit.
  22. FILE_MODE_OTHER_WRITEOther write permission bit.
  23. FILE_MODE_OWNER_EXECUTEOwner execute permission bit.
  24. FILE_MODE_OWNER_READOwner read permission bit.
  25. FILE_MODE_OWNER_WRITEOwner write permission bit.
  26. FILE_MODE_SOCKETSocket file type bits.
  27. FILE_MODE_SYMLINKSymbolic link file type bits.
  28. FILE_MODE_TYPEFile type bits mask.
  29. FILE_OPEN_APPENDAppend writes to the end of the file.
  30. FILE_OPEN_CREATECreate the entry when it does not exist.
  31. FILE_OPEN_DATA_SYNCSynchronize written data before writes complete.
  32. FILE_OPEN_DIRECTRequest uncached direct I/O.
  33. FILE_OPEN_DIRECTORYRequire the entry to be a directory.
  34. FILE_OPEN_EXCLUSIVEFail when the created entry already exists.
  35. FILE_OPEN_NOFOLLOWDo not follow the final symlink component.
  36. FILE_OPEN_NONBLOCKRequest nonblocking file behavior.
  37. FILE_OPEN_READOpen for reads.
  38. FILE_OPEN_SYNCSynchronize written data and metadata before writes complete.
  39. FILE_OPEN_TRUNCATETruncate the entry after opening.
  40. FILE_OPEN_WRITEOpen for writes.
  41. FILE_READ_HIGH_PRIORITYPrefer high priority polling I/O when the host supports it.
  42. FILE_READ_NOWAITRequest nonblocking cache miss behavior when supported.
  43. FILE_RESOLVE_BENEATHRequire the result to stay beneath the starting directory.
  44. FILE_RESOLVE_CACHEDUse only already cached resolution state.
  45. FILE_RESOLVE_IN_ROOTTreat the starting directory as the logical root.
  46. FILE_RESOLVE_NO_MAGIC_LINKSReject magic link traversal.
  47. FILE_RESOLVE_NO_SYMLINKSReject symlink traversal.
  48. FILE_RESOLVE_NO_XDEVReject traversal that crosses into a different mount.
  49. FILE_STATUS_ACCESS_TIMERequest access timestamp.
  50. FILE_STATUS_ALLRequest all fields the host can provide.
  51. FILE_STATUS_BASICRequest the common portable status fields.
  52. FILE_STATUS_BLOCKSRequest allocated block fields.
  53. FILE_STATUS_CHANGE_TIMERequest status change timestamp.
  54. FILE_STATUS_CREATEDRequest file creation time.
  55. FILE_STATUS_DEVICERequest device identifier.
  56. FILE_STATUS_DONT_SYNCDo not force attribute synchronization.
  57. FILE_STATUS_EMPTY_PATHAllow an empty path for handle status by empty path.
  58. FILE_STATUS_FORCE_SYNCForce attribute synchronization when the host supports it.
  59. FILE_STATUS_LINKSRequest hard link count.
  60. FILE_STATUS_MODERequest mode bits.
  61. FILE_STATUS_MODIFICATION_TIMERequest modification timestamp.
  62. FILE_STATUS_MOUNTRequest mount identifier.
  63. FILE_STATUS_NODERequest node identifier.
  64. FILE_STATUS_NODE_DEVICERequest node device identifier.
  65. FILE_STATUS_OWNERRequest owner principals.
  66. FILE_STATUS_SIZERequest file size.
  67. FILE_SYNC_WAIT_AFTERWait for writeback completion in the requested range.
  68. FILE_SYNC_WAIT_BEFOREWait for earlier writeback in the requested range.
  69. FILE_SYNC_WRITEStart writeback for the requested range.
  70. FILE_VOLUME_ALLRequest all fields the host can provide.
  71. FILE_VOLUME_BLOCKSRequest block count fields.
  72. FILE_VOLUME_FILESRequest file node count fields.
  73. FILE_VOLUME_FLAGSRequest mount flags.
  74. FILE_VOLUME_IDRequest volume identifier.
  75. FILE_VOLUME_NAME_LENGTHRequest maximum filename length.
  76. FILE_VOLUME_TRANSFERRequest transfer size fields.
  77. FILE_WATCH_ALLWatch mask value that subscribes to all event classes.
  78. FILE_WATCH_CREATEWatch mask bit for create events.
  79. FILE_WATCH_METADATAWatch mask bit for metadata events.
  80. FILE_WATCH_MODIFYWatch mask bit for modify events.
  81. FILE_WATCH_OVERFLOWWatch mask bit for overflow events.
  82. FILE_WATCH_REMOVEWatch mask bit for remove events.
  83. FILE_WATCH_RENAMEWatch mask bit for rename events.
  84. FILE_WRITE_APPENDForce append mode for the write.
  85. FILE_WRITE_DATA_SYNCApply data-only sync mode to the write.
  86. FILE_WRITE_NOWAITRequest nonblocking cache miss behavior when supported.
  87. FILE_WRITE_SYNCApply full sync mode to the write.
  88. FILESYSTEM_LINK_FOLLOWFollow a symlink source where the host operation supports it.
  89. FILESYSTEM_RENAME_EXCHANGEExchange the source and destination entries atomically.
  90. FILESYSTEM_RENAME_NO_REPLACEReject replacing an existing destination.
  91. FILESYSTEM_RENAME_WHITEOUTCreate a whiteout entry as part of the rename when supported.
  92. fsCurrent filesystem binding family.
  93. XATTR_CREATECreate an attribute and fail if it already exists.
  94. XATTR_REPLACEReplace an attribute and fail if it does not exist.