Home
last modified time | relevance | path

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

/linux-6.12.1/fs/btrfs/
Dioctl.c3448 struct btrfs_ioctl_logical_ino_args *loi; in btrfs_ioctl_logical_to_ino() local
3456 loi = memdup_user(arg, sizeof(*loi)); in btrfs_ioctl_logical_to_ino()
3457 if (IS_ERR(loi)) in btrfs_ioctl_logical_to_ino()
3458 return PTR_ERR(loi); in btrfs_ioctl_logical_to_ino()
3462 size = min_t(u32, loi->size, SZ_64K); in btrfs_ioctl_logical_to_ino()
3465 if (memchr_inv(loi->reserved, 0, sizeof(loi->reserved))) { in btrfs_ioctl_logical_to_ino()
3470 if (loi->flags & ~(BTRFS_LOGICAL_INO_ARGS_IGNORE_OFFSET)) { in btrfs_ioctl_logical_to_ino()
3474 ignore_offset = loi->flags & BTRFS_LOGICAL_INO_ARGS_IGNORE_OFFSET; in btrfs_ioctl_logical_to_ino()
3475 size = min_t(u32, loi->size, SZ_16M); in btrfs_ioctl_logical_to_ino()
3489 ret = iterate_inodes_from_logical(loi->logical, fs_info, path, in btrfs_ioctl_logical_to_ino()
[all …]