Home
last modified time | relevance | path

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

/linux-5.19.10/fs/hfs/ !
Dtrans.c39 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 …]
/linux-5.19.10/fs/jffs2/ !
Dcompr_rubin.c264 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 …]
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()
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()
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()
/linux-5.19.10/fs/cramfs/ !
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()
Dinternal.h2 int cramfs_uncompress_block(void *dst, int dstlen, void *src, int srclen);
/linux-5.19.10/tools/testing/selftests/powerpc/nx-gzip/ !
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()
240 uint32_t srclen, dstlen; in compress_file() local
302 dstlen = NX_MIN(2*srclen, outlen); in compress_file()
314 nxu_touch_pages(dstbuf, dstlen, pagelen, 1); in compress_file()
318 dstbuf, dstlen, in compress_file()
/linux-5.19.10/arch/xtensa/boot/lib/ !
Dzmem.c35 void gunzip (void *dst, int dstlen, unsigned char *src, int *lenp) in gunzip() argument
71 s.avail_out = dstlen; in gunzip()
/linux-5.19.10/net/caif/ !
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()
/linux-5.19.10/net/decnet/ !
Ddn_nsp_in.c225 int dstlen; in dn_find_listener() local
255 dstlen = dn_username2sockaddr(ptr, len, &dstaddr, &type); in dn_find_listener()
257 if (dstlen < 0) in dn_find_listener()
264 len -= dstlen; in dn_find_listener()
265 ptr += dstlen; in dn_find_listener()
/linux-5.19.10/drivers/crypto/cavium/nitrox/ !
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()
Dnitrox_req.h239 unsigned int dstlen; member
/linux-5.19.10/sound/soc/codecs/ !
Drt5677-spi.c456 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()
/linux-5.19.10/drivers/crypto/caam/ !
Dcaampkc.c893 static u8 *caam_read_rsa_crt(const u8 *ptr, size_t nbytes, size_t dstlen) in caam_read_rsa_crt() argument
901 dst = kzalloc(dstlen, GFP_DMA | GFP_KERNEL); in caam_read_rsa_crt()
905 memcpy(dst + (dstlen - nbytes), ptr, nbytes); in caam_read_rsa_crt()
/linux-5.19.10/crypto/ !
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()
/linux-5.19.10/drivers/crypto/chelsio/ !
Dchcr_algo.c643 int srclen = 0, dstlen = 0; in chcr_sg_ent_in_wr() local
665 if (srclen <= dstlen) in chcr_sg_ent_in_wr()
669 dstlen += less; in chcr_sg_ent_in_wr()
686 return min(srclen, dstlen); in chcr_sg_ent_in_wr()