Lines Matching refs:ipath
3778 struct inode_fs_paths *ipath = NULL; in btrfs_ioctl_ino_to_path() local
3798 ipath = init_ipath(size, root, path); in btrfs_ioctl_ino_to_path()
3799 if (IS_ERR(ipath)) { in btrfs_ioctl_ino_to_path()
3800 ret = PTR_ERR(ipath); in btrfs_ioctl_ino_to_path()
3801 ipath = NULL; in btrfs_ioctl_ino_to_path()
3805 ret = paths_from_inode(ipa->inum, ipath); in btrfs_ioctl_ino_to_path()
3809 for (i = 0; i < ipath->fspath->elem_cnt; ++i) { in btrfs_ioctl_ino_to_path()
3810 rel_ptr = ipath->fspath->val[i] - in btrfs_ioctl_ino_to_path()
3811 (u64)(unsigned long)ipath->fspath->val; in btrfs_ioctl_ino_to_path()
3812 ipath->fspath->val[i] = rel_ptr; in btrfs_ioctl_ino_to_path()
3816 ipath->fspath, size); in btrfs_ioctl_ino_to_path()
3824 free_ipath(ipath); in btrfs_ioctl_ino_to_path()