/linux-4.19.296/crypto/ |
D | lz4hc.c | 65 static int __lz4hc_compress_crypto(const u8 *src, unsigned int slen, in __lz4hc_compress_crypto() argument 68 int out_len = LZ4_compress_HC(src, dst, slen, in __lz4hc_compress_crypto() 79 unsigned int slen, u8 *dst, unsigned int *dlen, in lz4hc_scompress() argument 82 return __lz4hc_compress_crypto(src, slen, dst, dlen, ctx); in lz4hc_scompress() 86 unsigned int slen, u8 *dst, in lz4hc_compress_crypto() argument 91 return __lz4hc_compress_crypto(src, slen, dst, dlen, in lz4hc_compress_crypto() 95 static int __lz4hc_decompress_crypto(const u8 *src, unsigned int slen, in __lz4hc_decompress_crypto() argument 98 int out_len = LZ4_decompress_safe(src, dst, slen, *dlen); in __lz4hc_decompress_crypto() 108 unsigned int slen, u8 *dst, unsigned int *dlen, in lz4hc_sdecompress() argument 111 return __lz4hc_decompress_crypto(src, slen, dst, dlen, NULL); in lz4hc_sdecompress() [all …]
|
D | lzo.c | 65 static int __lzo_compress(const u8 *src, unsigned int slen, in __lzo_compress() argument 71 err = lzo1x_1_compress(src, slen, dst, &tmp_len, ctx); in __lzo_compress() 81 unsigned int slen, u8 *dst, unsigned int *dlen) in lzo_compress() argument 85 return __lzo_compress(src, slen, dst, dlen, ctx->lzo_comp_mem); in lzo_compress() 89 unsigned int slen, u8 *dst, unsigned int *dlen, in lzo_scompress() argument 92 return __lzo_compress(src, slen, dst, dlen, ctx); in lzo_scompress() 95 static int __lzo_decompress(const u8 *src, unsigned int slen, in __lzo_decompress() argument 101 err = lzo1x_decompress_safe(src, slen, dst, &tmp_len); in __lzo_decompress() 111 unsigned int slen, u8 *dst, unsigned int *dlen) in lzo_decompress() argument 113 return __lzo_decompress(src, slen, dst, dlen); in lzo_decompress() [all …]
|
D | lz4.c | 66 static int __lz4_compress_crypto(const u8 *src, unsigned int slen, in __lz4_compress_crypto() argument 70 slen, *dlen, ctx); in __lz4_compress_crypto() 80 unsigned int slen, u8 *dst, unsigned int *dlen, in lz4_scompress() argument 83 return __lz4_compress_crypto(src, slen, dst, dlen, ctx); in lz4_scompress() 87 unsigned int slen, u8 *dst, unsigned int *dlen) in lz4_compress_crypto() argument 91 return __lz4_compress_crypto(src, slen, dst, dlen, ctx->lz4_comp_mem); in lz4_compress_crypto() 94 static int __lz4_decompress_crypto(const u8 *src, unsigned int slen, in __lz4_decompress_crypto() argument 97 int out_len = LZ4_decompress_safe(src, dst, slen, *dlen); in __lz4_decompress_crypto() 107 unsigned int slen, u8 *dst, unsigned int *dlen, in lz4_sdecompress() argument 110 return __lz4_decompress_crypto(src, slen, dst, dlen, NULL); in lz4_sdecompress() [all …]
|
D | 842.c | 75 const u8 *src, unsigned int slen, in crypto842_compress() argument 80 return sw842_compress(src, slen, dst, dlen, ctx->wmem); in crypto842_compress() 84 const u8 *src, unsigned int slen, in crypto842_scompress() argument 87 return sw842_compress(src, slen, dst, dlen, ctx); in crypto842_scompress() 91 const u8 *src, unsigned int slen, in crypto842_decompress() argument 94 return sw842_decompress(src, slen, dst, dlen); in crypto842_decompress() 98 const u8 *src, unsigned int slen, in crypto842_sdecompress() argument 101 return sw842_decompress(src, slen, dst, dlen); in crypto842_sdecompress()
|
D | zstd.c | 158 static int __zstd_compress(const u8 *src, unsigned int slen, in __zstd_compress() argument 165 out_len = ZSTD_compressCCtx(zctx->cctx, dst, *dlen, src, slen, params); in __zstd_compress() 173 unsigned int slen, u8 *dst, unsigned int *dlen) in zstd_compress() argument 177 return __zstd_compress(src, slen, dst, dlen, ctx); in zstd_compress() 181 unsigned int slen, u8 *dst, unsigned int *dlen, in zstd_scompress() argument 184 return __zstd_compress(src, slen, dst, dlen, ctx); in zstd_scompress() 187 static int __zstd_decompress(const u8 *src, unsigned int slen, in __zstd_decompress() argument 193 out_len = ZSTD_decompressDCtx(zctx->dctx, dst, *dlen, src, slen); in __zstd_decompress() 201 unsigned int slen, u8 *dst, unsigned int *dlen) in zstd_decompress() argument 205 return __zstd_decompress(src, slen, dst, dlen, ctx); in zstd_decompress() [all …]
|
D | deflate.c | 180 static int __deflate_compress(const u8 *src, unsigned int slen, in __deflate_compress() argument 194 stream->avail_in = slen; in __deflate_compress() 210 unsigned int slen, u8 *dst, unsigned int *dlen) in deflate_compress() argument 214 return __deflate_compress(src, slen, dst, dlen, dctx); in deflate_compress() 218 unsigned int slen, u8 *dst, unsigned int *dlen, in deflate_scompress() argument 221 return __deflate_compress(src, slen, dst, dlen, ctx); in deflate_scompress() 224 static int __deflate_decompress(const u8 *src, unsigned int slen, in __deflate_decompress() argument 239 stream->avail_in = slen; in __deflate_decompress() 266 unsigned int slen, u8 *dst, unsigned int *dlen) in deflate_decompress() argument 270 return __deflate_decompress(src, slen, dst, dlen, dctx); in deflate_decompress() [all …]
|
D | compress.c | 21 const u8 *src, unsigned int slen, in crypto_compress() argument 24 return tfm->__crt_alg->cra_compress.coa_compress(tfm, src, slen, dst, in crypto_compress() 29 const u8 *src, unsigned int slen, in crypto_decompress() argument 32 return tfm->__crt_alg->cra_compress.coa_decompress(tfm, src, slen, dst, in crypto_decompress()
|
D | ansi_cprng.c | 355 const u8 *src, unsigned int slen, in cprng_get_random() argument 370 const u8 *seed, unsigned int slen) in cprng_reset() argument 376 if (slen < DEFAULT_PRNG_KSZ + DEFAULT_BLK_SZ) in cprng_reset() 379 if (slen >= (2 * DEFAULT_BLK_SZ + DEFAULT_PRNG_KSZ)) in cprng_reset() 391 const u8 *src, unsigned int slen, in fips_cprng_get_random() argument 400 const u8 *seed, unsigned int slen) in fips_cprng_reset() argument 408 if (slen < DEFAULT_PRNG_KSZ + DEFAULT_BLK_SZ) in fips_cprng_reset() 415 rc = cprng_reset(tfm, seed, slen); in fips_cprng_reset()
|
D | rng.c | 36 int crypto_rng_reset(struct crypto_rng *tfm, const u8 *seed, unsigned int slen) in crypto_rng_reset() argument 41 if (!seed && slen) { in crypto_rng_reset() 42 buf = kmalloc(slen, GFP_KERNEL); in crypto_rng_reset() 46 err = get_random_bytes_wait(buf, slen); in crypto_rng_reset() 52 err = crypto_rng_alg(tfm)->seed(tfm, seed, slen); in crypto_rng_reset()
|
D | crypto_null.c | 33 unsigned int slen, u8 *dst, unsigned int *dlen) in null_compress() argument 35 if (slen > *dlen) in null_compress() 37 memcpy(dst, src, slen); in null_compress() 38 *dlen = slen; in null_compress()
|
D | scompress.c | 154 if (!req->src || !req->slen || req->slen > SCOMP_SCRATCH_SIZE) { in scomp_acomp_comp_decomp() 167 scatterwalk_map_and_copy(scratch_src, req->src, 0, req->slen, 0); in scomp_acomp_comp_decomp() 169 ret = crypto_scomp_compress(scomp, scratch_src, req->slen, in scomp_acomp_comp_decomp() 172 ret = crypto_scomp_decompress(scomp, scratch_src, req->slen, in scomp_acomp_comp_decomp()
|
D | jitterentropy-kcapi.c | 149 const u8 *src, unsigned int slen, in jent_kcapi_random() argument 163 const u8 *seed, unsigned int slen) in jent_kcapi_reset() argument
|
/linux-4.19.296/include/crypto/internal/ |
D | scompress.h | 37 unsigned int slen, u8 *dst, unsigned int *dlen, 40 unsigned int slen, u8 *dst, unsigned int *dlen, 82 const u8 *src, unsigned int slen, in crypto_scomp_compress() argument 85 return crypto_scomp_alg(tfm)->compress(tfm, src, slen, dst, dlen, ctx); in crypto_scomp_compress() 89 const u8 *src, unsigned int slen, in crypto_scomp_decompress() argument 93 return crypto_scomp_alg(tfm)->decompress(tfm, src, slen, dst, dlen, in crypto_scomp_decompress()
|
/linux-4.19.296/include/crypto/ |
D | rng.h | 48 const u8 *src, unsigned int slen, 50 int (*seed)(struct crypto_rng *tfm, const u8 *seed, unsigned int slen); 142 const u8 *src, unsigned int slen, in crypto_rng_generate() argument 145 return crypto_rng_alg(tfm)->generate(tfm, src, slen, dst, dlen); in crypto_rng_generate() 183 unsigned int slen);
|
D | acompress.h | 35 unsigned int slen; member 227 unsigned int slen, in acomp_request_set_params() argument 232 req->slen = slen; in acomp_request_set_params()
|
/linux-4.19.296/drivers/isdn/i4l/ |
D | isdnhdlc.c | 131 int isdnhdlc_decode(struct isdnhdlc_vars *hdlc, const u8 *src, int slen, in isdnhdlc_decode() argument 172 *count = slen; in isdnhdlc_decode() 174 while (slen > 0) { in isdnhdlc_decode() 181 slen--; in isdnhdlc_decode() 289 *count -= slen; in isdnhdlc_decode() 331 *count -= slen; in isdnhdlc_decode() 354 int isdnhdlc_encode(struct isdnhdlc_vars *hdlc, const u8 *src, u16 slen, in isdnhdlc_encode() argument 363 *count = slen; in isdnhdlc_encode() 366 if ((slen == 1) && (hdlc->state == HDLC_SEND_FAST_FLAG)) in isdnhdlc_encode() 370 if (slen && !hdlc->do_closing) { in isdnhdlc_encode() [all …]
|
/linux-4.19.296/include/linux/isdn/ |
D | hdlc.h | 75 int slen, int *count, u8 *dst, int dsize); 80 u16 slen, int *count, u8 *dst, int dsize);
|
/linux-4.19.296/fs/kernfs/ |
D | symlink.c | 100 int slen = strlen(kn->name); in kernfs_get_target_path() local 102 len -= slen; in kernfs_get_target_path() 103 memcpy(s + len, kn->name, slen); in kernfs_get_target_path()
|
/linux-4.19.296/fs/isofs/ |
D | rock.c | 450 int slen; in parse_rock_ridge_inode_internal() local 453 slen = rr->len - 5; in parse_rock_ridge_inode_internal() 456 while (slen > 1) { in parse_rock_ridge_inode_internal() 477 slen -= slp->len + 2; in parse_rock_ridge_inode_internal() 482 if (slen < 2) { in parse_rock_ridge_inode_internal() 605 int slen; in get_symlink_chunk() local 609 slen = rr->len - 5; in get_symlink_chunk() 611 while (slen > 1) { in get_symlink_chunk() 641 slen -= slp->len + 2; in get_symlink_chunk() 645 if (slen < 2) { in get_symlink_chunk()
|
/linux-4.19.296/fs/udf/ |
D | unicode.c | 379 int udf_get_filename(struct super_block *sb, const uint8_t *sname, int slen, in udf_get_filename() argument 384 if (!slen) in udf_get_filename() 390 ret = udf_name_from_CS0(sb, dname, dlen, sname, slen, 1); in udf_get_filename() 397 int udf_put_filename(struct super_block *sb, const uint8_t *sname, int slen, in udf_put_filename() argument 400 return udf_name_to_CS0(sb, dname, dlen, sname, slen); in udf_put_filename()
|
/linux-4.19.296/include/linux/ |
D | crypto.h | 367 unsigned int slen, u8 *dst, unsigned int *dlen); 369 unsigned int slen, u8 *dst, unsigned int *dlen); 581 const u8 *src, unsigned int slen, 584 const u8 *src, unsigned int slen, 1653 const u8 *src, unsigned int slen, in crypto_comp_compress() argument 1657 src, slen, dst, dlen); in crypto_comp_compress() 1661 const u8 *src, unsigned int slen, in crypto_comp_decompress() argument 1665 src, slen, dst, dlen); in crypto_comp_decompress()
|
/linux-4.19.296/lib/ |
D | string_helpers.c | 548 size_t slen, dlen; in kstrdup_quotable() local 555 slen = strlen(src); in kstrdup_quotable() 557 dlen = string_escape_mem(src, slen, NULL, 0, flags, esc); in kstrdup_quotable() 562 WARN_ON(string_escape_mem(src, slen, dst, dlen, flags, esc) != dlen); in kstrdup_quotable()
|
/linux-4.19.296/drivers/isdn/capi/ |
D | capiutil.c | 656 int slen = 29 + 3 - level; in protocol_message_2_pars() local 667 cdb = bufprint(cdb, "%-*s = 0x%x\n", slen, NAME, *(u8 *) (cmsg->m + cmsg->l)); in protocol_message_2_pars() 671 cdb = bufprint(cdb, "%-*s = 0x%x\n", slen, NAME, *(u16 *) (cmsg->m + cmsg->l)); in protocol_message_2_pars() 675 cdb = bufprint(cdb, "%-*s = 0x%lx\n", slen, NAME, *(u32 *) (cmsg->m + cmsg->l)); in protocol_message_2_pars() 679 cdb = bufprint(cdb, "%-*s = ", slen, NAME); in protocol_message_2_pars() 695 cdb = bufprint(cdb, "%-*s = default\n", slen, NAME); in protocol_message_2_pars() 701 cdb = bufprint(cdb, "%-*s\n", slen, name); in protocol_message_2_pars()
|
/linux-4.19.296/include/linux/netfilter/ |
D | nf_conntrack_sip.h | 68 unsigned int slen; member 81 .slen = (__search) ? sizeof(__search) - 1 : 0, \
|
/linux-4.19.296/fs/overlayfs/ |
D | inode.c | 417 size_t slen = strnlen(s, len) + 1; in ovl_listxattr() local 420 if (WARN_ON(slen > len)) in ovl_listxattr() 423 len -= slen; in ovl_listxattr() 425 res -= slen; in ovl_listxattr() 426 memmove(s, s + slen, len); in ovl_listxattr() 428 s += slen; in ovl_listxattr()
|