Home
last modified time | relevance | path

Searched refs:compressor (Results 1 – 7 of 7) sorted by relevance

/drivers/block/zram/
Dzram_drv.c344 sz = zcomp_available_show(zram->compressor, buf); in comp_algorithm_show()
354 char compressor[CRYPTO_MAX_ALG_NAME]; in comp_algorithm_store() local
357 strlcpy(compressor, buf, sizeof(compressor)); in comp_algorithm_store()
359 sz = strlen(compressor); in comp_algorithm_store()
360 if (sz > 0 && compressor[sz - 1] == '\n') in comp_algorithm_store()
361 compressor[sz - 1] = 0x00; in comp_algorithm_store()
363 if (!zcomp_available_algorithm(compressor)) in comp_algorithm_store()
373 strlcpy(zram->compressor, compressor, sizeof(compressor)); in comp_algorithm_store()
1085 comp = zcomp_create(zram->compressor); in disksize_store()
1088 zram->compressor); in disksize_store()
[all …]
Dzram_drv.h117 char compressor[CRYPTO_MAX_ALG_NAME]; member
/drivers/net/ppp/
Dppp_deflate.c569 extern int ppp_register_compressor (struct compressor *cp);
570 extern void ppp_unregister_compressor (struct compressor *cp);
575 static struct compressor ppp_deflate = {
593 static struct compressor ppp_deflate_draft = {
Dbsd_comp.c192 extern int ppp_register_compressor (struct compressor *cp);
193 extern void ppp_unregister_compressor (struct compressor *cp);
1132 static struct compressor ppp_bsd_compress = {
Dppp_generic.c131 struct compressor *xcomp; /* transmit packet compressor 8c */
133 struct compressor *rcomp; /* receive decompressor 94 */
278 static struct compressor *find_compressor(int type);
2709 struct compressor *cp, *ocomp; in ppp_set_compress()
2867 struct compressor *xcomp, *rcomp; in ppp_ccp_closed()
2897 struct compressor *comp;
2914 ppp_register_compressor(struct compressor *cp) in ppp_register_compressor()
2936 ppp_unregister_compressor(struct compressor *cp) in ppp_unregister_compressor()
2950 static struct compressor *
2954 struct compressor *cp = NULL; in find_compressor()
Dppp_mppe.c704 static struct compressor ppp_mppe = {
/drivers/isdn/i4l/
Disdn_ppp.c297 is->link_compressor = is->compressor = NULL; in isdn_ppp_open()
400 is->compressor->free(is->comp_stat); in isdn_ppp_release()
407 is->compressor = is->link_compressor = NULL; in isdn_ppp_release()
2628 struct isdn_ppp_compressor *compressor; in isdn_ppp_compress() local
2642 compressor = is->compressor; in isdn_ppp_compress()
2646 compressor = master->compressor; in isdn_ppp_compress()
2652 if (!compressor) { in isdn_ppp_compress()
2668 ret = (compressor->compress)(stat, skb_in, skb_out, *proto); in isdn_ppp_compress()
2790 if (mis->compressor && mis->comp_stat) in isdn_ppp_receive_ccp()
2791 mis->compressor-> in isdn_ppp_receive_ccp()
[all …]