#ifndef _UFS_UFS_H
#define _UFS_UFS_H …
#ifdef pr_fmt
#undef pr_fmt
#endif
#define pr_fmt(fmt) …
#define UFS_MAX_GROUP_LOADED …
#define UFS_CGNO_EMPTY …
struct ufs_sb_private_info;
struct ufs_cg_private_info;
struct ufs_csum;
struct ufs_sb_info { … };
struct ufs_inode_info { … };
#define UFS_MOUNT_ONERROR …
#define UFS_MOUNT_ONERROR_PANIC …
#define UFS_MOUNT_ONERROR_LOCK …
#define UFS_MOUNT_ONERROR_UMOUNT …
#define UFS_MOUNT_ONERROR_REPAIR …
#define UFS_MOUNT_UFSTYPE …
#define UFS_MOUNT_UFSTYPE_OLD …
#define UFS_MOUNT_UFSTYPE_44BSD …
#define UFS_MOUNT_UFSTYPE_SUN …
#define UFS_MOUNT_UFSTYPE_NEXTSTEP …
#define UFS_MOUNT_UFSTYPE_NEXTSTEP_CD …
#define UFS_MOUNT_UFSTYPE_OPENSTEP …
#define UFS_MOUNT_UFSTYPE_SUNx86 …
#define UFS_MOUNT_UFSTYPE_HP …
#define UFS_MOUNT_UFSTYPE_UFS2 …
#define UFS_MOUNT_UFSTYPE_SUNOS …
#define ufs_clear_opt(o,opt) …
#define ufs_set_opt(o,opt) …
#define ufs_test_opt(o,opt) …
#ifdef CONFIG_UFS_DEBUG
#define UFSD(f, a...) …
#else
#define UFSD …
#endif
extern void ufs_free_fragments (struct inode *, u64, unsigned);
extern void ufs_free_blocks (struct inode *, u64, unsigned);
extern u64 ufs_new_fragments(struct inode *, void *, u64, u64,
unsigned, int *, struct page *);
extern struct ufs_cg_private_info * ufs_load_cylinder (struct super_block *, unsigned);
extern void ufs_put_cylinder (struct super_block *, unsigned);
extern const struct inode_operations ufs_dir_inode_operations;
extern int ufs_add_link (struct dentry *, struct inode *);
extern ino_t ufs_inode_by_name(struct inode *, const struct qstr *);
extern int ufs_make_empty(struct inode *, struct inode *);
extern struct ufs_dir_entry *ufs_find_entry(struct inode *, const struct qstr *, struct page **);
extern int ufs_delete_entry(struct inode *, struct ufs_dir_entry *, struct page *);
extern int ufs_empty_dir (struct inode *);
extern struct ufs_dir_entry *ufs_dotdot(struct inode *, struct page **);
extern void ufs_set_link(struct inode *dir, struct ufs_dir_entry *de,
struct page *page, struct inode *inode, bool update_times);
extern const struct inode_operations ufs_file_inode_operations;
extern const struct file_operations ufs_file_operations;
extern const struct address_space_operations ufs_aops;
extern void ufs_free_inode (struct inode *inode);
extern struct inode * ufs_new_inode (struct inode *, umode_t);
extern struct inode *ufs_iget(struct super_block *, unsigned long);
extern int ufs_write_inode (struct inode *, struct writeback_control *);
extern int ufs_sync_inode (struct inode *);
extern void ufs_evict_inode (struct inode *);
extern int ufs_setattr(struct mnt_idmap *idmap, struct dentry *dentry,
struct iattr *attr);
extern const struct file_operations ufs_dir_operations;
extern __printf(3, 4)
void ufs_warning(struct super_block *, const char *, const char *, ...);
extern __printf(3, 4)
void ufs_error(struct super_block *, const char *, const char *, ...);
extern __printf(3, 4)
void ufs_panic(struct super_block *, const char *, const char *, ...);
void ufs_mark_sb_dirty(struct super_block *sb);
static inline struct ufs_sb_info *UFS_SB(struct super_block *sb)
{ … }
static inline struct ufs_inode_info *UFS_I(struct inode *inode)
{ … }
static inline u64 ufs_dtog(struct ufs_sb_private_info * uspi, u64 b)
{ … }
static inline u32 ufs_dtogd(struct ufs_sb_private_info * uspi, u64 b)
{ … }
#endif