Searched refs:comprbuf (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/fs/jffs2/ |
D | compr.c | 359 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()
|
D | write.c | 352 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()
|
D | compr.h | 81 void jffs2_free_comprbuf(unsigned char *comprbuf, unsigned char *orig);
|
D | gc.c | 1173 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()
|
/kernel/liteos_a/fs/jffs2/ |
D | jffs2.patch | 3908 unsigned char *comprbuf = NULL, *writebuf; 3990 comprtype = jffs2_compress(c, f, writebuf, &comprbuf, &datalen, &cdatalen); 8408 unsigned char *comprbuf = NULL; 8418 - comprtype = jffs2_compress(c, f, buf, &comprbuf, &datalen, &cdatalen); 8419 + comprtype = jffs2_compress(c, f, bufRet, &comprbuf, &datalen, &cdatalen); 8425 fn = jffs2_write_dnode(c, f, ri, comprbuf, cdatalen, ALLOC_NORETRY); 8427 - jffs2_free_comprbuf(comprbuf, buf); 8428 + jffs2_free_comprbuf(comprbuf, bufRet);
|