2022-05-16 21:38:25 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2005-04-17 06:20:36 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2000-2001 Christoph Hellwig.
|
|
|
|
*/
|
|
|
|
#ifndef _VXFS_EXTERN_H_
|
|
|
|
#define _VXFS_EXTERN_H_
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Veritas filesystem driver - external prototypes.
|
|
|
|
*
|
|
|
|
* This file contains prototypes for all vxfs functions used
|
|
|
|
* outside their respective source files.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2005-11-07 16:58:01 +08:00
|
|
|
struct kmem_cache;
|
2005-04-17 06:20:36 +08:00
|
|
|
struct super_block;
|
|
|
|
struct vxfs_inode_info;
|
|
|
|
struct inode;
|
|
|
|
|
|
|
|
|
|
|
|
/* vxfs_bmap.c */
|
|
|
|
extern daddr_t vxfs_bmap1(struct inode *, long);
|
|
|
|
|
|
|
|
/* vxfs_fshead.c */
|
|
|
|
extern int vxfs_read_fshead(struct super_block *);
|
|
|
|
|
|
|
|
/* vxfs_inode.c */
|
2008-04-29 15:58:54 +08:00
|
|
|
extern const struct address_space_operations vxfs_immed_aops;
|
2005-04-17 06:20:36 +08:00
|
|
|
extern void vxfs_dumpi(struct vxfs_inode_info *, ino_t);
|
2016-06-01 14:56:04 +08:00
|
|
|
extern struct inode *vxfs_blkiget(struct super_block *, u_long, ino_t);
|
|
|
|
extern struct inode *vxfs_stiget(struct super_block *, ino_t);
|
|
|
|
extern struct inode *vxfs_iget(struct super_block *, ino_t);
|
2010-06-08 02:34:48 +08:00
|
|
|
extern void vxfs_evict_inode(struct inode *);
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/* vxfs_lookup.c */
|
2007-02-12 16:55:38 +08:00
|
|
|
extern const struct inode_operations vxfs_dir_inode_ops;
|
2006-03-28 17:56:42 +08:00
|
|
|
extern const struct file_operations vxfs_dir_operations;
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/* vxfs_olt.c */
|
|
|
|
extern int vxfs_read_olt(struct super_block *, u_long);
|
|
|
|
|
|
|
|
/* vxfs_subr.c */
|
2008-04-29 15:58:54 +08:00
|
|
|
extern const struct address_space_operations vxfs_aops;
|
2005-04-17 06:20:36 +08:00
|
|
|
extern struct page * vxfs_get_page(struct address_space *, u_long);
|
|
|
|
extern void vxfs_put_page(struct page *);
|
|
|
|
extern struct buffer_head * vxfs_bread(struct inode *, int);
|
|
|
|
|
|
|
|
#endif /* _VXFS_EXTERN_H_ */
|