3 _PROTOTYPE( void init_dentry
, (void) );
4 _PROTOTYPE( struct inode
*lookup_dentry
, (struct inode
*parent
,
6 _PROTOTYPE( void add_dentry
, (struct inode
*parent
, char *name
,
8 _PROTOTYPE( void del_dentry
, (struct inode
*ino
) );
11 _PROTOTYPE( int get_handle
, (struct inode
*ino
) );
12 _PROTOTYPE( void put_handle
, (struct inode
*ino
) );
15 _PROTOTYPE( struct inode
*init_inode
, (void) );
16 _PROTOTYPE( struct inode
*find_inode
, (ino_t ino_nr
) );
17 _PROTOTYPE( void get_inode
, (struct inode
*ino
) );
18 _PROTOTYPE( void put_inode
, (struct inode
*ino
) );
19 _PROTOTYPE( void link_inode
, (struct inode
*parent
, struct inode
*ino
) );
20 _PROTOTYPE( void unlink_inode
, (struct inode
*ino
) );
21 _PROTOTYPE( struct inode
*get_free_inode
, (void) );
22 _PROTOTYPE( int have_free_inode
, (void) );
23 _PROTOTYPE( int have_used_inode
, (void) );
24 _PROTOTYPE( int do_putnode
, (void) );
27 _PROTOTYPE( int do_create
, (void) );
28 _PROTOTYPE( int do_mkdir
, (void) );
29 _PROTOTYPE( int do_unlink
, (void) );
30 _PROTOTYPE( int do_rmdir
, (void) );
31 _PROTOTYPE( int do_rename
, (void) );
34 _PROTOTYPE( int do_lookup
, (void) );
37 _PROTOTYPE( int main
, (int argc
, char *argv
[]) );
40 _PROTOTYPE( int do_fstatfs
, (void) );
43 _PROTOTYPE( int do_readsuper
, (void) );
44 _PROTOTYPE( int do_unmount
, (void) );
47 _PROTOTYPE( void normalize_name
, (char dst
[NAME_MAX
+1], char *src
) );
48 _PROTOTYPE( int compare_name
, (char *name1
, char *name2
) );
51 _PROTOTYPE( int make_path
, (char path
[PATH_MAX
], struct inode
*ino
) );
52 _PROTOTYPE( int push_path
, (char path
[PATH_MAX
], char *name
) );
53 _PROTOTYPE( void pop_path
, (char path
[PATH_MAX
]) );
56 _PROTOTYPE( int do_read
, (void) );
57 _PROTOTYPE( int do_getdents
, (void) );
60 _PROTOTYPE( mode_t get_mode
, (struct inode
*ino
, int mode
) );
61 _PROTOTYPE( int do_stat
, (void) );
62 _PROTOTYPE( int do_chmod
, (void) );
63 _PROTOTYPE( int do_utime
, (void) );
66 _PROTOTYPE( int get_name
, (cp_grant_id_t grant
, size_t len
,
67 char name
[NAME_MAX
+1]) );
68 _PROTOTYPE( int do_noop
, (void) );
69 _PROTOTYPE( int no_sys
, (void) );
72 _PROTOTYPE( int verify_path
, (char *path
, struct inode
*ino
,
73 struct hgfs_attr
*attr
, int *stale
) );
74 _PROTOTYPE( int verify_inode
, (struct inode
*ino
, char path
[PATH_MAX
],
75 struct hgfs_attr
*attr
) );
76 _PROTOTYPE( int verify_dentry
, (struct inode
*parent
,
77 char name
[NAME_MAX
+1], char path
[PATH_MAX
],
78 struct inode
**res_ino
) );
81 _PROTOTYPE( int do_write
, (void) );
82 _PROTOTYPE( int do_ftrunc
, (void) );