Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
dir.c File Reference
#include <linux/pagemap.h>
#include <linux/highmem.h>
#include <linux/swap.h>
#include "sysv.h"

Go to the source code of this file.

Functions

struct sysv_dir_entrysysv_find_entry (struct dentry *dentry, struct page **res_page)
 
int sysv_add_link (struct dentry *dentry, struct inode *inode)
 
int sysv_delete_entry (struct sysv_dir_entry *de, struct page *page)
 
int sysv_make_empty (struct inode *inode, struct inode *dir)
 
int sysv_empty_dir (struct inode *inode)
 
void sysv_set_link (struct sysv_dir_entry *de, struct page *page, struct inode *inode)
 
struct sysv_dir_entrysysv_dotdot (struct inode *dir, struct page **p)
 
ino_t sysv_inode_by_name (struct dentry *dentry)
 

Variables

struct file_operations sysv_dir_operations
 

Function Documentation

int sysv_add_link ( struct dentry dentry,
struct inode inode 
)

Definition at line 182 of file dir.c.

int sysv_delete_entry ( struct sysv_dir_entry de,
struct page page 
)

Definition at line 239 of file dir.c.

struct sysv_dir_entry* sysv_dotdot ( struct inode dir,
struct page **  p 
)
read

Definition at line 354 of file dir.c.

int sysv_empty_dir ( struct inode inode)

Definition at line 293 of file dir.c.

struct sysv_dir_entry* sysv_find_entry ( struct dentry dentry,
struct page **  res_page 
)
read

Definition at line 136 of file dir.c.

ino_t sysv_inode_by_name ( struct dentry dentry)

Definition at line 366 of file dir.c.

int sysv_make_empty ( struct inode inode,
struct inode dir 
)

Definition at line 257 of file dir.c.

void sysv_set_link ( struct sysv_dir_entry de,
struct page page,
struct inode inode 
)

Definition at line 336 of file dir.c.

Variable Documentation

struct file_operations sysv_dir_operations
Initial value:
= {
.readdir = sysv_readdir,
}

Definition at line 23 of file dir.c.