Home
last modified time | relevance | path

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

/Linux-v6.1/fs/btrfs/
Dioctl.c4259 struct btrfs_ioctl_logical_ino_args *loi; in btrfs_ioctl_logical_to_ino() local
4267 loi = memdup_user(arg, sizeof(*loi)); in btrfs_ioctl_logical_to_ino()
4268 if (IS_ERR(loi)) in btrfs_ioctl_logical_to_ino()
4269 return PTR_ERR(loi); in btrfs_ioctl_logical_to_ino()
4273 size = min_t(u32, loi->size, SZ_64K); in btrfs_ioctl_logical_to_ino()
4276 if (memchr_inv(loi->reserved, 0, sizeof(loi->reserved))) { in btrfs_ioctl_logical_to_ino()
4281 if (loi->flags & ~(BTRFS_LOGICAL_INO_ARGS_IGNORE_OFFSET)) { in btrfs_ioctl_logical_to_ino()
4285 ignore_offset = loi->flags & BTRFS_LOGICAL_INO_ARGS_IGNORE_OFFSET; in btrfs_ioctl_logical_to_ino()
4286 size = min_t(u32, loi->size, SZ_16M); in btrfs_ioctl_logical_to_ino()
4300 ret = iterate_inodes_from_logical(loi->logical, fs_info, path, in btrfs_ioctl_logical_to_ino()
[all …]