Home
last modified time | relevance | path

Searched refs:upcall (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v4.19/fs/orangefs/
Dorangefs-sysfs.c333 new_op->upcall.req.param.type = ORANGEFS_PARAM_REQUEST_GET; in sysfs_service_op_show()
347 new_op->upcall.req.param.op = in sysfs_service_op_show()
351 new_op->upcall.req.param.op = in sysfs_service_op_show()
355 new_op->upcall.req.param.op = in sysfs_service_op_show()
360 new_op->upcall.req.param.op = in sysfs_service_op_show()
365 new_op->upcall.req.param.op = in sysfs_service_op_show()
370 new_op->upcall.req.param.op = in sysfs_service_op_show()
375 new_op->upcall.req.param.op = in sysfs_service_op_show()
379 new_op->upcall.req.param.op = in sysfs_service_op_show()
383 new_op->upcall.req.param.op = in sysfs_service_op_show()
[all …]
Dxattr.c100 new_op->upcall.req.getxattr.refn = orangefs_inode->refn; in orangefs_inode_getxattr()
101 strcpy(new_op->upcall.req.getxattr.key, name); in orangefs_inode_getxattr()
108 new_op->upcall.req.getxattr.key_sz = strlen(name) + 1; in orangefs_inode_getxattr()
119 (char *)new_op->upcall.req.getxattr.key); in orangefs_inode_getxattr()
152 upcall.req.getxattr.key, in orangefs_inode_getxattr()
154 upcall.req.getxattr.key_sz, in orangefs_inode_getxattr()
181 new_op->upcall.req.removexattr.refn = orangefs_inode->refn; in orangefs_inode_removexattr()
187 strcpy(new_op->upcall.req.removexattr.key, name); in orangefs_inode_removexattr()
188 new_op->upcall.req.removexattr.key_sz = strlen(name) + 1; in orangefs_inode_removexattr()
192 (char *)new_op->upcall.req.removexattr.key, in orangefs_inode_removexattr()
[all …]
Dorangefs-utils.c18 switch (op->upcall.type) { in fsid_of_op()
20 fsid = op->upcall.req.io.refn.fs_id; in fsid_of_op()
23 fsid = op->upcall.req.lookup.parent_refn.fs_id; in fsid_of_op()
26 fsid = op->upcall.req.create.parent_refn.fs_id; in fsid_of_op()
29 fsid = op->upcall.req.getattr.refn.fs_id; in fsid_of_op()
32 fsid = op->upcall.req.remove.parent_refn.fs_id; in fsid_of_op()
35 fsid = op->upcall.req.mkdir.parent_refn.fs_id; in fsid_of_op()
38 fsid = op->upcall.req.readdir.refn.fs_id; in fsid_of_op()
41 fsid = op->upcall.req.setattr.refn.fs_id; in fsid_of_op()
44 fsid = op->upcall.req.sym.parent_refn.fs_id; in fsid_of_op()
[all …]
Dnamei.c38 new_op->upcall.req.create.parent_refn = parent->refn; in orangefs_create()
40 fill_default_sys_attrs(new_op->upcall.req.create.attributes, in orangefs_create()
43 strncpy(new_op->upcall.req.create.d_name, in orangefs_create()
133 new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; in orangefs_lookup()
140 new_op->upcall.req.lookup.parent_refn = parent->refn; in orangefs_lookup()
142 strncpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name, in orangefs_lookup()
148 new_op->upcall.req.lookup.d_name, in orangefs_lookup()
149 &new_op->upcall.req.lookup.parent_refn.khandle, in orangefs_lookup()
150 new_op->upcall.req.lookup.parent_refn.fs_id); in orangefs_lookup()
196 new_op->upcall.req.remove.parent_refn = parent->refn; in orangefs_unlink()
[all …]
Dorangefs-cache.c49 __s32 type = new_op->upcall.type; in get_opname_string()
126 new_op->upcall.type = ORANGEFS_VFS_OP_INVALID; in op_alloc()
134 new_op->upcall.type = type; in op_alloc()
142 new_op->upcall.uid = from_kuid(&init_user_ns, in op_alloc()
145 new_op->upcall.gid = from_kgid(&init_user_ns, in op_alloc()
Dwaitqueue.c74 op->upcall.tgid = current->tgid; in service_operation()
75 op->upcall.pid = current->pid; in service_operation()
136 if (op->upcall.type == ORANGEFS_VFS_OP_FS_UMOUNT) in service_operation()
215 op->slot_to_free = op->upcall.req.io.buf_index; in orangefs_cancel_op_in_progress()
216 memset(&op->upcall, 0, sizeof(op->upcall)); in orangefs_cancel_op_in_progress()
218 op->upcall.type = ORANGEFS_VFS_OP_CANCEL; in orangefs_cancel_op_in_progress()
219 op->upcall.req.cancel.op_tag = tag; in orangefs_cancel_op_in_progress()
Dsuper.c167 new_op->upcall.req.statfs.fs_id = ORANGEFS_SB(sb)->fs_id; in orangefs_statfs()
241 strncpy(new_op->upcall.req.fs_mount.orangefs_config_server, in orangefs_remount()
247 new_op->upcall.req.fs_mount.orangefs_config_server); in orangefs_remount()
275 new_op->upcall.req.features.features = 0; in orangefs_remount()
384 op->upcall.req.fs_umount.id = id; in orangefs_unmount()
385 op->upcall.req.fs_umount.fs_id = fs_id; in orangefs_unmount()
386 strncpy(op->upcall.req.fs_umount.orangefs_config_server, in orangefs_unmount()
480 strncpy(new_op->upcall.req.fs_mount.orangefs_config_server, in orangefs_mount()
486 new_op->upcall.req.fs_mount.orangefs_config_server); in orangefs_mount()
548 new_op->upcall.req.features.features = 0; in orangefs_mount()
Ddcache.c32 new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; in orangefs_revalidate_lookup()
33 new_op->upcall.req.lookup.parent_refn = parent->refn; in orangefs_revalidate_lookup()
34 strncpy(new_op->upcall.req.lookup.d_name, in orangefs_revalidate_lookup()
Dfile.c32 new_op->upcall.req.ra_cache_flush.refn = orangefs_inode->refn; in flush_racache()
62 new_op->upcall.req.io.readahead_size = readahead_size; in wait_for_direct_io()
63 new_op->upcall.req.io.io_type = type; in wait_for_direct_io()
64 new_op->upcall.req.io.refn = orangefs_inode->refn; in wait_for_direct_io()
84 new_op->upcall.req.io.buf_index = buffer_index; in wait_for_direct_io()
85 new_op->upcall.req.io.count = total_size; in wait_for_direct_io()
86 new_op->upcall.req.io.offset = *offset; in wait_for_direct_io()
629 new_op->upcall.req.fsync.refn = orangefs_inode->refn; in orangefs_fsync()
Ddir.c75 op->upcall.req.readdir.refn = oi->refn; in do_readdir()
76 op->upcall.req.readdir.token = od->token; in do_readdir()
77 op->upcall.req.readdir.max_dirent_count = in do_readdir()
87 op->upcall.req.readdir.buf_index = bufi; in do_readdir()
Ddevorangefs-req.c224 !(op->upcall.type == in orangefs_devreq_read()
226 op->upcall.type == in orangefs_devreq_read()
228 op->upcall.type == in orangefs_devreq_read()
293 &cur_op->upcall, in orangefs_devreq_read()
Dorangefs-debugfs.c503 new_op->upcall.req.param.op = in orangefs_debug_write()
505 new_op->upcall.req.param.type = ORANGEFS_PARAM_REQUEST_SET; in orangefs_debug_write()
506 memset(new_op->upcall.req.param.s_value, in orangefs_debug_write()
509 sprintf(new_op->upcall.req.param.s_value, in orangefs_debug_write()
Dorangefs-kernel.h131 struct orangefs_upcall_s upcall; member
156 #define op_is_cancel(op) ((op)->upcall.type == ORANGEFS_VFS_OP_CANCEL)
Dinode.c181 new_op->upcall.req.truncate.refn = orangefs_inode->refn; in orangefs_setattr_size()
182 new_op->upcall.req.truncate.size = (__s64) iattr->ia_size; in orangefs_setattr_size()
/Linux-v4.19/Documentation/filesystems/nfs/
Drpc-server-gss.txt46 The classic upcall mechanism uses a custom text based upcall mechanism
50 This upcall mechanism has 2 limitations:
67 The newer upcall mechanism uses RPC over a unix socket to a daemon
74 This upcall mechanism uses the kernel rpc client and connects to the gssproxy
87 Once the upcall mechanism is chosen, it cannot be changed. To prevent
Didmapper.txt7 performing an upcall to userspace to request the information. There are two
27 direct the upcall. The following line should be added:
44 You can handle any of these individually, rather than using the generic upcall
/Linux-v4.19/Documentation/networking/
Ddns_resolver.txt23 These routines must be supported by userspace tools dns.upcall, cifs.upcall and
56 create dns_resolver * * /usr/sbin/cifs.upcall %k
83 where <type> optionally specifies the particular upcall program to invoke,
129 Upcalls to userspace are made through the request_key() upcall vector, and are
133 The upcall handler program is responsible for querying the DNS, processing the
139 The upcall handler program should set the expiry time on the key to that of the
/Linux-v4.19/fs/nfs/
Dnfs4idmap.c394 .upcall = rpc_pipe_generic_upcall,
619 struct idmap_msg *upcall, in nfs_idmap_read_and_verify_message() argument
627 if (upcall->im_type != im->im_type || upcall->im_conv != im->im_conv) in nfs_idmap_read_and_verify_message()
631 if (strcmp(upcall->im_name, im->im_name) != 0) in nfs_idmap_read_and_verify_message()
639 if (upcall->im_id != im->im_id) in nfs_idmap_read_and_verify_message()
/Linux-v4.19/fs/coda/
DMakefile7 coda-objs := psdev.o cache.o cnode.o inode.o dir.o file.o upcall.o \
/Linux-v4.19/net/openvswitch/
Dactions.c981 struct dp_upcall_info upcall; in output_userspace() local
985 memset(&upcall, 0, sizeof(upcall)); in output_userspace()
986 upcall.cmd = OVS_PACKET_CMD_ACTION; in output_userspace()
987 upcall.mru = OVS_CB(skb)->mru; in output_userspace()
993 upcall.userdata = a; in output_userspace()
997 upcall.portid = nla_get_u32(a); in output_userspace()
1010 upcall.egress_tun_info = skb_tunnel_info(skb); in output_userspace()
1018 upcall.actions = actions; in output_userspace()
1019 upcall.actions_len = actions_len; in output_userspace()
1026 return ovs_dp_upcall(dp, skb, key, &upcall, cutlen); in output_userspace()
Ddatapath.c244 struct dp_upcall_info upcall; in ovs_dp_process_packet() local
247 memset(&upcall, 0, sizeof(upcall)); in ovs_dp_process_packet()
248 upcall.cmd = OVS_PACKET_CMD_MISS; in ovs_dp_process_packet()
249 upcall.portid = ovs_vport_find_upcall_portid(p, skb); in ovs_dp_process_packet()
250 upcall.mru = OVS_CB(skb)->mru; in ovs_dp_process_packet()
251 error = ovs_dp_upcall(dp, skb, key, &upcall, 0); in ovs_dp_process_packet()
398 struct ovs_header *upcall; in queue_userspace_packet() local
449 upcall = genlmsg_put(user_skb, 0, 0, &dp_packet_genl_family, in queue_userspace_packet()
451 upcall->dp_ifindex = dp_ifindex; in queue_userspace_packet()
/Linux-v4.19/net/dns_resolver/
DKconfig18 SMB2 later. DNS Resolver is supported by the userspace upcall
/Linux-v4.19/include/linux/sunrpc/
Drpc_pipe_fs.h38 ssize_t (*upcall)(struct file *, struct rpc_pipe_msg *, char __user *, size_t); member
/Linux-v4.19/Documentation/filesystems/
Dcoda.txt280 upcall is dispatched to Venus by creating a message structure. The
288 synchronization objects. In the upcall routine the message structure
290 queue. The routine calling upcall is responsible for allocating the
295 the OS. This notification is done in the upcall context of the process
297 in upcall. The (kernel mode) processing of P in the filesystem
299 the calling thread in P is blocked in upcall. A pointer in the
320 processing its upcall with the data buffer replaced with the reply
328 Now P awakes and continues processing upcall. There are some
330 up in upcall by a signal from some other source (for example an
332 sendmsg_to_kernel call. In the normal case, the upcall routine will
[all …]
Dorangefs.txt299 needs to communicate with userspace. Part of the op contains the "upcall"
322 number. The upcall part of the op is filled out, and the op is
328 and thus becomes aware of the upcall request that needs to be read.
333 the filled-out upcall struct are copy_to_user'ed back to userspace.
341 When userspace has assembled the response to the upcall, it
351 part (the response to the upcall) filled out.
446 the readdir buffer descriptor specified in the upcall.

12