Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ialloc.c File Reference
#include <linux/quotaops.h>
#include <linux/sched.h>
#include <linux/backing-dev.h>
#include <linux/buffer_head.h>
#include <linux/random.h>
#include "ext2.h"
#include "xattr.h"
#include "acl.h"

Go to the source code of this file.

Macros

#define INODE_COST   64
 
#define BLOCK_COST   256
 

Functions

void ext2_free_inode (struct inode *inode)
 
struct inodeext2_new_inode (struct inode *dir, umode_t mode, const struct qstr *qstr)
 
unsigned long ext2_count_free_inodes (struct super_block *sb)
 
unsigned long ext2_count_dirs (struct super_block *sb)
 

Macro Definition Documentation

#define BLOCK_COST   256

Definition at line 257 of file ialloc.c.

#define INODE_COST   64

Definition at line 256 of file ialloc.c.

Function Documentation

unsigned long ext2_count_dirs ( struct super_block sb)

Definition at line 663 of file ialloc.c.

unsigned long ext2_count_free_inodes ( struct super_block sb)

Definition at line 616 of file ialloc.c.

void ext2_free_inode ( struct inode inode)

Definition at line 103 of file ialloc.c.

struct inode* ext2_new_inode ( struct inode dir,
umode_t  mode,
const struct qstr qstr 
)
read

Definition at line 431 of file ialloc.c.