| #ifndef _LINUX_SUNRPC_RPC_PIPE_FS_H |
| #define _LINUX_SUNRPC_RPC_PIPE_FS_H |
| ssize_t (*upcall)(struct file *, struct rpc_pipe_msg *, char __user *, size_t); |
| ssize_t (*downcall)(struct file *, const char __user *, size_t); |
| void (*release_pipe)(struct inode *); |
| void (*destroy_msg)(struct rpc_pipe_msg *); |
| struct list_head in_upcall; |
| #define RPC_PIPE_WAIT_FOR_OPEN 1 |
| struct rpc_pipe_ops *ops; |
| struct work_struct queue_timeout; |
| static inline struct rpc_inode * |
| RPC_I(struct inode *inode) |
| return container_of(inode, struct rpc_inode, vfs_inode); |
| extern int rpc_queue_upcall(struct inode *, struct rpc_pipe_msg *); |
| extern struct dentry *rpc_mkdir(char *, struct rpc_clnt *); |
| extern int rpc_rmdir(char *); |
| extern struct dentry *rpc_mkpipe(char *, void *, struct rpc_pipe_ops *, int flags); |
| extern int rpc_unlink(char *); |