Home
last modified time | relevance | path

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

/linux/fs/jffs2/
H A Dread.c30 unsigned char *decomprbuf = NULL; in jffs2_read_dnode() local
101 decomprbuf = kmalloc(je32_to_cpu(ri->dsize), GFP_KERNEL); in jffs2_read_dnode()
102 if (!decomprbuf) { in jffs2_read_dnode()
107 decomprbuf = buf; in jffs2_read_dnode()
110 decomprbuf = readbuf; in jffs2_read_dnode()
134 je32_to_cpu(ri->dsize), decomprbuf); in jffs2_read_dnode()
135 …ret = jffs2_decompress(c, f, ri->compr | (ri->usercompr << 8), readbuf, decomprbuf, je32_to_cpu(ri… in jffs2_read_dnode()
143 memcpy(buf, decomprbuf+ofs, len); in jffs2_read_dnode()
146 if(decomprbuf != buf && decomprbuf != readbuf) in jffs2_read_dnode()
147 kfree(decomprbuf); in jffs2_read_dnode()