Lines Matching refs:btrfs_stripe
232 struct btrfs_stripe {
264 struct btrfs_stripe stripe;
272 sizeof(struct btrfs_stripe) * (num_stripes - 1);
1321 BTRFS_SETGET_FUNCS(stripe_devid, struct btrfs_stripe, devid, 64);
1322 BTRFS_SETGET_FUNCS(stripe_offset, struct btrfs_stripe, offset, 64);
1324 static inline char *btrfs_stripe_dev_uuid(struct btrfs_stripe *s)
1326 return (char *)s + offsetof(struct btrfs_stripe, dev_uuid);
1344 BTRFS_SETGET_STACK_FUNCS(stack_stripe_devid, struct btrfs_stripe, devid, 64);
1345 BTRFS_SETGET_STACK_FUNCS(stack_stripe_offset, struct btrfs_stripe, offset, 64);
1347 static inline struct btrfs_stripe *btrfs_stripe_nr(struct btrfs_chunk *c,
1352 offset += nr * sizeof(struct btrfs_stripe);
1353 return (struct btrfs_stripe *)offset;