anon_inodes.h 494 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * include/linux/anon_inodes.h
  4. *
  5. * Copyright (C) 2007 Davide Libenzi <davidel@xmailserver.org>
  6. *
  7. */
  8. #ifndef _LINUX_ANON_INODES_H
  9. #define _LINUX_ANON_INODES_H
  10. struct file_operations;
  11. struct file *anon_inode_getfile(const char *name,
  12. const struct file_operations *fops,
  13. void *priv, int flags);
  14. int anon_inode_getfd(const char *name, const struct file_operations *fops,
  15. void *priv, int flags);
  16. #endif /* _LINUX_ANON_INODES_H */