#include <linux/slab.h>
#include "adfs.h"
static DECLARE_RWSEM(adfs_dir_rwsem);
int adfs_dir_copyfrom(void *dst, struct adfs_dir *dir, unsigned int offset,
size_t len)
{ … }
int adfs_dir_copyto(struct adfs_dir *dir, unsigned int offset, const void *src,
size_t len)
{ … }
static void __adfs_dir_cleanup(struct adfs_dir *dir)
{ … }
void adfs_dir_relse(struct adfs_dir *dir)
{ … }
static void adfs_dir_forget(struct adfs_dir *dir)
{ … }
int adfs_dir_read_buffers(struct super_block *sb, u32 indaddr,
unsigned int size, struct adfs_dir *dir)
{ … }
static int adfs_dir_read(struct super_block *sb, u32 indaddr,
unsigned int size, struct adfs_dir *dir)
{ … }
static int adfs_dir_read_inode(struct super_block *sb, struct inode *inode,
struct adfs_dir *dir)
{ … }
static void adfs_dir_mark_dirty(struct adfs_dir *dir)
{ … }
static int adfs_dir_sync(struct adfs_dir *dir)
{ … }
void adfs_object_fixup(struct adfs_dir *dir, struct object_info *obj)
{ … }
static int adfs_iterate(struct file *file, struct dir_context *ctx)
{ … }
int
adfs_dir_update(struct super_block *sb, struct object_info *obj, int wait)
{ … }
static unsigned char adfs_tolower(unsigned char c)
{ … }
static int __adfs_compare(const unsigned char *qstr, u32 qlen,
const char *str, u32 len)
{ … }
static int adfs_dir_lookup_byname(struct inode *inode, const struct qstr *qstr,
struct object_info *obj)
{ … }
const struct file_operations adfs_dir_operations = …;
static int
adfs_hash(const struct dentry *parent, struct qstr *qstr)
{ … }
static int adfs_compare(const struct dentry *dentry, unsigned int len,
const char *str, const struct qstr *qstr)
{ … }
const struct dentry_operations adfs_dentry_operations = …;
static struct dentry *
adfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
{ … }
const struct inode_operations adfs_dir_inode_operations = …;