Home
last modified time | relevance | path

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

/Linux-v5.4/fs/btrfs/
Dctree.h252 struct btrfs_dev_item dev_item;
1398 struct btrfs_dev_item *s) in btrfs_device_total_bytes()
1401 sizeof(((struct btrfs_dev_item *)0))->total_bytes); in btrfs_device_total_bytes()
1402 return btrfs_get_64(eb, s, offsetof(struct btrfs_dev_item, in btrfs_device_total_bytes()
1406 struct btrfs_dev_item *s, in btrfs_set_device_total_bytes()
1410 sizeof(((struct btrfs_dev_item *)0))->total_bytes); in btrfs_set_device_total_bytes()
1412 btrfs_set_64(eb, s, offsetof(struct btrfs_dev_item, total_bytes), val); in btrfs_set_device_total_bytes()
1416 BTRFS_SETGET_FUNCS(device_type, struct btrfs_dev_item, type, 64);
1417 BTRFS_SETGET_FUNCS(device_bytes_used, struct btrfs_dev_item, bytes_used, 64);
1418 BTRFS_SETGET_FUNCS(device_io_align, struct btrfs_dev_item, io_align, 32);
[all …]
Dprint-tree.c24 struct btrfs_dev_item *dev_item) in print_dev_item()
279 struct btrfs_dev_item)); in btrfs_print_leaf()
Dtree-checker.c689 struct btrfs_dev_item *ditem; in check_dev_item()
697 ditem = btrfs_item_ptr(leaf, slot, struct btrfs_dev_item); in check_dev_item()
Dvolumes.c1888 struct btrfs_dev_item *dev_item; in btrfs_add_dev_item()
1907 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_add_dev_item()
2481 struct btrfs_dev_item *dev_item; in btrfs_finish_sprout()
2522 struct btrfs_dev_item); in btrfs_finish_sprout()
2771 struct btrfs_dev_item *dev_item; in btrfs_update_device()
2793 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_update_device()
6830 struct btrfs_dev_item *dev_item, in fill_device_from_item()
6908 struct btrfs_dev_item *dev_item) in read_one_dev()
7237 struct btrfs_dev_item *dev_item; in btrfs_read_chunk_tree()
7239 struct btrfs_dev_item); in btrfs_read_chunk_tree()
Ddisk-io.c3755 struct btrfs_dev_item *dev_item; in write_all_supers()
/Linux-v5.4/include/uapi/linux/
Dbtrfs_tree.h355 struct btrfs_dev_item { struct