Searched refs:loi (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/fs/btrfs/ ! |
D | ioctl.c | 4256 struct btrfs_ioctl_logical_ino_args *loi; in btrfs_ioctl_logical_to_ino() local 4264 loi = memdup_user(arg, sizeof(*loi)); in btrfs_ioctl_logical_to_ino() 4265 if (IS_ERR(loi)) in btrfs_ioctl_logical_to_ino() 4266 return PTR_ERR(loi); in btrfs_ioctl_logical_to_ino() 4270 size = min_t(u32, loi->size, SZ_64K); in btrfs_ioctl_logical_to_ino() 4273 if (memchr_inv(loi->reserved, 0, sizeof(loi->reserved))) { in btrfs_ioctl_logical_to_ino() 4278 if (loi->flags & ~(BTRFS_LOGICAL_INO_ARGS_IGNORE_OFFSET)) { in btrfs_ioctl_logical_to_ino() 4282 ignore_offset = loi->flags & BTRFS_LOGICAL_INO_ARGS_IGNORE_OFFSET; in btrfs_ioctl_logical_to_ino() 4283 size = min_t(u32, loi->size, SZ_16M); in btrfs_ioctl_logical_to_ino() 4297 ret = iterate_inodes_from_logical(loi->logical, fs_info, path, in btrfs_ioctl_logical_to_ino() [all …]
|