Home
last modified time | relevance | path

Searched refs:compr_type (Results 1 – 10 of 10) sorted by relevance

/fs/ubifs/
A Dcompress.c29 .compr_type = UBIFS_COMPR_NONE,
36 .compr_type = UBIFS_COMPR_LZO,
42 .compr_type = UBIFS_COMPR_LZO,
49 .compr_type = UBIFS_COMPR_ZLIB,
55 .compr_type = UBIFS_COMPR_ZLIB,
62 .compr_type = UBIFS_COMPR_ZSTD,
68 .compr_type = UBIFS_COMPR_ZSTD,
130 *compr_type = UBIFS_COMPR_NONE; in ubifs_compress_common()
195 int compr_type) in ubifs_decompress_common() argument
201 if (unlikely(compr_type < 0 || compr_type >= UBIFS_COMPR_TYPES_CNT)) { in ubifs_decompress_common()
[all …]
A Dmisc.h101 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()
A Djournal.c594 ino->compr_type = cpu_to_le16(ui->compr_type); in pack_inode()
860 int err, lnum, offs, compr_type, out_len, compr_len, auth_len; in ubifs_jnl_write_data() local
896 compr_type = UBIFS_COMPR_NONE; in ubifs_jnl_write_data()
898 compr_type = ui->compr_type; in ubifs_jnl_write_data()
902 &compr_type); in ubifs_jnl_write_data()
921 data->compr_type = cpu_to_le16(compr_type); in ubifs_jnl_write_data()
1628 int err, dlen, compr_type, out_len, data_size; in truncate_data_node() local
1637 compr_type = le16_to_cpu(dn->compr_type); in truncate_data_node()
1645 if (compr_type == UBIFS_COMPR_NONE) { in truncate_data_node()
1652 ubifs_compress(c, buf, *new_len, &dn->data, &out_len, &compr_type); in truncate_data_node()
[all …]
A Dubifs.h408 unsigned int compr_type:2; member
837 int compr_type; member
946 unsigned int compr_type:2; member
2089 void *out_buf, int *out_len, int *compr_type);
2092 int *out_len, int *compr_type);
2094 void *out, int *out_len, int compr_type);
2097 int *out_len, int compr_type);
A Dubifs-media.h536 __le16 compr_type; member
581 __le16 compr_type; member
A Dsuper.c80 if (ui->compr_type >= UBIFS_COMPR_TYPES_CNT) { in validate_inode()
81 ubifs_err(c, "unknown compression type %d", ui->compr_type); in validate_inode()
94 if (!ubifs_compr_present(c, ui->compr_type)) { in validate_inode()
96 inode->i_ino, ubifs_compr_name(c, ui->compr_type)); in validate_inode()
152 ui->compr_type = le16_to_cpu(ino->compr_type); in ubifs_iget()
454 ubifs_compr_name(c, c->mount_opts.compr_type)); in ubifs_show_options()
1075 ctx->mount_opts.compr_type = result.uint_32; in ubifs_parse_param()
1077 ctx->default_compr = ctx->mount_opts.compr_type; in ubifs_parse_param()
A Dfile.c78 &out_len, le16_to_cpu(dn->compr_type)); in read_block()
642 le16_to_cpu(dn->compr_type)); in populate_page()
A Ddir.c142 ui->compr_type = c->default_compr; in ubifs_new_inode()
144 ui->compr_type = UBIFS_COMPR_NONE; in ubifs_new_inode()
A Ddebug.c260 pr_err("\tcompr_type %d\n", ui->compr_type); in ubifs_dump_inode()
467 (int)le16_to_cpu(ino->compr_type)); in ubifs_dump_node()
507 (int)le16_to_cpu(dn->compr_type)); in ubifs_dump_node()
A Dsb.c210 sup->default_compr = cpu_to_le16(c->mount_opts.compr_type); in create_default_filesystem()

Completed in 34 milliseconds