xref: /openbmc/linux/fs/freevxfs/vxfs_extern.h (revision d47a97bd)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2000-2001 Christoph Hellwig.
4  */
5 #ifndef _VXFS_EXTERN_H_
6 #define _VXFS_EXTERN_H_
7 
8 /*
9  * Veritas filesystem driver - external prototypes.
10  *
11  * This file contains prototypes for all vxfs functions used
12  * outside their respective source files.
13  */
14 
15 
16 struct kmem_cache;
17 struct super_block;
18 struct vxfs_inode_info;
19 struct inode;
20 
21 
22 /* vxfs_bmap.c */
23 extern daddr_t			vxfs_bmap1(struct inode *, long);
24 
25 /* vxfs_fshead.c */
26 extern int			vxfs_read_fshead(struct super_block *);
27 
28 /* vxfs_inode.c */
29 extern const struct address_space_operations vxfs_immed_aops;
30 extern void			vxfs_dumpi(struct vxfs_inode_info *, ino_t);
31 extern struct inode		*vxfs_blkiget(struct super_block *, u_long, ino_t);
32 extern struct inode		*vxfs_stiget(struct super_block *, ino_t);
33 extern struct inode		*vxfs_iget(struct super_block *, ino_t);
34 extern void			vxfs_evict_inode(struct inode *);
35 
36 /* vxfs_lookup.c */
37 extern const struct inode_operations	vxfs_dir_inode_ops;
38 extern const struct file_operations	vxfs_dir_operations;
39 
40 /* vxfs_olt.c */
41 extern int			vxfs_read_olt(struct super_block *, u_long);
42 
43 /* vxfs_subr.c */
44 extern const struct address_space_operations vxfs_aops;
45 extern struct page *		vxfs_get_page(struct address_space *, u_long);
46 extern void			vxfs_put_page(struct page *);
47 extern struct buffer_head *	vxfs_bread(struct inode *, int);
48 
49 #endif /* _VXFS_EXTERN_H_ */
50