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

Go to the source code of this file.

Macros

#define S_SHIFT   12
 

Functions

struct nilfs_dir_entrynilfs_find_entry (struct inode *dir, const struct qstr *qstr, struct page **res_page)
 
struct nilfs_dir_entrynilfs_dotdot (struct inode *dir, struct page **p)
 
ino_t nilfs_inode_by_name (struct inode *dir, const struct qstr *qstr)
 
void nilfs_set_link (struct inode *dir, struct nilfs_dir_entry *de, struct page *page, struct inode *inode)
 
int nilfs_add_link (struct dentry *dentry, struct inode *inode)
 
int nilfs_delete_entry (struct nilfs_dir_entry *dir, struct page *page)
 
int nilfs_make_empty (struct inode *inode, struct inode *parent)
 
int nilfs_empty_dir (struct inode *inode)
 

Variables

struct file_operations nilfs_dir_operations
 

Macro Definition Documentation

#define S_SHIFT   12

Definition at line 240 of file dir.c.

Function Documentation

int nilfs_add_link ( struct dentry dentry,
struct inode inode 
)

Definition at line 448 of file dir.c.

int nilfs_delete_entry ( struct nilfs_dir_entry dir,
struct page page 
)

Definition at line 548 of file dir.c.

struct nilfs_dir_entry* nilfs_dotdot ( struct inode dir,
struct page **  p 
)
read

Definition at line 398 of file dir.c.

int nilfs_empty_dir ( struct inode inode)

Definition at line 630 of file dir.c.

struct nilfs_dir_entry* nilfs_find_entry ( struct inode dir,
const struct qstr qstr,
struct page **  res_page 
)
read

Definition at line 336 of file dir.c.

ino_t nilfs_inode_by_name ( struct inode dir,
const struct qstr qstr 
)

Definition at line 411 of file dir.c.

int nilfs_make_empty ( struct inode inode,
struct inode parent 
)

Definition at line 588 of file dir.c.

void nilfs_set_link ( struct inode dir,
struct nilfs_dir_entry de,
struct page page,
struct inode inode 
)

Definition at line 427 of file dir.c.

Variable Documentation

struct file_operations nilfs_dir_operations
Initial value:
= {
.readdir = nilfs_readdir,
.unlocked_ioctl = nilfs_ioctl,
.fsync = nilfs_sync_file,
}

Definition at line 678 of file dir.c.