| /OK3568_Linux_fs/kernel/fs/hfs/ |
| H A D | trans.c | 39 int srclen, dstlen, size; in hfs_mac2asc() local 46 dstlen = HFS_MAX_NAMELEN; in hfs_mac2asc() 65 size = nls_io->uni2char(ch, dst, dstlen); 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() 123 size = nls_disk->uni2char(ch, dst, dstlen); in hfs_asc2mac() 131 dstlen -= size; in hfs_asc2mac() 134 dstlen--; in hfs_asc2mac() 140 if (dstlen > srclen) in hfs_asc2mac() [all …]
|
| /OK3568_Linux_fs/kernel/fs/jffs2/ |
| H A D | compr_rubin.c | 264 uint32_t *dstlen) in rubin_do_compress() argument 270 init_pushpull(&rs.pp, cpage_out, *dstlen * 8, 0, 32); in rubin_do_compress() 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() 386 uint32_t sourcelen, uint32_t dstlen) in jffs2_rubinmips_decompress() argument [all …]
|
| H A D | compr_rtime.c | 34 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 D | compr_zlib.c | 74 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 D | compr_lzo.c | 44 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()
|
| /OK3568_Linux_fs/kernel/fs/cramfs/ |
| H A D | uncompress.c | 31 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 D | internal.h | 2 int cramfs_uncompress_block(void *dst, int dstlen, void *src, int srclen);
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/mbedtls/ |
| H A D | psa_util.h | 394 size_t *dstlen ) in mbedtls_psa_tls_psa_ec_to_ecpoint() argument 397 *dstlen = srclen; in mbedtls_psa_tls_psa_ec_to_ecpoint() 409 size_t dstlen, in mbedtls_psa_tls_ecpoint_to_psa_ec() argument 412 if( srclen > dstlen ) in mbedtls_psa_tls_ecpoint_to_psa_ec()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/mbedtls/ |
| H A D | psa_util.h | 394 size_t *dstlen ) in mbedtls_psa_tls_psa_ec_to_ecpoint() argument 397 *dstlen = srclen; in mbedtls_psa_tls_psa_ec_to_ecpoint() 409 size_t dstlen, in mbedtls_psa_tls_ecpoint_to_psa_ec() argument 412 if( srclen > dstlen ) in mbedtls_psa_tls_ecpoint_to_psa_ec()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/mbedtls/ |
| H A D | psa_util.h | 394 size_t *dstlen ) in mbedtls_psa_tls_psa_ec_to_ecpoint() argument 397 *dstlen = srclen; in mbedtls_psa_tls_psa_ec_to_ecpoint() 409 size_t dstlen, in mbedtls_psa_tls_ecpoint_to_psa_ec() argument 412 if( srclen > dstlen ) in mbedtls_psa_tls_ecpoint_to_psa_ec()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/mbedtls/ |
| H A D | psa_util.h | 394 size_t *dstlen ) in mbedtls_psa_tls_psa_ec_to_ecpoint() argument 397 *dstlen = srclen; in mbedtls_psa_tls_psa_ec_to_ecpoint() 409 size_t dstlen, in mbedtls_psa_tls_ecpoint_to_psa_ec() argument 412 if( srclen > dstlen ) in mbedtls_psa_tls_ecpoint_to_psa_ec()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/nx-gzip/ |
| H A D | gzfht_test.c | 77 uint32_t dstlen, int with_count, in compress_fht_sample() argument 113 put32(cmdp->crb.target_dde, ddebc, dstlen); in compress_fht_sample() 237 uint32_t srclen, dstlen; in compress_file() local 289 dstlen = NX_MIN(2*srclen, outlen); in compress_file() 301 nxu_touch_pages(dstbuf, dstlen, pagelen, 1); in compress_file() 305 dstbuf, dstlen, in compress_file()
|
| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | gunzip.c | 74 int gunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp) in gunzip() argument 91 return zunzip(dst, dstlen, src, lenp, 1, offset); in gunzip() 287 int zunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp, in zunzip() argument 305 s.avail_out = dstlen; in zunzip()
|
| /OK3568_Linux_fs/kernel/arch/xtensa/boot/lib/ |
| H A D | zmem.c | 35 void gunzip (void *dst, int dstlen, unsigned char *src, int *lenp) in gunzip() argument 71 s.avail_out = dstlen; in gunzip()
|
| /OK3568_Linux_fs/u-boot/fs/jffs2/ |
| H A D | compr_rubin.c | 113 unsigned long sourcelen, unsigned long dstlen) in dynrubin_decompress() argument 121 rubin_do_decompress(bits, data_in+8, cpage_out, dstlen); in dynrubin_decompress()
|
| /OK3568_Linux_fs/kernel/net/caif/ |
| H A D | cfpkt_skbuff.c | 303 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()
|
| /OK3568_Linux_fs/kernel/net/decnet/ |
| H A D | dn_nsp_in.c | 224 int dstlen; in dn_find_listener() local 254 dstlen = dn_username2sockaddr(ptr, len, &dstaddr, &type); in dn_find_listener() 256 if (dstlen < 0) in dn_find_listener() 263 len -= dstlen; in dn_find_listener() 264 ptr += dstlen; in dn_find_listener()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/cavium/nitrox/ |
| H A D | nitrox_aead.c | 182 rctx->dstlen); in nitrox_set_creq() 231 rctx->dstlen = rctx->srclen + aead->authsize; in nitrox_aes_gcm_enc() 265 rctx->dstlen = rctx->srclen - aead->authsize; in nitrox_aes_gcm_dec() 453 aead_rctx->dstlen = aead_rctx->srclen + aead->authsize; in nitrox_rfc4106_enc() 486 aead_rctx->dstlen = aead_rctx->srclen - aead->authsize; in nitrox_rfc4106_dec()
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | rt5677-spi.c | 456 static void rt5677_spi_reverse(u8 *dst, u32 dstlen, const u8 *src, u32 srclen) in rt5677_spi_reverse() argument 459 u32 word_size = min_t(u32, dstlen, 8); in rt5677_spi_reverse() 461 for (w = 0; w < dstlen; w += word_size) { in rt5677_spi_reverse() 462 for (i = 0; i < word_size && i + w < dstlen; i++) { in rt5677_spi_reverse()
|
| /OK3568_Linux_fs/u-boot/include/jffs2/ |
| H A D | compr_rubin.h | 11 unsigned long sourcelen, unsigned long dstlen);
|
| H A D | jffs2.h | 225 unsigned long sourcelen, unsigned long dstlen);
|
| /OK3568_Linux_fs/u-boot/drivers/fpga/ |
| H A D | zynqpl.c | 152 static int zynq_dma_transfer(u32 srcbuf, u32 srclen, u32 dstbuf, u32 dstlen) in zynq_dma_transfer() argument 161 writel(dstlen, &devcfg_base->dma_dst_len); in zynq_dma_transfer()
|
| /OK3568_Linux_fs/kernel/arch/x86/crypto/ |
| H A D | aesni-intel_glue.c | 696 unsigned long len, srclen, dstlen; in gcmaes_crypt_by_sg() local 748 dstlen = scatterwalk_clamp(&dst_sg_walk, left); in gcmaes_crypt_by_sg() 749 len = min(srclen, dstlen); in gcmaes_crypt_by_sg()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/caam/ |
| H A D | caampkc.c | 889 static u8 *caam_read_rsa_crt(const u8 *ptr, size_t nbytes, size_t dstlen) in caam_read_rsa_crt() argument 897 dst = kzalloc(dstlen, GFP_DMA | GFP_KERNEL); in caam_read_rsa_crt() 901 memcpy(dst + (dstlen - nbytes), ptr, nbytes); in caam_read_rsa_crt()
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | common.h | 640 int zunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp,
|