Searched refs:rref (Results 1 – 3 of 3) sorted by relevance
| /linux/fs/btrfs/ |
| H A D | export.c | 239 struct btrfs_root_ref *rref; in btrfs_get_name() local 279 rref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name() 281 name_ptr = (unsigned long)(rref + 1); in btrfs_get_name() 282 name_len = btrfs_root_ref_name_len(leaf, rref); in btrfs_get_name()
|
| H A D | tree-checker.c | 1403 struct btrfs_root_ref *rref; in check_root_ref() local 1407 if (unlikely(item_size <= sizeof(*rref))) { in check_root_ref() 1410 key->type, item_size, sizeof(*rref)); in check_root_ref() 1414 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in check_root_ref() 1415 name_len = btrfs_root_ref_name_len(leaf, rref); in check_root_ref() 1422 if (unlikely(item_size != sizeof(*rref) + name_len)) { in check_root_ref() 1425 key->type, item_size, sizeof(*rref) + name_len); in check_root_ref()
|
| H A D | ioctl.c | 1740 struct btrfs_root_ref *rref; in btrfs_search_path_in_tree_user() local 1851 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_search_path_in_tree_user() 1852 if (args->dirid != btrfs_root_ref_dirid(leaf, rref)) in btrfs_search_path_in_tree_user() 1963 struct btrfs_root_ref *rref; in _btrfs_ioctl_get_subvol_info() local 2038 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in _btrfs_ioctl_get_subvol_info() 2039 name_len = btrfs_root_ref_name_len(leaf, rref); in _btrfs_ioctl_get_subvol_info() 2040 subvol_info->dirid = btrfs_root_ref_dirid(leaf, rref); in _btrfs_ioctl_get_subvol_info() 2042 item_off = btrfs_item_ptr_offset(leaf, slot) + sizeof(*rref); in _btrfs_ioctl_get_subvol_info() 2131 struct btrfs_root_ref *rref; in btrfs_ioctl_get_subvol_rootref() local 2185 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_ioctl_get_subvol_rootref() [all …]
|