loi 4464 fs/btrfs/ioctl.c struct btrfs_ioctl_logical_ino_args *loi; loi 4472 fs/btrfs/ioctl.c loi = memdup_user(arg, sizeof(*loi)); loi 4473 fs/btrfs/ioctl.c if (IS_ERR(loi)) loi 4474 fs/btrfs/ioctl.c return PTR_ERR(loi); loi 4478 fs/btrfs/ioctl.c size = min_t(u32, loi->size, SZ_64K); loi 4481 fs/btrfs/ioctl.c if (memchr_inv(loi->reserved, 0, sizeof(loi->reserved))) { loi 4486 fs/btrfs/ioctl.c if (loi->flags & ~(BTRFS_LOGICAL_INO_ARGS_IGNORE_OFFSET)) { loi 4490 fs/btrfs/ioctl.c ignore_offset = loi->flags & BTRFS_LOGICAL_INO_ARGS_IGNORE_OFFSET; loi 4491 fs/btrfs/ioctl.c size = min_t(u32, loi->size, SZ_16M); loi 4507 fs/btrfs/ioctl.c ret = iterate_inodes_from_logical(loi->logical, fs_info, path, loi 4514 fs/btrfs/ioctl.c ret = copy_to_user((void __user *)(unsigned long)loi->inodes, inodes, loi 4523 fs/btrfs/ioctl.c kfree(loi);