/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/ubifs/ |
H A D | compress.c | 35 .compr_type = UBIFS_COMPR_NONE, 44 .compr_type = UBIFS_COMPR_LZO, 51 .compr_type = UBIFS_COMPR_LZO, 61 .compr_type = UBIFS_COMPR_ZLIB, 69 .compr_type = UBIFS_COMPR_ZLIB, 83 * @compr_type: type of compression to use on enter, actually used compression 89 * @out_buf. The same happens if @compr_type is %UBIFS_COMPR_NONE or if 93 * buffer and %UBIFS_COMPR_NONE is returned in @compr_type. 96 int *compr_type) 99 struct ubifs_compressor *compr = ubifs_compressors[*compr_type]; 95 ubifs_compress(const void *in_buf, int in_len, void *out_buf, int *out_len, int *compr_type) argument 148 ubifs_decompress(const void *in_buf, int in_len, void *out_buf, int *out_len, int compr_type) argument [all...] |
H A D | misc.h | 84 * @compr_type: compressor type to check 86 * This function returns %1 of compressor of type @compr_type is present, and 89 static inline int ubifs_compr_present(int compr_type) argument 91 ubifs_assert(compr_type >= 0 && compr_type < UBIFS_COMPR_TYPES_CNT); 92 return !!ubifs_compressors[compr_type]->capi_name; 97 * @compr_type: compressor type 101 static inline const char *ubifs_compr_name(int compr_type) argument 103 ubifs_assert(compr_type >= 0 && compr_type < UBIFS_COMPR_TYPES_CN [all...] |
H A D | journal.c | 474 ino->compr_type = cpu_to_le16(ui->compr_type); 691 int err, lnum, offs, compr_type, out_len; local 711 compr_type = UBIFS_COMPR_NONE; 713 compr_type = ui->compr_type; 716 ubifs_compress(buf, len, &data->data, &out_len, &compr_type); 720 data->compr_type = cpu_to_le16(compr_type); 1084 int err, len, compr_type, out_le local 1169 int compr_type = le16_to_cpu(dn->compr_type); local [all...] |
H A D | ubifs-media.h | 476 * @compr_type: compression type used for this inode 480 * Note, even though inode compression type is defined by @compr_type, some 483 * nodes. But @compr_type will be use for further writes to the inode. 509 __le16 compr_type; member in struct:ubifs_ino_node 544 * @compr_type: compression type (%UBIFS_COMPR_NONE, %UBIFS_COMPR_LZO, etc) 555 __le16 compr_type; member in struct:ubifs_data_node
|
H A D | super.c | 77 if (ui->compr_type < 0 || ui->compr_type >= UBIFS_COMPR_TYPES_CNT) { 78 ubifs_err("unknown compression type %d", ui->compr_type); 91 if (!ubifs_compr_present(ui->compr_type)) { 94 ubifs_compr_name(ui->compr_type)); 146 ui->compr_type = le16_to_cpu(ino->compr_type); 436 ubifs_compr_name(c->mount_opts.compr_type)); 1016 c->mount_opts.compr_type = UBIFS_COMPR_NONE; 1018 c->mount_opts.compr_type [all...] |
H A D | ubifs.h | 352 * @compr_type: default compression type used for this inode 397 unsigned int compr_type:2; member in struct:ubifs_inode 810 * @compr_type: compressor type (%UBIFS_COMPR_LZO, etc) 818 int compr_type; member in struct:ubifs_compressor 916 * specified in @compr_type) 917 * @compr_type: compressor type to override the superblock compressor with 925 unsigned int compr_type:2; member in struct:ubifs_mount_opts 1727 int *compr_type); 1729 int compr_type);
|
H A D | dir.c | 141 ui->compr_type = c->default_compr; 143 ui->compr_type = UBIFS_COMPR_NONE;
|
H A D | sb.c | 186 sup->default_compr = cpu_to_le16(c->mount_opts.compr_type);
|
H A D | file.c | 83 le16_to_cpu(dn->compr_type)); 648 le16_to_cpu(dn->compr_type));
|
H A D | debug.c | 273 printk(KERN_DEBUG "\tcompr_type %d\n", ui->compr_type); 468 (int)le16_to_cpu(ino->compr_type)); 508 (int)le16_to_cpu(dn->compr_type));
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/ubifs/ |
H A D | compress.c | 35 .compr_type = UBIFS_COMPR_NONE, 44 .compr_type = UBIFS_COMPR_LZO, 51 .compr_type = UBIFS_COMPR_LZO, 61 .compr_type = UBIFS_COMPR_ZLIB, 69 .compr_type = UBIFS_COMPR_ZLIB, 83 * @compr_type: type of compression to use on enter, actually used compression 89 * @out_buf. The same happens if @compr_type is %UBIFS_COMPR_NONE or if 93 * buffer and %UBIFS_COMPR_NONE is returned in @compr_type. 96 int *compr_type) 99 struct ubifs_compressor *compr = ubifs_compressors[*compr_type]; 95 ubifs_compress(const void *in_buf, int in_len, void *out_buf, int *out_len, int *compr_type) argument 148 ubifs_decompress(const void *in_buf, int in_len, void *out_buf, int *out_len, int compr_type) argument [all...] |
H A D | misc.h | 84 * @compr_type: compressor type to check 86 * This function returns %1 of compressor of type @compr_type is present, and 89 static inline int ubifs_compr_present(int compr_type) argument 91 ubifs_assert(compr_type >= 0 && compr_type < UBIFS_COMPR_TYPES_CNT); 92 return !!ubifs_compressors[compr_type]->capi_name; 97 * @compr_type: compressor type 101 static inline const char *ubifs_compr_name(int compr_type) argument 103 ubifs_assert(compr_type >= 0 && compr_type < UBIFS_COMPR_TYPES_CN [all...] |
H A D | journal.c | 474 ino->compr_type = cpu_to_le16(ui->compr_type); 691 int err, lnum, offs, compr_type, out_len; local 711 compr_type = UBIFS_COMPR_NONE; 713 compr_type = ui->compr_type; 716 ubifs_compress(buf, len, &data->data, &out_len, &compr_type); 720 data->compr_type = cpu_to_le16(compr_type); 1084 int err, len, compr_type, out_le local 1169 int compr_type = le16_to_cpu(dn->compr_type); local [all...] |
H A D | ubifs-media.h | 476 * @compr_type: compression type used for this inode 480 * Note, even though inode compression type is defined by @compr_type, some 483 * nodes. But @compr_type will be use for further writes to the inode. 509 __le16 compr_type; member in struct:ubifs_ino_node 544 * @compr_type: compression type (%UBIFS_COMPR_NONE, %UBIFS_COMPR_LZO, etc) 555 __le16 compr_type; member in struct:ubifs_data_node
|
H A D | super.c | 77 if (ui->compr_type < 0 || ui->compr_type >= UBIFS_COMPR_TYPES_CNT) { 78 ubifs_err("unknown compression type %d", ui->compr_type); 91 if (!ubifs_compr_present(ui->compr_type)) { 94 ubifs_compr_name(ui->compr_type)); 146 ui->compr_type = le16_to_cpu(ino->compr_type); 436 ubifs_compr_name(c->mount_opts.compr_type)); 1016 c->mount_opts.compr_type = UBIFS_COMPR_NONE; 1018 c->mount_opts.compr_type [all...] |
H A D | ubifs.h | 352 * @compr_type: default compression type used for this inode 397 unsigned int compr_type:2; member in struct:ubifs_inode 810 * @compr_type: compressor type (%UBIFS_COMPR_LZO, etc) 818 int compr_type; member in struct:ubifs_compressor 916 * specified in @compr_type) 917 * @compr_type: compressor type to override the superblock compressor with 925 unsigned int compr_type:2; member in struct:ubifs_mount_opts 1727 int *compr_type); 1729 int compr_type);
|
H A D | dir.c | 141 ui->compr_type = c->default_compr; 143 ui->compr_type = UBIFS_COMPR_NONE;
|
H A D | sb.c | 186 sup->default_compr = cpu_to_le16(c->mount_opts.compr_type);
|
H A D | file.c | 83 le16_to_cpu(dn->compr_type)); 648 le16_to_cpu(dn->compr_type));
|
H A D | debug.c | 273 printk(KERN_DEBUG "\tcompr_type %d\n", ui->compr_type); 468 (int)le16_to_cpu(ino->compr_type)); 508 (int)le16_to_cpu(dn->compr_type));
|