Searched refs:compr_type (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.10/fs/ubifs/ |
D | compress.c | 23 .compr_type = UBIFS_COMPR_NONE, 32 .compr_type = UBIFS_COMPR_LZO, 39 .compr_type = UBIFS_COMPR_LZO, 49 .compr_type = UBIFS_COMPR_ZLIB, 57 .compr_type = UBIFS_COMPR_ZLIB, 67 .compr_type = UBIFS_COMPR_ZSTD, 75 .compr_type = UBIFS_COMPR_ZSTD, 102 int in_len, void *out_buf, int *out_len, int *compr_type) in ubifs_compress() argument 105 struct ubifs_compressor *compr = ubifs_compressors[*compr_type]; in ubifs_compress() 107 if (*compr_type == UBIFS_COMPR_NONE) in ubifs_compress() [all …]
|
D | misc.h | 101 static inline int ubifs_compr_present(struct ubifs_info *c, int compr_type) in ubifs_compr_present() argument 103 ubifs_assert(c, 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() 114 static inline const char *ubifs_compr_name(struct ubifs_info *c, int compr_type) in ubifs_compr_name() argument 116 ubifs_assert(c, compr_type >= 0 && compr_type < UBIFS_COMPR_TYPES_CNT); in ubifs_compr_name() 117 return ubifs_compressors[compr_type]->name; in ubifs_compr_name()
|
D | journal.c | 467 ino->compr_type = cpu_to_le16(ui->compr_type); in pack_inode() 727 int err, lnum, offs, compr_type, out_len, compr_len, auth_len; in ubifs_jnl_write_data() local 763 compr_type = UBIFS_COMPR_NONE; in ubifs_jnl_write_data() 765 compr_type = ui->compr_type; in ubifs_jnl_write_data() 768 ubifs_compress(c, buf, len, &data->data, &compr_len, &compr_type); in ubifs_jnl_write_data() 787 data->compr_type = cpu_to_le16(compr_type); in ubifs_jnl_write_data() 1447 int err, dlen, compr_type, out_len, old_dlen; in truncate_data_node() local 1455 compr_type = le16_to_cpu(dn->compr_type); in truncate_data_node() 1463 if (compr_type == UBIFS_COMPR_NONE) { in truncate_data_node() 1466 err = ubifs_decompress(c, &dn->data, dlen, buf, &out_len, compr_type); in truncate_data_node() [all …]
|
D | super.c | 84 if (ui->compr_type >= UBIFS_COMPR_TYPES_CNT) { in validate_inode() 85 ubifs_err(c, "unknown compression type %d", ui->compr_type); in validate_inode() 98 if (!ubifs_compr_present(c, ui->compr_type)) { in validate_inode() 100 inode->i_ino, ubifs_compr_name(c, ui->compr_type)); in validate_inode() 156 ui->compr_type = le16_to_cpu(ino->compr_type); in ubifs_iget() 457 ubifs_compr_name(c, c->mount_opts.compr_type)); in ubifs_show_options() 1075 c->mount_opts.compr_type = UBIFS_COMPR_NONE; in ubifs_parse_options() 1077 c->mount_opts.compr_type = UBIFS_COMPR_LZO; in ubifs_parse_options() 1079 c->mount_opts.compr_type = UBIFS_COMPR_ZLIB; in ubifs_parse_options() 1081 c->mount_opts.compr_type = UBIFS_COMPR_ZSTD; in ubifs_parse_options() [all …]
|
D | ubifs-media.h | 536 __le16 compr_type; member 581 __le16 compr_type; member
|
D | ubifs.h | 410 unsigned int compr_type:2; member 840 int compr_type; member 954 unsigned int compr_type:2; member 2063 void *out_buf, int *out_len, int *compr_type); 2065 void *out, int *out_len, int compr_type);
|
D | file.c | 78 le16_to_cpu(dn->compr_type)); in read_block() 657 le16_to_cpu(dn->compr_type)); in populate_page()
|
D | dir.c | 135 ui->compr_type = c->default_compr; in ubifs_new_inode() 137 ui->compr_type = UBIFS_COMPR_NONE; in ubifs_new_inode()
|
D | debug.c | 260 pr_err("\tcompr_type %d\n", ui->compr_type); in ubifs_dump_inode() 437 (int)le16_to_cpu(ino->compr_type)); in ubifs_dump_node() 477 (int)le16_to_cpu(dn->compr_type)); in ubifs_dump_node()
|
D | sb.c | 207 sup->default_compr = cpu_to_le16(c->mount_opts.compr_type); in create_default_filesystem()
|