Merge tag 'rproc-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc...
[linux-2.6-block.git] / include / linux / anon_inodes.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
5dc8bf81
DL
2/*
3 * include/linux/anon_inodes.h
4 *
5 * Copyright (C) 2007 Davide Libenzi <davidel@xmailserver.org>
6 *
7 */
8
9#ifndef _LINUX_ANON_INODES_H
10#define _LINUX_ANON_INODES_H
11
e46ebd27 12struct file_operations;
e7e832ce 13struct inode;
e46ebd27 14
562787a5
DL
15struct file *anon_inode_getfile(const char *name,
16 const struct file_operations *fops,
17 void *priv, int flags);
4f0b9194 18struct file *anon_inode_create_getfile(const char *name,
3a862cac
PM
19 const struct file_operations *fops,
20 void *priv, int flags,
21 const struct inode *context_inode);
2030a42c 22int anon_inode_getfd(const char *name, const struct file_operations *fops,
7d9dbca3 23 void *priv, int flags);
4f0b9194 24int anon_inode_create_getfd(const char *name,
e7e832ce
DC
25 const struct file_operations *fops,
26 void *priv, int flags,
27 const struct inode *context_inode);
5dc8bf81
DL
28
29#endif /* _LINUX_ANON_INODES_H */
30