#include "minix.h"
#include <linux/buffer_head.h>
#include <linux/highmem.h>
#include <linux/swap.h>
minix_dirent;
minix3_dirent;
static int minix_readdir(struct file *, struct dir_context *);
const struct file_operations minix_dir_operations = …;
static unsigned
minix_last_byte(struct inode *inode, unsigned long page_nr)
{ … }
static void dir_commit_chunk(struct page *page, loff_t pos, unsigned len)
{ … }
static int minix_handle_dirsync(struct inode *dir)
{ … }
static void *dir_get_page(struct inode *dir, unsigned long n, struct page **p)
{ … }
static inline void *minix_next_entry(void *de, struct minix_sb_info *sbi)
{ … }
static int minix_readdir(struct file *file, struct dir_context *ctx)
{ … }
static inline int namecompare(int len, int maxlen,
const char * name, const char * buffer)
{ … }
minix_dirent *minix_find_entry(struct dentry *dentry, struct page **res_page)
{ … }
int minix_add_link(struct dentry *dentry, struct inode *inode)
{ … }
int minix_delete_entry(struct minix_dir_entry *de, struct page *page)
{ … }
int minix_make_empty(struct inode *inode, struct inode *dir)
{ … }
int minix_empty_dir(struct inode * inode)
{ … }
int minix_set_link(struct minix_dir_entry *de, struct page *page,
struct inode *inode)
{ … }
struct minix_dir_entry * minix_dotdot (struct inode *dir, struct page **p)
{ … }
ino_t minix_inode_by_name(struct dentry *dentry)
{ … }