Searched refs:comprbuf (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/fs/jffs2/ |
D | comprtest.c | 265 static unsigned char comprbuf[TESTDATA_LEN]; variable 285 comprtype = jffs2_compress(testdata, comprbuf, &d, &c); in init_module() 290 comprbuf[0],comprbuf[1],comprbuf[2],comprbuf[3], in init_module() 291 comprbuf[4],comprbuf[5],comprbuf[6],comprbuf[7], in init_module() 292 comprbuf[8],comprbuf[9],comprbuf[10],comprbuf[11], in init_module() 293 comprbuf[12],comprbuf[13],comprbuf[14],comprbuf[15]); in init_module() 295 ret = jffs2_decompress(comprtype, comprbuf, decomprbuf, c, d); in init_module()
|
D | file.c | 443 unsigned char *comprbuf = NULL; in jffs2_commit_write() local 460 comprbuf = kmalloc(cdatalen, GFP_KERNEL); in jffs2_commit_write() 461 if (comprbuf) { in jffs2_commit_write() 462 …comprtype = jffs2_compress(page_address(pg)+ (file_ofs & (PAGE_CACHE_SIZE-1)), comprbuf, &datalen,… in jffs2_commit_write() 466 if (comprbuf) in jffs2_commit_write() 467 kfree(comprbuf); in jffs2_commit_write() 468 comprbuf = page_address(pg) + (file_ofs & (PAGE_CACHE_SIZE -1)); in jffs2_commit_write() 493 ri->data_crc = crc32(0, comprbuf, cdatalen); in jffs2_commit_write() 495 fn = jffs2_write_dnode(inode, ri, comprbuf, cdatalen, phys_ofs, NULL); in jffs2_commit_write() 500 kfree(comprbuf); in jffs2_commit_write()
|
D | gc.c | 582 unsigned char *comprbuf = NULL, *writebuf; in jffs2_garbage_collect_dnode() local 633 comprbuf = kmalloc(end - start, GFP_KERNEL); in jffs2_garbage_collect_dnode() 653 if (comprbuf) { in jffs2_garbage_collect_dnode() 654 comprtype = jffs2_compress(writebuf, comprbuf, &datalen, &cdatalen); in jffs2_garbage_collect_dnode() 657 writebuf = comprbuf; in jffs2_garbage_collect_dnode() 697 if (comprbuf) kfree(comprbuf); in jffs2_garbage_collect_dnode()
|