/linux/fs/orangefs/ |
A D | orangefs-sysfs.c | 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() 405 new_op->upcall.req.param.op = in sysfs_service_op_show() [all …]
|
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() 30 fsid = op->upcall.req.getattr.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() 51 fsid = op->upcall.req.statfs.fs_id; in fsid_of_op() 54 fsid = op->upcall.req.truncate.refn.fs_id; in fsid_of_op() 60 fsid = op->upcall.req.fs_umount.fs_id; in fsid_of_op() 63 fsid = op->upcall.req.getxattr.refn.fs_id; in fsid_of_op() 75 fsid = op->upcall.req.fsync.refn.fs_id; in fsid_of_op() [all …]
|
A D | namei.c | 39 new_op->upcall.req.create.parent_refn = parent->refn; in orangefs_create() 44 strncpy(new_op->upcall.req.create.d_name, in orangefs_create() 138 new_op->upcall.req.lookup.parent_refn = parent->refn; 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() 244 new_op->upcall.req.sym.parent_refn = parent->refn; in orangefs_symlink() 250 strncpy(new_op->upcall.req.sym.entry_name, in orangefs_symlink() 327 strncpy(new_op->upcall.req.mkdir.d_name, in orangefs_mkdir() 408 strncpy(new_op->upcall.req.rename.d_old_name, in orangefs_rename() [all …]
|
A D | xattr.c | 153 strcpy(new_op->upcall.req.getxattr.key, name); 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() 268 strcpy(new_op->upcall.req.removexattr.key, name); in orangefs_inode_removexattr() 273 (char *)new_op->upcall.req.removexattr.key, in orangefs_inode_removexattr() 274 (int)new_op->upcall.req.removexattr.key_sz); in orangefs_inode_removexattr() 356 new_op->upcall.req.setxattr.flags = internal_flag; in orangefs_inode_setxattr() 365 new_op->upcall.req.setxattr.keyval.val_sz = size; in orangefs_inode_setxattr() 435 new_op->upcall.req.listxattr.token = token; in orangefs_listxattr() [all …]
|
A D | file.c | 67 new_op->upcall.req.io.readahead_size = readahead_size; in wait_for_direct_io() 68 new_op->upcall.req.io.io_type = type; in wait_for_direct_io() 69 new_op->upcall.req.io.refn = orangefs_inode->refn; in wait_for_direct_io() 89 new_op->upcall.req.io.buf_index = buffer_index; in wait_for_direct_io() 90 new_op->upcall.req.io.count = total_size; in wait_for_direct_io() 91 new_op->upcall.req.io.offset = *offset; in wait_for_direct_io() 93 new_op->upcall.uid = from_kuid(&init_user_ns, wr->uid); in wait_for_direct_io() 94 new_op->upcall.gid = from_kgid(&init_user_ns, wr->gid); in wait_for_direct_io() 125 new_op->upcall.uid = 0; in wait_for_direct_io() 127 new_op->upcall.uid = 0; in wait_for_direct_io() [all …]
|
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()
|
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()
|
A D | super.c | 182 new_op->upcall.req.statfs.fs_id = ORANGEFS_SB(sb)->fs_id; in orangefs_statfs() 256 strncpy(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 strncpy(op->upcall.req.fs_umount.orangefs_config_server, in orangefs_unmount() 497 strncpy(new_op->upcall.req.fs_mount.orangefs_config_server, in orangefs_mount() 503 new_op->upcall.req.fs_mount.orangefs_config_server); in orangefs_mount() 572 new_op->upcall.req.features.features = 0; in orangefs_mount()
|
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()
|
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()
|
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()
|
A D | orangefs-debugfs.c | 466 new_op->upcall.req.param.op = in orangefs_debug_write() 468 new_op->upcall.req.param.type = ORANGEFS_PARAM_REQUEST_SET; in orangefs_debug_write() 469 memset(new_op->upcall.req.param.s_value, in orangefs_debug_write() 472 sprintf(new_op->upcall.req.param.s_value, in orangefs_debug_write()
|
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)
|
/linux/Documentation/filesystems/nfs/ |
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
|
/linux/Documentation/networking/ |
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
|
/linux/fs/nfs/ |
A D | nfs4idmap.c | 405 .upcall = rpc_pipe_generic_upcall, 634 struct idmap_msg *upcall, in nfs_idmap_read_and_verify_message() argument 642 if (upcall->im_type != im->im_type || upcall->im_conv != im->im_conv) in nfs_idmap_read_and_verify_message() 646 if (strcmp(upcall->im_name, im->im_name) != 0) in nfs_idmap_read_and_verify_message() 654 if (upcall->im_id != im->im_id) in nfs_idmap_read_and_verify_message()
|
/linux/net/openvswitch/ |
A D | actions.c | 911 struct dp_upcall_info upcall; in output_userspace() local 915 memset(&upcall, 0, sizeof(upcall)); in output_userspace() 916 upcall.cmd = OVS_PACKET_CMD_ACTION; in output_userspace() 917 upcall.mru = OVS_CB(skb)->mru; in output_userspace() 923 upcall.userdata = a; in output_userspace() 929 upcall.portid = in output_userspace() 933 upcall.portid = nla_get_u32(a); in output_userspace() 946 upcall.egress_tun_info = skb_tunnel_info(skb); in output_userspace() 954 upcall.actions = actions; in output_userspace() 955 upcall.actions_len = actions_len; in output_userspace() [all …]
|
A D | datapath.c | 241 struct dp_upcall_info upcall; in ovs_dp_process_packet() local 243 memset(&upcall, 0, sizeof(upcall)); in ovs_dp_process_packet() 244 upcall.cmd = OVS_PACKET_CMD_MISS; in ovs_dp_process_packet() 247 upcall.portid = in ovs_dp_process_packet() 250 upcall.portid = ovs_vport_find_upcall_portid(p, skb); in ovs_dp_process_packet() 252 upcall.mru = OVS_CB(skb)->mru; in ovs_dp_process_packet() 253 error = ovs_dp_upcall(dp, skb, key, &upcall, 0); in ovs_dp_process_packet() 405 struct ovs_header *upcall; in queue_userspace_packet() local 457 upcall = genlmsg_put(user_skb, 0, 0, &dp_packet_genl_family, in queue_userspace_packet() 459 if (!upcall) { in queue_userspace_packet() [all …]
|
/linux/Documentation/admin-guide/nfs/ |
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
|
/linux/fs/coda/ |
A D | Makefile | 8 coda-objs := psdev.o cache.o cnode.o inode.o dir.o file.o upcall.o \
|
/linux/Documentation/filesystems/ |
A D | coda.rst | 217 upcall is dispatched to Venus by creating a message structure. The 227 queue. The routine calling upcall is responsible for allocating the 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 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 689 This upcall is invoked to request creation of a file. 1149 This upcall asks Venus to do a get operation on an fsobj 1247 This upcall asks Venus to read or write from a file. 1365 Send Venus a signal about an upcall. [all …]
|
/linux/Documentation/virt/acrn/ |
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.
|
/linux/net/dns_resolver/ |
A D | Kconfig | 19 SMB2 later. DNS Resolver is supported by the userspace upcall
|
/linux/Documentation/translations/zh_CN/virt/acrn/ |
A D | io-request.rst | 95 c. upcall处理程序会安排一个工作者来调度I/O请求。
|
/linux/fs/cifs/ |
A D | Kconfig | 89 Enables an upcall mechanism for CIFS which accesses userspace helper 158 an upcall mechanism for CIFS which contacts userspace helper 170 feature enables an upcall mechanism for CIFS which contacts a
|