Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
dcache.c File Reference
#include <linux/fs.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/namei.h>
#include <cluster/masklog.h>
#include "ocfs2.h"
#include "alloc.h"
#include "dcache.h"
#include "dlmglue.h"
#include "file.h"
#include "inode.h"
#include "super.h"
#include "ocfs2_trace.h"

Go to the source code of this file.

Macros

#define DL_INODE_DROP_COUNT   64
 

Functions

void ocfs2_dentry_attach_gen (struct dentry *dentry)
 
struct dentryocfs2_find_local_alias (struct inode *inode, u64 parent_blkno, int skip_unhashed)
 
 DEFINE_SPINLOCK (dentry_attach_lock)
 
int ocfs2_dentry_attach_lock (struct dentry *dentry, struct inode *inode, u64 parent_blkno)
 
 DEFINE_SPINLOCK (dentry_list_lock)
 
void ocfs2_drop_dl_inodes (struct work_struct *work)
 
void ocfs2_drop_all_dl_inodes (struct ocfs2_super *osb)
 
void ocfs2_dentry_lock_put (struct ocfs2_super *osb, struct ocfs2_dentry_lock *dl)
 
void ocfs2_dentry_move (struct dentry *dentry, struct dentry *target, struct inode *old_dir, struct inode *new_dir)
 

Variables

struct dentry_operations ocfs2_dentry_ops
 

Macro Definition Documentation

#define DL_INODE_DROP_COUNT   64

Definition at line 353 of file dcache.c.

Function Documentation

DEFINE_SPINLOCK ( dentry_attach_lock  )
DEFINE_SPINLOCK ( dentry_list_lock  )
void ocfs2_dentry_attach_gen ( struct dentry dentry)

Definition at line 43 of file dcache.c.

int ocfs2_dentry_attach_lock ( struct dentry dentry,
struct inode inode,
u64  parent_blkno 
)

Definition at line 227 of file dcache.c.

void ocfs2_dentry_lock_put ( struct ocfs2_super osb,
struct ocfs2_dentry_lock dl 
)

Definition at line 433 of file dcache.c.

void ocfs2_dentry_move ( struct dentry dentry,
struct dentry target,
struct inode old_dir,
struct inode new_dir 
)

Definition at line 501 of file dcache.c.

void ocfs2_drop_all_dl_inodes ( struct ocfs2_super osb)

Definition at line 390 of file dcache.c.

void ocfs2_drop_dl_inodes ( struct work_struct work)

Definition at line 372 of file dcache.c.

struct dentry* ocfs2_find_local_alias ( struct inode inode,
u64  parent_blkno,
int  skip_unhashed 
)
read

Definition at line 168 of file dcache.c.

Variable Documentation

struct dentry_operations ocfs2_dentry_ops
Initial value:
= {
.d_revalidate = ocfs2_dentry_revalidate,
.d_iput = ocfs2_dentry_iput,
}

Definition at line 528 of file dcache.c.