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
↓ 1 callers
Function
readRootItem
readRootItem reads a root item from the tree. TODO(dennwc): support older kernels: In case we detect a root item smaller then sizeof(root_item), we k
send.go:148
↓ 1 callers
Method
readTLV
(rd io.Reader)
send/send.go:51
↓ 1 callers
Function
send
(w io.Writer, subvol *os.File, parent objectID, sources []objectID, flags uint64)
send.go:109
↓ 1 callers
Function
spaceUsage
(f *os.File)
usage.go:69
↓ 1 callers
Function
stringFromBytes
(input []byte)
utils.go:102
↓ 1 callers
Function
subvolSearchByUUID
(mnt *os.File, uuid UUID)
subvolume.go:292
↓ 1 callers
Function
subvolidResolveSub
(mnt *os.File, path string, subvolID objectID)
subvolume.go:323
↓ 1 callers
Method
toKey
()
uuid_tree.go:17
Method
Balance
(flags BalanceFlags)
btrfs.go:364
Method
Decode
()
btrfs_tree.go:124
Method
Decode
()
btrfs_tree.go:154
Method
Decode
()
btrfs_tree.go:200
Method
DeleteSubVolume
(name string)
btrfs.go:298
Function
Do
Do Deprecated: use github/dennwc/ioctl
ioctl/ioctl.go:59
Method
Error
()
errors.go:12
Method
Error
()
send/send.go:161
Method
Error
()
send/send.go:171
Method
GetDevStats
(id uint64)
btrfs.go:158
Method
GetFeatures
()
btrfs.go:246
Method
GetSupportedFeatures
()
btrfs.go:259
Function
IO
IO Deprecated: use github/dennwc/ioctl
ioctl/ioctl.go:24
Function
IOC
IOC Deprecated: use github/dennwc/ioctl
ioctl/ioctl.go:17
Function
IOR
IOC Deprecated: use github/dennwc/ioctl
ioctl/ioctl.go:31
Function
IOW
IOW Deprecated: use github/dennwc/ioctl
ioctl/ioctl.go:38
Function
IOWR
IOWR Deprecated: use github/dennwc/ioctl
ioctl/ioctl.go:45
Function
Ioctl
Ioctl Deprecated: use github/dennwc/ioctl
ioctl/ioctl.go:52
Method
Less
(i, j int)
usage.go:36
Function
New
(t testing.TB, size int64)
test/btrfstest.go:70
Function
NewStreamReader
(r io.Reader)
send/send.go:12
Method
ReadCommand
()
send/send.go:105
Method
Receive
(r io.Reader)
btrfs.go:322
Method
ReceiveTo
(r io.Reader, mount string)
btrfs.go:326
Method
Resize
(size int64)
btrfs.go:370
Method
Send
(w io.Writer, parent string, subvols ...string)
btrfs.go:311
Method
SetFlags
(flags SubvolFlags)
btrfs.go:283
Method
Size
()
send/send_h.go:48
Method
Snapshot
(dst string, ro bool)
btrfs.go:302
Method
SnapshotSubVolume
(name string, dst string, ro bool)
btrfs.go:306
Method
String
()
btrfs_h.go:17
Method
String
()
ioctl_h.go:53
Method
String
()
ioctl_h.go:105
Method
String
()
btrfs_tree.go:97
Method
String
()
send/send_h.go:60
Method
String
()
send/send_h.go:143
Method
SubVolumeID
()
btrfs.go:69
Method
SubvolumeByPath
(path string)
btrfs.go:358
Method
SubvolumeByReceivedUUID
(uuid UUID)
btrfs.go:350
Method
SubvolumeByUUID
(uuid UUID)
btrfs.go:342
Method
Swap
(i, j int)
usage.go:35
Method
Sync
()
btrfs.go:287
Function
TestCloneFile
(t *testing.T)
btrfs_test.go:182
Function
TestCompression
(t *testing.T)
btrfs_test.go:159
Function
TestIsSubvolume
(t *testing.T)
btrfs_test.go:28
Function
TestOpen
(t *testing.T)
btrfs_test.go:16
Function
TestResize
(t *testing.T)
btrfs_test.go:220
Function
TestSizes
(t *testing.T)
size_test.go:63
Function
TestSubvolumes
(t *testing.T)
btrfs_test.go:80
Method
Type
()
send/send.go:186
Method
Type
()
send/send.go:196
Method
asMinMax
()
ioctl_h.go:258
Method
asN
()
ioctl_h.go:255
Method
btrfsSize
()
btrfs_tree.go:28
Function
btrfs_qgroup_level
(qgroupid uint64)
btrfs_tree_h.go:705
Function
chunk_to_extended
* * We need a bit for restriper to be able to tell when chunks of type * SINGLE are available. This "extended" profile format is used in * fs_info
btrfs_tree_h.go:682
Method
decode
(tlvs []SendTLV)
send/send.go:189
Method
decode
(tlvs []SendTLV)
send/send.go:199
Method
decode
(tlvs []SendTLV)
send/send.go:215
Method
decode
(tlvs []SendTLV)
send/send.go:246
Method
decode
(tlvs []SendTLV)
send/send.go:278
Method
decode
(tlvs []SendTLV)
send/send.go:306
Method
decode
(tlvs []SendTLV)
send/send.go:332
Method
decode
(tlvs []SendTLV)
send/send.go:362
Method
decode
(tlvs []SendTLV)
send/send.go:387
Method
decode
(tlvs []SendTLV)
send/send.go:413
Method
decode
(tlvs []SendTLV)
send/send.go:440
Method
decode
(tlvs []SendTLV)
send/send.go:468
Function
extended_to_chunk
(flags uint64)
btrfs_tree_h.go:690
Function
init
()
cmd/gbtrfs/gbtrfs.go:14
Function
iocAddDev
(f *os.File, out *btrfs_ioctl_vol_args)
ioctl_h.go:662
Function
iocBalance
(f *os.File, out *btrfs_ioctl_vol_args)
ioctl_h.go:670
Function
iocBalanceCtl
(f *os.File, out *int32)
ioctl_h.go:803
Function
iocBalanceProgress
(f *os.File, out *btrfs_ioctl_balance_args)
ioctl_h.go:807
Function
iocCloneRange
(f *os.File, out *btrfs_ioctl_clone_range_args)
ioctl_h.go:674
Function
iocDefaultSubvol
(f *os.File, out *uint64)
ioctl_h.go:702
Function
iocDefrag
(f *os.File, out *btrfs_ioctl_vol_args)
ioctl_h.go:634
Function
iocDefragRange
(f *os.File, out *btrfs_ioctl_defrag_range_args)
ioctl_h.go:690
Function
iocDevicesReady
(f *os.File, out *btrfs_ioctl_vol_args)
ioctl_h.go:827
Function
iocFileExtentSame
func iocDevReplace(f *os.File, out *btrfs_ioctl_dev_replace_args) error { return ioctl.Do(f, _BTRFS_IOC_DEV_REPLACE, out) }
ioctl_h.go:875
Function
iocGetDevStats
(f *os.File, out *btrfs_ioctl_get_dev_stats)
ioctl_h.go:867
Function
iocGetFslabel
(f *os.File, out *[labelSize]byte)
ioctl_h.go:859
Function
iocInoPaths
(f *os.File, out *btrfs_ioctl_ino_path_args)
ioctl_h.go:811
Function
iocLogicalIno
(f *os.File, out *btrfs_ioctl_ino_path_args)
ioctl_h.go:815
Function
iocQgroupAssign
(f *os.File, out *btrfs_ioctl_qgroup_assign_args)
ioctl_h.go:835
Function
iocQgroupCreate
(f *os.File, out *btrfs_ioctl_qgroup_create_args)
ioctl_h.go:839
Function
iocQgroupLimit
(f *os.File, out *btrfs_ioctl_qgroup_limit_args)
ioctl_h.go:843
Function
iocQuotaCtl
(f *os.File, out *btrfs_ioctl_quota_ctl_args)
ioctl_h.go:831
Function
iocQuotaRescan
(f *os.File, out *btrfs_ioctl_quota_rescan_args)
ioctl_h.go:847
Function
iocQuotaRescanStatus
(f *os.File, out *btrfs_ioctl_quota_rescan_args)
ioctl_h.go:851
Function
iocQuotaRescanWait
(f *os.File)
ioctl_h.go:855
Function
iocRmDev
(f *os.File, out *btrfs_ioctl_vol_args)
ioctl_h.go:666
← previous
next →
101–200 of 213, ranked by callers