Searched refs:compr_type (Results 1 – 7 of 7) sorted by relevance
| /rk3399_rockchip-uboot/fs/ubifs/ |
| H A D | misc.h | 101 static inline int ubifs_compr_present(int compr_type) in ubifs_compr_present() argument 103 ubifs_assert(compr_type >= 0 && compr_type < UBIFS_COMPR_TYPES_CNT); in ubifs_compr_present() 104 return !!ubifs_compressors[compr_type]->capi_name; in ubifs_compr_present() 113 static inline const char *ubifs_compr_name(int compr_type) in ubifs_compr_name() argument 115 ubifs_assert(compr_type >= 0 && compr_type < UBIFS_COMPR_TYPES_CNT); in ubifs_compr_name() 116 return ubifs_compressors[compr_type]->name; in ubifs_compr_name()
|
| H A D | ubifs.c | 40 .compr_type = UBIFS_COMPR_NONE, 47 .compr_type = UBIFS_COMPR_LZO, 57 .compr_type = UBIFS_COMPR_ZLIB, 131 if (compr->compr_type == UBIFS_COMPR_NONE) { in crypto_comp_decompress() 168 int in_len, void *out_buf, int *out_len, int compr_type) in ubifs_decompress() argument 173 if (unlikely(compr_type < 0 || compr_type >= UBIFS_COMPR_TYPES_CNT)) { in ubifs_decompress() 174 ubifs_err(c, "invalid compression type %d", compr_type); in ubifs_decompress() 178 compr = ubifs_compressors[compr_type]; in ubifs_decompress() 185 if (compr_type == UBIFS_COMPR_NONE) { in ubifs_decompress() 213 ubifs_compressors[compr->compr_type] = compr; in compr_init() [all …]
|
| H A D | ubifs-media.h | 500 __le16 compr_type; member 550 __le16 compr_type; member
|
| H A D | super.c | 216 if (ui->compr_type >= UBIFS_COMPR_TYPES_CNT) { in validate_inode() 217 ubifs_err(c, "unknown compression type %d", ui->compr_type); in validate_inode() 230 if (!ubifs_compr_present(ui->compr_type)) { in validate_inode() 232 inode->i_ino, ubifs_compr_name(ui->compr_type)); in validate_inode() 310 ui->compr_type = le16_to_cpu(ino->compr_type); in ubifs_iget() 626 ubifs_compr_name(c->mount_opts.compr_type)); in ubifs_show_options() 1212 c->mount_opts.compr_type = UBIFS_COMPR_NONE; in ubifs_parse_options() 1214 c->mount_opts.compr_type = UBIFS_COMPR_LZO; in ubifs_parse_options() 1216 c->mount_opts.compr_type = UBIFS_COMPR_ZLIB; in ubifs_parse_options() 1224 c->default_compr = c->mount_opts.compr_type; in ubifs_parse_options()
|
| H A D | ubifs.h | 1008 unsigned int compr_type:2; member 1433 int compr_type; member 1548 unsigned int compr_type:2; member 2399 void *out_buf, int *out_len, int *compr_type); 2401 void *out, int *out_len, int compr_type);
|
| H A D | sb.c | 182 sup->default_compr = cpu_to_le16(c->mount_opts.compr_type); in create_default_filesystem()
|
| H A D | debug.c | 270 pr_err("\tcompr_type %d\n", ui->compr_type); in ubifs_dump_inode() 446 (int)le16_to_cpu(ino->compr_type)); in ubifs_dump_node() 485 (int)le16_to_cpu(dn->compr_type)); in ubifs_dump_node()
|