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/time.h>
#include <linux/fs.h>
#include <linux/swap.h>
#include "ufs_fs.h"
#include "ufs.h"
#include "swab.h"
#include "util.h"

Go to the source code of this file.

Functions

ino_t ufs_inode_by_name (struct inode *dir, const struct qstr *qstr)
 
void ufs_set_link (struct inode *dir, struct ufs_dir_entry *de, struct page *page, struct inode *inode)
 
struct ufs_dir_entryufs_dotdot (struct inode *dir, struct page **p)
 
struct ufs_dir_entryufs_find_entry (struct inode *dir, const struct qstr *qstr, struct page **res_page)
 
int ufs_add_link (struct dentry *dentry, struct inode *inode)
 
int ufs_delete_entry (struct inode *inode, struct ufs_dir_entry *dir, struct page *page)
 
int ufs_make_empty (struct inode *inode, struct inode *dir)
 
int ufs_empty_dir (struct inode *inode)
 

Variables

struct file_operations ufs_dir_operations
 

Function Documentation

int ufs_add_link ( struct dentry dentry,
struct inode inode 
)

Definition at line 312 of file dir.c.

int ufs_delete_entry ( struct inode inode,
struct ufs_dir_entry dir,
struct page page 
)

Definition at line 515 of file dir.c.

struct ufs_dir_entry* ufs_dotdot ( struct inode dir,
struct page **  p 
)
read

Definition at line 230 of file dir.c.

int ufs_empty_dir ( struct inode inode)

Definition at line 611 of file dir.c.

struct ufs_dir_entry* ufs_find_entry ( struct inode dir,
const struct qstr qstr,
struct page **  res_page 
)
read

Definition at line 251 of file dir.c.

ino_t ufs_inode_by_name ( struct inode dir,
const struct qstr qstr 
)

Definition at line 73 of file dir.c.

int ufs_make_empty ( struct inode inode,
struct inode dir 
)

Definition at line 563 of file dir.c.

void ufs_set_link ( struct inode dir,
struct ufs_dir_entry de,
struct page page,
struct inode inode 
)

Definition at line 89 of file dir.c.

Variable Documentation

struct file_operations ufs_dir_operations
Initial value:
= {
.readdir = ufs_readdir,
}

Definition at line 661 of file dir.c.