summaryrefslogtreecommitdiff
path: root/pkg/btrfs/btrfsitem/item_extentdataref.go
blob: c898b7213544b1c17b562e941ce9827360c9a573 (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          int64          `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"`
}