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/types.h>
#include <linux/kernel.h>
#include <linux/time.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/file.h>
#include <linux/stat.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/spinlock.h>
#include <linux/namei.h>
#include <asm/uaccess.h>
#include <linux/coda.h>
#include <linux/coda_psdev.h>
#include "coda_linux.h"
#include "coda_cache.h"
#include "coda_int.h"

Go to the source code of this file.

Macros

#define CODA_EIO_ERROR   ((void *) (coda_return_EIO))
 

Functions

int coda_permission (struct inode *inode, int mask)
 
int coda_revalidate_inode (struct dentry *dentry)
 

Variables

struct dentry_operations coda_dentry_operations
 
struct inode_operations coda_dir_inode_operations
 
struct file_operations coda_dir_operations
 

Macro Definition Documentation

#define CODA_EIO_ERROR   ((void *) (coda_return_EIO))

Definition at line 61 of file dir.c.

Function Documentation

int coda_permission ( struct inode inode,
int  mask 
)

Definition at line 132 of file dir.c.

int coda_revalidate_inode ( struct dentry dentry)

Definition at line 603 of file dir.c.

Variable Documentation

struct dentry_operations coda_dentry_operations
Initial value:
=
{
.d_revalidate = coda_dentry_revalidate,
.d_delete = coda_dentry_delete,
}

Definition at line 63 of file dir.c.

struct inode_operations coda_dir_inode_operations
Initial value:
=
{
.create = coda_create,
.lookup = coda_lookup,
.link = coda_link,
.unlink = coda_unlink,
.symlink = coda_symlink,
.mkdir = coda_mkdir,
.rmdir = coda_rmdir,
.mknod = CODA_EIO_ERROR,
.rename = coda_rename,
.permission = coda_permission,
.getattr = coda_getattr,
.setattr = coda_setattr,
}

Definition at line 69 of file dir.c.

struct file_operations coda_dir_operations
Initial value:
= {
.readdir = coda_readdir,
.open = coda_open,
.release = coda_release,
.fsync = coda_fsync,
}

Definition at line 85 of file dir.c.