anon_inodes.h 494 Bytes
Newer Older
1
/* SPDX-License-Identifier: GPL-2.0 */
2 3 4 5 6 7 8 9 10 11
/*
 *  include/linux/anon_inodes.h
 *
 *  Copyright (C) 2007  Davide Libenzi <davidel@xmailserver.org>
 *
 */

#ifndef _LINUX_ANON_INODES_H
#define _LINUX_ANON_INODES_H

12 13
struct file_operations;

14 15 16
struct file *anon_inode_getfile(const char *name,
				const struct file_operations *fops,
				void *priv, int flags);
17
int anon_inode_getfd(const char *name, const struct file_operations *fops,
18
		     void *priv, int flags);
19 20 21

#endif /* _LINUX_ANON_INODES_H */