/linux-6.6.21/fs/ubifs/ |
D | compress.c | 105 struct ubifs_compressor *compr = ubifs_compressors[*compr_type]; in ubifs_compress() local 114 if (compr->comp_mutex) in ubifs_compress() 115 mutex_lock(compr->comp_mutex); in ubifs_compress() 116 err = crypto_comp_compress(compr->cc, in_buf, in_len, out_buf, in ubifs_compress() 118 if (compr->comp_mutex) in ubifs_compress() 119 mutex_unlock(compr->comp_mutex); in ubifs_compress() 122 in_len, compr->name, err); in ubifs_compress() 157 struct ubifs_compressor *compr; in ubifs_decompress() local 164 compr = ubifs_compressors[compr_type]; in ubifs_decompress() 166 if (unlikely(!compr->capi_name)) { in ubifs_decompress() [all …]
|
/linux-6.6.21/sound/core/ |
D | compress_offload.c | 77 struct snd_compr *compr; in snd_compr_open() local 92 compr = snd_lookup_minor_data(iminor(inode), in snd_compr_open() 97 if (compr == NULL) { in snd_compr_open() 102 if (dirn != compr->direction) { in snd_compr_open() 104 snd_card_unref(compr->card); in snd_compr_open() 110 snd_card_unref(compr->card); in snd_compr_open() 116 data->stream.ops = compr->ops; in snd_compr_open() 118 data->stream.private_data = compr->private_data; in snd_compr_open() 119 data->stream.device = compr; in snd_compr_open() 123 snd_card_unref(compr->card); in snd_compr_open() [all …]
|
/linux-6.6.21/sound/soc/codecs/ |
D | wm_adsp.c | 151 struct wm_adsp_compr *compr; member 1190 static inline int wm_adsp_compr_attached(struct wm_adsp_compr *compr) in wm_adsp_compr_attached() argument 1192 return compr->buf != NULL; in wm_adsp_compr_attached() 1195 static int wm_adsp_compr_attach(struct wm_adsp_compr *compr) in wm_adsp_compr_attach() argument 1199 if (compr->dsp->fatal_error) in wm_adsp_compr_attach() 1202 list_for_each_entry(tmp, &compr->dsp->buffer_list, list) { in wm_adsp_compr_attach() 1203 if (!tmp->name || !strcmp(compr->name, tmp->name)) { in wm_adsp_compr_attach() 1212 compr->buf = buf; in wm_adsp_compr_attach() 1213 buf->compr = compr; in wm_adsp_compr_attach() 1218 static void wm_adsp_compr_detach(struct wm_adsp_compr *compr) in wm_adsp_compr_detach() argument [all …]
|
/linux-6.6.21/fs/jffs2/ |
D | compr.c | 43 if ((this->compr == JFFS2_COMPR_LZO) && (bestsize > size)) in jffs2_is_best_compression() 45 if ((best->compr != JFFS2_COMPR_LZO) && (bestsize > size)) in jffs2_is_best_compression() 47 if ((this->compr == JFFS2_COMPR_LZO) && (bestsize > (size * FAVOUR_LZO_PERCENT / 100))) in jffs2_is_best_compression() 74 static int jffs2_selected_compress(u8 compr, unsigned char *data_in, in jffs2_selected_compress() argument 96 if (compr && (compr != this->compr)) in jffs2_selected_compress() 114 ret = this->compr; in jffs2_selected_compress() 160 mode = c->mount_opts.compr; in jffs2_compress() 227 ret = best->compr; in jffs2_compress() 277 if (comprtype == this->compr) { in jffs2_decompress()
|
D | read.c | 65 if (ri->compr == JFFS2_COMPR_ZERO && !je32_to_cpu(ri->dsize) && in jffs2_read_dnode() 79 if (ri->compr == JFFS2_COMPR_ZERO) { in jffs2_read_dnode() 90 if (ri->compr == JFFS2_COMPR_NONE && len == je32_to_cpu(ri->dsize)) { in jffs2_read_dnode() 99 if (ri->compr != JFFS2_COMPR_NONE) { in jffs2_read_dnode() 131 if (ri->compr != JFFS2_COMPR_NONE) { in jffs2_read_dnode() 135 …ret = jffs2_decompress(c, f, ri->compr | (ri->usercompr << 8), readbuf, decomprbuf, je32_to_cpu(ri… in jffs2_read_dnode()
|
D | super.c | 64 static const char *jffs2_compr_name(unsigned int compr) in jffs2_compr_name() argument 66 switch (compr) { in jffs2_compr_name() 90 seq_printf(s, ",compr=%s", jffs2_compr_name(opts->compr)); in jffs2_show_options() 199 c->mount_opts.compr = result.uint_32; in jffs2_parse_param() 223 c->mount_opts.compr = new_c->mount_opts.compr; in jffs2_update_mount_opts()
|
D | Makefile | 9 jffs2-y := compr.o dir.o file.o ioctl.o nodelist.o malloc.o
|
D | compr.h | 52 char compr; /* JFFS2_COMPR_XXX */ member
|
D | compr_lzo.c | 85 .compr = JFFS2_COMPR_LZO,
|
D | compr_rtime.c | 115 .compr = JFFS2_COMPR_RTIME,
|
D | jffs2_fs_sb.h | 34 unsigned int compr; member
|
D | compr_rubin.c | 411 .compr = JFFS2_COMPR_DYNRUBIN, 434 .compr = JFFS2_COMPR_RUBINMIPS,
|
D | compr_zlib.c | 193 .compr = JFFS2_COMPR_ZLIB,
|
D | gc.c | 830 ri.compr = JFFS2_COMPR_NONE; in jffs2_garbage_collect_metadata() 1061 if (ri.compr != JFFS2_COMPR_ZERO) { in jffs2_garbage_collect_hole() 1080 ri.compr = JFFS2_COMPR_ZERO; in jffs2_garbage_collect_hole() 1379 ri.compr = comprtype & 0xff; in jffs2_garbage_collect_dnode()
|
D | fs.c | 122 ri->compr = JFFS2_COMPR_NONE; in jffs2_do_setattr() 125 ri->compr = JFFS2_COMPR_ZERO; in jffs2_do_setattr()
|
D | file.c | 176 ri.compr = JFFS2_COMPR_ZERO; in jffs2_write_begin()
|
D | dir.c | 338 ri->compr = JFFS2_COMPR_NONE; in jffs2_symlink() 673 ri->compr = JFFS2_COMPR_NONE; in jffs2_mknod()
|
/linux-6.6.21/sound/soc/ |
D | soc-compress.c | 545 struct snd_compr *compr; in snd_soc_new_compress() local 595 compr = devm_kzalloc(rtd->card->dev, sizeof(*compr), GFP_KERNEL); in snd_soc_new_compress() 596 if (!compr) in snd_soc_new_compress() 599 compr->ops = devm_kzalloc(rtd->card->dev, sizeof(soc_compr_ops), in snd_soc_new_compress() 601 if (!compr->ops) in snd_soc_new_compress() 627 memcpy(compr->ops, &soc_compr_dyn_ops, sizeof(soc_compr_dyn_ops)); in snd_soc_new_compress() 632 memcpy(compr->ops, &soc_compr_ops, sizeof(soc_compr_ops)); in snd_soc_new_compress() 640 compr->ops->copy = snd_soc_component_compr_copy; in snd_soc_new_compress() 645 new_name, compr); in snd_soc_new_compress() 657 rtd->compr = compr; in snd_soc_new_compress() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce60/ |
D | dce60_hw_sequencer.c | 123 struct compressor *compr = dc->fbc_compressor; in dce60_enable_fbc() local 129 compr->compr_surface_address.quad_part = dc->ctx->fbc_gpu_addr; in dce60_enable_fbc() 131 compr->funcs->surface_address_and_pitch(compr, ¶ms); in dce60_enable_fbc() 132 compr->funcs->set_fbc_invalidation_triggers(compr, 1); in dce60_enable_fbc() 134 compr->funcs->enable_fbc(compr, ¶ms); in dce60_enable_fbc()
|
/linux-6.6.21/sound/soc/uniphier/ |
D | aio-compress.c | 26 struct snd_compr *compr = rtd->compr; in uniphier_aio_comprdma_new() local 27 struct device *dev = compr->card->dev; in uniphier_aio_comprdma_new() 29 struct uniphier_aio_sub *sub = &aio->sub[compr->direction]; in uniphier_aio_comprdma_new() 59 struct snd_compr *compr = rtd->compr; in uniphier_aio_comprdma_free() local 60 struct device *dev = compr->card->dev; in uniphier_aio_comprdma_free() 62 struct uniphier_aio_sub *sub = &aio->sub[compr->direction]; in uniphier_aio_comprdma_free() 330 struct device *carddev = rtd->compr->card->dev; in uniphier_aio_compr_copy()
|
/linux-6.6.21/Documentation/filesystems/ |
D | ubifs.rst | 98 compr=none override default compressor and set it to "none" 99 compr=lzo override default compressor and set it to "lzo" 100 compr=zlib override default compressor and set it to "zlib"
|
/linux-6.6.21/include/sound/ |
D | compress_driver.h | 169 int type, const char *id, struct snd_compr *compr);
|
/linux-6.6.21/include/uapi/linux/ |
D | jffs2.h | 153 __u8 compr; /* Compression algorithm used */ member
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 2057 struct compressor *compr = dc->fbc_compressor; in enable_fbc() local 2063 compr->compr_surface_address.quad_part = dc->ctx->fbc_gpu_addr; in enable_fbc() 2065 compr->funcs->surface_address_and_pitch(compr, ¶ms); in enable_fbc() 2066 compr->funcs->set_fbc_invalidation_triggers(compr, 1); in enable_fbc() 2068 compr->funcs->enable_fbc(compr, ¶ms); in enable_fbc()
|
/linux-6.6.21/fs/f2fs/ |
D | compress.c | 941 unsigned int cluster_idx, bool compr) in __f2fs_cluster_blocks() argument 972 if (compr) { in __f2fs_cluster_blocks() 982 !compr && ret != cluster_size && in __f2fs_cluster_blocks()
|