Lines Matching refs:iov
72 static int fuse_verify_ioctl_iov(struct fuse_conn *fc, struct iovec *iov, in fuse_verify_ioctl_iov() argument
78 for (n = 0; n < count; n++, iov++) { in fuse_verify_ioctl_iov()
79 if (iov->iov_len > (size_t) max) in fuse_verify_ioctl_iov()
81 max -= iov->iov_len; in fuse_verify_ioctl_iov()
122 static int fuse_setup_measure_verity(unsigned long arg, struct iovec *iov) in fuse_setup_measure_verity() argument
133 iov->iov_len = sizeof(struct fsverity_digest) + digest_size; in fuse_setup_measure_verity()
138 static int fuse_setup_enable_verity(unsigned long arg, struct iovec *iov, in fuse_setup_enable_verity() argument
152 iov++; in fuse_setup_enable_verity()
155 iov->iov_base = u64_to_user_ptr(enable.salt_ptr); in fuse_setup_enable_verity()
156 iov->iov_len = enable.salt_size; in fuse_setup_enable_verity()
160 iov++; in fuse_setup_enable_verity()
163 iov->iov_base = u64_to_user_ptr(enable.sig_ptr); in fuse_setup_enable_verity()
164 iov->iov_len = enable.sig_size; in fuse_setup_enable_verity()
264 struct iovec *iov = iov_page; in fuse_do_ioctl() local
266 iov->iov_base = (void __user *)arg; in fuse_do_ioctl()
267 iov->iov_len = _IOC_SIZE(cmd); in fuse_do_ioctl()
270 in_iov = iov; in fuse_do_ioctl()
275 out_iov = iov; in fuse_do_ioctl()
282 err = fuse_setup_measure_verity(arg, iov); in fuse_do_ioctl()
285 err = fuse_setup_enable_verity(arg, iov, &in_iovs); in fuse_do_ioctl()