Home
last modified time | relevance | path

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

/Linux-v5.10/fs/btrfs/
Dctree.h262 struct btrfs_dev_item dev_item;
1514 struct btrfs_dev_item *s) in btrfs_device_total_bytes()
1517 sizeof(((struct btrfs_dev_item *)0))->total_bytes); in btrfs_device_total_bytes()
1518 return btrfs_get_64(eb, s, offsetof(struct btrfs_dev_item, in btrfs_device_total_bytes()
1522 struct btrfs_dev_item *s, in btrfs_set_device_total_bytes()
1526 sizeof(((struct btrfs_dev_item *)0))->total_bytes); in btrfs_set_device_total_bytes()
1528 btrfs_set_64(eb, s, offsetof(struct btrfs_dev_item, total_bytes), val); in btrfs_set_device_total_bytes()
1532 BTRFS_SETGET_FUNCS(device_type, struct btrfs_dev_item, type, 64);
1533 BTRFS_SETGET_FUNCS(device_bytes_used, struct btrfs_dev_item, bytes_used, 64);
1534 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()
319 struct btrfs_dev_item)); in btrfs_print_leaf()
Dvolumes.c1801 struct btrfs_dev_item *dev_item; in btrfs_add_dev_item()
1820 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_add_dev_item()
2420 struct btrfs_dev_item *dev_item; in btrfs_finish_sprout()
2461 struct btrfs_dev_item); in btrfs_finish_sprout()
2724 struct btrfs_dev_item *dev_item; in btrfs_update_device()
2746 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_update_device()
6697 struct btrfs_dev_item *dev_item, in fill_device_from_item()
6774 struct btrfs_dev_item *dev_item) in read_one_dev()
7138 struct btrfs_dev_item *dev_item; in btrfs_read_chunk_tree()
7140 struct btrfs_dev_item); in btrfs_read_chunk_tree()
Dtree-checker.c942 struct btrfs_dev_item *ditem; in check_dev_item()
950 ditem = btrfs_item_ptr(leaf, slot, struct btrfs_dev_item); in check_dev_item()
Ddisk-io.c3816 struct btrfs_dev_item *dev_item; in write_all_supers()
/Linux-v5.10/include/uapi/linux/
Dbtrfs_tree.h363 struct btrfs_dev_item { struct