Blame view

include/linux/ramfs.h 880 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

642fb4d1f   David Howells   [PATCH] NOMMU: Pr...
8
  #ifndef CONFIG_MMU
4b19de6d1   Nick Piggin   mm: tiny-shmem no...
9
  extern int ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize);
642fb4d1f   David Howells   [PATCH] NOMMU: Pr...
10
11
12
13
14
15
16
17
  extern unsigned long ramfs_nommu_get_unmapped_area(struct file *file,
  						   unsigned long addr,
  						   unsigned long len,
  						   unsigned long pgoff,
  						   unsigned long flags);
  
  extern int ramfs_nommu_mmap(struct file *file, struct vm_area_struct *vma);
  #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;
07f3f05c1   David Howells   [PATCH] BLOCK: Mo...
20
  extern int __init init_rootfs(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