| /linux/fs/orangefs/ |
| H A D | orangefs-sysfs.c | 344 new_op->upcall.req.param.type = ORANGEFS_PARAM_REQUEST_GET; in sysfs_service_op_show() 358 new_op->upcall.req.param.op = in sysfs_service_op_show() 362 new_op->upcall.req.param.op = in sysfs_service_op_show() 366 new_op->upcall.req.param.op = in sysfs_service_op_show() 371 new_op->upcall.req.param.op = in sysfs_service_op_show() 376 new_op->upcall.req.param.op = in sysfs_service_op_show() 381 new_op->upcall.req.param.op = in sysfs_service_op_show() 386 new_op->upcall.req.param.op = in sysfs_service_op_show() 390 new_op->upcall.req.param.op = in sysfs_service_op_show() 394 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 | xattr.c | 149 new_op->upcall.req.getxattr.refn = orangefs_inode->refn; in orangefs_inode_getxattr() 150 strscpy(new_op->upcall.req.getxattr.key, name); in orangefs_inode_getxattr() 157 new_op->upcall.req.getxattr.key_sz = strlen(name) + 1; in orangefs_inode_getxattr() 168 (char *)new_op->upcall.req.getxattr.key); in orangefs_inode_getxattr() 214 upcall.req.getxattr.key, in orangefs_inode_getxattr() 216 upcall.req.getxattr.key_sz, in orangefs_inode_getxattr() 263 new_op->upcall.req.removexattr.refn = orangefs_inode->refn; in orangefs_inode_removexattr() 269 strscpy(new_op->upcall.req.removexattr.key, name); in orangefs_inode_removexattr() 270 new_op->upcall.req.removexattr.key_sz = strlen(name) + 1; in orangefs_inode_removexattr() 274 (char *)new_op->upcall.req.removexattr.key, in orangefs_inode_removexattr() [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() 273 * upcall hasn't been read; remove op from upcall request in orangefs_clean_up_interrupted_operation()
|
| H A D | file.c | 34 new_op->upcall.req.ra_cache_flush.refn = orangefs_inode->refn; in flush_racache() 47 * Post and wait for the I/O upcall to finish 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() [all …]
|
| H A D | dcache.c | 31 new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; in orangefs_revalidate_lookup() 32 new_op->upcall.req.lookup.parent_refn = parent->refn; in orangefs_revalidate_lookup() 33 /* op_alloc() leaves ->upcall zeroed */ in orangefs_revalidate_lookup() 34 memcpy(new_op->upcall.req.lookup.d_name, name->name, in orangefs_revalidate_lookup()
|
| H A D | super.c | 161 new_op->upcall.req.statfs.fs_id = ORANGEFS_SB(sb)->fs_id; in orangefs_statfs() 246 strscpy(new_op->upcall.req.fs_mount.orangefs_config_server, in orangefs_remount() 251 new_op->upcall.req.fs_mount.orangefs_config_server); in orangefs_remount() 279 new_op->upcall.req.features.features = 0; in orangefs_remount() 389 op->upcall.req.fs_umount.id = id; in orangefs_unmount() 390 op->upcall.req.fs_umount.fs_id = fs_id; in orangefs_unmount() 391 strscpy(op->upcall.req.fs_umount.orangefs_config_server, devname); in orangefs_unmount() 472 strscpy(new_op->upcall.req.fs_mount.orangefs_config_server, fc->source); in orangefs_get_tree() 476 new_op->upcall.req.fs_mount.orangefs_config_server); in orangefs_get_tree() 534 new_op->upcall.req.features.features = 0; in orangefs_get_tree()
|
| H A D | dir.c | 76 op->upcall.req.readdir.refn = oi->refn; in do_readdir() 77 op->upcall.req.readdir.token = od->token; in do_readdir() 78 op->upcall.req.readdir.max_dirent_count = in do_readdir() 88 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() 280 /* Push the upcall out. */ in orangefs_devreq_read() 293 &cur_op->upcall, in orangefs_devreq_read() 635 * upcall/downcall waiting. also, the request mutex is in dispatch_ioctl_command()
|
| /linux/include/uapi/linux/nfsd/ |
| H A D | cld.h | 3 * Upcall description for nfsdcld communication 28 /* latest upcall version available */ 44 Cld_GetVersion, /* query max supported upcall version */ 66 __u8 cm_vers; /* upcall version */ 67 __u8 cm_cmd; /* upcall command */ 79 __u8 cm_vers; /* upcall version */ 80 __u8 cm_cmd; /* upcall command */ 91 __u8 cm_vers; /* upcall version */ 92 __u8 cm_cmd; /* upcall command */
|
| /linux/Documentation/filesystems/nfs/ |
| H A D | rpc-server-gss.rst | 46 NFS Server Legacy Upcall Mechanism 49 The classic upcall mechanism uses a custom text based upcall mechanism 53 This upcall mechanism has 2 limitations: 67 NFS Server New RPC Upcall Mechanism 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 80 Negotiating Upcall Mechanisms 89 Once the upcall mechanism is chosen, it cannot be changed. To prevent
|
| /linux/net/dns_resolver/ |
| H A D | dns_query.c | 2 /* Upcall routine, designed to work as a key type and working through 13 * The upcall wrapper used to make an arbitrary DNS query. 15 * This function requires the appropriate userspace tool dns.upcall to be 19 * create dns_resolver * * /sbin/dns.upcall %k 92 /* make the upcall, using special credentials to prevent the use of in dns_query()
|
| /linux/net/openvswitch/ |
| H A D | vport.c | 264 * ovs_vport_get_upcall_stats - retrieve upcall stats 267 * @skb: sk_buff where upcall stats should be appended. 269 * Retrieves upcall stats for the given device. 315 * ovs_vport_set_upcall_portids - set upcall portids of @vport. 362 * %OVS_VPORT_ATTR_UPCALL_PID attribute which is the array of upcall 384 * ovs_vport_find_upcall_portid - find the upcall portid to send upcall. 389 * Uses the skb_get_hash() to select the upcall portid to send the 390 * upcall.
|
| H A D | vport.h | 67 * @upcall_stats: Upcall stats of every ports. 133 * struct vport_upcall_stats_percpu - per-cpu packet upcall statistics for 136 * @n_success: Number of packets that upcall to userspace succeed. 137 * @n_fail: Number of packets that upcall to userspace failed.
|
| H A D | actions.c | 863 struct dp_upcall_info upcall; in output_userspace() local 867 memset(&upcall, 0, sizeof(upcall)); in output_userspace() 868 upcall.cmd = OVS_PACKET_CMD_ACTION; in output_userspace() 869 upcall.mru = OVS_CB(skb)->mru; in output_userspace() 874 upcall.userdata = a; in output_userspace() 879 upcall.portid = OVS_CB(skb)->upcall_pid; in output_userspace() 882 upcall.portid = in output_userspace() 886 upcall.portid = nla_get_u32(a); in output_userspace() 899 upcall.egress_tun_info = skb_tunnel_info(skb); in output_userspace() 907 upcall.actions = actions; in output_userspace() [all …]
|
| H A D | datapath.c | 265 struct dp_upcall_info upcall; in ovs_dp_process_packet() local 267 memset(&upcall, 0, sizeof(upcall)); in ovs_dp_process_packet() 268 upcall.cmd = OVS_PACKET_CMD_MISS; in ovs_dp_process_packet() 271 upcall.portid = OVS_CB(skb)->upcall_pid; in ovs_dp_process_packet() 273 upcall.portid = in ovs_dp_process_packet() 276 upcall.portid = ovs_vport_find_upcall_portid(p, skb); in ovs_dp_process_packet() 278 upcall.mru = OVS_CB(skb)->mru; in ovs_dp_process_packet() 279 error = ovs_dp_upcall(dp, skb, key, &upcall, U32_MAX); in ovs_dp_process_packet() 456 struct ovs_header *upcall; in queue_userspace_packet() local 510 upcall = genlmsg_put(user_skb, 0, 0, &dp_packet_genl_family, in queue_userspace_packet() [all …]
|
| /linux/fs/nfsd/ |
| H A D | nfs4recover.c | 635 /* per-net-ns structure for holding cld upcall info */ 796 * copy the status so we know whether to remove the upcall from the in cld_pipe_downcall() 798 * valid, not remove the upcall from the list) in cld_pipe_downcall() 818 /* couldn't find upcall? */ in cld_pipe_downcall() 820 dprintk("%s: couldn't find upcall -- xid=%u\n", __func__, xid); in cld_pipe_downcall() 849 .upcall = rpc_pipe_generic_upcall, 933 printk(KERN_ERR "NFSD: unable to create nfsdcld upcall pipe (%d)\n", in __nfsd4_init_cld_pipe() 1013 /* Don't upcall if it's already stored */ in nfsd4_cld_create() 1052 /* Don't upcall if it's already stored */ in nfsd4_cld_create_v2() 1100 /* Don't upcall if it's already removed */ in nfsd4_cld_remove() [all …]
|
| /linux/fs/smb/client/ |
| H A D | dns_resolve.c | 10 * Contains the CIFS DFS upcall routines used for hostname to 51 * dns_resolve_name - Perform an upcall to resolve hostname to an ip address. 74 cifs_dbg(FYI, "%s: unc is IP, skipping dns upcall: %*.*s\n", in dns_resolve_name()
|
| /linux/fs/nfs/ |
| H A D | cache_lib.c | 30 MODULE_PARM_DESC(cache_getent, "Path to the client cache upcall program"); 33 "the cache upcall is assumed to have failed"); 54 * Disable the upcall mechanism if we're getting an ENOENT or in nfs_cache_upcall()
|
| H A D | nfs4idmap.c | 402 .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/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
|
| H A D | nfs-client.rst | 77 upcall to allow userland to provide this service. 80 /var/lib/nfs/rpc_pipefs, the upcall consists of the following steps:
|
| /linux/Documentation/filesystems/ |
| H A D | orangefs.rst | 313 needs to communicate with userspace. Part of the op contains the "upcall" 342 number. The upcall part of the op is filled out, and the op is 348 and thus becomes aware of the upcall request that needs to be read. 353 the filled-out upcall struct are copy_to_user'ed back to userspace. 361 When userspace has assembled the response to the upcall, it 371 part (the response to the upcall) filled out. 471 the readdir buffer descriptor specified in the upcall.
|
| /linux/net/sunrpc/ |
| H A D | rpc_pipe.c | 125 * rpc_queue_upcall - queue an upcall message to userspace 126 * @pipe: upcall pipe on which to queue given message 129 * Call with an @inode created by rpc_mkpipe() to queue an upcall. 130 * A userspace process may then later read the upcall by performing a 312 res = pipe->ops->upcall(filp, msg, buf, len); in rpc_pipe_read() 626 * @ops->upcall, which will be called with the file pointer, 645 if (pipe->ops->upcall == NULL) in rpc_mkpipe_dentry() 1066 .upcall = rpc_pipe_generic_upcall, 1072 * that it will ever use this info to handle an upcall, but rpc.gssd expects
|
| /linux/fs/coda/ |
| H A D | Makefile | 8 coda-objs := psdev.o cache.o cnode.o inode.o dir.o file.o upcall.o \
|