Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
inode.c File Reference
#include "logfs.h"
#include <linux/slab.h>
#include <linux/writeback.h>
#include <linux/backing-dev.h>

Go to the source code of this file.

Macros

#define INOS_PER_WRAP   (0x10000)
 

Functions

struct inodelogfs_iget (struct super_block *sb, ino_t ino)
 
struct inodelogfs_safe_iget (struct super_block *sb, ino_t ino, int *is_cached)
 
void logfs_safe_iput (struct inode *inode, int is_cached)
 
struct inodelogfs_new_meta_inode (struct super_block *sb, u64 ino)
 
struct inodelogfs_read_meta_inode (struct super_block *sb, u64 ino)
 
struct inodelogfs_new_inode (struct inode *dir, umode_t mode)
 
int logfs_init_inode_cache (void)
 
void logfs_destroy_inode_cache (void)
 

Variables

struct super_operations logfs_super_operations
 

Macro Definition Documentation

#define INOS_PER_WRAP   (0x10000)

Definition at line 28 of file inode.c.

Function Documentation

void logfs_destroy_inode_cache ( void  )

Definition at line 418 of file inode.c.

struct inode* logfs_iget ( struct super_block sb,
ino_t  ino 
)
read

Definition at line 109 of file inode.c.

int logfs_init_inode_cache ( void  )

Definition at line 408 of file inode.c.

struct inode* logfs_new_inode ( struct inode dir,
umode_t  mode 
)
read

Definition at line 342 of file inode.c.

struct inode* logfs_new_meta_inode ( struct super_block sb,
u64  ino 
)
read

Definition at line 262 of file inode.c.

struct inode* logfs_read_meta_inode ( struct super_block sb,
u64  ino 
)
read

Definition at line 278 of file inode.c.

struct inode* logfs_safe_iget ( struct super_block sb,
ino_t  ino,
int is_cached 
)
read

Definition at line 120 of file inode.c.

void logfs_safe_iput ( struct inode inode,
int  is_cached 
)

Definition at line 187 of file inode.c.

Variable Documentation

struct super_operations logfs_super_operations
Initial value:
= {
.alloc_inode = logfs_alloc_inode,
.destroy_inode = logfs_destroy_inode,
.evict_inode = logfs_evict_inode,
.drop_inode = logfs_drop_inode,
.put_super = logfs_put_super,
.write_inode = logfs_write_inode,
.statfs = logfs_statfs,
.sync_fs = logfs_sync_fs,
}

Definition at line 397 of file inode.c.