Blame view
include/linux/ramfs.h
723 Bytes
1da177e4c
|
1 2 |
#ifndef _LINUX_RAMFS_H #define _LINUX_RAMFS_H |
454abafe9
|
3 |
struct inode *ramfs_get_inode(struct super_block *sb, const struct inode *dir, |
632861f05
|
4 |
umode_t mode, dev_t dev); |
3c26ff6e4
|
5 6 |
extern struct dentry *ramfs_mount(struct file_system_type *fs_type, int flags, const char *dev_name, void *data); |
1da177e4c
|
7 |
|
250297edf
|
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
|
15 |
extern int ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize); |
642fb4d1f
|
16 |
#endif |
4b6f5d20b
|
17 |
extern const struct file_operations ramfs_file_operations; |
f0f37e2f7
|
18 |
extern const struct vm_operations_struct generic_file_vm_ops; |
57f150a58
|
19 |
extern int __init init_ramfs_fs(void); |
1da177e4c
|
20 |
|
da5e4ef7f
|
21 |
int ramfs_fill_super(struct super_block *sb, void *data, int silent); |
1da177e4c
|
22 |
#endif |