2010-08-10 22:05:51 +02:00
|
|
|
#ifndef _VTREEFS_PROTO_H
|
|
|
|
#define _VTREEFS_PROTO_H
|
|
|
|
|
|
|
|
/* inode.c */
|
2012-03-24 16:16:34 +01:00
|
|
|
void init_inodes(unsigned int inodes, struct inode_stat *stat, index_t
|
|
|
|
nr_indexed_entries);
|
|
|
|
void cleanup_inodes(void);
|
|
|
|
struct inode *find_inode(ino_t num);
|
|
|
|
struct inode *get_inode(ino_t num);
|
|
|
|
void put_inode(struct inode *node);
|
|
|
|
void ref_inode(struct inode *node);
|
|
|
|
int get_inode_number(struct inode *node);
|
|
|
|
int is_inode_deleted(struct inode *node);
|
|
|
|
int fs_putnode(void);
|
2010-08-10 22:05:51 +02:00
|
|
|
|
|
|
|
/* link.c */
|
2012-03-24 16:16:34 +01:00
|
|
|
int fs_rdlink(void);
|
2010-08-10 22:05:51 +02:00
|
|
|
|
|
|
|
/* mount.c */
|
2012-03-24 16:16:34 +01:00
|
|
|
int fs_readsuper(void);
|
|
|
|
int fs_unmount(void);
|
2010-08-10 22:05:51 +02:00
|
|
|
|
|
|
|
/* path.c */
|
2012-03-24 16:16:34 +01:00
|
|
|
int fs_lookup(void);
|
2010-08-10 22:05:51 +02:00
|
|
|
|
|
|
|
/* read.c */
|
2012-03-24 16:16:34 +01:00
|
|
|
int fs_read(void);
|
|
|
|
int fs_getdents(void);
|
2010-08-10 22:05:51 +02:00
|
|
|
|
|
|
|
/* sdbm.c */
|
2012-03-24 16:16:34 +01:00
|
|
|
long sdbm_hash(char *str, int len);
|
2010-08-10 22:05:51 +02:00
|
|
|
|
|
|
|
/* stadir.c */
|
2012-03-24 16:16:34 +01:00
|
|
|
int fs_stat(void);
|
|
|
|
int fs_fstatfs(void);
|
|
|
|
int fs_statvfs(void);
|
2010-08-10 22:05:51 +02:00
|
|
|
|
|
|
|
/* utility.c */
|
2012-03-24 16:16:34 +01:00
|
|
|
int no_sys(void);
|
|
|
|
int do_noop(void);
|
2010-08-10 22:05:51 +02:00
|
|
|
|
|
|
|
#endif /* _VTREEFS_PROTO_H */
|