Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
malloc.c File Reference
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/jffs2.h>
#include "nodelist.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

int __init jffs2_create_slab_caches (void)
 
void jffs2_destroy_slab_caches (void)
 
struct jffs2_full_direntjffs2_alloc_full_dirent (int namesize)
 
void jffs2_free_full_dirent (struct jffs2_full_dirent *x)
 
struct jffs2_full_dnodejffs2_alloc_full_dnode (void)
 
void jffs2_free_full_dnode (struct jffs2_full_dnode *x)
 
struct jffs2_raw_direntjffs2_alloc_raw_dirent (void)
 
void jffs2_free_raw_dirent (struct jffs2_raw_dirent *x)
 
struct jffs2_raw_inodejffs2_alloc_raw_inode (void)
 
void jffs2_free_raw_inode (struct jffs2_raw_inode *x)
 
struct jffs2_tmp_dnode_infojffs2_alloc_tmp_dnode_info (void)
 
void jffs2_free_tmp_dnode_info (struct jffs2_tmp_dnode_info *x)
 
int jffs2_prealloc_raw_node_refs (struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, int nr)
 
void jffs2_free_refblock (struct jffs2_raw_node_ref *x)
 
struct jffs2_node_fragjffs2_alloc_node_frag (void)
 
void jffs2_free_node_frag (struct jffs2_node_frag *x)
 
struct jffs2_inode_cachejffs2_alloc_inode_cache (void)
 
void jffs2_free_inode_cache (struct jffs2_inode_cache *x)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 12 of file malloc.c.

Function Documentation

struct jffs2_full_dirent* jffs2_alloc_full_dirent ( int  namesize)
read

Definition at line 122 of file malloc.c.

struct jffs2_full_dnode* jffs2_alloc_full_dnode ( void  )
read

Definition at line 136 of file malloc.c.

struct jffs2_inode_cache* jffs2_alloc_inode_cache ( void  )
read

Definition at line 271 of file malloc.c.

struct jffs2_node_frag* jffs2_alloc_node_frag ( void  )
read

Definition at line 257 of file malloc.c.

struct jffs2_raw_dirent* jffs2_alloc_raw_dirent ( void  )
read

Definition at line 150 of file malloc.c.

struct jffs2_raw_inode* jffs2_alloc_raw_inode ( void  )
read

Definition at line 164 of file malloc.c.

struct jffs2_tmp_dnode_info* jffs2_alloc_tmp_dnode_info ( void  )
read

Definition at line 178 of file malloc.c.

int __init jffs2_create_slab_caches ( void  )

Definition at line 34 of file malloc.c.

void jffs2_destroy_slab_caches ( void  )

Definition at line 98 of file malloc.c.

void jffs2_free_full_dirent ( struct jffs2_full_dirent x)

Definition at line 130 of file malloc.c.

void jffs2_free_full_dnode ( struct jffs2_full_dnode x)

Definition at line 144 of file malloc.c.

void jffs2_free_inode_cache ( struct jffs2_inode_cache x)

Definition at line 279 of file malloc.c.

void jffs2_free_node_frag ( struct jffs2_node_frag x)

Definition at line 265 of file malloc.c.

void jffs2_free_raw_dirent ( struct jffs2_raw_dirent x)

Definition at line 158 of file malloc.c.

void jffs2_free_raw_inode ( struct jffs2_raw_inode x)

Definition at line 172 of file malloc.c.

void jffs2_free_refblock ( struct jffs2_raw_node_ref x)

Definition at line 251 of file malloc.c.

void jffs2_free_tmp_dnode_info ( struct jffs2_tmp_dnode_info x)

Definition at line 187 of file malloc.c.

int jffs2_prealloc_raw_node_refs ( struct jffs2_sb_info c,
struct jffs2_eraseblock jeb,
int  nr 
)

Definition at line 210 of file malloc.c.