Lines Matching refs:btrfs_item
359 struct btrfs_item { struct
374 struct btrfs_item items[]; argument
1133 sizeof(struct btrfs_item))
1570 return BTRFS_LEAF_DATA_SIZE(info) - sizeof(struct btrfs_item); in BTRFS_MAX_ITEM_SIZE()
2155 BTRFS_SETGET_FUNCS(raw_item_offset, struct btrfs_item, offset, 32);
2156 BTRFS_SETGET_FUNCS(raw_item_size, struct btrfs_item, size, 32);
2157 BTRFS_SETGET_STACK_FUNCS(stack_item_offset, struct btrfs_item, offset, 32);
2158 BTRFS_SETGET_STACK_FUNCS(stack_item_size, struct btrfs_item, size, 32);
2163 sizeof(struct btrfs_item) * nr; in btrfs_item_nr_offset()
2166 static inline struct btrfs_item *btrfs_item_nr(int nr) in btrfs_item_nr()
2168 return (struct btrfs_item *)btrfs_item_nr_offset(nr); in btrfs_item_nr()
2185 struct btrfs_item *item = btrfs_item_nr(slot); \
2191 struct btrfs_item *item = btrfs_item_nr(slot); \
2206 struct btrfs_item *item = btrfs_item_nr(nr); in btrfs_item_key()
2207 read_eb_member(eb, item, struct btrfs_item, key, disk_key); in btrfs_item_key()
2213 struct btrfs_item *item = btrfs_item_nr(nr); in btrfs_set_item_key()
2214 write_eb_member(eb, item, struct btrfs_item, key, disk_key); in btrfs_set_item_key()