Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
dir.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/namei.h>
#include <linux/pagemap.h>
#include <linux/ctype.h>
#include <linux/sched.h>
#include "internal.h"

Go to the source code of this file.

Data Structures

union  afs_dirent
 
struct  afs_dir_pagehdr
 
union  afs_dir_block
 
struct  afs_dir_page
 
struct  afs_lookup_cookie
 

Macros

#define AFS_DIR_HASHTBL_SIZE   128
 
#define AFS_DIR_DIRENT_SIZE   32
 
#define AFS_DIRENT_PER_BLOCK   64
 
#define AFS_DIR_MAGIC   htons(1234)
 

Variables

struct file_operations afs_dir_file_operations
 
struct inode_operations afs_dir_inode_operations
 
struct dentry_operations afs_fs_dentry_operations
 

Macro Definition Documentation

#define AFS_DIR_DIRENT_SIZE   32

Definition at line 73 of file dir.c.

#define AFS_DIR_HASHTBL_SIZE   128

Definition at line 72 of file dir.c.

#define AFS_DIR_MAGIC   htons(1234)

Definition at line 95 of file dir.c.

#define AFS_DIRENT_PER_BLOCK   64

Definition at line 74 of file dir.c.

Variable Documentation

struct file_operations afs_dir_file_operations
Initial value:
= {
.open = afs_dir_open,
.release = afs_release,
.readdir = afs_readdir,
.lock = afs_lock,
}

Definition at line 43 of file dir.c.

struct inode_operations afs_dir_inode_operations
Initial value:
= {
.create = afs_create,
.lookup = afs_lookup,
.link = afs_link,
.unlink = afs_unlink,
.symlink = afs_symlink,
.mkdir = afs_mkdir,
.rmdir = afs_rmdir,
.rename = afs_rename,
.permission = afs_permission,
.getattr = afs_getattr,
.setattr = afs_setattr,
}

Definition at line 51 of file dir.c.

struct dentry_operations afs_fs_dentry_operations
Initial value:
= {
.d_revalidate = afs_d_revalidate,
.d_delete = afs_d_delete,
.d_release = afs_d_release,
.d_automount = afs_d_automount,
}

Definition at line 65 of file dir.c.