/openbmc/linux/fs/orangefs/ |
H A D | orangefs-sysfs.c | 351 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 …]
|
H A D | orangefs-utils.c | 19 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 …]
|
H A D | namei.c | 39 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 strncpy(new_op->upcall.req.create.d_name, in orangefs_create() 131 new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; in orangefs_lookup() 138 new_op->upcall.req.lookup.parent_refn = parent->refn; in orangefs_lookup() 140 strncpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name, in orangefs_lookup() 146 new_op->upcall.req.lookup.d_name, in orangefs_lookup() 147 &new_op->upcall.req.lookup.parent_refn.khandle, in orangefs_lookup() 148 new_op->upcall.req.lookup.parent_refn.fs_id); in orangefs_lookup() 194 new_op->upcall.req.remove.parent_refn = parent->refn; in orangefs_unlink() [all …]
|
H A D | xattr.c | 152 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 …]
|
H A D | file.c | 34 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 …]
|
H A D | waitqueue.c | 74 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()
|
H A D | orangefs-cache.c | 49 __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()
|
H A D | super.c | 182 new_op->upcall.req.statfs.fs_id = ORANGEFS_SB(sb)->fs_id; in orangefs_statfs() 257 strncpy(new_op->upcall.req.fs_mount.orangefs_config_server, in orangefs_remount() 263 new_op->upcall.req.fs_mount.orangefs_config_server); in orangefs_remount() 291 new_op->upcall.req.features.features = 0; in orangefs_remount() 402 op->upcall.req.fs_umount.id = id; in orangefs_unmount() 403 op->upcall.req.fs_umount.fs_id = fs_id; in orangefs_unmount() 404 strncpy(op->upcall.req.fs_umount.orangefs_config_server, in orangefs_unmount() 498 strncpy(new_op->upcall.req.fs_mount.orangefs_config_server, in orangefs_mount() 504 new_op->upcall.req.fs_mount.orangefs_config_server); in orangefs_mount() 573 new_op->upcall.req.features.features = 0; in orangefs_mount()
|
H A D | dcache.c | 34 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 strncpy(new_op->upcall.req.lookup.d_name, in orangefs_revalidate_lookup()
|
H A D | dir.c | 75 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()
|
H A D | devorangefs-req.c | 224 !(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()
|
H A D | orangefs-debugfs.c | 448 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()
|
H A D | orangefs-kernel.h | 134 struct orangefs_upcall_s upcall; member 159 #define op_is_cancel(op) ((op)->upcall.type == ORANGEFS_VFS_OP_CANCEL)
|
/openbmc/linux/Documentation/filesystems/nfs/ |
H A D | rpc-server-gss.rst | 49 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
|
/openbmc/linux/Documentation/networking/ |
H A D | dns_resolver.rst | 24 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
|
/openbmc/linux/fs/nfs/ |
H A D | nfs4idmap.c | 405 .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()
|
/openbmc/linux/Documentation/admin-guide/nfs/ |
H A D | nfs-idmapper.rst | 7 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
|
/openbmc/linux/net/openvswitch/ |
H A D | actions.c | 960 struct dp_upcall_info upcall; in output_userspace() local 964 memset(&upcall, 0, sizeof(upcall)); in output_userspace() 965 upcall.cmd = OVS_PACKET_CMD_ACTION; in output_userspace() 966 upcall.mru = OVS_CB(skb)->mru; in output_userspace() 972 upcall.userdata = a; in output_userspace() 978 upcall.portid = in output_userspace() 982 upcall.portid = nla_get_u32(a); in output_userspace() 995 upcall.egress_tun_info = skb_tunnel_info(skb); in output_userspace() 1003 upcall.actions = actions; in output_userspace() 1004 upcall.actions_len = actions_len; in output_userspace() [all …]
|
H A D | datapath.c | 264 struct dp_upcall_info upcall; in ovs_dp_process_packet() local 266 memset(&upcall, 0, sizeof(upcall)); in ovs_dp_process_packet() 267 upcall.cmd = OVS_PACKET_CMD_MISS; in ovs_dp_process_packet() 270 upcall.portid = in ovs_dp_process_packet() 273 upcall.portid = ovs_vport_find_upcall_portid(p, skb); in ovs_dp_process_packet() 275 upcall.mru = OVS_CB(skb)->mru; in ovs_dp_process_packet() 276 error = ovs_dp_upcall(dp, skb, key, &upcall, 0); in ovs_dp_process_packet() 437 struct ovs_header *upcall; in queue_userspace_packet() local 489 upcall = genlmsg_put(user_skb, 0, 0, &dp_packet_genl_family, in queue_userspace_packet() 491 if (!upcall) { in queue_userspace_packet() [all …]
|
/openbmc/linux/fs/coda/ |
H A D | Makefile | 8 coda-objs := psdev.o cache.o cnode.o inode.o dir.o file.o upcall.o \
|
/openbmc/linux/Documentation/filesystems/ |
H A D | coda.rst | 217 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 …]
|
/openbmc/linux/Documentation/virt/acrn/ |
H A D | io-request.rst | 89 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.
|
/openbmc/linux/Documentation/translations/zh_CN/virt/acrn/ |
H A D | io-request.rst | 95 c. upcall处理程序会安排一个工作者来调度I/O请求。
|
/openbmc/linux/net/dns_resolver/ |
H A D | Kconfig | 19 SMB2 later. DNS Resolver is supported by the userspace upcall
|
/openbmc/linux/fs/smb/client/ |
H A D | Kconfig | 88 Enables an upcall mechanism for CIFS which accesses userspace helper 157 an upcall mechanism for CIFS which contacts userspace helper 169 feature enables an upcall mechanism for CIFS which contacts a
|