Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Enumerations | Functions
itree_v2.c File Reference
#include <linux/buffer_head.h>
#include "minix.h"
#include "itree_common.c"

Go to the source code of this file.

Macros

#define DIRCOUNT   7
 
#define INDIRCOUNT(sb)   (1 << ((sb)->s_blocksize_bits - 2))
 

Typedefs

typedef u32 block_t
 

Enumerations

enum  { DIRECT = 7, DEPTH = 4 }
 

Functions

int V2_minix_get_block (struct inode *inode, long block, struct buffer_head *bh_result, int create)
 
void V2_minix_truncate (struct inode *inode)
 
unsigned V2_minix_blocks (loff_t size, struct super_block *sb)
 

Macro Definition Documentation

#define DIRCOUNT   7

Definition at line 23 of file itree_v2.c.

#define INDIRCOUNT (   sb)    (1 << ((sb)->s_blocksize_bits - 2))

Definition at line 24 of file itree_v2.c.

Typedef Documentation

typedef u32 block_t

Definition at line 6 of file itree_v2.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
DIRECT 
DEPTH 

Definition at line 4 of file itree_v2.c.

Function Documentation

unsigned V2_minix_blocks ( loff_t  size,
struct super_block sb 
)

Definition at line 73 of file itree_v2.c.

int V2_minix_get_block ( struct inode inode,
long  block,
struct buffer_head *  bh_result,
int  create 
)

Definition at line 62 of file itree_v2.c.

void V2_minix_truncate ( struct inode inode)

Definition at line 68 of file itree_v2.c.