Home
last modified time | relevance | path

Searched refs:compr_type (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/fs/ubifs/
H A Dcompress.c23 .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,
89 * @compr_type: type of compression to use on enter, actually used compression
95 * @out_buf. The same happens if @compr_type is %UBIFS_COMPR_NONE or if
99 * buffer and %UBIFS_COMPR_NONE is returned in @compr_type
101 ubifs_compress(const struct ubifs_info *c, const void *in_buf, int in_len, void *out_buf, int *out_len, int *compr_type) ubifs_compress() argument
153 ubifs_decompress(const struct ubifs_info *c, const void *in_buf, int in_len, void *out_buf, int *out_len, int compr_type) ubifs_decompress() argument
[all...]
H A Dmisc.h95 * @compr_type: compressor type to check
98 * This function returns %1 of compressor of type @compr_type is present, and
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()
109 * @compr_type: compressor type
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_CN in ubifs_compr_name()
[all...]
H A Djournal.c467 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()
1484 int err, dlen, compr_type, out_le in truncate_data_node() local
[all...]
H A Dsuper.c84 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()
458 ubifs_compr_name(c, c->mount_opts.compr_type)); in ubifs_show_options()
1087 c->mount_opts.compr_type = UBIFS_COMPR_NONE; in ubifs_parse_options()
1089 c->mount_opts.compr_type = UBIFS_COMPR_LZO; in ubifs_parse_options()
1091 c->mount_opts.compr_type in ubifs_parse_options()
[all...]
H A Dubifs-media.h503 * @compr_type: compression type used for this inode
507 * Note, even though inode compression type is defined by @compr_type, some
510 * nodes. But @compr_type will be use for further writes to the inode.
536 __le16 compr_type; member
572 * @compr_type: compression type (%UBIFS_COMPR_NONE, %UBIFS_COMPR_LZO, etc)
581 __le16 compr_type; member
H A Dubifs.h366 * @compr_type: default compression type used for this inode
411 unsigned int compr_type:2; member
834 * @compr_type: compressor type (%UBIFS_COMPR_LZO, etc)
842 int compr_type; member
947 * specified in @compr_type)
948 * @compr_type: compressor type to override the superblock compressor with
956 unsigned int compr_type:2; member
2070 void *out_buf, int *out_len, int *compr_type);
2072 void *out, int *out_len, int compr_type);
H A Dfile.c78 le16_to_cpu(dn->compr_type)); in read_block()
652 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.c207 sup->default_compr = cpu_to_le16(c->mount_opts.compr_type); in create_default_filesystem()
H A Ddir.c135 ui->compr_type = c->default_compr; in ubifs_new_inode()
137 ui->compr_type = UBIFS_COMPR_NONE; in ubifs_new_inode()
/kernel/linux/linux-6.6/fs/ubifs/
H A Dcompress.c23 .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,
89 * @compr_type: type of compression to use on enter, actually used compression
95 * @out_buf. The same happens if @compr_type is %UBIFS_COMPR_NONE or if
99 * buffer and %UBIFS_COMPR_NONE is returned in @compr_type
101 ubifs_compress(const struct ubifs_info *c, const void *in_buf, int in_len, void *out_buf, int *out_len, int *compr_type) ubifs_compress() argument
153 ubifs_decompress(const struct ubifs_info *c, const void *in_buf, int in_len, void *out_buf, int *out_len, int compr_type) ubifs_decompress() argument
[all...]
H A Dmisc.h95 * @compr_type: compressor type to check
98 * This function returns %1 of compressor of type @compr_type is present, and
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()
109 * @compr_type: compressor type
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_CN in ubifs_compr_name()
[all...]
H A Djournal.c467 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()
1489 int err, dlen, compr_type, out_le in truncate_data_node() local
[all...]
H A Dsuper.c84 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()
458 ubifs_compr_name(c, c->mount_opts.compr_type)); in ubifs_show_options()
1087 c->mount_opts.compr_type = UBIFS_COMPR_NONE; in ubifs_parse_options()
1089 c->mount_opts.compr_type = UBIFS_COMPR_LZO; in ubifs_parse_options()
1091 c->mount_opts.compr_type in ubifs_parse_options()
[all...]
H A Dubifs-media.h503 * @compr_type: compression type used for this inode
507 * Note, even though inode compression type is defined by @compr_type, some
510 * nodes. But @compr_type will be use for further writes to the inode.
536 __le16 compr_type; member
572 * @compr_type: compression type (%UBIFS_COMPR_NONE, %UBIFS_COMPR_LZO, etc)
581 __le16 compr_type; member
H A Dubifs.h375 * @compr_type: default compression type used for this inode
420 unsigned int compr_type:2; member
843 * @compr_type: compressor type (%UBIFS_COMPR_LZO, etc)
851 int compr_type; member
956 * specified in @compr_type)
957 * @compr_type: compressor type to override the superblock compressor with
965 unsigned int compr_type:2; member
2105 void *out_buf, int *out_len, int *compr_type);
2107 void *out, int *out_len, int compr_type);
H A Dfile.c78 le16_to_cpu(dn->compr_type)); in read_block()
651 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()
H A Ddir.c137 ui->compr_type = c->default_compr; in ubifs_new_inode()
139 ui->compr_type = UBIFS_COMPR_NONE; in ubifs_new_inode()

Completed in 37 milliseconds