Home
last modified time | relevance | path

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

12

/Linux-v5.4/fs/orangefs/
Dorangefs-sysfs.c351 new_op->upcall.req.param.type = ORANGEFS_PARAM_REQUEST_GET; in sysfs_service_op_show()
365 new_op->upcall.req.param.op = in sysfs_service_op_show()
369 new_op->upcall.req.param.op = in sysfs_service_op_show()
373 new_op->upcall.req.param.op = in sysfs_service_op_show()
378 new_op->upcall.req.param.op = in sysfs_service_op_show()
383 new_op->upcall.req.param.op = in sysfs_service_op_show()
388 new_op->upcall.req.param.op = in sysfs_service_op_show()
393 new_op->upcall.req.param.op = in sysfs_service_op_show()
397 new_op->upcall.req.param.op = in sysfs_service_op_show()
401 new_op->upcall.req.param.op = in sysfs_service_op_show()
[all …]
Dorangefs-utils.c19 switch (op->upcall.type) { in fsid_of_op()
21 fsid = op->upcall.req.io.refn.fs_id; in fsid_of_op()
24 fsid = op->upcall.req.lookup.parent_refn.fs_id; in fsid_of_op()
27 fsid = op->upcall.req.create.parent_refn.fs_id; in fsid_of_op()
30 fsid = op->upcall.req.getattr.refn.fs_id; in fsid_of_op()
33 fsid = op->upcall.req.remove.parent_refn.fs_id; in fsid_of_op()
36 fsid = op->upcall.req.mkdir.parent_refn.fs_id; in fsid_of_op()
39 fsid = op->upcall.req.readdir.refn.fs_id; in fsid_of_op()
42 fsid = op->upcall.req.setattr.refn.fs_id; in fsid_of_op()
45 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()
130 new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; in orangefs_lookup()
137 new_op->upcall.req.lookup.parent_refn = parent->refn; in orangefs_lookup()
139 strncpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name, in orangefs_lookup()
145 new_op->upcall.req.lookup.d_name, in orangefs_lookup()
146 &new_op->upcall.req.lookup.parent_refn.khandle, in orangefs_lookup()
147 new_op->upcall.req.lookup.parent_refn.fs_id); in orangefs_lookup()
193 new_op->upcall.req.remove.parent_refn = parent->refn; in orangefs_unlink()
[all …]
Dxattr.c152 new_op->upcall.req.getxattr.refn = orangefs_inode->refn; in orangefs_inode_getxattr()
153 strcpy(new_op->upcall.req.getxattr.key, name); in orangefs_inode_getxattr()
160 new_op->upcall.req.getxattr.key_sz = strlen(name) + 1; in orangefs_inode_getxattr()
171 (char *)new_op->upcall.req.getxattr.key); in orangefs_inode_getxattr()
213 upcall.req.getxattr.key, in orangefs_inode_getxattr()
215 upcall.req.getxattr.key_sz, in orangefs_inode_getxattr()
262 new_op->upcall.req.removexattr.refn = orangefs_inode->refn; in orangefs_inode_removexattr()
268 strcpy(new_op->upcall.req.removexattr.key, name); in orangefs_inode_removexattr()
269 new_op->upcall.req.removexattr.key_sz = strlen(name) + 1; in orangefs_inode_removexattr()
273 (char *)new_op->upcall.req.removexattr.key, in orangefs_inode_removexattr()
[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()
213 op->slot_to_free = op->upcall.req.io.buf_index; in orangefs_cancel_op_in_progress()
214 memset(&op->upcall, 0, sizeof(op->upcall)); in orangefs_cancel_op_in_progress()
216 op->upcall.type = ORANGEFS_VFS_OP_CANCEL; in orangefs_cancel_op_in_progress()
217 op->upcall.req.cancel.op_tag = tag; in orangefs_cancel_op_in_progress()
Dfile.c33 new_op->upcall.req.ra_cache_flush.refn = orangefs_inode->refn; in flush_racache()
64 new_op->upcall.req.io.readahead_size = readahead_size; in wait_for_direct_io()
65 new_op->upcall.req.io.io_type = type; in wait_for_direct_io()
66 new_op->upcall.req.io.refn = orangefs_inode->refn; in wait_for_direct_io()
86 new_op->upcall.req.io.buf_index = buffer_index; in wait_for_direct_io()
87 new_op->upcall.req.io.count = total_size; in wait_for_direct_io()
88 new_op->upcall.req.io.offset = *offset; in wait_for_direct_io()
90 new_op->upcall.uid = from_kuid(&init_user_ns, wr->uid); in wait_for_direct_io()
91 new_op->upcall.gid = from_kgid(&init_user_ns, wr->gid); in wait_for_direct_io()
540 new_op->upcall.req.fsync.refn = orangefs_inode->refn; in orangefs_fsync()
Dsuper.c181 new_op->upcall.req.statfs.fs_id = ORANGEFS_SB(sb)->fs_id; in orangefs_statfs()
255 strncpy(new_op->upcall.req.fs_mount.orangefs_config_server, in orangefs_remount()
261 new_op->upcall.req.fs_mount.orangefs_config_server); in orangefs_remount()
289 new_op->upcall.req.features.features = 0; in orangefs_remount()
400 op->upcall.req.fs_umount.id = id; in orangefs_unmount()
401 op->upcall.req.fs_umount.fs_id = fs_id; in orangefs_unmount()
402 strncpy(op->upcall.req.fs_umount.orangefs_config_server, in orangefs_unmount()
496 strncpy(new_op->upcall.req.fs_mount.orangefs_config_server, in orangefs_mount()
502 new_op->upcall.req.fs_mount.orangefs_config_server); in orangefs_mount()
571 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()
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.c465 new_op->upcall.req.param.op = in orangefs_debug_write()
467 new_op->upcall.req.param.type = ORANGEFS_PARAM_REQUEST_SET; in orangefs_debug_write()
468 memset(new_op->upcall.req.param.s_value, in orangefs_debug_write()
471 sprintf(new_op->upcall.req.param.s_value, in orangefs_debug_write()
Dorangefs-kernel.h132 struct orangefs_upcall_s upcall; member
157 #define op_is_cancel(op) ((op)->upcall.type == ORANGEFS_VFS_OP_CANCEL)
/Linux-v5.4/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
Dnfs.txt70 upcall to allow userland to provide this service.
73 /var/lib/nfs/rpc_pipefs, the upcall consists of the following steps:
/Linux-v5.4/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-v5.4/fs/nfs/
Dnfs4idmap.c404 .upcall = rpc_pipe_generic_upcall,
633 struct idmap_msg *upcall, in nfs_idmap_read_and_verify_message() argument
641 if (upcall->im_type != im->im_type || upcall->im_conv != im->im_conv) in nfs_idmap_read_and_verify_message()
645 if (strcmp(upcall->im_name, im->im_name) != 0) in nfs_idmap_read_and_verify_message()
653 if (upcall->im_id != im->im_id) in nfs_idmap_read_and_verify_message()
/Linux-v5.4/fs/coda/
DMakefile8 coda-objs := psdev.o cache.o cnode.o inode.o dir.o file.o upcall.o \
/Linux-v5.4/net/openvswitch/
Dactions.c913 struct dp_upcall_info upcall; in output_userspace() local
917 memset(&upcall, 0, sizeof(upcall)); in output_userspace()
918 upcall.cmd = OVS_PACKET_CMD_ACTION; in output_userspace()
919 upcall.mru = OVS_CB(skb)->mru; in output_userspace()
925 upcall.userdata = a; in output_userspace()
929 upcall.portid = nla_get_u32(a); in output_userspace()
942 upcall.egress_tun_info = skb_tunnel_info(skb); in output_userspace()
950 upcall.actions = actions; in output_userspace()
951 upcall.actions_len = actions_len; in output_userspace()
958 return ovs_dp_upcall(dp, skb, key, &upcall, cutlen); in output_userspace()
Ddatapath.c232 struct dp_upcall_info upcall; in ovs_dp_process_packet() local
234 memset(&upcall, 0, sizeof(upcall)); in ovs_dp_process_packet()
235 upcall.cmd = OVS_PACKET_CMD_MISS; in ovs_dp_process_packet()
236 upcall.portid = ovs_vport_find_upcall_portid(p, skb); in ovs_dp_process_packet()
237 upcall.mru = OVS_CB(skb)->mru; in ovs_dp_process_packet()
238 error = ovs_dp_upcall(dp, skb, key, &upcall, 0); in ovs_dp_process_packet()
388 struct ovs_header *upcall; in queue_userspace_packet() local
439 upcall = genlmsg_put(user_skb, 0, 0, &dp_packet_genl_family, in queue_userspace_packet()
441 if (!upcall) { in queue_userspace_packet()
445 upcall->dp_ifindex = dp_ifindex; in queue_userspace_packet()
/Linux-v5.4/net/dns_resolver/
DKconfig19 SMB2 later. DNS Resolver is supported by the userspace upcall
/Linux-v5.4/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.
/Linux-v5.4/include/linux/sunrpc/
Drpc_pipe_fs.h38 ssize_t (*upcall)(struct file *, struct rpc_pipe_msg *, char __user *, size_t); member

12