Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Typedefs | Functions | Variables
dir.c File Reference
#include "minix.h"
#include <linux/buffer_head.h>
#include <linux/highmem.h>
#include <linux/swap.h>

Go to the source code of this file.

Typedefs

typedef struct minix_dir_entry minix_dirent
 
typedef struct minix3_dir_entry minix3_dirent
 

Functions

minix_direntminix_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)
 
void minix_set_link (struct minix_dir_entry *de, struct page *page, struct inode *inode)
 
struct minix_dir_entryminix_dotdot (struct inode *dir, struct page **p)
 
ino_t minix_inode_by_name (struct dentry *dentry)
 

Variables

struct file_operations minix_dir_operations
 

Typedef Documentation

Definition at line 17 of file dir.c.

Definition at line 16 of file dir.c.

Function Documentation

int minix_add_link ( struct dentry dentry,
struct inode inode 
)

Definition at line 208 of file dir.c.

int minix_delete_entry ( struct minix_dir_entry de,
struct page page 
)

Definition at line 297 of file dir.c.

struct minix_dir_entry* minix_dotdot ( struct inode dir,
struct page **  p 
)
read

Definition at line 446 of file dir.c.

int minix_empty_dir ( struct inode inode)

Definition at line 369 of file dir.c.

minix_dirent* minix_find_entry ( struct dentry dentry,
struct page **  res_page 
)
read

Definition at line 159 of file dir.c.

ino_t minix_inode_by_name ( struct dentry dentry)

Definition at line 459 of file dir.c.

int minix_make_empty ( struct inode inode,
struct inode dir 
)

Definition at line 323 of file dir.c.

void minix_set_link ( struct minix_dir_entry de,
struct page page,
struct inode inode 
)

Definition at line 420 of file dir.c.

Variable Documentation

struct file_operations minix_dir_operations
Initial value:
= {
.readdir = minix_readdir,
}

Definition at line 21 of file dir.c.