Home
last modified time | relevance | path

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

/linux/fs/ubifs/
H 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()
H 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()
1648 err = ubifs_decompress(c, &dn->data, dlen, buf, &out_len, compr_type); in truncate_data_node()
[all …]
H A Dubifs.h409 unsigned int compr_type:2; member
841 int compr_type; member
950 unsigned int compr_type:2; member
2093 void *out_buf, int *out_len, int *compr_type);
2096 int *out_len, int *compr_type);
2098 void *out, int *out_len, int compr_type);
2101 int *out_len, int compr_type);
H A Dubifs-media.h536 __le16 compr_type; member
581 __le16 compr_type; member
H 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()
H A Dfile.c78 &out_len, le16_to_cpu(dn->compr_type)); in read_block()
642 le16_to_cpu(dn->compr_type)); in populate_page()
H 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()
H A Dsb.c210 sup->default_compr = cpu_to_le16(c->mount_opts.compr_type); in create_default_filesystem()