Files
linux-apfs/include/linux/ramfs.h
T

27 lines
880 B
C
Raw Normal View History

2005-04-16 15:20:36 -07:00
#ifndef _LINUX_RAMFS_H
#define _LINUX_RAMFS_H
struct inode *ramfs_get_inode(struct super_block *sb, const struct inode *dir,
2011-07-26 03:16:55 -04:00
umode_t mode, dev_t dev);
2010-07-25 11:46:36 +04:00
extern struct dentry *ramfs_mount(struct file_system_type *fs_type,
int flags, const char *dev_name, void *data);
2005-04-16 15:20:36 -07:00
#ifndef CONFIG_MMU
2008-10-02 14:50:16 -07:00
extern int ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize);
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
extern const struct file_operations ramfs_file_operations;
2009-09-27 22:29:37 +04:00
extern const struct vm_operations_struct generic_file_vm_ops;
extern int __init init_rootfs(void);
2005-04-16 15:20:36 -07:00
2010-03-16 21:55:21 +01:00
int ramfs_fill_super(struct super_block *sb, void *data, int silent);
2005-04-16 15:20:36 -07:00
#endif