Home
last modified time | relevance | path

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

/linux-6.1.9/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()
Dwrite.c352 unsigned char *comprbuf = NULL; in jffs2_write_inode_range() local
373 comprtype = jffs2_compress(c, f, buf, &comprbuf, &datalen, &cdatalen); in jffs2_write_inode_range()
389 ri->data_crc = cpu_to_je32(crc32(0, comprbuf, cdatalen)); in jffs2_write_inode_range()
391 fn = jffs2_write_dnode(c, f, ri, comprbuf, cdatalen, ALLOC_NORETRY); in jffs2_write_inode_range()
393 jffs2_free_comprbuf(comprbuf, buf); in jffs2_write_inode_range()
Dcompr.h81 void jffs2_free_comprbuf(unsigned char *comprbuf, unsigned char *orig);
Dgc.c1173 unsigned char *comprbuf = NULL, *writebuf; in jffs2_garbage_collect_dnode() local
1360 comprtype = jffs2_compress(c, f, writebuf, &comprbuf, &datalen, &cdatalen); in jffs2_garbage_collect_dnode()
1382 ri.data_crc = cpu_to_je32(crc32(0, comprbuf, cdatalen)); in jffs2_garbage_collect_dnode()
1384 new_fn = jffs2_write_dnode(c, f, &ri, comprbuf, cdatalen, ALLOC_GC); in jffs2_garbage_collect_dnode()
1386 jffs2_free_comprbuf(comprbuf, writebuf); in jffs2_garbage_collect_dnode()