#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 folio *folio, loff_t pos, unsigned len)
{ … }
static int minix_handle_dirsync(struct inode *dir)
{ … }
static void *dir_get_folio(struct inode *dir, unsigned long n,
struct folio **foliop)
{ … }
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 folio **foliop)
{ … }
int minix_add_link(struct dentry *dentry, struct inode *inode)
{ … }
int minix_delete_entry(struct minix_dir_entry *de, struct folio *folio)
{ … }
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 folio *folio,
struct inode *inode)
{ … }
struct minix_dir_entry *minix_dotdot(struct inode *dir, struct folio **foliop)
{ … }
ino_t minix_inode_by_name(struct dentry *dentry)
{ … }