Home
last modified time | relevance | path

Searched refs:dstlen (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/linux/fs/hfs/
H A Dtrans.c39 int srclen, dstlen, size; in hfs_mac2asc() local
46 dstlen = HFS_MAX_NAMELEN; in hfs_mac2asc()
73 dstlen -= size; in hfs_mac2asc()
103 int srclen, dstlen, size; in hfs_asc2mac() local
108 dstlen = HFS_NAMELEN; in hfs_asc2mac()
131 dstlen -= size; in hfs_asc2mac()
134 dstlen--; in hfs_asc2mac()
140 if (dstlen > srclen) in hfs_asc2mac()
141 dstlen = srclen; in hfs_asc2mac()
142 while (--dstlen >= 0) in hfs_asc2mac()
[all …]
/openbmc/linux/fs/jffs2/
H A Dcompr_rubin.c264 uint32_t *dstlen) in rubin_do_compress() argument
292 *dstlen = outpos; in rubin_do_compress()
298 uint32_t *sourcelen, uint32_t *dstlen)
301 cpage_out, sourcelen, dstlen);
306 uint32_t *sourcelen, uint32_t *dstlen) in jffs2_dynrubin_compress() argument
315 mydstlen = *dstlen - 8; in jffs2_dynrubin_compress()
317 if (*dstlen <= 12) in jffs2_dynrubin_compress()
364 *dstlen = mydstlen; in jffs2_dynrubin_compress()
389 cpage_out, sourcelen, dstlen); in jffs2_rubinmips_decompress()
395 uint32_t sourcelen, uint32_t dstlen) in jffs2_dynrubin_decompress() argument
[all …]
H A Dcompr_rtime.c34 uint32_t *sourcelen, uint32_t *dstlen) in jffs2_rtime_compress() argument
40 if (*dstlen <= 3) in jffs2_rtime_compress()
45 while (pos < (*sourcelen) && outpos <= (*dstlen)-2) { in jffs2_rtime_compress()
71 *dstlen = outpos; in jffs2_rtime_compress()
H A Dcompr_zlib.c74 uint32_t *sourcelen, uint32_t *dstlen) in jffs2_zlib_compress() argument
78 if (*dstlen <= STREAM_END_SPACE) in jffs2_zlib_compress()
95 while (def_strm.total_out < *dstlen - STREAM_END_SPACE && def_strm.total_in < *sourcelen) { in jffs2_zlib_compress()
96 def_strm.avail_out = *dstlen - (def_strm.total_out + STREAM_END_SPACE); in jffs2_zlib_compress()
133 *dstlen = def_strm.total_out; in jffs2_zlib_compress()
H A Dcompr_lzo.c44 uint32_t *sourcelen, uint32_t *dstlen) in jffs2_lzo_compress() argument
54 if (compress_size > *dstlen) in jffs2_lzo_compress()
60 *dstlen = compress_size; in jffs2_lzo_compress()
/openbmc/linux/fs/cramfs/
H A Duncompress.c31 int cramfs_uncompress_block(void *dst, int dstlen, void *src, int srclen) in cramfs_uncompress_block() argument
39 stream.avail_out = dstlen; in cramfs_uncompress_block()
55 pr_err("%p(%d)->%p(%d)\n", src, srclen, dst, dstlen); in cramfs_uncompress_block()
H A Dinternal.h2 int cramfs_uncompress_block(void *dst, int dstlen, void *src, int srclen);
/openbmc/linux/arch/xtensa/boot/lib/
H A Dzmem.c7 void gunzip(void *dst, int dstlen, unsigned char *src, int *lenp);
36 void gunzip (void *dst, int dstlen, unsigned char *src, int *lenp) in gunzip() argument
72 s.avail_out = dstlen; in gunzip()
/openbmc/linux/tools/testing/selftests/powerpc/nx-gzip/
H A Dgzfht_test.c80 uint32_t dstlen, int with_count, in compress_fht_sample() argument
116 put32(cmdp->crb.target_dde, ddebc, dstlen); in compress_fht_sample()
192 uint32_t srclen, dstlen; in compress_file() local
254 dstlen = NX_MIN(2*srclen, outlen); in compress_file()
266 nxu_touch_pages(dstbuf, dstlen, pagelen, 1); in compress_file()
270 dstbuf, dstlen, in compress_file()
/openbmc/u-boot/board/xilinx/zynq/
H A Dcmds.c432 u32 srcaddr, srclen, dstaddr, dstlen; in zynq_decrypt_image() local
444 dstlen = simple_strtoul(argv[5], &endp, 16); in zynq_decrypt_image()
454 if (dstlen % 4) in zynq_decrypt_image()
455 dstlen = roundup(dstlen, 4); in zynq_decrypt_image()
457 status = zynq_decrypt_load(srcaddr, srclen >> 2, dstaddr, dstlen >> 2); in zynq_decrypt_image()
/openbmc/u-boot/fs/jffs2/
H A Dcompr_rubin.c113 unsigned long sourcelen, unsigned long dstlen) in dynrubin_decompress() argument
121 rubin_do_decompress(bits, data_in+8, cpage_out, dstlen); in dynrubin_decompress()
/openbmc/u-boot/lib/
H A Dgunzip.c72 int gunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp) in gunzip() argument
79 return zunzip(dst, dstlen, src, lenp, 1, offset); in gunzip()
275 int zunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp, in zunzip() argument
293 s.avail_out = dstlen; in zunzip()
/openbmc/u-boot/drivers/fpga/
H A Dzynqpl.c153 static int zynq_dma_transfer(u32 srcbuf, u32 srclen, u32 dstbuf, u32 dstlen) in zynq_dma_transfer() argument
162 writel(dstlen, &devcfg_base->dma_dst_len); in zynq_dma_transfer()
507 int zynq_decrypt_load(u32 srcaddr, u32 srclen, u32 dstaddr, u32 dstlen) in zynq_decrypt_load() argument
534 roundup(dstlen << 2, ARCH_DMA_MINALIGN)); in zynq_decrypt_load()
536 if (zynq_dma_transfer(srcaddr | 1, srclen, dstaddr | 1, dstlen)) in zynq_decrypt_load()
/openbmc/linux/net/caif/
H A Dcfpkt_skbuff.c303 u16 dstlen; in cfpkt_append() local
316 dstlen = skb_headlen(dst); in cfpkt_append()
317 createlen = dstlen + neededtailspace; in cfpkt_append()
322 skb_put_data(tmp, dst->data, dstlen); in cfpkt_append()
/openbmc/u-boot/include/jffs2/
H A Dcompr_rubin.h11 unsigned long sourcelen, unsigned long dstlen);
H A Djffs2.h225 unsigned long sourcelen, unsigned long dstlen);
/openbmc/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_aead.c181 rctx->dstlen); in nitrox_set_creq()
230 rctx->dstlen = rctx->srclen + aead->authsize; in nitrox_aes_gcm_enc()
264 rctx->dstlen = rctx->srclen - aead->authsize; in nitrox_aes_gcm_dec()
452 aead_rctx->dstlen = aead_rctx->srclen + aead->authsize; in nitrox_rfc4106_enc()
485 aead_rctx->dstlen = aead_rctx->srclen - aead->authsize; in nitrox_rfc4106_dec()
H A Dnitrox_req.h239 unsigned int dstlen; member
/openbmc/u-boot/include/
H A Dzynqpl.h15 int zynq_decrypt_load(u32 srcaddr, u32 dstaddr, u32 srclen, u32 dstlen);
H A Dcommon.h434 int zunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp,
/openbmc/linux/sound/soc/codecs/
H A Drt5677-spi.c457 static void rt5677_spi_reverse(u8 *dst, u32 dstlen, const u8 *src, u32 srclen) in rt5677_spi_reverse() argument
460 u32 word_size = min_t(u32, dstlen, 8); in rt5677_spi_reverse()
462 for (w = 0; w < dstlen; w += word_size) { in rt5677_spi_reverse()
463 for (i = 0; i < word_size && i + w < dstlen; i++) { in rt5677_spi_reverse()
/openbmc/qemu/include/hw/
H A Dloader.h265 ssize_t gunzip(void *dst, size_t dstlen, uint8_t *src, size_t srclen);
/openbmc/linux/drivers/crypto/caam/
H A Dcaampkc.c900 static u8 *caam_read_rsa_crt(const u8 *ptr, size_t nbytes, size_t dstlen) in caam_read_rsa_crt() argument
908 dst = kzalloc(dstlen, GFP_KERNEL); in caam_read_rsa_crt()
912 memcpy(dst + (dstlen - nbytes), ptr, nbytes); in caam_read_rsa_crt()
/openbmc/linux/crypto/
H A Ddrbg.c780 static inline void drbg_add_buf(unsigned char *dst, size_t dstlen, in drbg_add_buf() argument
789 dstptr = dst + (dstlen-1); in drbg_add_buf()
797 len = dstlen - addlen; in drbg_add_buf()
/openbmc/qemu/hw/core/
H A Dloader.c559 ssize_t gunzip(void *dst, size_t dstlen, uint8_t *src, size_t srclen) in gunzip() argument
609 s.avail_out = dstlen; in gunzip()

12