Lines Matching refs:root_item
63 struct btrfs_path *path, struct btrfs_root_item *root_item, in btrfs_find_root() argument
96 if (root_item) in btrfs_find_root()
97 btrfs_read_root_item(l, slot, root_item); in btrfs_find_root()
280 if (btrfs_root_refs(&root->root_item) == 0) { in btrfs_find_orphan_roots()
283 btrfs_disk_key_to_cpu(&drop_key, &root->root_item.drop_progress); in btrfs_find_orphan_roots()
457 void btrfs_check_and_init_root_item(struct btrfs_root_item *root_item) in btrfs_check_and_init_root_item() argument
459 u64 inode_flags = btrfs_stack_inode_flags(&root_item->inode); in btrfs_check_and_init_root_item()
463 btrfs_set_stack_inode_flags(&root_item->inode, inode_flags); in btrfs_check_and_init_root_item()
464 btrfs_set_root_flags(root_item, 0); in btrfs_check_and_init_root_item()
465 btrfs_set_root_limit(root_item, 0); in btrfs_check_and_init_root_item()
472 struct btrfs_root_item *item = &root->root_item; in btrfs_update_root_times()