vxfs_extern.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. * Veritas filesystem driver - external prototypes.
  9. *
  10. * This file contains prototypes for all vxfs functions used
  11. * outside their respective source files.
  12. */
  13. struct kmem_cache;
  14. struct super_block;
  15. struct vxfs_inode_info;
  16. struct inode;
  17. /* vxfs_bmap.c */
  18. extern daddr_t vxfs_bmap1(struct inode *, long);
  19. /* vxfs_fshead.c */
  20. extern int vxfs_read_fshead(struct super_block *);
  21. /* vxfs_inode.c */
  22. extern const struct address_space_operations vxfs_immed_aops;
  23. extern void vxfs_dumpi(struct vxfs_inode_info *, ino_t);
  24. extern struct inode *vxfs_blkiget(struct super_block *, u_long, ino_t);
  25. extern struct inode *vxfs_stiget(struct super_block *, ino_t);
  26. extern struct inode *vxfs_iget(struct super_block *, ino_t);
  27. extern void vxfs_evict_inode(struct inode *);
  28. /* vxfs_lookup.c */
  29. extern const struct inode_operations vxfs_dir_inode_ops;
  30. extern const struct file_operations vxfs_dir_operations;
  31. /* vxfs_olt.c */
  32. extern int vxfs_read_olt(struct super_block *, u_long);
  33. /* vxfs_subr.c */
  34. extern const struct address_space_operations vxfs_aops;
  35. extern struct page * vxfs_get_page(struct address_space *, u_long);
  36. extern void vxfs_put_page(struct page *);
  37. extern struct buffer_head * vxfs_bread(struct inode *, int);
  38. #endif /* _VXFS_EXTERN_H_ */