1RPC_MKPIPE_DENTRY(9)           Linux Networking           RPC_MKPIPE_DENTRY(9)
2
3
4

NAME

6       rpc_mkpipe_dentry - make an rpc_pipefs file for kernel<->userspace
7       communication
8

SYNOPSIS

10       struct dentry * rpc_mkpipe_dentry(struct dentry * parent,
11                                         const char * name, void * private,
12                                         struct rpc_pipe * pipe);
13

ARGUMENTS

15       parent
16           dentry of directory to create new “pipe” in
17
18       name
19           name of pipe
20
21       private
22           private data to associate with the pipe, for the caller's use
23
24       pipe
25           rpc_pipe containing input parameters
26

DESCRIPTION

28       Data is made available for userspace to read by calls to
29       rpc_queue_upcall. The actual reads will result in calls to ops->upcall,
30       which will be called with the file pointer, message, and userspace
31       buffer to copy to.
32
33       Writes can come at any time, and do not necessarily have to be
34       responses to upcalls. They will result in calls to msg->downcall.
35
36       The private argument passed here will be available to all these methods
37       from the file pointer, via RPC_I(file_inode(file))->private.
38
40Kernel Hackers Manual 3.10         June 2019              RPC_MKPIPE_DENTRY(9)
Impressum