Lines Matching refs:objectid
349 u64 objectid; in create_subvol() local
353 ret = btrfs_find_free_objectid(root->fs_info->tree_root, &objectid); in create_subvol()
370 0, objectid, NULL, 0, 0, 0, 0); in create_subvol()
380 btrfs_set_header_owner(leaf, objectid); in create_subvol()
418 key.objectid = objectid; in create_subvol()
465 objectid, root->root_key.objectid, in create_subvol()
743 min_key.objectid = ino; in find_new_extents()
747 max_key.objectid = ino; in find_new_extents()
758 if (min_key.objectid != ino) in find_new_extents()
1577 key.objectid = root->root_key.objectid; in may_destroy_subvol()
1591 if (key.objectid == root->root_key.objectid && in may_destroy_subvol()
1606 test.objectid = sk->min_objectid; in key_in_sk()
1614 test.objectid = sk->max_objectid; in key_in_sk()
1669 sh.objectid = key->objectid; in copy_to_sk()
1698 } else if (key->objectid < (u64)-1 && key->objectid < sk->max_objectid) { in copy_to_sk()
1701 key->objectid++; in copy_to_sk()
1729 key.objectid = sk->tree_id; in search_ioctl()
1741 key.objectid = sk->min_objectid; in search_ioctl()
1745 max_key.objectid = sk->max_objectid; in search_ioctl()
1824 key.objectid = tree_id; in btrfs_search_path_in_tree()
1834 key.objectid = dirid; in btrfs_search_path_in_tree()
1849 if (ret > 0 && (key.objectid != dirid || in btrfs_search_path_in_tree()
1869 key.objectid = key.offset; in btrfs_search_path_in_tree()
1871 dirid = key.objectid; in btrfs_search_path_in_tree()
1900 args->treeid = BTRFS_I(inode)->root->root_key.objectid; in btrfs_ioctl_ino_lookup()
1903 args->treeid, args->objectid, in btrfs_ioctl_ino_lookup()
2021 dest->root_key.objectid, in btrfs_ioctl_snap_destroy()
2040 dest->root_key.objectid); in btrfs_ioctl_snap_destroy()
2409 key.objectid = btrfs_ino(src); in btrfs_ioctl_clone()
2436 key.objectid != btrfs_ino(src)) in btrfs_ioctl_clone()
2479 new_key.objectid = btrfs_ino(inode); in btrfs_ioctl_clone()
2554 root->root_key.objectid, in btrfs_ioctl_clone()
2734 u64 objectid = 0; in btrfs_ioctl_default_subvol() local
2740 if (copy_from_user(&objectid, argp, sizeof(objectid))) in btrfs_ioctl_default_subvol()
2743 if (!objectid) in btrfs_ioctl_default_subvol()
2744 objectid = root->root_key.objectid; in btrfs_ioctl_default_subvol()
2746 location.objectid = objectid; in btrfs_ioctl_default_subvol()
3167 extent_item_pos = loi->logical - key.objectid; in btrfs_ioctl_logical_to_ino()
3168 ret = iterate_extent_inodes(root->fs_info, key.objectid, in btrfs_ioctl_logical_to_ino()