#ifndef _LINUX_BEFS_H
#define _LINUX_BEFS_H
#include "befs_fs_types.h"
#define BEFS_VERSION …
befs_blocknr_t;
struct befs_mount_options { … };
struct befs_sb_info { … };
struct befs_inode_info { … };
enum befs_err { … };
__printf(2, 3)
void befs_error(const struct super_block *sb, const char *fmt, ...);
__printf(2, 3)
void befs_warning(const struct super_block *sb, const char *fmt, ...);
__printf(2, 3)
void befs_debug(const struct super_block *sb, const char *fmt, ...);
void befs_dump_super_block(const struct super_block *sb, befs_super_block *);
void befs_dump_inode(const struct super_block *sb, befs_inode *);
void befs_dump_index_entry(const struct super_block *sb, befs_disk_btree_super *);
void befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead *);
static inline struct befs_sb_info *
BEFS_SB(const struct super_block *super)
{ … }
static inline struct befs_inode_info *
BEFS_I(const struct inode *inode)
{ … }
static inline befs_blocknr_t
iaddr2blockno(struct super_block *sb, const befs_inode_addr *iaddr)
{ … }
static inline befs_inode_addr
blockno2iaddr(struct super_block *sb, befs_blocknr_t blockno)
{ … }
static inline unsigned int
befs_iaddrs_per_block(struct super_block *sb)
{ … }
#include "endian.h"
#endif