Home
last modified time | relevance | path

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

/fs/jffs2/
Dcompr.c254 uint16_t comprtype, unsigned char *cdata_in, in jffs2_decompress() argument
262 if ((comprtype & 0xff) <= JFFS2_COMPR_ZLIB) in jffs2_decompress()
263 comprtype &= 0xff; in jffs2_decompress()
265 switch (comprtype & 0xff) { in jffs2_decompress()
277 if (comprtype == this->compr) { in jffs2_decompress()
294 pr_warn("compression type 0x%02x not available\n", comprtype); in jffs2_decompress()
Dwrite.c353 uint16_t comprtype = JFFS2_COMPR_NONE; in jffs2_write_inode_range() local
373 comprtype = jffs2_compress(c, f, buf, &comprbuf, &datalen, &cdatalen); in jffs2_write_inode_range()
386 ri->compr = comprtype & 0xff; in jffs2_write_inode_range()
387 ri->usercompr = (comprtype >> 8 ) & 0xff; in jffs2_write_inode_range()
Dcompr.h78 uint16_t comprtype, unsigned char *cdata_in,
Dgc.c1345 uint16_t comprtype = JFFS2_COMPR_NONE; in jffs2_garbage_collect_dnode() local
1360 comprtype = jffs2_compress(c, f, writebuf, &comprbuf, &datalen, &cdatalen); in jffs2_garbage_collect_dnode()
1379 ri.compr = comprtype & 0xff; in jffs2_garbage_collect_dnode()
1380 ri.usercompr = (comprtype >> 8) & 0xff; in jffs2_garbage_collect_dnode()