Home
last modified time | relevance | path

Searched refs:comprbuf (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/fs/jffs2/
Dcompr.c359 void jffs2_free_comprbuf(unsigned char *comprbuf, unsigned char *orig) in jffs2_free_comprbuf() argument
361 if (orig != comprbuf) in jffs2_free_comprbuf()
362 kfree(comprbuf); in jffs2_free_comprbuf()
Dcompr.h81 void jffs2_free_comprbuf(unsigned char *comprbuf, unsigned char *orig);
Dwrite.c352 unsigned char *comprbuf = NULL; in jffs2_write_inode_range() local
372 comprtype = jffs2_compress(c, f, buf, &comprbuf, &datalen, &cdatalen); in jffs2_write_inode_range()
388 ri->data_crc = cpu_to_je32(crc32(0, comprbuf, cdatalen)); in jffs2_write_inode_range()
390 fn = jffs2_write_dnode(c, f, ri, comprbuf, cdatalen, ALLOC_NORETRY); in jffs2_write_inode_range()
392 jffs2_free_comprbuf(comprbuf, buf); in jffs2_write_inode_range()
Dgc.c1152 unsigned char *comprbuf = NULL, *writebuf; in jffs2_garbage_collect_dnode() local
1333 comprtype = jffs2_compress(c, f, writebuf, &comprbuf, &datalen, &cdatalen); in jffs2_garbage_collect_dnode()
1355 ri.data_crc = cpu_to_je32(crc32(0, comprbuf, cdatalen)); in jffs2_garbage_collect_dnode()
1357 new_fn = jffs2_write_dnode(c, f, &ri, comprbuf, cdatalen, ALLOC_GC); in jffs2_garbage_collect_dnode()
1359 jffs2_free_comprbuf(comprbuf, writebuf); in jffs2_garbage_collect_dnode()