Files
kernel/include/linux/anon_inodes.h
T

31 lines
855 B
C
Raw Normal View History

/* SPDX-License-Identifier: GPL-2.0 */
/*
* include/linux/anon_inodes.h
*
* Copyright (C) 2007 Davide Libenzi <davidel@xmailserver.org>
*
*/
#ifndef _LINUX_ANON_INODES_H
#define _LINUX_ANON_INODES_H
2011-07-12 11:27:20 +02:00
struct file_operations;
2021-01-08 14:22:21 -08:00
struct inode;
2011-07-12 11:27:20 +02:00
struct file *anon_inode_getfile(const char *name,
const struct file_operations *fops,
void *priv, int flags);
struct file *anon_inode_getfile_secure(const char *name,
const struct file_operations *fops,
void *priv, int flags,
const struct inode *context_inode);
2008-02-23 06:46:49 -05:00
int anon_inode_getfd(const char *name, const struct file_operations *fops,
2008-07-23 21:29:22 -07:00
void *priv, int flags);
2021-01-08 14:22:21 -08:00
int anon_inode_getfd_secure(const char *name,
const struct file_operations *fops,
void *priv, int flags,
const struct inode *context_inode);
#endif /* _LINUX_ANON_INODES_H */