Home
last modified time | relevance | path

Searched refs:decomprbuf (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/fs/jffs2/
Dcomprtest.c266 static unsigned char decomprbuf[TESTDATA_LEN]; variable
295 ret = jffs2_decompress(comprtype, comprbuf, decomprbuf, c, d); in init_module()
298 decomprbuf[0],decomprbuf[1],decomprbuf[2],decomprbuf[3], in init_module()
299 decomprbuf[4],decomprbuf[5],decomprbuf[6],decomprbuf[7], in init_module()
300 decomprbuf[8],decomprbuf[9],decomprbuf[10],decomprbuf[11], in init_module()
301 decomprbuf[12],decomprbuf[13],decomprbuf[14],decomprbuf[15]); in init_module()
302 if (memcmp(decomprbuf, testdata, d)) in init_module()
Dread.c50 unsigned char *decomprbuf = NULL; in jffs2_read_dnode() local
114 decomprbuf = kmalloc(ri->dsize, GFP_KERNEL); in jffs2_read_dnode()
115 if (!decomprbuf) { in jffs2_read_dnode()
120 decomprbuf = buf; in jffs2_read_dnode()
123 decomprbuf = readbuf; in jffs2_read_dnode()
142 …UG "Decompress %d bytes from %p to %d bytes at %p\n", ri->csize, readbuf, ri->dsize, decomprbuf)); in jffs2_read_dnode()
143 ret = jffs2_decompress(ri->compr, readbuf, decomprbuf, ri->csize, ri->dsize); in jffs2_read_dnode()
151 memcpy(buf, decomprbuf+ofs, len); in jffs2_read_dnode()
154 if(decomprbuf != buf && decomprbuf != readbuf) in jffs2_read_dnode()
155 kfree(decomprbuf); in jffs2_read_dnode()