Searched refs:compr_type (Results 1 – 10 of 10) sorted by relevance
/linux-4.19.296/fs/ubifs/ |
D | compress.c | 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, 96 int in_len, void *out_buf, int *out_len, int *compr_type) in ubifs_compress() argument 99 struct ubifs_compressor *compr = ubifs_compressors[*compr_type]; in ubifs_compress() 101 if (*compr_type == UBIFS_COMPR_NONE) in ubifs_compress() 132 *compr_type = UBIFS_COMPR_NONE; in ubifs_compress() 148 int in_len, void *out_buf, int *out_len, int compr_type) in ubifs_decompress() argument [all …]
|
D | misc.h | 113 static inline int ubifs_compr_present(struct ubifs_info *c, int compr_type) in ubifs_compr_present() argument 115 ubifs_assert(c, compr_type >= 0 && compr_type < UBIFS_COMPR_TYPES_CNT); in ubifs_compr_present() 116 return !!ubifs_compressors[compr_type]->capi_name; in ubifs_compr_present() 126 static inline const char *ubifs_compr_name(struct ubifs_info *c, int compr_type) in ubifs_compr_name() argument 128 ubifs_assert(c, compr_type >= 0 && compr_type < UBIFS_COMPR_TYPES_CNT); in ubifs_compr_name() 129 return ubifs_compressors[compr_type]->name; in ubifs_compr_name()
|
D | journal.c | 468 ino->compr_type = cpu_to_le16(ui->compr_type); in pack_inode() 709 int err, lnum, offs, compr_type, out_len, compr_len; in ubifs_jnl_write_data() local 741 compr_type = UBIFS_COMPR_NONE; in ubifs_jnl_write_data() 743 compr_type = ui->compr_type; in ubifs_jnl_write_data() 746 ubifs_compress(c, buf, len, &data->data, &compr_len, &compr_type); in ubifs_jnl_write_data() 760 data->compr_type = cpu_to_le16(compr_type); in ubifs_jnl_write_data() 1291 int err, dlen, compr_type, out_len, old_dlen; in truncate_data_node() local 1299 compr_type = le16_to_cpu(dn->compr_type); in truncate_data_node() 1307 if (compr_type == UBIFS_COMPR_NONE) { in truncate_data_node() 1310 err = ubifs_decompress(c, &dn->data, dlen, buf, &out_len, compr_type); in truncate_data_node() [all …]
|
D | ubifs-media.h | 527 __le16 compr_type; member 572 __le16 compr_type; member
|
D | super.c | 78 if (ui->compr_type >= UBIFS_COMPR_TYPES_CNT) { in validate_inode() 79 ubifs_err(c, "unknown compression type %d", ui->compr_type); in validate_inode() 92 if (!ubifs_compr_present(c, ui->compr_type)) { in validate_inode() 94 inode->i_ino, ubifs_compr_name(c, ui->compr_type)); in validate_inode() 149 ui->compr_type = le16_to_cpu(ino->compr_type); in ubifs_iget() 445 ubifs_compr_name(c, c->mount_opts.compr_type)); in ubifs_show_options() 1038 c->mount_opts.compr_type = UBIFS_COMPR_NONE; in ubifs_parse_options() 1040 c->mount_opts.compr_type = UBIFS_COMPR_LZO; in ubifs_parse_options() 1042 c->mount_opts.compr_type = UBIFS_COMPR_ZLIB; in ubifs_parse_options() 1050 c->default_compr = c->mount_opts.compr_type; in ubifs_parse_options()
|
D | ubifs.h | 412 unsigned int compr_type:2; member 832 int compr_type; member 943 unsigned int compr_type:2; member 1824 void *out_buf, int *out_len, int *compr_type); 1826 void *out, int *out_len, int compr_type);
|
D | file.c | 90 le16_to_cpu(dn->compr_type)); in read_block() 669 le16_to_cpu(dn->compr_type)); in populate_page()
|
D | dir.c | 155 ui->compr_type = c->default_compr; in ubifs_new_inode() 157 ui->compr_type = UBIFS_COMPR_NONE; in ubifs_new_inode()
|
D | debug.c | 270 pr_err("\tcompr_type %d\n", ui->compr_type); in ubifs_dump_inode() 447 (int)le16_to_cpu(ino->compr_type)); in ubifs_dump_node() 487 (int)le16_to_cpu(dn->compr_type)); in ubifs_dump_node()
|
D | sb.c | 198 sup->default_compr = cpu_to_le16(c->mount_opts.compr_type); in create_default_filesystem()
|