Blame view

include/linux/ramfs.h 762 Bytes
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2
3
  #ifndef _LINUX_RAMFS_H
  #define _LINUX_RAMFS_H
454abafe9   Dmitry Monakhov   ramfs: replace in...
4
  struct inode *ramfs_get_inode(struct super_block *sb, const struct inode *dir,
632861f05   Al Viro   pohmelfs: propaga...
5
  	 umode_t mode, dev_t dev);
3c26ff6e4   Al Viro   convert get_sb_no...
6
7
  extern struct dentry *ramfs_mount(struct file_system_type *fs_type,
  	 int flags, const char *dev_name, void *data);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
8

250297edf   Andrew Morton   mm/shmem.c: remov...
9
10
11
12
13
14
15
  #ifdef CONFIG_MMU
  static inline int
  ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize)
  {
  	return 0;
  }
  #else
4b19de6d1   Nick Piggin   mm: tiny-shmem no...
16
  extern int ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize);
642fb4d1f   David Howells   [PATCH] NOMMU: Pr...
17
  #endif
4b6f5d20b   Arjan van de Ven   [PATCH] Make most...
18
  extern const struct file_operations ramfs_file_operations;
f0f37e2f7   Alexey Dobriyan   const: mark struc...
19
  extern const struct vm_operations_struct generic_file_vm_ops;
57f150a58   Rob Landley   initmpfs: move ro...
20
  extern int __init init_ramfs_fs(void);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
21

da5e4ef7f   Peter Korsgaard   devtmpfs: support...
22
  int ramfs_fill_super(struct super_block *sb, void *data, int silent);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
23
  #endif