Home
last modified time | relevance | path

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

12

/linux-6.12.1/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.c39 new_op->upcall.req.create.parent_refn = parent->refn; in orangefs_create()
41 fill_default_sys_attrs(new_op->upcall.req.create.attributes, in orangefs_create()
44 strscpy(new_op->upcall.req.create.d_name, dentry->d_name.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 strscpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name); in orangefs_lookup()
144 new_op->upcall.req.lookup.d_name, in orangefs_lookup()
145 &new_op->upcall.req.lookup.parent_refn.khandle, in orangefs_lookup()
146 new_op->upcall.req.lookup.parent_refn.fs_id); in orangefs_lookup()
192 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 …]
Dfile.c34 new_op->upcall.req.ra_cache_flush.refn = orangefs_inode->refn; in flush_racache()
68 new_op->upcall.req.io.readahead_size = readahead_size; in wait_for_direct_io()
69 new_op->upcall.req.io.io_type = type; in wait_for_direct_io()
70 new_op->upcall.req.io.refn = orangefs_inode->refn; in wait_for_direct_io()
90 new_op->upcall.req.io.buf_index = buffer_index; in wait_for_direct_io()
91 new_op->upcall.req.io.count = total_size; in wait_for_direct_io()
92 new_op->upcall.req.io.offset = *offset; in wait_for_direct_io()
94 new_op->upcall.uid = from_kuid(&init_user_ns, wr->uid); in wait_for_direct_io()
95 new_op->upcall.gid = from_kgid(&init_user_ns, wr->gid); in wait_for_direct_io()
126 new_op->upcall.uid = 0; in wait_for_direct_io()
[all …]
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()
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()
Dsuper.c182 new_op->upcall.req.statfs.fs_id = ORANGEFS_SB(sb)->fs_id; in orangefs_statfs()
257 strscpy(new_op->upcall.req.fs_mount.orangefs_config_server, in orangefs_remount()
262 new_op->upcall.req.fs_mount.orangefs_config_server); in orangefs_remount()
290 new_op->upcall.req.features.features = 0; in orangefs_remount()
401 op->upcall.req.fs_umount.id = id; in orangefs_unmount()
402 op->upcall.req.fs_umount.fs_id = fs_id; in orangefs_unmount()
403 strscpy(op->upcall.req.fs_umount.orangefs_config_server, devname); in orangefs_unmount()
496 strscpy(new_op->upcall.req.fs_mount.orangefs_config_server, devname); in orangefs_mount()
500 new_op->upcall.req.fs_mount.orangefs_config_server); in orangefs_mount()
568 new_op->upcall.req.features.features = 0; in orangefs_mount()
Ddcache.c34 new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; in orangefs_revalidate_lookup()
35 new_op->upcall.req.lookup.parent_refn = parent->refn; in orangefs_revalidate_lookup()
36 strscpy(new_op->upcall.req.lookup.d_name, dentry->d_name.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.c448 new_op->upcall.req.param.op = in orangefs_debug_write()
450 new_op->upcall.req.param.type = ORANGEFS_PARAM_REQUEST_SET; in orangefs_debug_write()
451 memset(new_op->upcall.req.param.s_value, in orangefs_debug_write()
454 sprintf(new_op->upcall.req.param.s_value, in orangefs_debug_write()
Dorangefs-kernel.h124 struct orangefs_upcall_s upcall; member
149 #define op_is_cancel(op) ((op)->upcall.type == ORANGEFS_VFS_OP_CANCEL)
/linux-6.12.1/Documentation/filesystems/nfs/
Drpc-server-gss.rst49 The classic upcall mechanism uses a custom text based upcall mechanism
53 This upcall mechanism has 2 limitations:
70 The newer upcall mechanism uses RPC over a unix socket to a daemon
76 This upcall mechanism uses the kernel rpc client and connects to the gssproxy
89 Once the upcall mechanism is chosen, it cannot be changed. To prevent
/linux-6.12.1/Documentation/networking/
Ddns_resolver.rst24 These routines must be supported by userspace tools dns.upcall, cifs.upcall and
56 create dns_resolver * * /usr/sbin/cifs.upcall %k
84 where <type> optionally specifies the particular upcall program to invoke,
128 Upcalls to userspace are made through the request_key() upcall vector, and are
132 The upcall handler program is responsible for querying the DNS, processing the
138 The upcall handler program should set the expiry time on the key to that of the
/linux-6.12.1/fs/nfs/
Dnfs4idmap.c405 .upcall = rpc_pipe_generic_upcall,
632 struct idmap_msg *upcall, in nfs_idmap_read_and_verify_message() argument
640 if (upcall->im_type != im->im_type || upcall->im_conv != im->im_conv) in nfs_idmap_read_and_verify_message()
644 if (strcmp(upcall->im_name, im->im_name) != 0) in nfs_idmap_read_and_verify_message()
652 if (upcall->im_id != im->im_id) in nfs_idmap_read_and_verify_message()
/linux-6.12.1/Documentation/admin-guide/nfs/
Dnfs-idmapper.rst7 performing an upcall to userspace to request the information. There are two
27 direct the upcall. The following line should be added:
46 You can handle any of these individually, rather than using the generic upcall
/linux-6.12.1/fs/coda/
DMakefile8 coda-objs := psdev.o cache.o cnode.o inode.o dir.o file.o upcall.o \
/linux-6.12.1/net/openvswitch/
Dactions.c974 struct dp_upcall_info upcall; in output_userspace() local
978 memset(&upcall, 0, sizeof(upcall)); in output_userspace()
979 upcall.cmd = OVS_PACKET_CMD_ACTION; in output_userspace()
980 upcall.mru = OVS_CB(skb)->mru; in output_userspace()
986 upcall.userdata = a; in output_userspace()
992 upcall.portid = in output_userspace()
996 upcall.portid = nla_get_u32(a); in output_userspace()
1009 upcall.egress_tun_info = skb_tunnel_info(skb); in output_userspace()
1017 upcall.actions = actions; in output_userspace()
1018 upcall.actions_len = actions_len; in output_userspace()
[all …]
Ddatapath.c263 struct dp_upcall_info upcall; in ovs_dp_process_packet() local
265 memset(&upcall, 0, sizeof(upcall)); in ovs_dp_process_packet()
266 upcall.cmd = OVS_PACKET_CMD_MISS; in ovs_dp_process_packet()
269 upcall.portid = in ovs_dp_process_packet()
272 upcall.portid = ovs_vport_find_upcall_portid(p, skb); in ovs_dp_process_packet()
274 upcall.mru = OVS_CB(skb)->mru; in ovs_dp_process_packet()
275 error = ovs_dp_upcall(dp, skb, key, &upcall, 0); in ovs_dp_process_packet()
436 struct ovs_header *upcall; in queue_userspace_packet() local
488 upcall = genlmsg_put(user_skb, 0, 0, &dp_packet_genl_family, in queue_userspace_packet()
490 if (!upcall) { in queue_userspace_packet()
[all …]
/linux-6.12.1/Documentation/filesystems/
Dcoda.rst217 upcall is dispatched to Venus by creating a message structure. The
225 synchronization objects. In the upcall routine the message structure
227 queue. The routine calling upcall is responsible for allocating the
232 the OS. This notification is done in the upcall context of the process
234 in upcall. The (kernel mode) processing of P in the filesystem
236 the calling thread in P is blocked in upcall. A pointer in the
257 processing its upcall with the data buffer replaced with the reply
265 Now P awakes and continues processing upcall. There are some
267 up in upcall by a signal from some other source (for example an
269 sendmsg_to_kernel call. In the normal case, the upcall routine will
[all …]
/linux-6.12.1/Documentation/virt/acrn/
Dio-request.rst89 b. The hypervisor makes an upcall, which is a notification interrupt, to
91 c. The upcall handler schedules a worker to dispatch I/O requests.
/linux-6.12.1/Documentation/translations/zh_CN/virt/acrn/
Dio-request.rst95 c. upcall处理程序会安排一个工作者来调度I/O请求。
/linux-6.12.1/net/dns_resolver/
DKconfig19 SMB2 later. DNS Resolver is supported by the userspace upcall
/linux-6.12.1/include/linux/sunrpc/
Drpc_pipe_fs.h36 ssize_t (*upcall)(struct file *, struct rpc_pipe_msg *, char __user *, size_t); member

12