#include "adfs.h"
#include "dir_f.h"
static inline unsigned int adfs_readval(unsigned char *p, int len)
{ … }
static inline void adfs_writeval(unsigned char *p, int len, unsigned int val)
{ … }
#define ror13(v) …
#define dir_u8(idx) …
#define dir_u32(idx) …
#define bufoff(_bh,_idx) …
static u8
adfs_dir_checkbyte(const struct adfs_dir *dir)
{ … }
static int adfs_f_validate(struct adfs_dir *dir)
{ … }
static int adfs_f_read(struct super_block *sb, u32 indaddr, unsigned int size,
struct adfs_dir *dir)
{ … }
static inline void
adfs_dir2obj(struct adfs_dir *dir, struct object_info *obj,
struct adfs_direntry *de)
{ … }
static inline void
adfs_obj2dir(struct adfs_direntry *de, struct object_info *obj)
{ … }
static int
__adfs_dir_get(struct adfs_dir *dir, int pos, struct object_info *obj)
{ … }
static int
adfs_f_setpos(struct adfs_dir *dir, unsigned int fpos)
{ … }
static int
adfs_f_getnext(struct adfs_dir *dir, struct object_info *obj)
{ … }
static int adfs_f_iterate(struct adfs_dir *dir, struct dir_context *ctx)
{ … }
static int adfs_f_update(struct adfs_dir *dir, struct object_info *obj)
{ … }
static int adfs_f_commit(struct adfs_dir *dir)
{ … }
const struct adfs_dir_ops adfs_f_dir_ops = …;