Blame view

include/linux/ramfs.h 723 Bytes
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
  #ifndef _LINUX_RAMFS_H
  #define _LINUX_RAMFS_H
454abafe9   Dmitry Monakhov   ramfs: replace in...
3
  struct inode *ramfs_get_inode(struct super_block *sb, const struct inode *dir,
632861f05   Al Viro   pohmelfs: propaga...
4
  	 umode_t mode, dev_t dev);
3c26ff6e4   Al Viro   convert get_sb_no...
5
6
  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
7

250297edf   Andrew Morton   mm/shmem.c: remov...
8
9
10
11
12
13
14
  #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...
15
  extern int ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize);
642fb4d1f   David Howells   [PATCH] NOMMU: Pr...
16
  #endif
4b6f5d20b   Arjan van de Ven   [PATCH] Make most...
17
  extern const struct file_operations ramfs_file_operations;
f0f37e2f7   Alexey Dobriyan   const: mark struc...
18
  extern const struct vm_operations_struct generic_file_vm_ops;
57f150a58   Rob Landley   initmpfs: move ro...
19
  extern int __init init_ramfs_fs(void);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
20

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