Lines Matching refs:inarg

23 	struct fuse_open_in inarg;  in fuse_send_open()  local
31 memset(&inarg, 0, sizeof(inarg)); in fuse_send_open()
32 inarg.flags = file->f_flags & ~(O_CREAT | O_EXCL | O_NOCTTY); in fuse_send_open()
34 inarg.flags &= ~O_TRUNC; in fuse_send_open()
38 req->in.args[0].size = sizeof(inarg); in fuse_send_open()
39 req->in.args[0].value = &inarg; in fuse_send_open()
217 struct fuse_release_in *inarg = &req->misc.release.in; in fuse_prepare_release() local
227 inarg->fh = ff->fh; in fuse_prepare_release()
228 inarg->flags = flags; in fuse_prepare_release()
233 req->in.args[0].value = inarg; in fuse_prepare_release()
359 struct fuse_flush_in inarg; in fuse_flush() local
369 memset(&inarg, 0, sizeof(inarg)); in fuse_flush()
370 inarg.fh = ff->fh; in fuse_flush()
371 inarg.lock_owner = fuse_lock_owner_id(fc, id); in fuse_flush()
375 req->in.args[0].size = sizeof(inarg); in fuse_flush()
376 req->in.args[0].value = &inarg; in fuse_flush()
409 struct fuse_fsync_in inarg; in fuse_fsync_common() local
433 memset(&inarg, 0, sizeof(inarg)); in fuse_fsync_common()
434 inarg.fh = ff->fh; in fuse_fsync_common()
435 inarg.fsync_flags = datasync ? 1 : 0; in fuse_fsync_common()
439 req->in.args[0].size = sizeof(inarg); in fuse_fsync_common()
440 req->in.args[0].value = &inarg; in fuse_fsync_common()
462 struct fuse_read_in *inarg = &req->misc.read.in; in fuse_read_fill() local
465 inarg->fh = ff->fh; in fuse_read_fill()
466 inarg->offset = pos; in fuse_read_fill()
467 inarg->size = count; in fuse_read_fill()
468 inarg->flags = file->f_flags; in fuse_read_fill()
473 req->in.args[0].value = inarg; in fuse_read_fill()
487 struct fuse_read_in *inarg = &req->misc.read.in; in fuse_send_read() local
489 inarg->read_flags |= FUSE_READ_LOCKOWNER; in fuse_send_read()
490 inarg->lock_owner = fuse_lock_owner_id(fc, owner); in fuse_send_read()
709 struct fuse_write_in *inarg = &req->misc.write.in; in fuse_write_fill() local
712 inarg->fh = ff->fh; in fuse_write_fill()
713 inarg->offset = pos; in fuse_write_fill()
714 inarg->size = count; in fuse_write_fill()
722 req->in.args[0].value = inarg; in fuse_write_fill()
734 struct fuse_write_in *inarg = &req->misc.write.in; in fuse_send_write() local
737 inarg->flags = file->f_flags; in fuse_send_write()
739 inarg->write_flags |= FUSE_WRITE_LOCKOWNER; in fuse_send_write()
740 inarg->lock_owner = fuse_lock_owner_id(fc, owner); in fuse_send_write()
1201 struct fuse_write_in *inarg = &req->misc.write.in; in fuse_send_writepage() local
1206 if (inarg->offset + PAGE_CACHE_SIZE <= size) { in fuse_send_writepage()
1207 inarg->size = PAGE_CACHE_SIZE; in fuse_send_writepage()
1208 } else if (inarg->offset < size) { in fuse_send_writepage()
1209 inarg->size = size & (PAGE_CACHE_SIZE - 1); in fuse_send_writepage()
1215 req->in.args[1].size = inarg->size; in fuse_send_writepage()
1566 struct fuse_bmap_in inarg; in fuse_bmap() local
1577 memset(&inarg, 0, sizeof(inarg)); in fuse_bmap()
1578 inarg.block = block; in fuse_bmap()
1579 inarg.blocksize = inode->i_sb->s_blocksize; in fuse_bmap()
1583 req->in.args[0].size = sizeof(inarg); in fuse_bmap()
1584 req->in.args[0].value = &inarg; in fuse_bmap()
1808 struct fuse_ioctl_in inarg = { in fuse_do_ioctl() local
1824 inarg.flags |= FUSE_IOCTL_32BIT; in fuse_do_ioctl()
1827 inarg.flags |= FUSE_IOCTL_32BIT; in fuse_do_ioctl()
1861 inarg.in_size = in_size = iov_length(in_iov, in_iovs); in fuse_do_ioctl()
1862 inarg.out_size = out_size = iov_length(out_iov, out_iovs); in fuse_do_ioctl()
1895 req->in.args[0].size = sizeof(inarg); in fuse_do_ioctl()
1896 req->in.args[0].value = &inarg; in fuse_do_ioctl()
1968 if (transferred > inarg.out_size) in fuse_do_ioctl()
2066 struct fuse_poll_in inarg = { .fh = ff->fh, .kh = ff->kh }; in fuse_file_poll() local
2081 inarg.flags |= FUSE_POLL_SCHEDULE_NOTIFY; in fuse_file_poll()
2092 req->in.args[0].size = sizeof(inarg); in fuse_file_poll()
2093 req->in.args[0].value = &inarg; in fuse_file_poll()