0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef _LINUX_ANON_INODES_H
0010 #define _LINUX_ANON_INODES_H
0011
0012 struct file_operations;
0013 struct inode;
0014
0015 struct file *anon_inode_getfile(const char *name,
0016 const struct file_operations *fops,
0017 void *priv, int flags);
0018 struct file *anon_inode_getfile_secure(const char *name,
0019 const struct file_operations *fops,
0020 void *priv, int flags,
0021 const struct inode *context_inode);
0022 int anon_inode_getfd(const char *name, const struct file_operations *fops,
0023 void *priv, int flags);
0024 int anon_inode_getfd_secure(const char *name,
0025 const struct file_operations *fops,
0026 void *priv, int flags,
0027 const struct inode *context_inode);
0028
0029 #endif
0030