/linux-master/fs/ubifs/ |
H A 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, 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) 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) argument [all...] |
H A D | misc.h | 95 * @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) argument 103 ubifs_assert(c, compr_type >= 0 && compr_type < UBIFS_COMPR_TYPES_CNT); 104 return !!ubifs_compressors[compr_type]->capi_name; 109 * @compr_type: compressor type 114 static inline const char *ubifs_compr_name(struct ubifs_info *c, int compr_type) argument 116 ubifs_assert(c, compr_type >= 0 && compr_type < UBIFS_COMPR_TYPES_CN [all...] |
H A D | journal.c | 594 ino->compr_type = cpu_to_le16(ui->compr_type); 854 int err, lnum, offs, compr_type, out_len, compr_len, auth_len; local 890 compr_type = UBIFS_COMPR_NONE; 892 compr_type = ui->compr_type; 895 ubifs_compress(c, buf, len, &data->data, &compr_len, &compr_type); 914 data->compr_type = cpu_to_le16(compr_type); 1616 int err, dlen, compr_type, out_le local [all...] |
H A D | ubifs-media.h | 503 * @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 in struct:ubifs_ino_node 572 * @compr_type: compression type (%UBIFS_COMPR_NONE, %UBIFS_COMPR_LZO, etc) 581 __le16 compr_type; member in struct:ubifs_data_node
|
H A D | super.c | 80 if (ui->compr_type >= UBIFS_COMPR_TYPES_CNT) { 81 ubifs_err(c, "unknown compression type %d", ui->compr_type); 94 if (!ubifs_compr_present(c, ui->compr_type)) { 96 inode->i_ino, ubifs_compr_name(c, ui->compr_type)); 152 ui->compr_type = le16_to_cpu(ino->compr_type); 454 ubifs_compr_name(c, c->mount_opts.compr_type)); 1085 c->mount_opts.compr_type = UBIFS_COMPR_NONE; 1087 c->mount_opts.compr_type = UBIFS_COMPR_LZO; 1089 c->mount_opts.compr_type [all...] |
H A D | ubifs.h | 375 * @compr_type: default compression type used for this inode 420 unsigned int compr_type:2; member in struct:ubifs_inode 843 * @compr_type: compressor type (%UBIFS_COMPR_LZO, etc) 851 int compr_type; member in struct:ubifs_compressor 956 * specified in @compr_type) 957 * @compr_type: compressor type to override the superblock compressor with 965 unsigned int compr_type:2; member in struct:ubifs_mount_opts 2110 void *out_buf, int *out_len, int *compr_type); 2112 void *out, int *out_len, int compr_type);
|
H A D | file.c | 78 le16_to_cpu(dn->compr_type)); 650 le16_to_cpu(dn->compr_type));
|
H A D | debug.c | 260 pr_err("\tcompr_type %d\n", ui->compr_type); 467 (int)le16_to_cpu(ino->compr_type)); 507 (int)le16_to_cpu(dn->compr_type));
|
H A D | dir.c | 137 ui->compr_type = c->default_compr; 139 ui->compr_type = UBIFS_COMPR_NONE;
|
H A D | sb.c | 210 sup->default_compr = cpu_to_le16(c->mount_opts.compr_type);
|