Home
last modified time | relevance | path

Searched refs:btrfs_dev_item (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/fs/btrfs/
Dctree.h258 struct btrfs_dev_item dev_item;
1634 struct btrfs_dev_item *s) in btrfs_device_total_bytes()
1637 sizeof(((struct btrfs_dev_item *)0))->total_bytes); in btrfs_device_total_bytes()
1638 return btrfs_get_64(eb, s, offsetof(struct btrfs_dev_item, in btrfs_device_total_bytes()
1642 struct btrfs_dev_item *s, in btrfs_set_device_total_bytes()
1646 sizeof(((struct btrfs_dev_item *)0))->total_bytes); in btrfs_set_device_total_bytes()
1648 btrfs_set_64(eb, s, offsetof(struct btrfs_dev_item, total_bytes), val); in btrfs_set_device_total_bytes()
1652 BTRFS_SETGET_FUNCS(device_type, struct btrfs_dev_item, type, 64);
1653 BTRFS_SETGET_FUNCS(device_bytes_used, struct btrfs_dev_item, bytes_used, 64);
1654 BTRFS_SETGET_FUNCS(device_io_align, struct btrfs_dev_item, io_align, 32);
[all …]
Dprint-tree.c62 struct btrfs_dev_item *dev_item) in print_dev_item()
311 struct btrfs_dev_item)); in btrfs_print_leaf()
Dvolumes.c1833 struct btrfs_dev_item *dev_item; in btrfs_add_dev_item()
1852 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_add_dev_item()
2466 struct btrfs_dev_item *dev_item; in btrfs_finish_sprout()
2507 struct btrfs_dev_item); in btrfs_finish_sprout()
2782 struct btrfs_dev_item *dev_item; in btrfs_update_device()
2804 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_update_device()
7075 struct btrfs_dev_item *dev_item, in fill_device_from_item()
7152 struct btrfs_dev_item *dev_item) in read_one_dev()
7522 struct btrfs_dev_item *dev_item; in btrfs_read_chunk_tree()
7524 struct btrfs_dev_item); in btrfs_read_chunk_tree()
Dtree-checker.c967 struct btrfs_dev_item *ditem; in check_dev_item()
975 ditem = btrfs_item_ptr(leaf, slot, struct btrfs_dev_item); in check_dev_item()
Ddisk-io.c4104 struct btrfs_dev_item *dev_item; in write_all_supers()
/Linux-v5.15/include/uapi/linux/
Dbtrfs_tree.h387 struct btrfs_dev_item { struct