MCPcopy Create free account

hub / github.com/dennwc/btrfs / functions

Functions213 in github.com/dennwc/btrfs

↓ 28 callersMethodClose
()
btrfs.go:56
↓ 15 callersFunctionOpen
(path string, ro bool)
btrfs.go:20
↓ 13 callersMethodName
()
ioctl_h.go:325
↓ 12 callersMethodDecode
()
btrfs_tree.go:107
↓ 8 callersFunctionsubvolSearchByRootID
subvolSearchByRootID Path is optional, and will be resolved automatically if not set.
subvolume.go:368
↓ 7 callersMethodString
()
ioctl_h.go:29
↓ 5 callersMethodInfo
()
btrfs.go:77
↓ 5 callersFunctionWriteSpaced
(header string, value uint64)
cmd/gbtrfs/gbtrfs.go:396
↓ 5 callersFunctionasUint64
(p []byte)
btrfs_tree.go:30
↓ 4 callersFunctionCreateSubVolume
(path string)
subvolume.go:29
↓ 4 callersFunctionIsSubVolume
(path string)
subvolume.go:17
↓ 4 callersFunctionopenDir
openDir does the following checks before calling Open: 1: path is in a btrfs filesystem 2: path is a directory
utils.go:51
↓ 4 callersFunctiontreeSearchRaw
(mnt *os.File, key btrfs_ioctl_search_key)
utils.go:78
↓ 3 callersFunctionDeleteSubVolume
(path string)
subvolume.go:65
↓ 3 callersMethodIsZero
()
ioctl_h.go:28
↓ 3 callersFunctionReceive
(r io.Reader, dstDir string)
receive.go:15
↓ 3 callersFunctionfindMountRoot
(path string)
utils.go:24
↓ 3 callersFunctiongetFileRootID
(file *os.File)
btrfs_list.go:5
↓ 3 callersFunctiongetPathRootID
(path string)
btrfs_list.go:15
↓ 3 callersFunctionrun
(name string, args ...string)
test/btrfstest.go:15
↓ 2 callersMethodError
()
errors.go:19
↓ 2 callersMethodGetDevStatsWithFlags
(id uint64, flags uint64)
btrfs.go:134
↓ 2 callersMethodLen
()
usage.go:34
↓ 2 callersMethodListSubvolumes
(filter func(SubvolInfo) bool)
btrfs.go:330
↓ 2 callersMethodReadOnly
()
ioctl_h.go:102
↓ 2 callersFunctionSend
(w io.Writer, parent string, subvols ...string)
send.go:11
↓ 2 callersMethodSetName
(name string)
ioctl_h.go:63
↓ 2 callersFunctionSnapshotSubVolume
(subvol, dst string, ro bool)
subvolume.go:88
↓ 2 callersMethodType
()
send/send.go:212
↓ 2 callersMethodType
()
send/send.go:243
↓ 2 callersMethodType
()
send/send.go:275
↓ 2 callersMethodType
()
send/send.go:303
↓ 2 callersMethodType
()
send/send.go:329
↓ 2 callersMethodType
()
send/send.go:359
↓ 2 callersMethodType
()
send/send.go:384
↓ 2 callersMethodType
()
send/send.go:410
↓ 2 callersMethodType
()
send/send.go:437
↓ 2 callersMethodType
()
send/send.go:465
↓ 2 callersMethodUsage
()
btrfs.go:362
↓ 2 callersFunctionasRootItem
(p []byte)
btrfs_tree.go:194
↓ 2 callersFunctionasUint32
(p []byte)
btrfs_tree.go:34
↓ 2 callersFunctioncheckSubVolumeName
(name string)
subvolume.go:12
↓ 2 callersMethodfillFromItem
(it *rootItem)
subvolume.go:275
↓ 2 callersFunctiongetParent
(mnt *os.File, rootID objectID)
send.go:194
↓ 2 callersFunctioniocFsInfo
(f *os.File)
ioctl_h.go:787
↓ 2 callersFunctioniocInoLookup
(f *os.File, out *btrfs_ioctl_ino_lookup_args)
ioctl_h.go:698
↓ 2 callersFunctioniocResize
(f *os.File, in *btrfs_ioctl_vol_args)
ioctl_h.go:638
↓ 2 callersFunctionisBtrfs
(path string)
utils.go:15
↓ 2 callersFunctionlookupUUIDReceivedSubvolItem
(f *os.File, uuid UUID)
uuid_tree.go:13
↓ 2 callersFunctionlookupUUIDSubvolItem
(f *os.File, uuid UUID)
uuid_tree.go:9
↓ 2 callersFunctionregConstTypes
(str string, fnc func(*constType, string))
internal/cmd/hgen.go:166
↓ 2 callersFunctionsubvolSearchByPath
(mnt *os.File, path string)
subvolume.go:308
↓ 2 callersFunctionsubvolidResolve
(mnt *os.File, subvolID objectID)
subvolume.go:319
↓ 2 callersFunctionuuidTreeLookupAny
uuidTreeLookupAny searches uuid tree for a given uuid in specified field. It returns ErrNotFound if object was not found.
uuid_tree.go:25
↓ 1 callersMethodBlockGroup
()
ioctl_h.go:708
↓ 1 callersFunctionCloneFile
(dst, src *os.File)
btrfs.go:16
↓ 1 callersMethodCreateSubVolume
(name string)
btrfs.go:294
↓ 1 callersFunctionGetCompression
(path string)
xattr.go:38
↓ 1 callersMethodGetDevInfo
(id uint64)
btrfs.go:100
↓ 1 callersFunctionGetFlags
(path string)
subvolume.go:157
↓ 1 callersMethodGetFlags
()
btrfs.go:279
↓ 1 callersFunctionIsReadOnly
(path string)
subvolume.go:149
↓ 1 callersFunctionMkfs
(file string, size int64)
test/btrfstest.go:29
↓ 1 callersFunctionMount
(mount string, file string)
test/btrfstest.go:48
↓ 1 callersFunctionMounts
Mounts returns a list of mount point from /etc/mtab.
mtab/mtab.go:19
↓ 1 callersMethodResetDevStats
(id uint64)
btrfs.go:161
↓ 1 callersMethodResizeToMax
()
btrfs.go:380
↓ 1 callersMethodScrubCancel
Cancel a scrub on the given device Scrub operations requiere CAP_SYSADMIN or root
btrfs.go:208
↓ 1 callersMethodScrubStart
Start a scrub on the given device, starting at start blocks and ending on end blocks If you want to scan the whole device, set start to 0 and end to t
btrfs.go:197
↓ 1 callersMethodScrubStatus
Get the progress of a scrub on the given device Scrub operations requiere CAP_SYSADMIN or root
btrfs.go:214
↓ 1 callersFunctionSetCompression
(path string, v Compression)
xattr.go:22
↓ 1 callersMethodSize
()
send/send_h.go:30
↓ 1 callersMethodType
()
send/send.go:177
↓ 1 callersMethodUnmarshal
(p []byte)
send/send_h.go:31
↓ 1 callersMethodUnmarshal
(p []byte)
send/send_h.go:49
↓ 1 callersFunctionUnmount
(mount string)
test/btrfstest.go:55
↓ 1 callersFunctionasRootRef
(p []byte)
btrfs_tree.go:42
↓ 1 callersFunctionasUint16
(p []byte)
btrfs_tree.go:38
↓ 1 callersFunctioncmpChunkBlockGroup
(f1, f2 blockGroup)
usage.go:9
↓ 1 callersFunctionconstName
(s string)
internal/cmd/hgen.go:43
↓ 1 callersMethoddecode
(tlvs []SendTLV)
send/send.go:178
↓ 1 callersFunctionfindGoodParent
(mnt *os.File, rootID objectID, cloneSrc []objectID)
send.go:202
↓ 1 callersFunctioniocBalanceV2
(f *os.File, out *btrfs_ioctl_balance_args)
ioctl_h.go:799
↓ 1 callersFunctioniocClone
(dst, src *os.File)
ioctl_h.go:658
↓ 1 callersFunctioniocDevInfo
(f *os.File, devid uint64, uuid UUID)
ioctl_h.go:792
↓ 1 callersFunctioniocScrub
(f *os.File, out *btrfs_ioctl_scrub_args)
ioctl_h.go:775
↓ 1 callersFunctioniocScrubCancel
(f *os.File)
ioctl_h.go:779
↓ 1 callersFunctioniocScrubProgress
(f *os.File, out *btrfs_ioctl_scrub_args)
ioctl_h.go:783
↓ 1 callersFunctioniocSend
(f *os.File, in *btrfs_ioctl_send_args)
ioctl_h.go:823
↓ 1 callersFunctioniocSnapCreateV2
(f *os.File, in *btrfs_ioctl_vol_args_v2)
ioctl_h.go:630
↓ 1 callersFunctioniocSnapDestroy
(f *os.File, in *btrfs_ioctl_vol_args)
ioctl_h.go:686
↓ 1 callersFunctioniocSpaceInfo
(f *os.File)
ioctl_h.go:718
↓ 1 callersFunctioniocSubvolCreate
(f *os.File, in *btrfs_ioctl_vol_args)
ioctl_h.go:678
↓ 1 callersFunctioniocSubvolCreateV2
(f *os.File, in *btrfs_ioctl_vol_args_v2)
ioctl_h.go:682
↓ 1 callersFunctioniocSubvolGetflags
(f *os.File)
ioctl_h.go:765
↓ 1 callersFunctioniocSubvolSetflags
(f *os.File, flags SubvolFlags)
ioctl_h.go:770
↓ 1 callersFunctioniocTreeSearch
(f *os.File, out *btrfs_ioctl_search_args)
ioctl_h.go:694
↓ 1 callersFunctionlistSubVolumes
(f *os.File, filter func(SubvolInfo) bool)
subvolume.go:166
↓ 1 callersFunctionprocess
(w io.Writer, path string)
internal/cmd/hgen.go:83
↓ 1 callersMethodreadCmdHeader
()
send/send.go:33
next →1–100 of 213, ranked by callers