Searched refs:fspath (Results 1 – 5 of 5) sorted by relevance
/fs/btrfs/ |
D | backref.c | 2268 char *fspath; local 2270 int i = ipath->fspath->elem_cnt; 2274 bytes_left = ipath->fspath->bytes_left > s_ptr ? 2275 ipath->fspath->bytes_left - s_ptr : 0; 2277 fspath_min = (char *)ipath->fspath->val + (i + 1) * s_ptr; 2278 fspath = btrfs_ref_to_path(ipath->fs_root, ipath->btrfs_path, name_len, 2280 if (IS_ERR(fspath)) 2281 return PTR_ERR(fspath); 2283 if (fspath > fspath_min) { 2284 ipath->fspath->val[i] = (u64)(unsigned long)fspath; [all …]
|
D | backref.h | 17 struct btrfs_data_container *fspath; member
|
D | ioctl.c | 3915 for (i = 0; i < ipath->fspath->elem_cnt; ++i) { in btrfs_ioctl_ino_to_path() 3916 rel_ptr = ipath->fspath->val[i] - in btrfs_ioctl_ino_to_path() 3917 (u64)(unsigned long)ipath->fspath->val; in btrfs_ioctl_ino_to_path() 3918 ipath->fspath->val[i] = rel_ptr; in btrfs_ioctl_ino_to_path() 3923 ret = copy_to_user((void __user *)(unsigned long)ipa->fspath, in btrfs_ioctl_ino_to_path() 3924 ipath->fspath, size); in btrfs_ioctl_ino_to_path()
|
D | send.c | 5264 struct fs_path *fspath = NULL; in send_capabilities() local 5290 fspath = fs_path_alloc(); in send_capabilities() 5292 if (!fspath || !buf) { in send_capabilities() 5297 ret = get_cur_path(sctx, sctx->cur_ino, sctx->cur_inode_gen, fspath); in send_capabilities() 5304 ret = send_set_xattr(sctx, fspath, XATTR_NAME_CAPS, in send_capabilities() 5308 fs_path_free(fspath); in send_capabilities()
|
D | scrub.c | 695 for (i = 0; i < ipath->fspath->elem_cnt; ++i) in scrub_print_warning_inode() 703 (char *)(unsigned long)ipath->fspath->val[i]); in scrub_print_warning_inode()
|