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

Go to the source code of this file.

Macros

#define S_SHIFT   12
 

Typedefs

typedef struct ext2_dir_entry_2 ext2_dirent
 

Functions

struct ext2_dir_entry_2ext2_find_entry (struct inode *dir, struct qstr *child, struct page **res_page)
 
struct ext2_dir_entry_2ext2_dotdot (struct inode *dir, struct page **p)
 
ino_t ext2_inode_by_name (struct inode *dir, struct qstr *child)
 
void ext2_set_link (struct inode *dir, struct ext2_dir_entry_2 *de, struct page *page, struct inode *inode, int update_times)
 
int ext2_add_link (struct dentry *dentry, struct inode *inode)
 
int ext2_delete_entry (struct ext2_dir_entry_2 *dir, struct page *page)
 
int ext2_make_empty (struct inode *inode, struct inode *parent)
 
int ext2_empty_dir (struct inode *inode)
 

Variables

struct file_operations ext2_dir_operations
 

Macro Definition Documentation

#define S_SHIFT   12

Definition at line 269 of file dir.c.

Typedef Documentation

Definition at line 29 of file dir.c.

Function Documentation

int ext2_add_link ( struct dentry dentry,
struct inode inode 
)

Definition at line 490 of file dir.c.

int ext2_delete_entry ( struct ext2_dir_entry_2 dir,
struct page page 
)

Definition at line 589 of file dir.c.

struct ext2_dir_entry_2* ext2_dotdot ( struct inode dir,
struct page **  p 
)
read

Definition at line 434 of file dir.c.

int ext2_empty_dir ( struct inode inode)

Definition at line 673 of file dir.c.

struct ext2_dir_entry_2* ext2_find_entry ( struct inode dir,
struct qstr child,
struct page **  res_page 
)
read

Definition at line 369 of file dir.c.

ino_t ext2_inode_by_name ( struct inode dir,
struct qstr child 
)

Definition at line 446 of file dir.c.

int ext2_make_empty ( struct inode inode,
struct inode parent 
)

Definition at line 632 of file dir.c.

void ext2_set_link ( struct inode dir,
struct ext2_dir_entry_2 de,
struct page page,
struct inode inode,
int  update_times 
)

Definition at line 466 of file dir.c.

Variable Documentation

struct file_operations ext2_dir_operations
Initial value:
= {
.readdir = ext2_readdir,
.unlocked_ioctl = ext2_ioctl,
.fsync = ext2_fsync,
}

Definition at line 724 of file dir.c.