xref: /openbmc/linux/include/linux/anon_inodes.h (revision b2441318)
1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
25dc8bf81SDavide Libenzi /*
35dc8bf81SDavide Libenzi  *  include/linux/anon_inodes.h
45dc8bf81SDavide Libenzi  *
55dc8bf81SDavide Libenzi  *  Copyright (C) 2007  Davide Libenzi <davidel@xmailserver.org>
65dc8bf81SDavide Libenzi  *
75dc8bf81SDavide Libenzi  */
85dc8bf81SDavide Libenzi 
95dc8bf81SDavide Libenzi #ifndef _LINUX_ANON_INODES_H
105dc8bf81SDavide Libenzi #define _LINUX_ANON_INODES_H
115dc8bf81SDavide Libenzi 
12e46ebd27STomasz Stanislawski struct file_operations;
13e46ebd27STomasz Stanislawski 
14562787a5SDavide Libenzi struct file *anon_inode_getfile(const char *name,
15562787a5SDavide Libenzi 				const struct file_operations *fops,
16562787a5SDavide Libenzi 				void *priv, int flags);
172030a42cSAl Viro int anon_inode_getfd(const char *name, const struct file_operations *fops,
187d9dbca3SUlrich Drepper 		     void *priv, int flags);
195dc8bf81SDavide Libenzi 
205dc8bf81SDavide Libenzi #endif /* _LINUX_ANON_INODES_H */
215dc8bf81SDavide Libenzi 
22