Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
minix.h File Reference
#include <linux/fs.h>
#include <linux/pagemap.h>
#include <linux/minix_fs.h>

Go to the source code of this file.

Data Structures

struct  minix_inode_info
 
struct  minix_sb_info
 

Macros

#define INODE_VERSION(inode)   minix_sb(inode->i_sb)->s_version
 
#define MINIX_V1   0x0001 /* original minix fs */
 
#define MINIX_V2   0x0002 /* minix V2 fs */
 
#define MINIX_V3   0x0003 /* minix V3 fs */
 
#define minix_test_and_set_bit   __test_and_set_bit_le
 
#define minix_set_bit   __set_bit_le
 
#define minix_test_and_clear_bit   __test_and_clear_bit_le
 
#define minix_test_bit   test_bit_le
 
#define minix_find_first_zero_bit   find_first_zero_bit_le
 

Functions

struct inodeminix_iget (struct super_block *, unsigned long)
 
struct minix_inodeminix_V1_raw_inode (struct super_block *, ino_t, struct buffer_head **)
 
struct minix2_inodeminix_V2_raw_inode (struct super_block *, ino_t, struct buffer_head **)
 
struct inodeminix_new_inode (const struct inode *, umode_t, int *)
 
void minix_free_inode (struct inode *inode)
 
unsigned long minix_count_free_inodes (struct super_block *sb)
 
int minix_new_block (struct inode *inode)
 
void minix_free_block (struct inode *inode, unsigned long block)
 
unsigned long minix_count_free_blocks (struct super_block *sb)
 
int minix_getattr (struct vfsmount *, struct dentry *, struct kstat *)
 
int minix_prepare_chunk (struct page *page, loff_t pos, unsigned len)
 
void V1_minix_truncate (struct inode *)
 
void V2_minix_truncate (struct inode *)
 
void minix_truncate (struct inode *)
 
void minix_set_inode (struct inode *, dev_t)
 
int V1_minix_get_block (struct inode *, long, struct buffer_head *, int)
 
int V2_minix_get_block (struct inode *, long, struct buffer_head *, int)
 
unsigned V1_minix_blocks (loff_t, struct super_block *)
 
unsigned V2_minix_blocks (loff_t, struct super_block *)
 
struct minix_dir_entryminix_find_entry (struct dentry *, struct page **)
 
int minix_add_link (struct dentry *, struct inode *)
 
int minix_delete_entry (struct minix_dir_entry *, struct page *)
 
int minix_make_empty (struct inode *, struct inode *)
 
int minix_empty_dir (struct inode *)
 
void minix_set_link (struct minix_dir_entry *, struct page *, struct inode *)
 
struct minix_dir_entryminix_dotdot (struct inode *, struct page **)
 
ino_t minix_inode_by_name (struct dentry *)
 

Variables

struct inode_operations minix_file_inode_operations
 
struct inode_operations minix_dir_inode_operations
 
struct file_operations minix_file_operations
 
struct file_operations minix_dir_operations
 

Macro Definition Documentation

#define INODE_VERSION (   inode)    minix_sb(inode->i_sb)->s_version

Definition at line 8 of file minix.h.

#define minix_find_first_zero_bit   find_first_zero_bit_le

Definition at line 165 of file minix.h.

#define minix_set_bit   __set_bit_le

Definition at line 162 of file minix.h.

#define minix_test_and_clear_bit   __test_and_clear_bit_le

Definition at line 163 of file minix.h.

#define minix_test_and_set_bit   __test_and_set_bit_le

Definition at line 161 of file minix.h.

#define minix_test_bit   test_bit_le

Definition at line 164 of file minix.h.

#define MINIX_V1   0x0001 /* original minix fs */

Definition at line 9 of file minix.h.

#define MINIX_V2   0x0002 /* minix V2 fs */

Definition at line 10 of file minix.h.

#define MINIX_V3   0x0003 /* minix V3 fs */

Definition at line 11 of file minix.h.

Function Documentation

int minix_add_link ( struct dentry ,
struct inode  
)

Definition at line 208 of file dir.c.

unsigned long minix_count_free_blocks ( struct super_block sb)

Definition at line 96 of file bitmap.c.

unsigned long minix_count_free_inodes ( struct super_block sb)

Definition at line 266 of file bitmap.c.

int minix_delete_entry ( struct minix_dir_entry ,
struct page  
)

Definition at line 297 of file dir.c.

struct minix_dir_entry* minix_dotdot ( struct inode ,
struct page **   
)
read

Definition at line 446 of file dir.c.

int minix_empty_dir ( struct inode )

Definition at line 369 of file dir.c.

struct minix_dir_entry* minix_find_entry ( struct dentry ,
struct page **   
)
read

Definition at line 159 of file dir.c.

void minix_free_block ( struct inode inode,
unsigned long  block 
)

Definition at line 41 of file bitmap.c.

void minix_free_inode ( struct inode inode)

Definition at line 182 of file bitmap.c.

int minix_getattr ( struct vfsmount ,
struct dentry ,
struct kstat  
)

Definition at line 618 of file inode.c.

struct inode* minix_iget ( struct super_block ,
unsigned  long 
)
read

Definition at line 523 of file inode.c.

ino_t minix_inode_by_name ( struct dentry )

Definition at line 459 of file dir.c.

int minix_make_empty ( struct inode ,
struct inode  
)

Definition at line 323 of file dir.c.

int minix_new_block ( struct inode inode)

Definition at line 70 of file bitmap.c.

struct inode* minix_new_inode ( const struct inode ,
umode_t  ,
int  
)
read

Definition at line 212 of file bitmap.c.

int minix_prepare_chunk ( struct page page,
loff_t  pos,
unsigned  len 
)

Definition at line 393 of file inode.c.

void minix_set_inode ( struct inode ,
dev_t   
)

Definition at line 435 of file inode.c.

void minix_set_link ( struct minix_dir_entry ,
struct page ,
struct inode  
)

Definition at line 420 of file dir.c.

void minix_truncate ( struct inode )

Definition at line 633 of file inode.c.

struct minix_inode* minix_V1_raw_inode ( struct super_block ,
ino_t  ,
struct buffer_head **   
)
read

Definition at line 106 of file bitmap.c.

struct minix2_inode* minix_V2_raw_inode ( struct super_block ,
ino_t  ,
struct buffer_head **   
)
read

Definition at line 130 of file bitmap.c.

unsigned V1_minix_blocks ( loff_t  ,
struct super_block  
)

Definition at line 64 of file itree_v1.c.

int V1_minix_get_block ( struct inode ,
long  ,
struct buffer_head *  ,
int   
)

Definition at line 53 of file itree_v1.c.

void V1_minix_truncate ( struct inode )

Definition at line 59 of file itree_v1.c.

unsigned V2_minix_blocks ( loff_t  ,
struct super_block  
)

Definition at line 73 of file itree_v2.c.

int V2_minix_get_block ( struct inode ,
long  ,
struct buffer_head *  ,
int   
)

Definition at line 62 of file itree_v2.c.

void V2_minix_truncate ( struct inode )

Definition at line 68 of file itree_v2.c.

Variable Documentation

struct inode_operations minix_dir_inode_operations

Definition at line 246 of file namei.c.

struct file_operations minix_dir_operations

Definition at line 21 of file dir.c.

struct inode_operations minix_file_inode_operations

Definition at line 47 of file file.c.

struct file_operations minix_file_operations

Definition at line 15 of file file.c.