Searched refs:rref (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/fs/btrfs/ |
H A D | subvolume.c | 13 struct btrfs_root_ref rref; in get_subvol_name() local 24 subvolid = btrfs_lookup_root_ref(subvolid, &rref, tmp); in get_subvol_name() 29 ptr -= rref.name_len + 1; in get_subvol_name() 33 memcpy(ptr + 1, tmp, rref.name_len); in get_subvol_name() 39 dir = rref.dirid; in get_subvol_name()
|
/openbmc/linux/fs/btrfs/ |
H A D | export.c | 229 struct btrfs_root_ref *rref; in btrfs_get_name() local 272 rref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name() 274 name_ptr = (unsigned long)(rref + 1); in btrfs_get_name() 275 name_len = btrfs_root_ref_name_len(leaf, rref); in btrfs_get_name()
|
H A D | ioctl.c | 1917 struct btrfs_root_ref *rref; in btrfs_search_path_in_tree_user() local 2050 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_search_path_in_tree_user() 2051 if (args->dirid != btrfs_root_ref_dirid(leaf, rref)) { in btrfs_search_path_in_tree_user() 2160 struct btrfs_root_ref *rref; in btrfs_ioctl_get_subvol_info() local 2240 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_ioctl_get_subvol_info() 2241 subvol_info->dirid = btrfs_root_ref_dirid(leaf, rref); in btrfs_ioctl_get_subvol_info() 2276 struct btrfs_root_ref *rref; in btrfs_ioctl_get_subvol_rootref() local 2330 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_ioctl_get_subvol_rootref() 2333 btrfs_root_ref_dirid(leaf, rref); in btrfs_ioctl_get_subvol_rootref()
|