5 void init_dentry(void);
6 struct inode
*lookup_dentry(struct inode
*parent
, char *name
);
7 void add_dentry(struct inode
*parent
, char *name
, struct inode
*ino
);
8 void del_dentry(struct inode
*ino
);
11 int get_handle(struct inode
*ino
);
12 void put_handle(struct inode
*ino
);
15 struct inode
*init_inode(void);
16 struct inode
*find_inode(ino_t ino_nr
);
17 void get_inode(struct inode
*ino
);
18 void put_inode(struct inode
*ino
);
19 void link_inode(struct inode
*parent
, struct inode
*ino
);
20 void unlink_inode(struct inode
*ino
);
21 struct inode
*get_free_inode(void);
22 int have_free_inode(void);
23 int have_used_inode(void);
37 int main(int argc
, char *argv
[]);
44 int do_readsuper(void);
48 void normalize_name(char dst
[NAME_MAX
+1], char *src
);
49 int compare_name(char *name1
, char *name2
);
52 int make_path(char path
[PATH_MAX
], struct inode
*ino
);
53 int push_path(char path
[PATH_MAX
], char *name
);
54 void pop_path(char path
[PATH_MAX
]);
58 int do_getdents(void);
61 mode_t
get_mode(struct inode
*ino
, int mode
);
67 int get_name(cp_grant_id_t grant
, size_t len
, char name
[NAME_MAX
+1]);
72 int verify_path(char *path
, struct inode
*ino
, struct sffs_attr
*attr
,
74 int verify_inode(struct inode
*ino
, char path
[PATH_MAX
],
75 struct sffs_attr
*attr
);
76 int verify_dentry(struct inode
*parent
, char name
[NAME_MAX
+1],
77 char path
[PATH_MAX
], struct inode
**res_ino
);
83 #endif /* _SFFS_PROTO_H */