Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
namei.c File Reference
#include <linux/quotaops.h>
#include "ext3.h"
#include "namei.h"
#include "xattr.h"
#include "acl.h"

Go to the source code of this file.

Data Structures

struct  fake_dirent
 
struct  dx_countlimit
 
struct  dx_entry
 
struct  dx_root
 
struct  dx_root::dx_root_info
 
struct  dx_node
 
struct  dx_frame
 
struct  dx_map_entry
 

Macros

#define NAMEI_RA_CHUNKS   2
 
#define NAMEI_RA_BLOCKS   4
 
#define NAMEI_RA_SIZE   (NAMEI_RA_CHUNKS * NAMEI_RA_BLOCKS)
 
#define NAMEI_RA_INDEX(c, b)   (((c) * NAMEI_RA_BLOCKS) + (b))
 
#define assert(test)   J_ASSERT(test)
 
#define dxtrace(command)
 
#define S_SHIFT   12
 
#define PARENT_INO(buffer)   (ext3_next_entry((struct ext3_dir_entry_2 *)(buffer))->inode)
 

Functions

int ext3_htree_fill_tree (struct file *dir_file, __u32 start_hash, __u32 start_minor_hash, __u32 *next_hash)
 
struct dentryext3_get_parent (struct dentry *child)
 
int ext3_orphan_add (handle_t *handle, struct inode *inode)
 
int ext3_orphan_del (handle_t *handle, struct inode *inode)
 

Variables

struct inode_operations ext3_dir_inode_operations
 
struct inode_operations ext3_special_inode_operations
 

Macro Definition Documentation

#define assert (   test)    J_ASSERT(test)

Definition at line 62 of file namei.c.

#define dxtrace (   command)

Definition at line 68 of file namei.c.

#define NAMEI_RA_BLOCKS   4

Definition at line 37 of file namei.c.

#define NAMEI_RA_CHUNKS   2

Definition at line 36 of file namei.c.

#define NAMEI_RA_INDEX (   c,
  b 
)    (((c) * NAMEI_RA_BLOCKS) + (b))

Definition at line 39 of file namei.c.

#define NAMEI_RA_SIZE   (NAMEI_RA_CHUNKS * NAMEI_RA_BLOCKS)

Definition at line 38 of file namei.c.

#define PARENT_INO (   buffer)    (ext3_next_entry((struct ext3_dir_entry_2 *)(buffer))->inode)

Definition at line 2332 of file namei.c.

#define S_SHIFT   12

Definition at line 1071 of file namei.c.

Function Documentation

struct dentry* ext3_get_parent ( struct dentry child)
read

Definition at line 1049 of file namei.c.

int ext3_htree_fill_tree ( struct file dir_file,
__u32  start_hash,
__u32  start_minor_hash,
__u32 next_hash 
)

Definition at line 613 of file namei.c.

int ext3_orphan_add ( handle_t *  handle,
struct inode inode 
)

Definition at line 1933 of file namei.c.

int ext3_orphan_del ( handle_t *  handle,
struct inode inode 
)

Definition at line 2000 of file namei.c.

Variable Documentation

struct inode_operations ext3_dir_inode_operations
Initial value:
= {
.create = ext3_create,
.lookup = ext3_lookup,
.link = ext3_link,
.unlink = ext3_unlink,
.symlink = ext3_symlink,
.mkdir = ext3_mkdir,
.rmdir = ext3_rmdir,
.mknod = ext3_mknod,
.rename = ext3_rename,
.setattr = ext3_setattr,
.get_acl = ext3_get_acl,
}

Definition at line 2514 of file namei.c.

struct inode_operations ext3_special_inode_operations
Initial value:
= {
.setattr = ext3_setattr,
.get_acl = ext3_get_acl,
}

Definition at line 2534 of file namei.c.