Home
last modified time | relevance | path

Searched refs:compr (Results 1 – 25 of 31) sorted by relevance

12

/linux/fs/ubifs/
A Dcompress.c114 if (compr->comp_mutex) in ubifs_compress()
118 if (compr->comp_mutex) in ubifs_compress()
177 if (compr->decomp_mutex) in ubifs_decompress()
181 if (compr->decomp_mutex) in ubifs_decompress()
199 if (compr->capi_name) { in compr_init()
200 compr->cc = crypto_alloc_comp(compr->capi_name, 0, 0); in compr_init()
201 if (IS_ERR(compr->cc)) { in compr_init()
203 current->pid, compr->name, PTR_ERR(compr->cc)); in compr_init()
204 return PTR_ERR(compr->cc); in compr_init()
208 ubifs_compressors[compr->compr_type] = compr; in compr_init()
[all …]
/linux/sound/core/
A Dcompress_offload.c77 struct snd_compr *compr; in snd_compr_open() local
97 if (compr == NULL) { in snd_compr_open()
130 mutex_lock(&compr->lock); in snd_compr_open()
132 mutex_unlock(&compr->lock); in snd_compr_open()
1057 struct snd_compr *compr; in snd_compress_dev_register() local
1064 compr->direction); in snd_compress_dev_register()
1067 compr->card, compr->device, in snd_compress_dev_register()
1068 &snd_compr_file_ops, compr, &compr->dev); in snd_compress_dev_register()
1133 strscpy(compr->id, id, sizeof(compr->id)); in snd_compress_set_id()
1177 compr->card = card; in snd_compress_new()
[all …]
/linux/sound/soc/codecs/
A Dwm_adsp.c1109 compr->buf = buf; in wm_adsp_compr_attach()
1110 buf->compr = compr; in wm_adsp_compr_attach()
1117 if (!compr) in wm_adsp_compr_detach()
1125 compr->buf->compr = NULL; in wm_adsp_compr_detach()
1161 compr = kzalloc(sizeof(*compr), GFP_KERNEL); in wm_adsp_compr_open()
1162 if (!compr) { in wm_adsp_compr_open()
1194 kfree(compr); in wm_adsp_compr_free()
1272 compr->size.fragment_size, compr->size.fragments); in wm_adsp_compr_set_params()
1695 compr = buf->compr; in wm_adsp_compr_handle_irq()
1718 if (compr && compr->stream) in wm_adsp_compr_handle_irq()
[all …]
/linux/fs/jffs2/
A Dcompr.c43 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()
A Dread.c65 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()
A Dsuper.c64 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()
A DMakefile9 jffs2-y := compr.o dir.o file.o ioctl.o nodelist.o malloc.o
A Dcompr.h52 char compr; /* JFFS2_COMPR_XXX */ member
A Dcompr_lzo.c85 .compr = JFFS2_COMPR_LZO,
A Dcompr_rtime.c115 .compr = JFFS2_COMPR_RTIME,
A Djffs2_fs_sb.h34 unsigned int compr; member
A Dcompr_rubin.c411 .compr = JFFS2_COMPR_DYNRUBIN,
434 .compr = JFFS2_COMPR_RUBINMIPS,
A Dcompr_zlib.c193 .compr = JFFS2_COMPR_ZLIB,
A Dgc.c830 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()
A Dfs.c122 ri->compr = JFFS2_COMPR_NONE; in jffs2_do_setattr()
125 ri->compr = JFFS2_COMPR_ZERO; in jffs2_do_setattr()
A Dfile.c183 ri.compr = JFFS2_COMPR_ZERO; in jffs2_write_begin()
A Ddir.c337 ri->compr = JFFS2_COMPR_NONE; in jffs2_symlink()
670 ri->compr = JFFS2_COMPR_NONE; in jffs2_mknod()
/linux/sound/soc/
A Dsoc-compress.c549 struct snd_compr *compr; in snd_soc_new_compress() local
594 compr = devm_kzalloc(rtd->card->dev, sizeof(*compr), GFP_KERNEL); in snd_soc_new_compress()
595 if (!compr) in snd_soc_new_compress()
598 compr->ops = devm_kzalloc(rtd->card->dev, sizeof(soc_compr_ops), in snd_soc_new_compress()
600 if (!compr->ops) in snd_soc_new_compress()
623 memcpy(compr->ops, &soc_compr_dyn_ops, sizeof(soc_compr_dyn_ops)); in snd_soc_new_compress()
628 memcpy(compr->ops, &soc_compr_ops, sizeof(soc_compr_ops)); in snd_soc_new_compress()
636 compr->ops->copy = snd_soc_component_compr_copy; in snd_soc_new_compress()
641 new_name, compr); in snd_soc_new_compress()
653 rtd->compr = compr; in snd_soc_new_compress()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dce60/
A Ddce60_hw_sequencer.c123 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, &params); in dce60_enable_fbc()
132 compr->funcs->set_fbc_invalidation_triggers(compr, 1); in dce60_enable_fbc()
134 compr->funcs->enable_fbc(compr, &params); in dce60_enable_fbc()
/linux/sound/soc/uniphier/
A Daio-compress.c26 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()
335 struct device *carddev = rtd->compr->card->dev; in uniphier_aio_compr_copy()
/linux/Documentation/filesystems/
A Dubifs.rst98 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/include/sound/
A Dcompress_driver.h169 int type, const char *id, struct snd_compr *compr);
/linux/include/uapi/linux/
A Djffs2.h153 __u8 compr; /* Compression algorithm used */ member
/linux/drivers/gpu/drm/amd/display/dc/dce110/
A Ddce110_hw_sequencer.c2117 struct compressor *compr = dc->fbc_compressor; local
2123 compr->compr_surface_address.quad_part = dc->ctx->fbc_gpu_addr;
2125 compr->funcs->surface_address_and_pitch(compr, &params);
2126 compr->funcs->set_fbc_invalidation_triggers(compr, 1);
2128 compr->funcs->enable_fbc(compr, &params);
/linux/fs/f2fs/
A Dcompress.c971 unsigned int cluster_idx, bool compr) in __f2fs_cluster_blocks() argument
1001 if (compr) { in __f2fs_cluster_blocks()
1011 !compr && ret != cluster_size && in __f2fs_cluster_blocks()

Completed in 52 milliseconds

12