btrfs_stripe
BTRFS_SETGET_FUNCS(stripe_devid, struct btrfs_stripe, devid, 64);
BTRFS_SETGET_FUNCS(stripe_offset, struct btrfs_stripe, offset, 64);
static inline char *btrfs_stripe_dev_uuid(struct btrfs_stripe *s)
return (char *)s + offsetof(struct btrfs_stripe, dev_uuid);
BTRFS_SETGET_STACK_FUNCS(stack_stripe_devid, struct btrfs_stripe, devid, 64);
BTRFS_SETGET_STACK_FUNCS(stack_stripe_offset, struct btrfs_stripe, offset, 64);
static inline struct btrfs_stripe *btrfs_stripe_nr(struct btrfs_chunk *c, int nr)
offset += nr * sizeof(struct btrfs_stripe);
return (struct btrfs_stripe *)offset;
struct btrfs_stripe *stripe;
struct btrfs_stripe *stripe;
struct btrfs_stripe *stripe;
/ sizeof(struct btrfs_stripe) + 1)
/ sizeof(struct btrfs_stripe) + 1)
sizeof(struct btrfs_stripe) * (num_stripes - 1);
struct btrfs_stripe stripe;