1 /* Function prototypes. */
3 /* Structs used in prototypes must be declared as such first. */
9 _PROTOTYPE( struct buf
*get_block
, (Dev_t dev
, ino_t inum
) );
10 _PROTOTYPE( struct buf
*new_block
, (Dev_t dev
, ino_t inum
) );
11 _PROTOTYPE( void put_block
, (Dev_t dev
, ino_t inum
) );
14 _PROTOTYPE( void buf_pool
, (void) );
17 _PROTOTYPE( struct inode
*alloc_inode
, (dev_t dev
, mode_t mode
) );
18 _PROTOTYPE( void dup_inode
, (struct inode
*ip
) );
19 _PROTOTYPE( struct inode
*find_inode
, (int numb
) );
20 _PROTOTYPE( void free_inode
, (struct inode
*rip
) );
21 _PROTOTYPE( int fs_putnode
, (void) );
22 _PROTOTYPE( void init_inode_cache
, (void) );
23 _PROTOTYPE( struct inode
*get_inode
, (Dev_t dev
, int numb
) );
24 _PROTOTYPE( void put_inode
, (struct inode
*rip
) );
25 _PROTOTYPE( void update_times
, (struct inode
*rip
) );
26 _PROTOTYPE( void wipe_inode
, (struct inode
*rip
) );
29 _PROTOTYPE( int fs_ftrunc
, (void) );
30 _PROTOTYPE( int truncate_inode
, (struct inode
*rip
, off_t newsize
) );
34 _PROTOTYPE( void reply
, (int who
, message
*m_out
) );
37 _PROTOTYPE( int fs_sync
, (void) );
40 _PROTOTYPE( int fs_newnode
, (void) );
43 _PROTOTYPE( int fs_readwrite
, (void) );
44 _PROTOTYPE( block_t read_map
, (struct inode
*rip
, off_t pos
) );
45 _PROTOTYPE( int read_write
, (int rw_flag
) );
48 _PROTOTYPE( time_t clock_time
, (void) );
49 _PROTOTYPE( int no_sys
, (void) );
52 _PROTOTYPE( int fs_stat
, (void) );
55 _PROTOTYPE( bit_t alloc_bit
, (void) );
56 _PROTOTYPE( void free_bit
, (bit_t bit_returned
) );