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 "exofs.h"

Go to the source code of this file.

Macros

#define S_SHIFT   12
 
#define THIS_DIR   ".\0\0"
 
#define PARENT_DIR   "..\0"
 

Functions

struct exofs_dir_entryexofs_find_entry (struct inode *dir, struct dentry *dentry, struct page **res_page)
 
struct exofs_dir_entryexofs_dotdot (struct inode *dir, struct page **p)
 
ino_t exofs_parent_ino (struct dentry *child)
 
ino_t exofs_inode_by_name (struct inode *dir, struct dentry *dentry)
 
int exofs_set_link (struct inode *dir, struct exofs_dir_entry *de, struct page *page, struct inode *inode)
 
int exofs_add_link (struct dentry *dentry, struct inode *inode)
 
int exofs_delete_entry (struct exofs_dir_entry *dir, struct page *page)
 
int exofs_make_empty (struct inode *inode, struct inode *parent)
 
int exofs_empty_dir (struct inode *inode)
 

Variables

struct file_operations exofs_dir_operations
 

Macro Definition Documentation

#define PARENT_DIR   "..\0"

Definition at line 579 of file dir.c.

#define S_SHIFT   12

Definition at line 223 of file dir.c.

#define THIS_DIR   ".\0\0"

Definition at line 578 of file dir.c.

Function Documentation

int exofs_add_link ( struct dentry dentry,
struct inode inode 
)

Definition at line 436 of file dir.c.

int exofs_delete_entry ( struct exofs_dir_entry dir,
struct page page 
)

Definition at line 531 of file dir.c.

struct exofs_dir_entry* exofs_dotdot ( struct inode dir,
struct page **  p 
)
read

Definition at line 369 of file dir.c.

int exofs_empty_dir ( struct inode inode)

Definition at line 621 of file dir.c.

struct exofs_dir_entry* exofs_find_entry ( struct inode dir,
struct dentry dentry,
struct page **  res_page 
)
read

Definition at line 315 of file dir.c.

ino_t exofs_inode_by_name ( struct inode dir,
struct dentry dentry 
)

Definition at line 397 of file dir.c.

int exofs_make_empty ( struct inode inode,
struct inode parent 
)

Definition at line 581 of file dir.c.

ino_t exofs_parent_ino ( struct dentry child)

Definition at line 382 of file dir.c.

int exofs_set_link ( struct inode dir,
struct exofs_dir_entry de,
struct page page,
struct inode inode 
)

Definition at line 411 of file dir.c.

Variable Documentation

struct file_operations exofs_dir_operations
Initial value:
= {
.readdir = exofs_readdir,
}

Definition at line 669 of file dir.c.