Home
last modified time | relevance | path

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

/fs/btrfs/
Dioctl.c3943 struct btrfs_ioctl_logical_ino_args *loi; in btrfs_ioctl_logical_to_ino() local
3951 loi = memdup_user(arg, sizeof(*loi)); in btrfs_ioctl_logical_to_ino()
3952 if (IS_ERR(loi)) in btrfs_ioctl_logical_to_ino()
3953 return PTR_ERR(loi); in btrfs_ioctl_logical_to_ino()
3957 size = min_t(u32, loi->size, SZ_64K); in btrfs_ioctl_logical_to_ino()
3960 if (memchr_inv(loi->reserved, 0, sizeof(loi->reserved))) { in btrfs_ioctl_logical_to_ino()
3965 if (loi->flags & ~(BTRFS_LOGICAL_INO_ARGS_IGNORE_OFFSET)) { in btrfs_ioctl_logical_to_ino()
3969 ignore_offset = loi->flags & BTRFS_LOGICAL_INO_ARGS_IGNORE_OFFSET; in btrfs_ioctl_logical_to_ino()
3970 size = min_t(u32, loi->size, SZ_16M); in btrfs_ioctl_logical_to_ino()
3984 ret = iterate_inodes_from_logical(loi->logical, fs_info, path, in btrfs_ioctl_logical_to_ino()
[all …]