Lines Matching refs:ipath
2145 struct inode_fs_paths *ipath = ctx; local
2148 int i = ipath->fspath->elem_cnt;
2152 bytes_left = ipath->fspath->bytes_left > s_ptr ?
2153 ipath->fspath->bytes_left - s_ptr : 0;
2155 fspath_min = (char *)ipath->fspath->val + (i + 1) * s_ptr;
2156 fspath = btrfs_ref_to_path(ipath->fs_root, ipath->btrfs_path, name_len,
2162 ipath->fspath->val[i] = (u64)(unsigned long)fspath;
2163 ++ipath->fspath->elem_cnt;
2164 ipath->fspath->bytes_left = fspath - fspath_min;
2166 ++ipath->fspath->elem_missed;
2167 ipath->fspath->bytes_missing += fspath_min - fspath;
2168 ipath->fspath->bytes_left = 0;
2184 int paths_from_inode(u64 inum, struct inode_fs_paths *ipath) argument
2186 return iterate_irefs(inum, ipath->fs_root, ipath->btrfs_path,
2187 inode_to_path, ipath);
2243 void free_ipath(struct inode_fs_paths *ipath) argument
2245 if (!ipath)
2247 kvfree(ipath->fspath);
2248 kfree(ipath);