Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dennwc/btrfs
/ functions
Functions
213 in github.com/dennwc/btrfs
⨍
Functions
213
◇
Types & classes
142
↓ 28 callers
Method
Close
()
btrfs.go:56
↓ 15 callers
Function
Open
(path string, ro bool)
btrfs.go:20
↓ 13 callers
Method
Name
()
ioctl_h.go:325
↓ 12 callers
Method
Decode
()
btrfs_tree.go:107
↓ 8 callers
Function
subvolSearchByRootID
subvolSearchByRootID Path is optional, and will be resolved automatically if not set.
subvolume.go:368
↓ 7 callers
Method
String
()
ioctl_h.go:29
↓ 5 callers
Method
Info
()
btrfs.go:77
↓ 5 callers
Function
WriteSpaced
(header string, value uint64)
cmd/gbtrfs/gbtrfs.go:396
↓ 5 callers
Function
asUint64
(p []byte)
btrfs_tree.go:30
↓ 4 callers
Function
CreateSubVolume
(path string)
subvolume.go:29
↓ 4 callers
Function
IsSubVolume
(path string)
subvolume.go:17
↓ 4 callers
Function
openDir
openDir does the following checks before calling Open: 1: path is in a btrfs filesystem 2: path is a directory
utils.go:51
↓ 4 callers
Function
treeSearchRaw
(mnt *os.File, key btrfs_ioctl_search_key)
utils.go:78
↓ 3 callers
Function
DeleteSubVolume
(path string)
subvolume.go:65
↓ 3 callers
Method
IsZero
()
ioctl_h.go:28
↓ 3 callers
Function
Receive
(r io.Reader, dstDir string)
receive.go:15
↓ 3 callers
Function
findMountRoot
(path string)
utils.go:24
↓ 3 callers
Function
getFileRootID
(file *os.File)
btrfs_list.go:5
↓ 3 callers
Function
getPathRootID
(path string)
btrfs_list.go:15
↓ 3 callers
Function
run
(name string, args ...string)
test/btrfstest.go:15
↓ 2 callers
Method
Error
()
errors.go:19
↓ 2 callers
Method
GetDevStatsWithFlags
(id uint64, flags uint64)
btrfs.go:134
↓ 2 callers
Method
Len
()
usage.go:34
↓ 2 callers
Method
ListSubvolumes
(filter func(SubvolInfo) bool)
btrfs.go:330
↓ 2 callers
Method
ReadOnly
()
ioctl_h.go:102
↓ 2 callers
Function
Send
(w io.Writer, parent string, subvols ...string)
send.go:11
↓ 2 callers
Method
SetName
(name string)
ioctl_h.go:63
↓ 2 callers
Function
SnapshotSubVolume
(subvol, dst string, ro bool)
subvolume.go:88
↓ 2 callers
Method
Type
()
send/send.go:212
↓ 2 callers
Method
Type
()
send/send.go:243
↓ 2 callers
Method
Type
()
send/send.go:275
↓ 2 callers
Method
Type
()
send/send.go:303
↓ 2 callers
Method
Type
()
send/send.go:329
↓ 2 callers
Method
Type
()
send/send.go:359
↓ 2 callers
Method
Type
()
send/send.go:384
↓ 2 callers
Method
Type
()
send/send.go:410
↓ 2 callers
Method
Type
()
send/send.go:437
↓ 2 callers
Method
Type
()
send/send.go:465
↓ 2 callers
Method
Usage
()
btrfs.go:362
↓ 2 callers
Function
asRootItem
(p []byte)
btrfs_tree.go:194
↓ 2 callers
Function
asUint32
(p []byte)
btrfs_tree.go:34
↓ 2 callers
Function
checkSubVolumeName
(name string)
subvolume.go:12
↓ 2 callers
Method
fillFromItem
(it *rootItem)
subvolume.go:275
↓ 2 callers
Function
getParent
(mnt *os.File, rootID objectID)
send.go:194
↓ 2 callers
Function
iocFsInfo
(f *os.File)
ioctl_h.go:787
↓ 2 callers
Function
iocInoLookup
(f *os.File, out *btrfs_ioctl_ino_lookup_args)
ioctl_h.go:698
↓ 2 callers
Function
iocResize
(f *os.File, in *btrfs_ioctl_vol_args)
ioctl_h.go:638
↓ 2 callers
Function
isBtrfs
(path string)
utils.go:15
↓ 2 callers
Function
lookupUUIDReceivedSubvolItem
(f *os.File, uuid UUID)
uuid_tree.go:13
↓ 2 callers
Function
lookupUUIDSubvolItem
(f *os.File, uuid UUID)
uuid_tree.go:9
↓ 2 callers
Function
regConstTypes
(str string, fnc func(*constType, string))
internal/cmd/hgen.go:166
↓ 2 callers
Function
subvolSearchByPath
(mnt *os.File, path string)
subvolume.go:308
↓ 2 callers
Function
subvolidResolve
(mnt *os.File, subvolID objectID)
subvolume.go:319
↓ 2 callers
Function
uuidTreeLookupAny
uuidTreeLookupAny searches uuid tree for a given uuid in specified field. It returns ErrNotFound if object was not found.
uuid_tree.go:25
↓ 1 callers
Method
BlockGroup
()
ioctl_h.go:708
↓ 1 callers
Function
CloneFile
(dst, src *os.File)
btrfs.go:16
↓ 1 callers
Method
CreateSubVolume
(name string)
btrfs.go:294
↓ 1 callers
Function
GetCompression
(path string)
xattr.go:38
↓ 1 callers
Method
GetDevInfo
(id uint64)
btrfs.go:100
↓ 1 callers
Function
GetFlags
(path string)
subvolume.go:157
↓ 1 callers
Method
GetFlags
()
btrfs.go:279
↓ 1 callers
Function
IsReadOnly
(path string)
subvolume.go:149
↓ 1 callers
Function
Mkfs
(file string, size int64)
test/btrfstest.go:29
↓ 1 callers
Function
Mount
(mount string, file string)
test/btrfstest.go:48
↓ 1 callers
Function
Mounts
Mounts returns a list of mount point from /etc/mtab.
mtab/mtab.go:19
↓ 1 callers
Method
ResetDevStats
(id uint64)
btrfs.go:161
↓ 1 callers
Method
ResizeToMax
()
btrfs.go:380
↓ 1 callers
Method
ScrubCancel
Cancel a scrub on the given device Scrub operations requiere CAP_SYSADMIN or root
btrfs.go:208
↓ 1 callers
Method
ScrubStart
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 callers
Method
ScrubStatus
Get the progress of a scrub on the given device Scrub operations requiere CAP_SYSADMIN or root
btrfs.go:214
↓ 1 callers
Function
SetCompression
(path string, v Compression)
xattr.go:22
↓ 1 callers
Method
Size
()
send/send_h.go:30
↓ 1 callers
Method
Type
()
send/send.go:177
↓ 1 callers
Method
Unmarshal
(p []byte)
send/send_h.go:31
↓ 1 callers
Method
Unmarshal
(p []byte)
send/send_h.go:49
↓ 1 callers
Function
Unmount
(mount string)
test/btrfstest.go:55
↓ 1 callers
Function
asRootRef
(p []byte)
btrfs_tree.go:42
↓ 1 callers
Function
asUint16
(p []byte)
btrfs_tree.go:38
↓ 1 callers
Function
cmpChunkBlockGroup
(f1, f2 blockGroup)
usage.go:9
↓ 1 callers
Function
constName
(s string)
internal/cmd/hgen.go:43
↓ 1 callers
Method
decode
(tlvs []SendTLV)
send/send.go:178
↓ 1 callers
Function
findGoodParent
(mnt *os.File, rootID objectID, cloneSrc []objectID)
send.go:202
↓ 1 callers
Function
iocBalanceV2
(f *os.File, out *btrfs_ioctl_balance_args)
ioctl_h.go:799
↓ 1 callers
Function
iocClone
(dst, src *os.File)
ioctl_h.go:658
↓ 1 callers
Function
iocDevInfo
(f *os.File, devid uint64, uuid UUID)
ioctl_h.go:792
↓ 1 callers
Function
iocScrub
(f *os.File, out *btrfs_ioctl_scrub_args)
ioctl_h.go:775
↓ 1 callers
Function
iocScrubCancel
(f *os.File)
ioctl_h.go:779
↓ 1 callers
Function
iocScrubProgress
(f *os.File, out *btrfs_ioctl_scrub_args)
ioctl_h.go:783
↓ 1 callers
Function
iocSend
(f *os.File, in *btrfs_ioctl_send_args)
ioctl_h.go:823
↓ 1 callers
Function
iocSnapCreateV2
(f *os.File, in *btrfs_ioctl_vol_args_v2)
ioctl_h.go:630
↓ 1 callers
Function
iocSnapDestroy
(f *os.File, in *btrfs_ioctl_vol_args)
ioctl_h.go:686
↓ 1 callers
Function
iocSpaceInfo
(f *os.File)
ioctl_h.go:718
↓ 1 callers
Function
iocSubvolCreate
(f *os.File, in *btrfs_ioctl_vol_args)
ioctl_h.go:678
↓ 1 callers
Function
iocSubvolCreateV2
(f *os.File, in *btrfs_ioctl_vol_args_v2)
ioctl_h.go:682
↓ 1 callers
Function
iocSubvolGetflags
(f *os.File)
ioctl_h.go:765
↓ 1 callers
Function
iocSubvolSetflags
(f *os.File, flags SubvolFlags)
ioctl_h.go:770
↓ 1 callers
Function
iocTreeSearch
(f *os.File, out *btrfs_ioctl_search_args)
ioctl_h.go:694
↓ 1 callers
Function
listSubVolumes
(f *os.File, filter func(SubvolInfo) bool)
subvolume.go:166
↓ 1 callers
Function
process
(w io.Writer, path string)
internal/cmd/hgen.go:83
↓ 1 callers
Method
readCmdHeader
()
send/send.go:33
next →
1–100 of 213, ranked by callers