/fs/ubifs/ |
D | compress.c | 99 struct ubifs_compressor *compr = ubifs_compressors[*compr_type]; in ubifs_compress() local 108 if (compr->comp_mutex) in ubifs_compress() 109 mutex_lock(compr->comp_mutex); in ubifs_compress() 110 err = crypto_comp_compress(compr->cc, in_buf, in_len, out_buf, in ubifs_compress() 112 if (compr->comp_mutex) in ubifs_compress() 113 mutex_unlock(compr->comp_mutex); in ubifs_compress() 116 in_len, compr->name, err); in ubifs_compress() 151 struct ubifs_compressor *compr; in ubifs_decompress() local 158 compr = ubifs_compressors[compr_type]; in ubifs_decompress() 160 if (unlikely(!compr->capi_name)) { in ubifs_decompress() [all …]
|
/fs/jffs2/ |
D | compr.c | 43 if ((this->compr == JFFS2_COMPR_LZO) && (bestsize > size)) in jffs2_is_best_compression() 45 if ((best->compr != JFFS2_COMPR_LZO) && (bestsize > size)) in jffs2_is_best_compression() 47 if ((this->compr == JFFS2_COMPR_LZO) && (bestsize > (size * FAVOUR_LZO_PERCENT / 100))) in jffs2_is_best_compression() 74 static int jffs2_selected_compress(u8 compr, unsigned char *data_in, in jffs2_selected_compress() argument 96 if (compr && (compr != this->compr)) in jffs2_selected_compress() 114 ret = this->compr; in jffs2_selected_compress() 160 mode = c->mount_opts.compr; in jffs2_compress() 227 ret = best->compr; in jffs2_compress() 277 if (comprtype == this->compr) { in jffs2_decompress()
|
D | read.c | 65 if (ri->compr == JFFS2_COMPR_ZERO && !je32_to_cpu(ri->dsize) && in jffs2_read_dnode() 79 if (ri->compr == JFFS2_COMPR_ZERO) { in jffs2_read_dnode() 90 if (ri->compr == JFFS2_COMPR_NONE && len == je32_to_cpu(ri->dsize)) { in jffs2_read_dnode() 99 if (ri->compr != JFFS2_COMPR_NONE) { in jffs2_read_dnode() 131 if (ri->compr != JFFS2_COMPR_NONE) { 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()
|
D | super.c | 69 static const char *jffs2_compr_name(unsigned int compr) in jffs2_compr_name() argument 71 switch (compr) { in jffs2_compr_name() 95 seq_printf(s, ",compr=%s", jffs2_compr_name(opts->compr)); in jffs2_show_options() 205 c->mount_opts.compr = JFFS2_COMPR_MODE_NONE; in jffs2_parse_options() 208 c->mount_opts.compr = JFFS2_COMPR_MODE_FORCELZO; in jffs2_parse_options() 212 c->mount_opts.compr = in jffs2_parse_options()
|
D | Makefile | 8 jffs2-y := compr.o dir.o file.o ioctl.o nodelist.o malloc.o
|
D | compr.h | 52 char compr; /* JFFS2_COMPR_XXX */ member
|
D | compr_lzo.c | 85 .compr = JFFS2_COMPR_LZO,
|
D | compr_rtime.c | 115 .compr = JFFS2_COMPR_RTIME,
|
D | compr_rubin.c | 411 .compr = JFFS2_COMPR_DYNRUBIN, 434 .compr = JFFS2_COMPR_RUBINMIPS,
|
D | jffs2_fs_sb.h | 34 unsigned int compr; member
|
D | compr_zlib.c | 193 .compr = JFFS2_COMPR_ZLIB,
|
D | gc.c | 810 ri.compr = JFFS2_COMPR_NONE; in jffs2_garbage_collect_metadata() 1041 if (ri.compr != JFFS2_COMPR_ZERO) { in jffs2_garbage_collect_hole() 1060 ri.compr = JFFS2_COMPR_ZERO; in jffs2_garbage_collect_hole() 1355 ri.compr = comprtype & 0xff; in jffs2_garbage_collect_dnode()
|
D | fs.c | 120 ri->compr = JFFS2_COMPR_NONE; in jffs2_do_setattr() 123 ri->compr = JFFS2_COMPR_ZERO; in jffs2_do_setattr()
|
D | file.c | 184 ri.compr = JFFS2_COMPR_ZERO; in jffs2_write_begin()
|
D | dir.c | 331 ri->compr = JFFS2_COMPR_NONE; in jffs2_symlink() 662 ri->compr = JFFS2_COMPR_NONE; in jffs2_mknod()
|
D | write.c | 385 ri->compr = comprtype & 0xff; in jffs2_write_inode_range()
|
D | debug.c | 826 printk(JFFS2_DBG "compr:\t%#02x\n", node.i.compr); in __jffs2_dbg_dump_node()
|
D | readinode.c | 851 if (rd->compr == JFFS2_COMPR_ZERO && !je32_to_cpu(rd->dsize) && csize) in read_dnode()
|
/fs/logfs/ |
D | Makefile | 3 logfs-y += compr.o
|
D | journal.c | 422 u16 type, u8 compr) in __logfs_write_header() argument 427 jh->h_compr = compr; in __logfs_write_header() 610 u8 compr = COMPR_ZLIB; in __logfs_write_je() local 619 compr = COMPR_NONE; in __logfs_write_je() 625 return __logfs_write_header(super, header, compr_len, len, type, compr); in __logfs_write_je()
|
D | segment.c | 294 struct logfs_shadow *shadow, int type, int len, int compr) in __logfs_segment_write() argument 320 h.compr = compr; in __logfs_segment_write() 594 switch (oh.compr) { in __logfs_segment_read()
|
D | logfs_abi.h | 288 __u8 compr; member
|