Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
compr.c File Reference
#include "compr.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

uint16_t jffs2_compress (struct jffs2_sb_info *c, struct jffs2_inode_info *f, unsigned char *data_in, unsigned char **cpage_out, uint32_t *datalen, uint32_t *cdatalen)
 
int jffs2_decompress (struct jffs2_sb_info *c, struct jffs2_inode_info *f, uint16_t comprtype, unsigned char *cdata_in, unsigned char *data_out, uint32_t cdatalen, uint32_t datalen)
 
int jffs2_register_compressor (struct jffs2_compressor *comp)
 
int jffs2_unregister_compressor (struct jffs2_compressor *comp)
 
void jffs2_free_comprbuf (unsigned char *comprbuf, unsigned char *orig)
 
int __init jffs2_compressors_init (void)
 
int jffs2_compressors_exit (void)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 15 of file compr.c.

Function Documentation

uint16_t jffs2_compress ( struct jffs2_sb_info c,
struct jffs2_inode_info f,
unsigned char data_in,
unsigned char **  cpage_out,
uint32_t datalen,
uint32_t cdatalen 
)

Definition at line 148 of file compr.c.

int jffs2_compressors_exit ( void  )

Definition at line 401 of file compr.c.

int __init jffs2_compressors_init ( void  )

Definition at line 365 of file compr.c.

int jffs2_decompress ( struct jffs2_sb_info c,
struct jffs2_inode_info f,
uint16_t  comprtype,
unsigned char cdata_in,
unsigned char data_out,
uint32_t  cdatalen,
uint32_t  datalen 
)

Definition at line 253 of file compr.c.

void jffs2_free_comprbuf ( unsigned char comprbuf,
unsigned char orig 
)

Definition at line 359 of file compr.c.

int jffs2_register_compressor ( struct jffs2_compressor comp)

Definition at line 301 of file compr.c.

int jffs2_unregister_compressor ( struct jffs2_compressor comp)

Definition at line 337 of file compr.c.