Home
last modified time | relevance | path

Searched refs:fspath (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/fs/btrfs/
Dbackref.c2416 char *fspath; in inode_to_path() local
2418 int i = ipath->fspath->elem_cnt; in inode_to_path()
2422 bytes_left = ipath->fspath->bytes_left > s_ptr ? in inode_to_path()
2423 ipath->fspath->bytes_left - s_ptr : 0; in inode_to_path()
2425 fspath_min = (char *)ipath->fspath->val + (i + 1) * s_ptr; in inode_to_path()
2426 fspath = btrfs_ref_to_path(ipath->fs_root, ipath->btrfs_path, name_len, in inode_to_path()
2428 if (IS_ERR(fspath)) in inode_to_path()
2429 return PTR_ERR(fspath); in inode_to_path()
2431 if (fspath > fspath_min) { in inode_to_path()
2432 ipath->fspath->val[i] = (u64)(unsigned long)fspath; in inode_to_path()
[all …]
Dsend.c5281 struct fs_path *fspath; in send_encoded_inline_extent() local
5293 fspath = fs_path_alloc(); in send_encoded_inline_extent()
5294 if (!fspath) { in send_encoded_inline_extent()
5303 ret = get_cur_path(sctx, sctx->cur_ino, sctx->cur_inode_gen, fspath); in send_encoded_inline_extent()
5312 TLV_PUT_PATH(sctx, BTRFS_SEND_A_PATH, fspath); in send_encoded_inline_extent()
5335 fs_path_free(fspath); in send_encoded_inline_extent()
5346 struct fs_path *fspath; in send_encoded_extent() local
5360 fspath = fs_path_alloc(); in send_encoded_extent()
5361 if (!fspath) { in send_encoded_extent()
5370 ret = get_cur_path(sctx, sctx->cur_ino, sctx->cur_inode_gen, fspath); in send_encoded_extent()
[all …]
Dbackref.h17 struct btrfs_data_container *fspath; member
Dioctl.c4228 for (i = 0; i < ipath->fspath->elem_cnt; ++i) { in btrfs_ioctl_ino_to_path()
4229 rel_ptr = ipath->fspath->val[i] - in btrfs_ioctl_ino_to_path()
4230 (u64)(unsigned long)ipath->fspath->val; in btrfs_ioctl_ino_to_path()
4231 ipath->fspath->val[i] = rel_ptr; in btrfs_ioctl_ino_to_path()
4236 ret = copy_to_user((void __user *)(unsigned long)ipa->fspath, in btrfs_ioctl_ino_to_path()
4237 ipath->fspath, size); in btrfs_ioctl_ino_to_path()
Dscrub.c861 for (i = 0; i < ipath->fspath->elem_cnt; ++i) in scrub_print_warning_inode()
869 (char *)(unsigned long)ipath->fspath->val[i]); in scrub_print_warning_inode()
/linux-6.1.9/scripts/kconfig/tests/
Dconftest.py36 self._test_dir = os.path.dirname(str(request.fspath))
/linux-6.1.9/include/uapi/linux/
Dbtrfs.h669 __u64 fspath; /* out */ member