summaryrefslogtreecommitdiff
path: root/pkg/btrfs/btrfsitem/item_extentdataref.go
blob: 93585bed1b1f5df91c5fed7e3ec5b36891309d80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package btrfsitem

import (
	"lukeshu.com/btrfs-tools/pkg/binstruct"
	"lukeshu.com/btrfs-tools/pkg/btrfs/internal"
)

type ExtentDataRef struct { // EXTENT_DATA_REF=178
	Root          internal.ObjID `bin:"off=0, siz=8"`
	ObjectID      internal.ObjID `bin:"off=8, siz=8"`
	Offset        int64          `bin:"off=16, siz=8"`
	Count         int32          `bin:"off=24, siz=4"`
	binstruct.End `bin:"off=28"`
}