Searched refs:compr_type (Results 1 – 7 of 7) sorted by relevance
/external/u-boot/fs/ubifs/ |
D | misc.h | 100 static inline int ubifs_compr_present(int compr_type) in ubifs_compr_present() argument 102 ubifs_assert(compr_type >= 0 && compr_type < UBIFS_COMPR_TYPES_CNT); in ubifs_compr_present() 103 return !!ubifs_compressors[compr_type]->capi_name; in ubifs_compr_present() 112 static inline const char *ubifs_compr_name(int compr_type) in ubifs_compr_name() argument 114 ubifs_assert(compr_type >= 0 && compr_type < UBIFS_COMPR_TYPES_CNT); in ubifs_compr_name() 115 return ubifs_compressors[compr_type]->name; in ubifs_compr_name()
|
D | ubifs.c | 39 .compr_type = UBIFS_COMPR_NONE, 46 .compr_type = UBIFS_COMPR_LZO, 56 .compr_type = UBIFS_COMPR_ZLIB, 129 if (compr->compr_type == UBIFS_COMPR_NONE) { in crypto_comp_decompress() 165 int in_len, void *out_buf, int *out_len, int compr_type) in ubifs_decompress() argument 170 if (unlikely(compr_type < 0 || compr_type >= UBIFS_COMPR_TYPES_CNT)) { in ubifs_decompress() 171 ubifs_err(c, "invalid compression type %d", compr_type); in ubifs_decompress() 175 compr = ubifs_compressors[compr_type]; in ubifs_decompress() 182 if (compr_type == UBIFS_COMPR_NONE) { in ubifs_decompress() 210 ubifs_compressors[compr->compr_type] = compr; in compr_init() [all …]
|
D | ubifs-media.h | 499 __le16 compr_type; member 549 __le16 compr_type; member
|
D | super.c | 215 if (ui->compr_type >= UBIFS_COMPR_TYPES_CNT) { in validate_inode() 216 ubifs_err(c, "unknown compression type %d", ui->compr_type); in validate_inode() 229 if (!ubifs_compr_present(ui->compr_type)) { in validate_inode() 231 inode->i_ino, ubifs_compr_name(ui->compr_type)); in validate_inode() 309 ui->compr_type = le16_to_cpu(ino->compr_type); in ubifs_iget() 625 ubifs_compr_name(c->mount_opts.compr_type)); in ubifs_show_options() 1211 c->mount_opts.compr_type = UBIFS_COMPR_NONE; in ubifs_parse_options() 1213 c->mount_opts.compr_type = UBIFS_COMPR_LZO; in ubifs_parse_options() 1215 c->mount_opts.compr_type = UBIFS_COMPR_ZLIB; in ubifs_parse_options() 1223 c->default_compr = c->mount_opts.compr_type; in ubifs_parse_options()
|
D | ubifs.h | 1007 unsigned int compr_type:2; member 1432 int compr_type; member 1547 unsigned int compr_type:2; member 2398 void *out_buf, int *out_len, int *compr_type); 2400 void *out, int *out_len, int compr_type);
|
D | sb.c | 181 sup->default_compr = cpu_to_le16(c->mount_opts.compr_type); in create_default_filesystem()
|
D | debug.c | 269 pr_err("\tcompr_type %d\n", ui->compr_type); in ubifs_dump_inode() 445 (int)le16_to_cpu(ino->compr_type)); in ubifs_dump_node() 484 (int)le16_to_cpu(dn->compr_type)); in ubifs_dump_node()
|