Lines Matching refs:compr_type
35 .compr_type = UBIFS_COMPR_NONE,
44 .compr_type = UBIFS_COMPR_LZO,
51 .compr_type = UBIFS_COMPR_LZO,
61 .compr_type = UBIFS_COMPR_ZLIB,
69 .compr_type = UBIFS_COMPR_ZLIB,
83 * @compr_type: type of compression to use on enter, actually used compression
89 * @out_buf. The same happens if @compr_type is %UBIFS_COMPR_NONE or if
93 * buffer and %UBIFS_COMPR_NONE is returned in @compr_type.
96 int *compr_type)
99 struct ubifs_compressor *compr = ubifs_compressors[*compr_type];
101 if (*compr_type == UBIFS_COMPR_NONE)
133 *compr_type = UBIFS_COMPR_NONE;
142 * @compr_type: type of compression
149 int *out_len, int compr_type)
154 if (unlikely(compr_type < 0 || compr_type >= UBIFS_COMPR_TYPES_CNT)) {
155 ubifs_err("invalid compression type %d", compr_type);
159 compr = ubifs_compressors[compr_type];
166 if (compr_type == UBIFS_COMPR_NONE) {
203 ubifs_compressors[compr->compr_type] = compr;