Searched refs:compressor (Results 1 - 36 of 36) sorted by relevance

/linux-4.4.14/include/linux/
H A Dppp-comp.h36 struct compressor { struct
39 /* Allocate space for a compressor (transmit side) */
42 /* Free space used by a compressor */
45 /* Initialize a compressor */
49 /* Reset a compressor */
83 /* Used in locking compressor modules */
85 /* Extra skb space needed by the compressor algorithm */
104 extern int ppp_register_compressor(struct compressor *);
105 extern void ppp_unregister_compressor(struct compressor *);
H A Disdn_ppp.h39 * We use this same struct for the reset entry of the compressor to commu-
187 struct isdn_ppp_compressor *compressor,*decompressor; member in struct:ippp_struct
H A Dzlib.h393 by the compressor for this purpose.) The next operation on this stream must
406 chosen by the compressor and returns Z_NEED_DICT; otherwise it sets
410 checksum is equal to that saved by the compressor and returns Z_STREAM_END
/linux-4.4.14/fs/ubifs/
H A Dcompress.c33 /* Fake description object for the "none" compressor */
115 ubifs_warn(c, "cannot compress %d bytes, compressor %s, error %d, leave data uncompressed", ubifs_compress()
178 ubifs_err(c, "cannot decompress %d bytes, compressor %s, error %d", ubifs_decompress()
185 * compr_init - initialize a compressor.
186 * @compr: compressor description object
188 * This function initializes the requested compressor and returns zero in case
196 pr_err("UBIFS error (pid %d): cannot initialize compressor %s, error %ld", compr_init()
207 * compr_exit - de-initialize a compressor.
208 * @compr: compressor description object
220 * This function initializes the compressor which were compiled in. Returns
H A Dmisc.h106 * ubifs_compr_present - check if compressor was compiled in.
107 * @compr_type: compressor type to check
109 * This function returns %1 of compressor of type @compr_type is present, and
119 * ubifs_compr_name - get compressor name string by its type.
120 * @compr_type: compressor type
122 * This function returns compressor type string.
H A Dubifs.h159 * So UBIFS always allocates larger output buffer, to be sure the compressor
831 * struct ubifs_compressor - UBIFS compressor description structure.
832 * @compr_type: compressor type (%UBIFS_COMPR_LZO, etc)
833 * @cc: cryptoapi compressor handle
836 * @name: compressor name
837 * @capi_name: cryptoapi compressor name
940 * @override_compr: override default compressor (%0 - do not override and use
941 * superblock compressor, %1 - override and use compressor
943 * @compr_type: compressor type to override the superblock compressor with
1793 /* compressor.c */
H A Dsuper.c921 * Opt_override_compr: override default compressor
1034 ubifs_err(c, "unknown compressor \"%s\"", name); //FIXME: is c ready? ubifs_parse_options()
1225 * Make sure the compressor which is set as default in the superblock mount_ubifs()
1229 ubifs_err(c, "'compressor \"%s\" is not compiled in", mount_ubifs()
1423 dbg_gen("default compressor: %s", ubifs_compr_name(c->default_compr)); mount_ubifs()
H A Dubifs-media.h483 * nodes of this inode may be compressed with different compressor - this
/linux-4.4.14/arch/mn10300/boot/
H A DMakefile1 # MN10300 kernel compressor and wrapper
/linux-4.4.14/drivers/net/ppp/
H A Dppp_deflate.c25 * State for a Deflate (de)compressor.
60 * z_comp_free - free the memory used by a compressor
61 * @arg: pointer to the private state for the compressor.
75 * z_comp_alloc - allocate space for a compressor.
85 * Returns the pointer to the private state for the compressor,
126 * z_comp_init - initialize a previously-allocated compressor.
127 * @arg: pointer to the private state for the compressor
136 * specified when the compressor was allocated. The compressor
163 * z_comp_reset - reset a previously-allocated compressor.
164 * @arg: pointer to private state for the compressor.
166 * This clears the history for the compressor and makes it
179 * @arg: pointer to private state for the compressor
264 * z_comp_stats - return compression statistics for a compressor
266 * @arg: pointer to private space for the (de)compressor
569 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 = {
H A Dppp_mppe.c94 * State for an MPPE (de)compressor.
191 * Allocate space for a (de)compressor.
253 * Deallocate space for a (de)compressor.
270 * Initialize (de)compressor state.
347 * tell the compressor to rekey. Note that we MUST NOT rekey for
363 * It's strange to call this a compressor, since the output is always
687 static struct compressor ppp_mppe = {
H A Dppp_generic.c129 struct compressor *xcomp; /* transmit packet compressor 8c */
131 struct compressor *rcomp; /* receive decompressor 94 */
270 static struct compressor *find_compressor(int type);
1204 /* compressor still expects A/C bytes in hdr */ pad_compress_skb()
1221 * frames. The compressor will return -1 if we pad_compress_skb()
1227 netdev_err(ppp->dev, "ppp: compressor dropped pkt\n"); pad_compress_skb()
2425 struct compressor *cp, *ocomp; ppp_set_compress()
2560 /* reset the [de]compressor */ ppp_ccp_peek()
2581 struct compressor *xcomp, *rcomp; ppp_ccp_closed()
2611 struct compressor *comp;
2626 /* Register a compressor */
2628 ppp_register_compressor(struct compressor *cp) ppp_register_compressor()
2648 /* Unregister a compressor */
2650 ppp_unregister_compressor(struct compressor *cp) ppp_unregister_compressor()
2663 /* Find a compressor. */
2664 static struct compressor * find_compressor()
2668 struct compressor *cp = NULL; find_compressor()
H A Dbsd_comp.c87 * the compressor and not expected by the decompressor.
90 * code is output by the compressor. This is because a packet
192 extern int ppp_register_compressor (struct compressor *cp);
193 extern void ppp_unregister_compressor (struct compressor *cp);
349 * Allocate space for a (de) compressor.
1132 static struct compressor ppp_bsd_compress = {
/linux-4.4.14/fs/jffs2/
H A Dcompr.c84 pr_warn("No memory for compressor allocation. Compression failed.\n"); jffs2_selected_compress()
101 * compressor; either way, we're good to go. jffs2_selected_compress()
193 pr_warn("No memory for compressor allocation. (%d bytes)\n", jffs2_compress()
306 pr_warn("NULL compressor name at registering JFFS2 compressor. Failed.\n"); jffs2_register_compressor()
316 jffs2_dbg(1, "Registering JFFS2 compressor \"%s\"\n", comp->name); jffs2_register_compressor()
341 jffs2_dbg(1, "Unregistering JFFS2 compressor \"%s\"\n", comp->name); jffs2_unregister_compressor()
H A Dcompr.h58 int disabled; /* if set the compressor won't compress */
H A Dsuper.c162 * Opt_override_compr: override default compressor
212 pr_err("Error: unknown compressor \"%s\"\n", jffs2_parse_options()
/linux-4.4.14/include/linux/mfd/wm8994/
H A Dpdata.h69 * Multiband compressor configurations are specified with a label and
71 * generated using the multiband compressor configuration panel in
86 * multiband compressor configuration panel in WISCE - see
97 * multiband compressor configuration panel in WISCE - see
108 * the multiband compressor configuration panel in WISCE - see
/linux-4.4.14/mm/
H A Dzswap.c83 /* Crypto compressor to use */
93 module_param_cb(compressor, &zswap_compressor_param_ops,
363 pr_err("can't allocate compressor buffer\n"); __zswap_cpu_dstmem_notifier()
546 /* type and compressor must be null-terminated */ zswap_pool_find_get()
547 static struct zswap_pool *zswap_pool_find_get(char *type, char *compressor) zswap_pool_find_get() argument
554 if (strcmp(pool->tfm_name, compressor)) zswap_pool_find_get()
567 static struct zswap_pool *zswap_pool_create(char *type, char *compressor) zswap_pool_create() argument
589 strlcpy(pool->tfm_name, compressor, sizeof(pool->tfm_name)); zswap_pool_create()
598 pr_debug("using %s compressor\n", pool->tfm_name); zswap_pool_create()
622 pr_err("default compressor %s not available\n", __zswap_pool_create_fallback()
626 pr_err("compressor %s not available, using default %s\n", __zswap_pool_create_fallback()
699 char *type, char *compressor) __zswap_param_set()
721 } else if (!compressor) { __zswap_param_set()
723 pr_err("compressor %s not available\n", s); __zswap_param_set()
726 compressor = s; __zswap_param_set()
734 pool = zswap_pool_find_get(type, compressor); __zswap_param_set()
740 pool = zswap_pool_create(type, compressor); __zswap_param_set()
698 __zswap_param_set(const char *val, const struct kernel_param *kp, char *type, char *compressor) __zswap_param_set() argument
/linux-4.4.14/drivers/isdn/i4l/
H A Disdn_ppp.c297 is->link_compressor = is->compressor = NULL; isdn_ppp_open()
400 is->compressor->free(is->comp_stat); isdn_ppp_release()
407 is->compressor = is->link_compressor = NULL; isdn_ppp_release()
2191 to the (de)compressor, but indeed is not covered by the current API to
2192 the (de)compressor. The API is a prototype version from PPP where only
2199 the framework and the (de)compressor. Bad enough, LZS is different
2200 (and any other compressor may be different, too). It has multiple
2209 the data portion changes, thus any (de)compressor who uses more than
2213 (de)compressor might.
2554 BUG_ON(!stat); // if we have a compressor, stat has been set as well isdn_ppp_decompress()
2615 struct isdn_ppp_compressor *compressor; isdn_ppp_compress() local
2629 compressor = is->compressor; isdn_ppp_compress()
2633 compressor = master->compressor; isdn_ppp_compress()
2639 if (!compressor) { isdn_ppp_compress()
2640 printk(KERN_ERR "isdn_ppp: No compressor set!\n"); isdn_ppp_compress()
2655 ret = (compressor->compress)(stat, skb_in, skb_out, *proto); isdn_ppp_compress()
2768 /* Receiving a ResetReq means we must reset our compressor */ isdn_ppp_receive_ccp()
2777 if (mis->compressor && mis->comp_stat) isdn_ppp_receive_ccp()
2778 mis->compressor-> isdn_ppp_receive_ccp()
2908 /* if we SEND an ackowledge we can/must enable the compressor */ isdn_ppp_send_ccp()
2912 if (!is->compressor) isdn_ppp_send_ccp()
2916 if (!is->compressor) isdn_ppp_send_ccp()
2922 /* If we send a ACK we should reset our compressor */ isdn_ppp_send_ccp()
2928 if (is->compressor && is->comp_stat) isdn_ppp_send_ccp()
2929 is->compressor->reset(is->comp_stat, 0, 0, isdn_ppp_send_ccp()
2979 (data->flags & IPPP_COMP_FLAG_XMIT) ? "compressor" : "decompressor", num); isdn_ppp_set_compressor()
3017 is->compressor->free(is->comp_stat); isdn_ppp_set_compressor()
3019 is->compressor = ipc; isdn_ppp_set_compressor()
H A Disdn_bsdcomp.c302 * Allocate space for a (de) compressor.
/linux-4.4.14/drivers/block/zram/
H A Dzram_drv.c356 sz = zcomp_available_show(zram->compressor, buf); comp_algorithm_show()
377 strlcpy(zram->compressor, buf, sizeof(zram->compressor)); comp_algorithm_store()
380 sz = strlen(zram->compressor); comp_algorithm_store()
381 if (sz > 0 && zram->compressor[sz - 1] == '\n') comp_algorithm_store()
382 zram->compressor[sz - 1] = 0x00; comp_algorithm_store()
1041 comp = zcomp_create(zram->compressor, zram->max_comp_streams); disksize_store()
1044 zram->compressor); disksize_store()
1274 strlcpy(zram->compressor, default_compressor, sizeof(zram->compressor)); zram_add()
H A Dzram_drv.h116 char compressor[10]; member in struct:zram
/linux-4.4.14/lib/842/
H A D842.h63 * the output buffer. This allows the software 842 compressor to accept input
90 * software compressor and decompressor, to allow input buffers that aren't
H A D842_compress.c34 * hardware 842 compressor will not recognize the "short data" template, and
/linux-4.4.14/lib/
H A Ddecompress_unlz4.c25 * Note: Uncompressed chunk size is used in the compressor side
H A Ddecompress_unxz.c24 * compressor is encoding uncompressible data.
60 * to be less than the payload size, but no sane compressor creates such
H A Dinflate.c35 dynamic. The compressor deals with some chunk of data at a time, and
/linux-4.4.14/fs/squashfs/
H A Dxz_wrapper.c65 /* check compressor options are the expected length */ squashfs_xz_comp_opts()
/linux-4.4.14/include/uapi/linux/
H A Dppp-ioctl.h32 #define SC_COMP_RUN 0x00001000 /* compressor has been inited */
/linux-4.4.14/scripts/
H A Dgen_initramfs_list.sh20 gen_init_cpio and compressor depending on the extension
/linux-4.4.14/lib/lz4/
H A Dlz4_compress.c443 MODULE_DESCRIPTION("LZ4 compressor");
H A Dlz4hc_compress.c539 MODULE_DESCRIPTION("LZ4HC compressor");
/linux-4.4.14/drivers/crypto/nx/
H A Dnx-842.c47 * compression, and the raw 842 compressed buffer that the software compressor
/linux-4.4.14/drivers/media/usb/gspca/
H A Dpac7311.c27 * 0x08 Unknown compressor related, must always be 8 except when not
/linux-4.4.14/sound/pci/vx222/
H A Dvx222_ops.c971 * FIXME: compressor/limiter implementation is missing yet...
/linux-4.4.14/drivers/isdn/mISDN/
H A Dl1oip_core.c159 3 is used for generic table compressor.

Completed in 916 milliseconds