Lines Matching refs:inodes
4546 struct btrfs_data_container *inodes = ctx; in build_ino_list() local
4549 if (inodes->bytes_left >= c) { in build_ino_list()
4550 inodes->bytes_left -= c; in build_ino_list()
4551 inodes->val[inodes->elem_cnt] = inum; in build_ino_list()
4552 inodes->val[inodes->elem_cnt + 1] = offset; in build_ino_list()
4553 inodes->val[inodes->elem_cnt + 2] = root; in build_ino_list()
4554 inodes->elem_cnt += 3; in build_ino_list()
4556 inodes->bytes_missing += c - inodes->bytes_left; in build_ino_list()
4557 inodes->bytes_left = 0; in build_ino_list()
4558 inodes->elem_missed += 3; in build_ino_list()
4570 struct btrfs_data_container *inodes = NULL; in btrfs_ioctl_logical_to_ino() local
4599 inodes = init_data_container(size); in btrfs_ioctl_logical_to_ino()
4600 if (IS_ERR(inodes)) { in btrfs_ioctl_logical_to_ino()
4601 ret = PTR_ERR(inodes); in btrfs_ioctl_logical_to_ino()
4611 build_ino_list, inodes, ignore_offset); in btrfs_ioctl_logical_to_ino()
4618 ret = copy_to_user((void __user *)(unsigned long)loi->inodes, inodes, in btrfs_ioctl_logical_to_ino()
4624 kvfree(inodes); in btrfs_ioctl_logical_to_ino()