18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * Copyright (c) 2000-2001 Christoph Hellwig.
38c2ecf20Sopenharmony_ci * All rights reserved.
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Redistribution and use in source and binary forms, with or without
68c2ecf20Sopenharmony_ci * modification, are permitted provided that the following conditions
78c2ecf20Sopenharmony_ci * are met:
88c2ecf20Sopenharmony_ci * 1. Redistributions of source code must retain the above copyright
98c2ecf20Sopenharmony_ci *    notice, this list of conditions, and the following disclaimer,
108c2ecf20Sopenharmony_ci *    without modification.
118c2ecf20Sopenharmony_ci * 2. The name of the author may not be used to endorse or promote products
128c2ecf20Sopenharmony_ci *    derived from this software without specific prior written permission.
138c2ecf20Sopenharmony_ci *
148c2ecf20Sopenharmony_ci * Alternatively, this software may be distributed under the terms of the
158c2ecf20Sopenharmony_ci * GNU General Public License ("GPL").
168c2ecf20Sopenharmony_ci *
178c2ecf20Sopenharmony_ci * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
188c2ecf20Sopenharmony_ci * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
198c2ecf20Sopenharmony_ci * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
208c2ecf20Sopenharmony_ci * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
218c2ecf20Sopenharmony_ci * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
228c2ecf20Sopenharmony_ci * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
238c2ecf20Sopenharmony_ci * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
248c2ecf20Sopenharmony_ci * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
258c2ecf20Sopenharmony_ci * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
268c2ecf20Sopenharmony_ci * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
278c2ecf20Sopenharmony_ci * SUCH DAMAGE.
288c2ecf20Sopenharmony_ci *
298c2ecf20Sopenharmony_ci */
308c2ecf20Sopenharmony_ci#ifndef _VXFS_EXTERN_H_
318c2ecf20Sopenharmony_ci#define _VXFS_EXTERN_H_
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci/*
348c2ecf20Sopenharmony_ci * Veritas filesystem driver - external prototypes.
358c2ecf20Sopenharmony_ci *
368c2ecf20Sopenharmony_ci * This file contains prototypes for all vxfs functions used
378c2ecf20Sopenharmony_ci * outside their respective source files.
388c2ecf20Sopenharmony_ci */
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_cistruct kmem_cache;
428c2ecf20Sopenharmony_cistruct super_block;
438c2ecf20Sopenharmony_cistruct vxfs_inode_info;
448c2ecf20Sopenharmony_cistruct inode;
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci/* vxfs_bmap.c */
488c2ecf20Sopenharmony_ciextern daddr_t			vxfs_bmap1(struct inode *, long);
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_ci/* vxfs_fshead.c */
518c2ecf20Sopenharmony_ciextern int			vxfs_read_fshead(struct super_block *);
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ci/* vxfs_inode.c */
548c2ecf20Sopenharmony_ciextern const struct address_space_operations vxfs_immed_aops;
558c2ecf20Sopenharmony_ciextern void			vxfs_dumpi(struct vxfs_inode_info *, ino_t);
568c2ecf20Sopenharmony_ciextern struct inode		*vxfs_blkiget(struct super_block *, u_long, ino_t);
578c2ecf20Sopenharmony_ciextern struct inode		*vxfs_stiget(struct super_block *, ino_t);
588c2ecf20Sopenharmony_ciextern struct inode		*vxfs_iget(struct super_block *, ino_t);
598c2ecf20Sopenharmony_ciextern void			vxfs_evict_inode(struct inode *);
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ci/* vxfs_lookup.c */
628c2ecf20Sopenharmony_ciextern const struct inode_operations	vxfs_dir_inode_ops;
638c2ecf20Sopenharmony_ciextern const struct file_operations	vxfs_dir_operations;
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ci/* vxfs_olt.c */
668c2ecf20Sopenharmony_ciextern int			vxfs_read_olt(struct super_block *, u_long);
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ci/* vxfs_subr.c */
698c2ecf20Sopenharmony_ciextern const struct address_space_operations vxfs_aops;
708c2ecf20Sopenharmony_ciextern struct page *		vxfs_get_page(struct address_space *, u_long);
718c2ecf20Sopenharmony_ciextern void			vxfs_put_page(struct page *);
728c2ecf20Sopenharmony_ciextern struct buffer_head *	vxfs_bread(struct inode *, int);
738c2ecf20Sopenharmony_ci
748c2ecf20Sopenharmony_ci#endif /* _VXFS_EXTERN_H_ */
75