Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/fuse/
Dxattr.c19 struct fuse_setxattr_in inarg; in fuse_setxattr() local
25 memset(&inarg, 0, sizeof(inarg)); in fuse_setxattr()
26 inarg.size = size; in fuse_setxattr()
27 inarg.flags = flags; in fuse_setxattr()
31 args.in_args[0].size = sizeof(inarg); in fuse_setxattr()
32 args.in_args[0].value = &inarg; in fuse_setxattr()
54 struct fuse_getxattr_in inarg; in fuse_getxattr() local
61 memset(&inarg, 0, sizeof(inarg)); in fuse_getxattr()
62 inarg.size = size; in fuse_getxattr()
66 args.in_args[0].size = sizeof(inarg); in fuse_getxattr()
[all …]
Ddir.c535 struct fuse_create_in inarg; in fuse_create_open() local
559 memset(&inarg, 0, sizeof(inarg)); in fuse_create_open()
561 inarg.flags = flags; in fuse_create_open()
562 inarg.mode = mode; in fuse_create_open()
563 inarg.umask = current_umask(); in fuse_create_open()
567 args.in_args[0].size = sizeof(inarg); in fuse_create_open()
568 args.in_args[0].value = &inarg; in fuse_create_open()
736 struct fuse_mknod_in inarg; in fuse_mknod() local
743 memset(&inarg, 0, sizeof(inarg)); in fuse_mknod()
744 inarg.mode = mode; in fuse_mknod()
[all …]
Dfile.c38 struct fuse_open_in inarg; in fuse_send_open() local
41 memset(&inarg, 0, sizeof(inarg)); in fuse_send_open()
42 inarg.flags = file->f_flags & ~(O_CREAT | O_EXCL | O_NOCTTY); in fuse_send_open()
44 inarg.flags &= ~O_TRUNC; in fuse_send_open()
48 args.in_args[0].size = sizeof(inarg); in fuse_send_open()
49 args.in_args[0].value = &inarg; in fuse_send_open()
59 struct fuse_release_in inarg; member
291 ra->inarg.fh = ff->fh; in fuse_prepare_release()
292 ra->inarg.flags = flags; in fuse_prepare_release()
295 ra->args.in_args[0].value = &ra->inarg; in fuse_prepare_release()
[all …]
Ddax.c188 struct fuse_setupmapping_in inarg; in fuse_setup_one_mapping() local
196 memset(&inarg, 0, sizeof(inarg)); in fuse_setup_one_mapping()
197 inarg.foffset = offset; in fuse_setup_one_mapping()
198 inarg.fh = -1; in fuse_setup_one_mapping()
199 inarg.moffset = dmap->window_offset; in fuse_setup_one_mapping()
200 inarg.len = FUSE_DAX_SZ; in fuse_setup_one_mapping()
201 inarg.flags |= FUSE_SETUPMAPPING_FLAG_READ; in fuse_setup_one_mapping()
203 inarg.flags |= FUSE_SETUPMAPPING_FLAG_WRITE; in fuse_setup_one_mapping()
207 args.in_args[0].size = sizeof(inarg); in fuse_setup_one_mapping()
208 args.in_args[0].value = &inarg; in fuse_setup_one_mapping()
[all …]
Dreaddir.c261 struct fuse_forget_in inarg; in fuse_force_forget() local
264 memset(&inarg, 0, sizeof(inarg)); in fuse_force_forget()
265 inarg.nlookup = 1; in fuse_force_forget()
269 args.in_args[0].size = sizeof(inarg); in fuse_force_forget()
270 args.in_args[0].value = &inarg; in fuse_force_forget()
Ddev.c1657 struct fuse_notify_retrieve_in inarg; member
1737 ra->inarg.offset = outarg->offset; in fuse_retrieve()
1738 ra->inarg.size = total_len; in fuse_retrieve()
1739 args->in_args[0].size = sizeof(ra->inarg); in fuse_retrieve()
1740 args->in_args[0].value = &ra->inarg; in fuse_retrieve()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dapc.c91 __u8 inarg, __user *arg = (__u8 __user *) __arg; in apc_ioctl() local
110 if (get_user(inarg, arg)) in apc_ioctl()
112 apc_writeb(inarg & APC_REGMASK, APC_FANCTL_REG); in apc_ioctl()
116 if (get_user(inarg, arg)) in apc_ioctl()
118 apc_writeb(inarg & APC_REGMASK, APC_CPOWER_REG); in apc_ioctl()
122 if (get_user(inarg, arg)) in apc_ioctl()
124 apc_writeb(inarg & APC_BPMASK, APC_BPORT_REG); in apc_ioctl()