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

NAME

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

SYNOPSIS

10       struct dentry * rpc_mkpipe(struct dentry * parent, const char * name,
11                                  void * private,
12                                  const struct rpc_pipe_ops * ops, int flags);
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       ops
25           operations defining the behavior of the pipe: upcall, downcall,
26           release_pipe, open_pipe, and destroy_msg.
27
28       flags
29           rpc_inode flags
30

DESCRIPTION

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