ipath 2150 fs/btrfs/backref.c struct inode_fs_paths *ipath = ctx; ipath 2153 fs/btrfs/backref.c int i = ipath->fspath->elem_cnt; ipath 2157 fs/btrfs/backref.c bytes_left = ipath->fspath->bytes_left > s_ptr ? ipath 2158 fs/btrfs/backref.c ipath->fspath->bytes_left - s_ptr : 0; ipath 2160 fs/btrfs/backref.c fspath_min = (char *)ipath->fspath->val + (i + 1) * s_ptr; ipath 2161 fs/btrfs/backref.c fspath = btrfs_ref_to_path(ipath->fs_root, ipath->btrfs_path, name_len, ipath 2167 fs/btrfs/backref.c ipath->fspath->val[i] = (u64)(unsigned long)fspath; ipath 2168 fs/btrfs/backref.c ++ipath->fspath->elem_cnt; ipath 2169 fs/btrfs/backref.c ipath->fspath->bytes_left = fspath - fspath_min; ipath 2171 fs/btrfs/backref.c ++ipath->fspath->elem_missed; ipath 2172 fs/btrfs/backref.c ipath->fspath->bytes_missing += fspath_min - fspath; ipath 2173 fs/btrfs/backref.c ipath->fspath->bytes_left = 0; ipath 2189 fs/btrfs/backref.c int paths_from_inode(u64 inum, struct inode_fs_paths *ipath) ipath 2191 fs/btrfs/backref.c return iterate_irefs(inum, ipath->fs_root, ipath->btrfs_path, ipath 2192 fs/btrfs/backref.c inode_to_path, ipath); ipath 2248 fs/btrfs/backref.c void free_ipath(struct inode_fs_paths *ipath) ipath 2250 fs/btrfs/backref.c if (!ipath) ipath 2252 fs/btrfs/backref.c kvfree(ipath->fspath); ipath 2253 fs/btrfs/backref.c kfree(ipath); ipath 41 fs/btrfs/backref.h int paths_from_inode(u64 inum, struct inode_fs_paths *ipath); ipath 54 fs/btrfs/backref.h void free_ipath(struct inode_fs_paths *ipath); ipath 4387 fs/btrfs/ioctl.c struct inode_fs_paths *ipath = NULL; ipath 4407 fs/btrfs/ioctl.c ipath = init_ipath(size, root, path); ipath 4408 fs/btrfs/ioctl.c if (IS_ERR(ipath)) { ipath 4409 fs/btrfs/ioctl.c ret = PTR_ERR(ipath); ipath 4410 fs/btrfs/ioctl.c ipath = NULL; ipath 4414 fs/btrfs/ioctl.c ret = paths_from_inode(ipa->inum, ipath); ipath 4418 fs/btrfs/ioctl.c for (i = 0; i < ipath->fspath->elem_cnt; ++i) { ipath 4419 fs/btrfs/ioctl.c rel_ptr = ipath->fspath->val[i] - ipath 4420 fs/btrfs/ioctl.c (u64)(unsigned long)ipath->fspath->val; ipath 4421 fs/btrfs/ioctl.c ipath->fspath->val[i] = rel_ptr; ipath 4425 fs/btrfs/ioctl.c ipath->fspath, size); ipath 4433 fs/btrfs/ioctl.c free_ipath(ipath); ipath 648 fs/btrfs/scrub.c struct inode_fs_paths *ipath = NULL; ipath 688 fs/btrfs/scrub.c ipath = init_ipath(4096, local_root, swarn->path); ipath 690 fs/btrfs/scrub.c if (IS_ERR(ipath)) { ipath 691 fs/btrfs/scrub.c ret = PTR_ERR(ipath); ipath 692 fs/btrfs/scrub.c ipath = NULL; ipath 695 fs/btrfs/scrub.c ret = paths_from_inode(inum, ipath); ipath 704 fs/btrfs/scrub.c for (i = 0; i < ipath->fspath->elem_cnt; ++i) ipath 712 fs/btrfs/scrub.c (char *)(unsigned long)ipath->fspath->val[i]); ipath 714 fs/btrfs/scrub.c free_ipath(ipath); ipath 725 fs/btrfs/scrub.c free_ipath(ipath);