]>
git.ipfire.org Git - thirdparty/kernel/stable.git/blob - include/linux/anon_inodes.h
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * include/linux/anon_inodes.h
5 * Copyright (C) 2007 Davide Libenzi <davidel@xmailserver.org>
9 #ifndef _LINUX_ANON_INODES_H
10 #define _LINUX_ANON_INODES_H
12 struct file_operations
;
15 struct file
*anon_inode_getfile(const char *name
,
16 const struct file_operations
*fops
,
17 void *priv
, int flags
);
18 struct file
*anon_inode_getfile_secure(const char *name
,
19 const struct file_operations
*fops
,
20 void *priv
, int flags
,
21 const struct inode
*context_inode
);
22 int anon_inode_getfd(const char *name
, const struct file_operations
*fops
,
23 void *priv
, int flags
);
24 int anon_inode_getfd_secure(const char *name
,
25 const struct file_operations
*fops
,
26 void *priv
, int flags
,
27 const struct inode
*context_inode
);
29 #endif /* _LINUX_ANON_INODES_H */