slen 447 arch/powerpc/kernel/iommu.c unsigned long vaddr, npages, entry, slen; slen 449 arch/powerpc/kernel/iommu.c slen = s->length; slen 451 arch/powerpc/kernel/iommu.c if (slen == 0) { slen 457 arch/powerpc/kernel/iommu.c npages = iommu_num_pages(vaddr, slen, IOMMU_PAGE_SIZE(tbl)); slen 459 arch/powerpc/kernel/iommu.c if (tbl->it_page_shift < PAGE_SHIFT && slen >= PAGE_SIZE && slen 465 arch/powerpc/kernel/iommu.c DBG(" - vaddr: %lx, size: %lx\n", vaddr, slen); slen 515 arch/powerpc/kernel/iommu.c outs->dma_length = slen; slen 519 arch/powerpc/kernel/iommu.c dma_next = dma_addr + slen; slen 432 arch/s390/include/asm/cpacf.h [seed] "a" (r4), [slen] "d" (r5), [opc] "i" (CPACF_PRNO) slen 526 arch/s390/include/asm/cpacf.h : [dst] "+a" (r6), [src] "+a" (r2), [slen] "+d" (r3), slen 479 arch/sparc/kernel/iommu.c unsigned long paddr, npages, entry, out_entry = 0, slen; slen 482 arch/sparc/kernel/iommu.c slen = s->length; slen 484 arch/sparc/kernel/iommu.c if (slen == 0) { slen 490 arch/sparc/kernel/iommu.c npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); slen 538 arch/sparc/kernel/iommu.c outs->dma_length = slen; slen 543 arch/sparc/kernel/iommu.c dma_next = dma_addr + slen; slen 523 arch/sparc/kernel/pci_sun4v.c unsigned long paddr, npages, entry, out_entry = 0, slen; slen 525 arch/sparc/kernel/pci_sun4v.c slen = s->length; slen 527 arch/sparc/kernel/pci_sun4v.c if (slen == 0) { slen 533 arch/sparc/kernel/pci_sun4v.c npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); slen 580 arch/sparc/kernel/pci_sun4v.c outs->dma_length = slen; slen 585 arch/sparc/kernel/pci_sun4v.c dma_next = dma_addr + slen; slen 855 block/sed-opal.c u32 clen, plen, slen; slen 869 block/sed-opal.c slen = be32_to_cpu(hdr->subpkt.length); slen 871 block/sed-opal.c clen, plen, slen); slen 873 block/sed-opal.c if (clen == 0 || plen == 0 || slen == 0 || slen 874 block/sed-opal.c slen > IO_BUFFER_LENGTH - sizeof(*hdr)) { slen 876 block/sed-opal.c clen, plen, slen); slen 885 block/sed-opal.c total = slen; slen 66 crypto/842.c const u8 *src, unsigned int slen, slen 71 crypto/842.c return sw842_compress(src, slen, dst, dlen, ctx->wmem); slen 75 crypto/842.c const u8 *src, unsigned int slen, slen 78 crypto/842.c return sw842_compress(src, slen, dst, dlen, ctx); slen 82 crypto/842.c const u8 *src, unsigned int slen, slen 85 crypto/842.c return sw842_decompress(src, slen, dst, dlen); slen 89 crypto/842.c const u8 *src, unsigned int slen, slen 92 crypto/842.c return sw842_decompress(src, slen, dst, dlen); slen 1163 crypto/algapi.c void crypto_stats_compress(unsigned int slen, int ret, struct crypto_alg *alg) slen 1169 crypto/algapi.c atomic64_add(slen, &alg->stats.compress.compress_tlen); slen 1175 crypto/algapi.c void crypto_stats_decompress(unsigned int slen, int ret, struct crypto_alg *alg) slen 1181 crypto/algapi.c atomic64_add(slen, &alg->stats.compress.decompress_tlen); slen 349 crypto/ansi_cprng.c const u8 *src, unsigned int slen, slen 364 crypto/ansi_cprng.c const u8 *seed, unsigned int slen) slen 370 crypto/ansi_cprng.c if (slen < DEFAULT_PRNG_KSZ + DEFAULT_BLK_SZ) slen 373 crypto/ansi_cprng.c if (slen >= (2 * DEFAULT_BLK_SZ + DEFAULT_PRNG_KSZ)) slen 385 crypto/ansi_cprng.c const u8 *src, unsigned int slen, slen 394 crypto/ansi_cprng.c const u8 *seed, unsigned int slen) slen 402 crypto/ansi_cprng.c if (slen < DEFAULT_PRNG_KSZ + DEFAULT_BLK_SZ) slen 409 crypto/ansi_cprng.c rc = cprng_reset(tfm, seed, slen); slen 16 crypto/compress.c const u8 *src, unsigned int slen, slen 19 crypto/compress.c return tfm->__crt_alg->cra_compress.coa_compress(tfm, src, slen, dst, slen 24 crypto/compress.c const u8 *src, unsigned int slen, slen 27 crypto/compress.c return tfm->__crt_alg->cra_compress.coa_decompress(tfm, src, slen, dst, slen 28 crypto/crypto_null.c unsigned int slen, u8 *dst, unsigned int *dlen) slen 30 crypto/crypto_null.c if (slen > *dlen) slen 32 crypto/crypto_null.c memcpy(dst, src, slen); slen 33 crypto/crypto_null.c *dlen = slen; slen 176 crypto/deflate.c static int __deflate_compress(const u8 *src, unsigned int slen, slen 190 crypto/deflate.c stream->avail_in = slen; slen 206 crypto/deflate.c unsigned int slen, u8 *dst, unsigned int *dlen) slen 210 crypto/deflate.c return __deflate_compress(src, slen, dst, dlen, dctx); slen 214 crypto/deflate.c unsigned int slen, u8 *dst, unsigned int *dlen, slen 217 crypto/deflate.c return __deflate_compress(src, slen, dst, dlen, ctx); slen 220 crypto/deflate.c static int __deflate_decompress(const u8 *src, unsigned int slen, slen 235 crypto/deflate.c stream->avail_in = slen; slen 262 crypto/deflate.c unsigned int slen, u8 *dst, unsigned int *dlen) slen 266 crypto/deflate.c return __deflate_decompress(src, slen, dst, dlen, dctx); slen 270 crypto/deflate.c unsigned int slen, u8 *dst, unsigned int *dlen, slen 273 crypto/deflate.c return __deflate_decompress(src, slen, dst, dlen, ctx); slen 1932 crypto/drbg.c const u8 *src, unsigned int slen, slen 1939 crypto/drbg.c if (slen) { slen 1941 crypto/drbg.c drbg_string_fill(&string, src, slen); slen 1952 crypto/drbg.c const u8 *seed, unsigned int slen) slen 1963 crypto/drbg.c if (0 < slen) { slen 1964 crypto/drbg.c drbg_string_fill(&string, seed, slen); slen 144 crypto/jitterentropy-kcapi.c const u8 *src, unsigned int slen, slen 158 crypto/jitterentropy-kcapi.c const u8 *seed, unsigned int slen) slen 53 crypto/lz4.c static int __lz4_compress_crypto(const u8 *src, unsigned int slen, slen 57 crypto/lz4.c slen, *dlen, ctx); slen 67 crypto/lz4.c unsigned int slen, u8 *dst, unsigned int *dlen, slen 70 crypto/lz4.c return __lz4_compress_crypto(src, slen, dst, dlen, ctx); slen 74 crypto/lz4.c unsigned int slen, u8 *dst, unsigned int *dlen) slen 78 crypto/lz4.c return __lz4_compress_crypto(src, slen, dst, dlen, ctx->lz4_comp_mem); slen 81 crypto/lz4.c static int __lz4_decompress_crypto(const u8 *src, unsigned int slen, slen 84 crypto/lz4.c int out_len = LZ4_decompress_safe(src, dst, slen, *dlen); slen 94 crypto/lz4.c unsigned int slen, u8 *dst, unsigned int *dlen, slen 97 crypto/lz4.c return __lz4_decompress_crypto(src, slen, dst, dlen, NULL); slen 101 crypto/lz4.c unsigned int slen, u8 *dst, slen 104 crypto/lz4.c return __lz4_decompress_crypto(src, slen, dst, dlen, NULL); slen 52 crypto/lz4hc.c static int __lz4hc_compress_crypto(const u8 *src, unsigned int slen, slen 55 crypto/lz4hc.c int out_len = LZ4_compress_HC(src, dst, slen, slen 66 crypto/lz4hc.c unsigned int slen, u8 *dst, unsigned int *dlen, slen 69 crypto/lz4hc.c return __lz4hc_compress_crypto(src, slen, dst, dlen, ctx); slen 73 crypto/lz4hc.c unsigned int slen, u8 *dst, slen 78 crypto/lz4hc.c return __lz4hc_compress_crypto(src, slen, dst, dlen, slen 82 crypto/lz4hc.c static int __lz4hc_decompress_crypto(const u8 *src, unsigned int slen, slen 85 crypto/lz4hc.c int out_len = LZ4_decompress_safe(src, dst, slen, *dlen); slen 95 crypto/lz4hc.c unsigned int slen, u8 *dst, unsigned int *dlen, slen 98 crypto/lz4hc.c return __lz4hc_decompress_crypto(src, slen, dst, dlen, NULL); slen 102 crypto/lz4hc.c unsigned int slen, u8 *dst, slen 105 crypto/lz4hc.c return __lz4hc_decompress_crypto(src, slen, dst, dlen, NULL); slen 52 crypto/lzo-rle.c static int __lzorle_compress(const u8 *src, unsigned int slen, slen 58 crypto/lzo-rle.c err = lzorle1x_1_compress(src, slen, dst, &tmp_len, ctx); slen 68 crypto/lzo-rle.c unsigned int slen, u8 *dst, unsigned int *dlen) slen 72 crypto/lzo-rle.c return __lzorle_compress(src, slen, dst, dlen, ctx->lzorle_comp_mem); slen 76 crypto/lzo-rle.c unsigned int slen, u8 *dst, unsigned int *dlen, slen 79 crypto/lzo-rle.c return __lzorle_compress(src, slen, dst, dlen, ctx); slen 82 crypto/lzo-rle.c static int __lzorle_decompress(const u8 *src, unsigned int slen, slen 88 crypto/lzo-rle.c err = lzo1x_decompress_safe(src, slen, dst, &tmp_len); slen 98 crypto/lzo-rle.c unsigned int slen, u8 *dst, unsigned int *dlen) slen 100 crypto/lzo-rle.c return __lzorle_decompress(src, slen, dst, dlen); slen 104 crypto/lzo-rle.c unsigned int slen, u8 *dst, unsigned int *dlen, slen 107 crypto/lzo-rle.c return __lzorle_decompress(src, slen, dst, dlen); slen 52 crypto/lzo.c static int __lzo_compress(const u8 *src, unsigned int slen, slen 58 crypto/lzo.c err = lzo1x_1_compress(src, slen, dst, &tmp_len, ctx); slen 68 crypto/lzo.c unsigned int slen, u8 *dst, unsigned int *dlen) slen 72 crypto/lzo.c return __lzo_compress(src, slen, dst, dlen, ctx->lzo_comp_mem); slen 76 crypto/lzo.c unsigned int slen, u8 *dst, unsigned int *dlen, slen 79 crypto/lzo.c return __lzo_compress(src, slen, dst, dlen, ctx); slen 82 crypto/lzo.c static int __lzo_decompress(const u8 *src, unsigned int slen, slen 88 crypto/lzo.c err = lzo1x_decompress_safe(src, slen, dst, &tmp_len); slen 98 crypto/lzo.c unsigned int slen, u8 *dst, unsigned int *dlen) slen 100 crypto/lzo.c return __lzo_decompress(src, slen, dst, dlen); slen 104 crypto/lzo.c unsigned int slen, u8 *dst, unsigned int *dlen, slen 107 crypto/lzo.c return __lzo_decompress(src, slen, dst, dlen); slen 31 crypto/rng.c int crypto_rng_reset(struct crypto_rng *tfm, const u8 *seed, unsigned int slen) slen 38 crypto/rng.c if (!seed && slen) { slen 39 crypto/rng.c buf = kmalloc(slen, GFP_KERNEL); slen 45 crypto/rng.c err = get_random_bytes_wait(buf, slen); slen 53 crypto/rng.c err = crypto_rng_alg(tfm)->seed(tfm, seed, slen); slen 129 crypto/scompress.c if (!req->src || !req->slen || req->slen > SCOMP_SCRATCH_SIZE) slen 141 crypto/scompress.c scatterwalk_map_and_copy(scratch->src, req->src, 0, req->slen, 0); slen 143 crypto/scompress.c ret = crypto_scomp_compress(scomp, scratch->src, req->slen, slen 146 crypto/scompress.c ret = crypto_scomp_decompress(scomp, scratch->src, req->slen, slen 150 crypto/zstd.c static int __zstd_compress(const u8 *src, unsigned int slen, slen 157 crypto/zstd.c out_len = ZSTD_compressCCtx(zctx->cctx, dst, *dlen, src, slen, params); slen 165 crypto/zstd.c unsigned int slen, u8 *dst, unsigned int *dlen) slen 169 crypto/zstd.c return __zstd_compress(src, slen, dst, dlen, ctx); slen 173 crypto/zstd.c unsigned int slen, u8 *dst, unsigned int *dlen, slen 176 crypto/zstd.c return __zstd_compress(src, slen, dst, dlen, ctx); slen 179 crypto/zstd.c static int __zstd_decompress(const u8 *src, unsigned int slen, slen 185 crypto/zstd.c out_len = ZSTD_decompressDCtx(zctx->dctx, dst, *dlen, src, slen); slen 193 crypto/zstd.c unsigned int slen, u8 *dst, unsigned int *dlen) slen 197 crypto/zstd.c return __zstd_decompress(src, slen, dst, dlen, ctx); slen 201 crypto/zstd.c unsigned int slen, u8 *dst, unsigned int *dlen, slen 204 crypto/zstd.c return __zstd_decompress(src, slen, dst, dlen, ctx); slen 243 drivers/block/aoe/aoedev.c user_req(char *s, size_t slen, struct aoedev *d) slen 253 drivers/block/aoe/aoedev.c if (slen < lim) slen 254 drivers/block/aoe/aoedev.c lim = slen; slen 811 drivers/block/sx8.c size_t slen; slen 843 drivers/block/sx8.c slen = strlen(port->name); slen 844 drivers/block/sx8.c while (slen && (port->name[slen - 1] == ' ')) { slen 845 drivers/block/sx8.c port->name[slen - 1] = 0; slen 846 drivers/block/sx8.c slen--; slen 1164 drivers/crypto/amcc/crypto4xx_core.c const u8 *src, unsigned int slen, slen 1183 drivers/crypto/amcc/crypto4xx_core.c unsigned int slen) slen 122 drivers/crypto/cavium/zip/zip_crypto.c static int zip_compress(const u8 *src, unsigned int slen, slen 144 drivers/crypto/cavium/zip/zip_crypto.c zip_ops->input_len = slen; slen 146 drivers/crypto/cavium/zip/zip_crypto.c memcpy(zip_ops->input, src, slen); slen 158 drivers/crypto/cavium/zip/zip_crypto.c static int zip_decompress(const u8 *src, unsigned int slen, slen 179 drivers/crypto/cavium/zip/zip_crypto.c memcpy(zip_ops->input, src, slen); slen 183 drivers/crypto/cavium/zip/zip_crypto.c zip_ops->input[slen++] = 0; slen 185 drivers/crypto/cavium/zip/zip_crypto.c zip_ops->input_len = slen; slen 227 drivers/crypto/cavium/zip/zip_crypto.c const u8 *src, unsigned int slen, slen 233 drivers/crypto/cavium/zip/zip_crypto.c ret = zip_compress(src, slen, dst, dlen, zip_ctx); slen 239 drivers/crypto/cavium/zip/zip_crypto.c const u8 *src, unsigned int slen, slen 245 drivers/crypto/cavium/zip/zip_crypto.c ret = zip_decompress(src, slen, dst, dlen, zip_ctx); slen 298 drivers/crypto/cavium/zip/zip_crypto.c const u8 *src, unsigned int slen, slen 304 drivers/crypto/cavium/zip/zip_crypto.c ret = zip_compress(src, slen, dst, dlen, zip_ctx); slen 310 drivers/crypto/cavium/zip/zip_crypto.c const u8 *src, unsigned int slen, slen 316 drivers/crypto/cavium/zip/zip_crypto.c ret = zip_decompress(src, slen, dst, dlen, zip_ctx); slen 64 drivers/crypto/cavium/zip/zip_crypto.h const u8 *src, unsigned int slen, slen 67 drivers/crypto/cavium/zip/zip_crypto.h const u8 *src, unsigned int slen, slen 74 drivers/crypto/cavium/zip/zip_crypto.h const u8 *src, unsigned int slen, slen 77 drivers/crypto/cavium/zip/zip_crypto.h const u8 *src, unsigned int slen, slen 429 drivers/crypto/chelsio/chcr_algo.c unsigned int slen, slen 433 drivers/crypto/chelsio/chcr_algo.c unsigned int left_size = slen, len = 0; slen 437 drivers/crypto/chelsio/chcr_algo.c if (!slen) slen 98 drivers/crypto/exynos-rng.c const u8 *seed, unsigned int slen) slen 104 drivers/crypto/exynos-rng.c slen = ALIGN_DOWN(slen, 4); slen 106 drivers/crypto/exynos-rng.c if (slen < EXYNOS_RNG_SEED_SIZE) slen 109 drivers/crypto/exynos-rng.c for (i = 0; i < slen ; i += 4) { slen 195 drivers/crypto/exynos-rng.c const u8 *src, unsigned int slen, slen 226 drivers/crypto/exynos-rng.c unsigned int slen) slen 237 drivers/crypto/exynos-rng.c ret = exynos_rng_set_seed(ctx->rng, seed, slen); slen 1049 drivers/crypto/hifn_795x.c unsigned dlen, unsigned slen, u16 mask, u8 snum) slen 1057 drivers/crypto/hifn_795x.c __cpu_to_le16(slen & HIFN_BASE_CMD_LENMASK_LO); slen 1062 drivers/crypto/hifn_795x.c slen >>= 16; slen 1064 drivers/crypto/hifn_795x.c ((slen << HIFN_BASE_CMD_SRCLEN_S) & HIFN_BASE_CMD_SRCLEN_M) | slen 1071 drivers/crypto/hifn_795x.c u8 *buf, unsigned dlen, unsigned slen, slen 1457 drivers/crypto/hifn_795x.c unsigned slen = min(dst->length - offset, nbytes); slen 1462 drivers/crypto/hifn_795x.c err = ablkcipher_add(&dlen, dst, slen, &nbytes); slen 1468 drivers/crypto/hifn_795x.c copy = slen & ~(HIFN_D_DST_DALIGN - 1); slen 1469 drivers/crypto/hifn_795x.c diff = slen & (HIFN_D_DST_DALIGN - 1); slen 1489 drivers/crypto/hifn_795x.c __func__, dlen, nbytes, slen, offset); slen 94 drivers/crypto/hisilicon/zip/zip_crypto.c dma_addr_t s_addr, dma_addr_t d_addr, u32 slen, slen 99 drivers/crypto/hisilicon/zip/zip_crypto.c sqe->input_data_length = slen - sskip; slen 474 drivers/crypto/hisilicon/zip/zip_crypto.c if (!a_req->src || !a_req->slen || !a_req->dst || !a_req->dlen) slen 492 drivers/crypto/hisilicon/zip/zip_crypto.c hisi_zip_fill_sqe(zip_sqe, qp->req_type, input, output, a_req->slen, slen 282 drivers/crypto/mediatek/mtk-aes.c u32 slen = aes->src.sg_len, dlen = aes->dst.sg_len; slen 286 drivers/crypto/mediatek/mtk-aes.c for (nents = 0; nents < slen; ++nents, ssg = sg_next(ssg)) { slen 334 drivers/crypto/mediatek/mtk-aes.c mtk_aes_write(cryp, CDR_PREP_COUNT(aes->id), MTK_DESC_CNT(slen)); slen 88 drivers/crypto/nx/nx-842.c unsigned int slen, unsigned int dlen) slen 90 drivers/crypto/nx/nx-842.c if (p->iremain < slen) slen 95 drivers/crypto/nx/nx-842.c p->in += slen; slen 96 drivers/crypto/nx/nx-842.c p->iremain -= slen; slen 165 drivers/crypto/nx/nx-842.c unsigned int slen = p->iremain, dlen = p->oremain, tmplen; slen 166 drivers/crypto/nx/nx-842.c unsigned int adj_slen = slen; slen 177 drivers/crypto/nx/nx-842.c if (slen % c->multiple) slen 178 drivers/crypto/nx/nx-842.c adj_slen = round_up(slen, c->multiple); slen 179 drivers/crypto/nx/nx-842.c if (slen < c->minimum) slen 181 drivers/crypto/nx/nx-842.c if (slen > c->maximum) slen 182 drivers/crypto/nx/nx-842.c adj_slen = slen = c->maximum; slen 183 drivers/crypto/nx/nx-842.c if (adj_slen > slen || (u64)src % c->alignment) { slen 185 drivers/crypto/nx/nx-842.c slen = min(slen, BOUNCE_BUFFER_SIZE); slen 186 drivers/crypto/nx/nx-842.c if (adj_slen > slen) slen 187 drivers/crypto/nx/nx-842.c memset(ctx->sbounce + slen, 0, adj_slen - slen); slen 188 drivers/crypto/nx/nx-842.c memcpy(ctx->sbounce, src, slen); slen 190 drivers/crypto/nx/nx-842.c slen = adj_slen; slen 191 drivers/crypto/nx/nx-842.c pr_debug("using comp sbounce buffer, len %x\n", slen); slen 219 drivers/crypto/nx/nx-842.c ret = ctx->driver->compress(src, slen, dst, &dlen, ctx->wmem); slen 236 drivers/crypto/nx/nx-842.c g->uncompressed_length = cpu_to_be32(slen); slen 238 drivers/crypto/nx/nx-842.c if (p->iremain < slen) { slen 239 drivers/crypto/nx/nx-842.c *ignore = slen - p->iremain; slen 240 drivers/crypto/nx/nx-842.c slen = p->iremain; slen 244 drivers/crypto/nx/nx-842.c slen, *ignore, dlen, dskip); slen 246 drivers/crypto/nx/nx-842.c return update_param(p, slen, dskip + dlen); slen 250 drivers/crypto/nx/nx-842.c const u8 *src, unsigned int slen, slen 265 drivers/crypto/nx/nx-842.c p.iremain = slen; slen 327 drivers/crypto/nx/nx-842.c pr_debug("compress total slen %x dlen %x\n", slen, *dlen); slen 341 drivers/crypto/nx/nx-842.c unsigned int slen = be32_to_cpu(g->compressed_length); slen 344 drivers/crypto/nx/nx-842.c unsigned int adj_slen = slen; slen 350 drivers/crypto/nx/nx-842.c if (!slen || !required_len) slen 353 drivers/crypto/nx/nx-842.c if (p->iremain <= 0 || padding + slen > p->iremain) slen 361 drivers/crypto/nx/nx-842.c if (slen % c->multiple) slen 362 drivers/crypto/nx/nx-842.c adj_slen = round_up(slen, c->multiple); slen 363 drivers/crypto/nx/nx-842.c if (slen < c->minimum) slen 365 drivers/crypto/nx/nx-842.c if (slen > c->maximum) slen 367 drivers/crypto/nx/nx-842.c if (slen < adj_slen || (u64)src % c->alignment) { slen 372 drivers/crypto/nx/nx-842.c if (slen < adj_slen) slen 373 drivers/crypto/nx/nx-842.c memset(ctx->sbounce + slen, 0, adj_slen - slen); slen 374 drivers/crypto/nx/nx-842.c memcpy(ctx->sbounce, src, slen); slen 376 drivers/crypto/nx/nx-842.c spadding = adj_slen - slen; slen 377 drivers/crypto/nx/nx-842.c slen = adj_slen; slen 378 drivers/crypto/nx/nx-842.c pr_debug("using decomp sbounce buffer, len %x\n", slen); slen 397 drivers/crypto/nx/nx-842.c ret = ctx->driver->decompress(src, slen, dst, &dlen, ctx->wmem); slen 403 drivers/crypto/nx/nx-842.c slen = be32_to_cpu(g->compressed_length); slen 412 drivers/crypto/nx/nx-842.c ret = sw842_decompress(src, slen, dst, &dlen); slen 417 drivers/crypto/nx/nx-842.c slen -= spadding; slen 427 drivers/crypto/nx/nx-842.c slen, padding, dlen, ignore); slen 429 drivers/crypto/nx/nx-842.c return update_param(p, slen + padding, dlen); slen 433 drivers/crypto/nx/nx-842.c const u8 *src, unsigned int slen, slen 446 drivers/crypto/nx/nx-842.c p.iremain = slen; slen 487 drivers/crypto/nx/nx-842.c if (hdr_len > slen) { slen 508 drivers/crypto/nx/nx-842.c pr_debug("decompress total slen %x dlen %x\n", slen, *dlen); slen 183 drivers/crypto/nx/nx-842.h const u8 *src, unsigned int slen, slen 186 drivers/crypto/nx/nx-842.h const u8 *src, unsigned int slen, slen 71 drivers/crypto/qcom-rng.c const u8 *src, unsigned int slen, slen 93 drivers/crypto/qcom-rng.c unsigned int slen) slen 4 drivers/crypto/sunxi-ss/sun4i-ss-prng.c unsigned int slen) slen 10 drivers/crypto/sunxi-ss/sun4i-ss-prng.c memcpy(algt->ss->seed, seed, slen); slen 16 drivers/crypto/sunxi-ss/sun4i-ss-prng.c unsigned int slen, u8 *dst, unsigned int dlen) slen 214 drivers/crypto/sunxi-ss/sun4i-ss.h unsigned int slen, u8 *dst, unsigned int dlen); slen 215 drivers/crypto/sunxi-ss/sun4i-ss.h int sun4i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen); slen 12 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/vpstate.h u8 slen; slen 56 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vpstate.c h->slen = nvbios_rd08(b, h->offset + 0x3); slen 84 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vpstate.c offset = h->offset + h->hlen + idx * (h->elen + (h->slen * h->scount)); slen 1082 drivers/infiniband/hw/hfi1/verbs.c u32 slen = rvt_get_sge_length(&ss->sge, len); slen 1084 drivers/infiniband/hw/hfi1/verbs.c rvt_update_sge(ss, slen, false); slen 1085 drivers/infiniband/hw/hfi1/verbs.c seg_pio_copy_mid(pbuf, addr, slen); slen 1086 drivers/infiniband/hw/hfi1/verbs.c len -= slen; slen 877 drivers/infiniband/hw/qib/qib_user_sdma.c const size_t slen = iov[idx].iov_len; slen 881 drivers/infiniband/hw/qib/qib_user_sdma.c if (slen & 3 || faddr & 3 || !slen) { slen 888 drivers/infiniband/hw/qib/qib_user_sdma.c bytes_togo += slen; slen 889 drivers/infiniband/hw/qib/qib_user_sdma.c pktnwc += slen >> 2; slen 656 drivers/isdn/capi/capiutil.c int slen = 29 + 3 - level; slen 667 drivers/isdn/capi/capiutil.c cdb = bufprint(cdb, "%-*s = 0x%x\n", slen, NAME, *(u8 *) (cmsg->m + cmsg->l)); slen 671 drivers/isdn/capi/capiutil.c cdb = bufprint(cdb, "%-*s = 0x%x\n", slen, NAME, *(u16 *) (cmsg->m + cmsg->l)); slen 675 drivers/isdn/capi/capiutil.c cdb = bufprint(cdb, "%-*s = 0x%lx\n", slen, NAME, *(u32 *) (cmsg->m + cmsg->l)); slen 679 drivers/isdn/capi/capiutil.c cdb = bufprint(cdb, "%-*s = ", slen, NAME); slen 695 drivers/isdn/capi/capiutil.c cdb = bufprint(cdb, "%-*s = default\n", slen, NAME); slen 701 drivers/isdn/capi/capiutil.c cdb = bufprint(cdb, "%-*s\n", slen, name); slen 118 drivers/isdn/hardware/mISDN/isdnhdlc.c int isdnhdlc_decode(struct isdnhdlc_vars *hdlc, const u8 *src, int slen, slen 159 drivers/isdn/hardware/mISDN/isdnhdlc.c *count = slen; slen 161 drivers/isdn/hardware/mISDN/isdnhdlc.c while (slen > 0) { slen 168 drivers/isdn/hardware/mISDN/isdnhdlc.c slen--; slen 276 drivers/isdn/hardware/mISDN/isdnhdlc.c *count -= slen; slen 318 drivers/isdn/hardware/mISDN/isdnhdlc.c *count -= slen; slen 341 drivers/isdn/hardware/mISDN/isdnhdlc.c int isdnhdlc_encode(struct isdnhdlc_vars *hdlc, const u8 *src, u16 slen, slen 350 drivers/isdn/hardware/mISDN/isdnhdlc.c *count = slen; slen 353 drivers/isdn/hardware/mISDN/isdnhdlc.c if ((slen == 1) && (hdlc->state == HDLC_SEND_FAST_FLAG)) slen 357 drivers/isdn/hardware/mISDN/isdnhdlc.c if (slen && !hdlc->do_closing) { slen 359 drivers/isdn/hardware/mISDN/isdnhdlc.c slen--; slen 360 drivers/isdn/hardware/mISDN/isdnhdlc.c if (slen == 0) slen 390 drivers/isdn/hardware/mISDN/isdnhdlc.c if (slen == 0) { slen 428 drivers/isdn/hardware/mISDN/isdnhdlc.c if (slen == 0) { slen 613 drivers/isdn/hardware/mISDN/isdnhdlc.c *count -= slen; slen 62 drivers/isdn/hardware/mISDN/isdnhdlc.h int slen, int *count, u8 *dst, int dsize); slen 67 drivers/isdn/hardware/mISDN/isdnhdlc.h u16 slen, int *count, u8 *dst, int dsize); slen 3792 drivers/md/md.c size_t slen = len; slen 3798 drivers/md/md.c if (slen == 0 || slen >= sizeof(clevel)) slen 3806 drivers/md/md.c strncpy(mddev->clevel, buf, slen); slen 3807 drivers/md/md.c if (mddev->clevel[slen-1] == '\n') slen 3808 drivers/md/md.c slen--; slen 3809 drivers/md/md.c mddev->clevel[slen] = 0; slen 3839 drivers/md/md.c strncpy(clevel, buf, slen); slen 3840 drivers/md/md.c if (clevel[slen-1] == '\n') slen 3841 drivers/md/md.c slen--; slen 3842 drivers/md/md.c clevel[slen] = 0; slen 168 drivers/media/common/saa7146/saa7146_core.c int slen = 0; slen 180 drivers/media/common/saa7146/saa7146_core.c slen = pci_map_sg(pci,pt->slist,pt->nents,PCI_DMA_FROMDEVICE); slen 181 drivers/media/common/saa7146/saa7146_core.c if (0 == slen) slen 184 drivers/media/common/saa7146/saa7146_core.c if (0 != saa7146_pgtable_build_single(pci, pt, pt->slist, slen)) slen 37 drivers/media/usb/dvb-usb-v2/anysee.c u8 *sbuf, u8 slen, u8 *rbuf, u8 rlen) slen 44 drivers/media/usb/dvb-usb-v2/anysee.c memcpy(&state->buf[0], sbuf, slen); slen 47 drivers/media/usb/dvb-usb-v2/anysee.c dev_dbg(&d->udev->dev, "%s: >>> %*ph\n", __func__, slen, state->buf); slen 359 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c unsigned int slen; slen 367 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c slen = strlen(names[idx]); slen 368 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (slen != len) continue; slen 369 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (memcmp(names[idx],ptr,slen)) continue; slen 393 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c unsigned int slen; slen 402 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c slen = strlen(names[idx]); slen 403 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (slen != len) continue; slen 404 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (memcmp(names[idx],ptr,slen)) continue; slen 150 drivers/net/ethernet/microchip/enc28j60.c int slen = SPI_OPLEN; slen 154 drivers/net/ethernet/microchip/enc28j60.c slen++; slen 157 drivers/net/ethernet/microchip/enc28j60.c ret = spi_write_then_read(priv->spi, tx_buf, 1, rx_buf, slen); slen 162 drivers/net/ethernet/microchip/enc28j60.c val = rx_buf[slen - 1]; slen 1149 drivers/scsi/be2iscsi/be_main.c unsigned short *slen = (unsigned short *)sts_bhs->sense_info; slen 1152 drivers/scsi/be2iscsi/be_main.c sense_len = be16_to_cpu(*slen); slen 44 drivers/scsi/scsi_ioctl.c unsigned int len, slen; slen 56 drivers/scsi/scsi_ioctl.c slen = strlen(string); slen 57 drivers/scsi/scsi_ioctl.c if (len > slen) slen 58 drivers/scsi/scsi_ioctl.c len = slen + 1; slen 1093 drivers/scsi/scsi_transport_fc.c #define fc_vport_store_str_function(field, slen) \ slen 1107 drivers/scsi/scsi_transport_fc.c if (cnt > ((slen) - 1)) \ slen 1358 drivers/scsi/scsi_transport_fc.c #define fc_host_store_str_function(field, slen) \ slen 1371 drivers/scsi/scsi_transport_fc.c if (cnt > ((slen) - 1)) \ slen 371 drivers/spi/spi-loopback-test.c #define RANGE_CHECK(ptr, plen, start, slen) \ slen 372 drivers/spi/spi-loopback-test.c ((ptr >= start) && (ptr + plen <= start + slen)) slen 162 drivers/staging/isdn/hysdn/hycapi.c int slen = strlen(ExtFeatureDefaults); slen 168 drivers/staging/isdn/hysdn/hycapi.c len = CAPI_MSG_BASELEN + 8 + slen + 1; slen 183 drivers/staging/isdn/hysdn/hycapi.c skb_put_data(skb, ExtFeatureDefaults, slen); slen 23 drivers/usb/mon/mon_stat.c int slen; slen 38 drivers/usb/mon/mon_stat.c sp->slen = snprintf(sp->str, STAT_BUF_SIZE, slen 51 drivers/usb/mon/mon_stat.c return simple_read_from_buffer(buf, nbytes, ppos, sp->str, sp->slen); slen 768 drivers/video/fbdev/matrox/matroxfb_maven.c unsigned int slen; slen 776 drivers/video/fbdev/matrox/matroxfb_maven.c slen = mt->HSyncEnd - mt->HSyncStart; slen 777 drivers/video/fbdev/matrox/matroxfb_maven.c hcrt = mt->HTotal - slen - mt->delay; slen 101 fs/afs/dir_silly.c int slen; slen 109 fs/afs/dir_silly.c slen = scnprintf(silly, sizeof(silly), ".__afs%04X", sillycounter); slen 110 fs/afs/dir_silly.c sdentry = lookup_one_len(silly, dentry->d_parent, slen); slen 5290 fs/btrfs/send.c u64 slen; slen 5292 fs/btrfs/send.c slen = ALIGN_DOWN(src_end - clone_root->offset, slen 5294 fs/btrfs/send.c if (slen > 0) { slen 5295 fs/btrfs/send.c ret = send_clone(sctx, offset, slen, slen 5300 fs/btrfs/send.c ret = send_extent_data(sctx, offset + slen, slen 5301 fs/btrfs/send.c clone_len - slen); slen 3864 fs/cifs/connect.c int slen, sfamily; slen 3872 fs/cifs/connect.c slen = sizeof(struct sockaddr_in6); slen 3876 fs/cifs/connect.c slen = sizeof(struct sockaddr_in); slen 3932 fs/cifs/connect.c rc = socket->ops->connect(socket, saddr, slen, slen 154 fs/cifs/netmisc.c int rc, alen, slen; slen 177 fs/cifs/netmisc.c slen = len - (alen + 1); slen 178 fs/cifs/netmisc.c if (slen <= 0 || slen > 12) slen 180 fs/cifs/netmisc.c memcpy(scope_id, pct + 1, slen); slen 181 fs/cifs/netmisc.c scope_id[slen] = '\0'; slen 148 fs/f2fs/namei.c size_t slen = strlen(s); slen 156 fs/f2fs/namei.c if (slen < sublen + 2) slen 159 fs/f2fs/namei.c for (i = 1; i < slen - sublen; i++) { slen 450 fs/isofs/rock.c int slen; slen 453 fs/isofs/rock.c slen = rr->len - 5; slen 456 fs/isofs/rock.c while (slen > 1) { slen 477 fs/isofs/rock.c slen -= slp->len + 2; slen 482 fs/isofs/rock.c if (slen < 2) { slen 605 fs/isofs/rock.c int slen; slen 609 fs/isofs/rock.c slen = rr->len - 5; slen 611 fs/isofs/rock.c while (slen > 1) { slen 641 fs/isofs/rock.c slen -= slp->len + 2; slen 645 fs/isofs/rock.c if (slen < 2) { slen 99 fs/kernfs/symlink.c int slen = strlen(kn->name); slen 101 fs/kernfs/symlink.c len -= slen; slen 102 fs/kernfs/symlink.c memcpy(s + len, kn->name, slen); slen 455 fs/nfs/unlink.c int slen; slen 458 fs/nfs/unlink.c slen = scnprintf(silly, sizeof(silly), slen 466 fs/nfs/unlink.c sdentry = lookup_one_len(silly, dentry->d_parent, slen); slen 922 fs/nfsd/nfs3xdr.c int slen; /* string (name) length */ slen 948 fs/nfsd/nfs3xdr.c slen = XDR_QUADLEN(namlen); slen 949 fs/nfsd/nfs3xdr.c elen = slen + NFS3_ENTRY_BAGGAGE slen 523 fs/nfsd/nfsxdr.c int buflen, slen; slen 539 fs/nfsd/nfsxdr.c slen = XDR_QUADLEN(namlen); slen 541 fs/nfsd/nfsxdr.c if ((buflen = cd->buflen - slen - 4) < 0) { slen 44 fs/overlayfs/copy_up.c size_t slen; slen 67 fs/overlayfs/copy_up.c for (name = buf; list_size; name += slen) { slen 68 fs/overlayfs/copy_up.c slen = strnlen(name, list_size) + 1; slen 71 fs/overlayfs/copy_up.c if (WARN_ON(slen > list_size)) { slen 75 fs/overlayfs/copy_up.c list_size -= slen; slen 412 fs/overlayfs/inode.c size_t slen = strnlen(s, len) + 1; slen 415 fs/overlayfs/inode.c if (WARN_ON(slen > len)) slen 418 fs/overlayfs/inode.c len -= slen; slen 420 fs/overlayfs/inode.c res -= slen; slen 421 fs/overlayfs/inode.c memmove(s, s + slen, len); slen 423 fs/overlayfs/inode.c s += slen; slen 379 fs/udf/unicode.c int udf_get_filename(struct super_block *sb, const uint8_t *sname, int slen, slen 384 fs/udf/unicode.c if (!slen) slen 390 fs/udf/unicode.c ret = udf_name_from_CS0(sb, dname, dlen, sname, slen, 1); slen 397 fs/udf/unicode.c int udf_put_filename(struct super_block *sb, const uint8_t *sname, int slen, slen 400 fs/udf/unicode.c return udf_name_to_CS0(sb, dname, dlen, sname, slen); slen 2973 fs/unicode/mkutf8data.c unsigned int slen; slen 3003 fs/unicode/mkutf8data.c u8c->slen = 0; slen 3145 fs/unicode/mkutf8data.c u8c->slen = u8c->len; slen 3160 fs/unicode/mkutf8data.c u8c->len = u8c->slen; slen 3167 fs/unicode/mkutf8data.c u8c->slen = 0; slen 596 fs/unicode/utf8-norm.c u8c->slen = 0; slen 742 fs/unicode/utf8-norm.c u8c->slen = u8c->len; slen 757 fs/unicode/utf8-norm.c u8c->len = u8c->slen; slen 764 fs/unicode/utf8-norm.c u8c->slen = 0; slen 84 fs/unicode/utf8n.h unsigned int slen; slen 997 fs/xfs/libxfs/xfs_alloc.c xfs_extlen_t *slen, /* extent length */ slen 1016 fs/xfs/libxfs/xfs_alloc.c error = xfs_alloc_get_rec(*scur, sbno, slen, &i); slen 1020 fs/xfs/libxfs/xfs_alloc.c xfs_alloc_compute_aligned(args, *sbno, *slen, slen 1163 fs/xfs/xfs_rtalloc.c long slen = (long)*len; slen 1167 fs/xfs/xfs_rtalloc.c xfs_trans_mod_sb(tp, XFS_TRANS_SB_RES_FREXTENTS, -slen); slen 1169 fs/xfs/xfs_rtalloc.c xfs_trans_mod_sb(tp, XFS_TRANS_SB_FREXTENTS, -slen); slen 30 include/crypto/acompress.h unsigned int slen; slen 220 include/crypto/acompress.h unsigned int slen, slen 225 include/crypto/acompress.h req->slen = slen; slen 245 include/crypto/acompress.h unsigned int slen = req->slen; slen 250 include/crypto/acompress.h crypto_stats_compress(slen, ret, alg); slen 267 include/crypto/acompress.h unsigned int slen = req->slen; slen 272 include/crypto/acompress.h crypto_stats_decompress(slen, ret, alg); slen 32 include/crypto/internal/scompress.h unsigned int slen, u8 *dst, unsigned int *dlen, slen 35 include/crypto/internal/scompress.h unsigned int slen, u8 *dst, unsigned int *dlen, slen 77 include/crypto/internal/scompress.h const u8 *src, unsigned int slen, slen 80 include/crypto/internal/scompress.h return crypto_scomp_alg(tfm)->compress(tfm, src, slen, dst, dlen, ctx); slen 84 include/crypto/internal/scompress.h const u8 *src, unsigned int slen, slen 88 include/crypto/internal/scompress.h return crypto_scomp_alg(tfm)->decompress(tfm, src, slen, dst, dlen, slen 43 include/crypto/rng.h const u8 *src, unsigned int slen, slen 45 include/crypto/rng.h int (*seed)(struct crypto_rng *tfm, const u8 *seed, unsigned int slen); slen 135 include/crypto/rng.h const u8 *src, unsigned int slen, slen 142 include/crypto/rng.h ret = crypto_rng_alg(tfm)->generate(tfm, src, slen, dst, dlen); slen 182 include/crypto/rng.h unsigned int slen); slen 338 include/linux/crypto.h unsigned int slen, u8 *dst, unsigned int *dlen); slen 340 include/linux/crypto.h unsigned int slen, u8 *dst, unsigned int *dlen); slen 607 include/linux/crypto.h void crypto_stats_compress(unsigned int slen, int ret, struct crypto_alg *alg); slen 608 include/linux/crypto.h void crypto_stats_decompress(unsigned int slen, int ret, struct crypto_alg *alg); slen 641 include/linux/crypto.h static inline void crypto_stats_compress(unsigned int slen, int ret, struct crypto_alg *alg) slen 643 include/linux/crypto.h static inline void crypto_stats_decompress(unsigned int slen, int ret, struct crypto_alg *alg) slen 749 include/linux/crypto.h const u8 *src, unsigned int slen, slen 752 include/linux/crypto.h const u8 *src, unsigned int slen, slen 1835 include/linux/crypto.h const u8 *src, unsigned int slen, slen 1839 include/linux/crypto.h src, slen, dst, dlen); slen 1843 include/linux/crypto.h const u8 *src, unsigned int slen, slen 1847 include/linux/crypto.h src, slen, dst, dlen); slen 67 include/linux/netfilter/nf_conntrack_sip.h unsigned int slen; slen 80 include/linux/netfilter/nf_conntrack_sip.h .slen = (__search) ? sizeof(__search) - 1 : 0, \ slen 31 include/net/seg6_hmac.h u8 slen; slen 1943 kernel/audit.c size_t slen) slen 1955 kernel/audit.c new_len = slen + 3; /* enclosing quotes + null terminator */ slen 1963 kernel/audit.c memcpy(ptr, string, slen); slen 1964 kernel/audit.c ptr += slen; slen 1967 kernel/audit.c skb_put(skb, slen + 2); /* don't include null terminator */ slen 41 kernel/debug/kdb/kdb_io.c int slen = strlen(buffer); slen 42 kernel/debug/kdb/kdb_io.c if (slen > 3 && buffer[slen - 3] == '#') { slen 3679 kernel/trace/ftrace.c int slen; slen 3697 kernel/trace/ftrace.c slen = strlen(str); slen 3698 kernel/trace/ftrace.c if (slen >= g->len && slen 3699 kernel/trace/ftrace.c memcmp(str + slen - g->len, g->search, g->len) == 0) slen 579 kernel/trace/trace_functions_graph.c size_t slen = min_t(size_t, sizeof(nsecs_str), 8UL - len); slen 581 kernel/trace/trace_functions_graph.c snprintf(nsecs_str, slen, "%03lu", nsecs_rem); slen 571 lib/string_helpers.c size_t slen, dlen; slen 578 lib/string_helpers.c slen = strlen(src); slen 580 lib/string_helpers.c dlen = string_escape_mem(src, slen, NULL, 0, flags, esc); slen 585 lib/string_helpers.c WARN_ON(string_escape_mem(src, slen, dst, dlen, flags, esc) != dlen); slen 2456 net/core/skbuff.c int slen, ret; slen 2465 net/core/skbuff.c slen = min_t(int, len, skb_headlen(skb) - offset); slen 2467 net/core/skbuff.c kv.iov_len = slen; slen 2471 net/core/skbuff.c ret = kernel_sendmsg_locked(sk, &msg, &kv, 1, slen); slen 2499 net/core/skbuff.c slen = min_t(size_t, len, skb_frag_size(frag) - offset); slen 2501 net/core/skbuff.c while (slen) { slen 2504 net/core/skbuff.c slen, MSG_DONTWAIT); slen 2510 net/core/skbuff.c slen -= ret; slen 1019 net/dccp/feat.c static int dccp_feat_preflist_match(u8 *servlist, u8 slen, u8 *clilist, u8 clen) slen 1023 net/dccp/feat.c for (s = 0; s < slen; s++) slen 597 net/dccp/proto.c int err = -ENOENT, slen = 0, total_len = sizeof(u32); slen 601 net/dccp/proto.c slen = sl->dccpsl_nr * sizeof(u32); slen 602 net/dccp/proto.c total_len += slen; slen 612 net/dccp/proto.c (sl != NULL && copy_to_user(optval + 1, sl->dccpsl_list, slen))) slen 245 net/dns_resolver/dns_key.c int slen, dlen, ret = 0; slen 256 net/dns_resolver/dns_key.c slen = strlen(src); slen 258 net/dns_resolver/dns_key.c if (slen <= 0 || dlen <= 0) slen 260 net/dns_resolver/dns_key.c if (src[slen - 1] == '.') slen 261 net/dns_resolver/dns_key.c slen--; slen 264 net/dns_resolver/dns_key.c if (slen != dlen || strncasecmp(src, dsp, slen) != 0) slen 205 net/ieee802154/header_ops.c int dlen, slen; slen 208 net/ieee802154/header_ops.c slen = ieee802154_hdr_addr_len(hdr->fc.source_addr_mode, slen 211 net/ieee802154/header_ops.c if (slen < 0 || dlen < 0) slen 214 net/ieee802154/header_ops.c return 3 + dlen + slen + hdr->fc.security_enabled; slen 1994 net/ipv4/fib_semantics.c u8 slen = 32 - res->prefixlen; slen 2004 net/ipv4/fib_semantics.c if (fa->fa_slen != slen) slen 124 net/ipv4/fib_trie.c unsigned char slen; slen 369 net/ipv4/fib_trie.c l->slen = fa->fa_slen; slen 403 net/ipv4/fib_trie.c tn->slen = pos; slen 442 net/ipv4/fib_trie.c if (n && (tn->slen < n->slen)) slen 443 net/ipv4/fib_trie.c tn->slen = n->slen; slen 712 net/ipv4/fib_trie.c unsigned char slen = tn->pos; slen 720 net/ipv4/fib_trie.c slen_max = min_t(unsigned char, tn->pos + tn->bits - 1, tn->slen); slen 730 net/ipv4/fib_trie.c if (!n || (n->slen <= slen)) slen 734 net/ipv4/fib_trie.c stride <<= (n->slen - slen); slen 735 net/ipv4/fib_trie.c slen = n->slen; slen 739 net/ipv4/fib_trie.c if (slen >= slen_max) slen 743 net/ipv4/fib_trie.c tn->slen = slen; slen 745 net/ipv4/fib_trie.c return slen; slen 914 net/ipv4/fib_trie.c static void node_pull_suffix(struct key_vector *tn, unsigned char slen) slen 916 net/ipv4/fib_trie.c unsigned char node_slen = tn->slen; slen 918 net/ipv4/fib_trie.c while ((node_slen > tn->pos) && (node_slen > slen)) { slen 919 net/ipv4/fib_trie.c slen = update_suffix(tn); slen 920 net/ipv4/fib_trie.c if (node_slen == slen) slen 924 net/ipv4/fib_trie.c node_slen = tn->slen; slen 928 net/ipv4/fib_trie.c static void node_push_suffix(struct key_vector *tn, unsigned char slen) slen 930 net/ipv4/fib_trie.c while (tn->slen < slen) { slen 931 net/ipv4/fib_trie.c tn->slen = slen; slen 982 net/ipv4/fib_trie.c static struct fib_alias *fib_find_alias(struct hlist_head *fah, u8 slen, slen 991 net/ipv4/fib_trie.c if (fa->fa_slen < slen) slen 993 net/ipv4/fib_trie.c if (fa->fa_slen != slen) slen 1095 net/ipv4/fib_trie.c if (l->slen < new->fa_slen) { slen 1096 net/ipv4/fib_trie.c l->slen = new->fa_slen; slen 1130 net/ipv4/fib_trie.c u8 slen = KEYLENGTH - plen; slen 1149 net/ipv4/fib_trie.c fa = l ? fib_find_alias(&l->leaf, slen, tos, fi->fib_priority, slen 1179 net/ipv4/fib_trie.c if ((fa->fa_slen != slen) || slen 1266 net/ipv4/fib_trie.c new_fa->fa_slen = slen; slen 1366 net/ipv4/fib_trie.c if (n->slen > n->pos) { slen 1385 net/ipv4/fib_trie.c if (unlikely(prefix_mismatch(key, n)) || (n->slen == n->pos)) slen 1529 net/ipv4/fib_trie.c if (tp->slen == l->slen) slen 1542 net/ipv4/fib_trie.c l->slen = fa->fa_slen; slen 1554 net/ipv4/fib_trie.c u8 slen = KEYLENGTH - plen; slen 1567 net/ipv4/fib_trie.c fa = fib_find_alias(&l->leaf, slen, tos, 0, tb->tb_id); slen 1577 net/ipv4/fib_trie.c if ((fa->fa_slen != slen) || slen 1802 net/ipv4/fib_trie.c unsigned char slen = 0; slen 1813 net/ipv4/fib_trie.c if (pn->slen > pn->pos) slen 1847 net/ipv4/fib_trie.c slen = fa->fa_slen; slen 1851 net/ipv4/fib_trie.c n->slen = slen; slen 1872 net/ipv4/fib_trie.c unsigned char slen = 0; slen 1883 net/ipv4/fib_trie.c if (pn->slen > pn->pos) slen 1912 net/ipv4/fib_trie.c slen = fa->fa_slen; slen 1920 net/ipv4/fib_trie.c slen = fa->fa_slen; slen 1935 net/ipv4/fib_trie.c n->slen = slen; slen 2244 net/ipv4/fib_trie.c t->kv[0].slen = KEYLENGTH; slen 92 net/ipv6/seg6.c u8 slen; slen 102 net/ipv6/seg6.c slen = nla_get_u8(info->attrs[SEG6_ATTR_SECRETLEN]); slen 108 net/ipv6/seg6.c if (slen > SEG6_HMAC_SECRET_LEN) slen 114 net/ipv6/seg6.c if (!slen) { slen 142 net/ipv6/seg6.c memcpy(hinfo->secret, secret, slen); slen 143 net/ipv6/seg6.c hinfo->slen = slen; slen 234 net/ipv6/seg6.c nla_put_u8(msg, SEG6_ATTR_SECRETLEN, hinfo->slen) || slen 235 net/ipv6/seg6.c nla_put(msg, SEG6_ATTR_SECRET, hinfo->slen, hinfo->secret) || slen 141 net/ipv6/seg6_hmac.c ret = crypto_shash_setkey(tfm, hinfo->secret, hinfo->slen); slen 418 net/netfilter/nf_conntrack_sip.c hdr->slen); slen 421 net/netfilter/nf_conntrack_sip.c dptr += hdr->slen; slen 450 net/netfilter/nf_conntrack_sip.c dptr = ct_sip_header_search(dptr, limit, hdr->search, hdr->slen); slen 453 net/netfilter/nf_conntrack_sip.c dptr += hdr->slen; slen 765 net/netfilter/nf_conntrack_sip.c hdr->slen); slen 768 net/netfilter/nf_conntrack_sip.c dptr += hdr->slen; slen 1680 net/sched/sch_cake.c unsigned int slen = 0, numsegs = 0; slen 1697 net/sched/sch_cake.c slen += segs->len; slen 1704 net/sched/sch_cake.c b->bytes += slen; slen 1705 net/sched/sch_cake.c b->backlogs[idx] += slen; slen 1706 net/sched/sch_cake.c b->tin_backlog += slen; slen 1707 net/sched/sch_cake.c sch->qstats.backlog += slen; slen 1708 net/sched/sch_cake.c q->avg_window_bytes += slen; slen 1710 net/sched/sch_cake.c qdisc_tree_reduce_backlog(sch, 1-numsegs, len-slen); slen 411 net/sunrpc/auth_gss/gss_krb5_mech.c int slen = strlen(sigkeyconstant) + 1; /* include null terminator */ slen 442 net/sunrpc/auth_gss/gss_krb5_mech.c err = crypto_shash_digest(desc, sigkeyconstant, slen, ctx->cksum); slen 119 net/sunrpc/svc_xprt.c int slen; slen 122 net/sunrpc/svc_xprt.c slen = strlen(tmpstr); slen 123 net/sunrpc/svc_xprt.c if (len + slen > maxlen) slen 125 net/sunrpc/svc_xprt.c len += slen; slen 801 net/sunrpc/svcauth_unix.c u32 slen, i; slen 809 net/sunrpc/svcauth_unix.c slen = XDR_QUADLEN(svc_getnl(argv)); /* machname length */ slen 810 net/sunrpc/svcauth_unix.c if (slen > 64 || (len -= (slen + 3)*4) < 0) slen 812 net/sunrpc/svcauth_unix.c argv->iov_base = (void*)((__be32*)argv->iov_base + slen); /* skip machname */ slen 813 net/sunrpc/svcauth_unix.c argv->iov_len -= slen*4; slen 825 net/sunrpc/svcauth_unix.c slen = svc_getnl(argv); /* gids length */ slen 826 net/sunrpc/svcauth_unix.c if (slen > UNX_NGROUPS || (len -= (slen + 2)*4) < 0) slen 828 net/sunrpc/svcauth_unix.c cred->cr_group_info = groups_alloc(slen); slen 831 net/sunrpc/svcauth_unix.c for (i = 0; i < slen; i++) { slen 190 net/sunrpc/svcsock.c int slen; slen 193 net/sunrpc/svcsock.c slen = xdr->len; slen 196 net/sunrpc/svcsock.c if (slen == xdr->head[0].iov_len) slen 202 net/sunrpc/svcsock.c slen -= xdr->head[0].iov_len; slen 203 net/sunrpc/svcsock.c if (slen == 0) slen 209 net/sunrpc/svcsock.c if (slen == size) slen 216 net/sunrpc/svcsock.c slen -= size; slen 784 net/sunrpc/svcsock.c int err, slen; slen 810 net/sunrpc/svcsock.c slen = err; slen 838 net/sunrpc/svcsock.c svc_xprt_set_remote(&newsvsk->sk_xprt, sin, slen); slen 840 net/sunrpc/svcsock.c slen = err; slen 843 net/sunrpc/svcsock.c slen = offsetof(struct sockaddr, sa_data); slen 845 net/sunrpc/svcsock.c svc_xprt_set_local(&newsvsk->sk_xprt, sin, slen); slen 219 samples/bpf/cookie_uid_helper_example.c socklen_t slen = sizeof(si_other); slen 241 samples/bpf/cookie_uid_helper_example.c (struct sockaddr *)&si_other, slen); slen 247 samples/bpf/cookie_uid_helper_example.c (struct sockaddr *)&si_me, &slen); slen 146 scripts/basic/fixdep.c static void print_dep(const char *m, int slen, const char *dir) slen 151 scripts/basic/fixdep.c for (i = 0; i < slen; i++) { slen 220 scripts/basic/fixdep.c static void use_config(const char *m, int slen) slen 222 scripts/basic/fixdep.c unsigned int hash = strhash(m, slen); slen 224 scripts/basic/fixdep.c if (is_defined_config(m, slen, hash)) slen 227 scripts/basic/fixdep.c define_config(m, slen, hash); slen 228 scripts/basic/fixdep.c print_dep(m, slen, "include/config"); slen 232 scripts/basic/fixdep.c static int str_ends_with(const char *s, int slen, const char *sub) slen 236 scripts/basic/fixdep.c if (sublen > slen) slen 239 scripts/basic/fixdep.c return !memcmp(s + slen - sublen, sub, sublen); slen 96 scripts/dtc/libfdt/fdt_ro.c int slen; slen 97 scripts/dtc/libfdt/fdt_ro.c const char *p = fdt_get_string(fdt, stroffset, &slen); slen 99 scripts/dtc/libfdt/fdt_ro.c return p && (slen == len) && (memcmp(p, s, len) == 0); slen 296 scripts/kconfig/confdata.c static int add_byte(int c, char **lineptr, size_t slen, size_t *n) slen 299 scripts/kconfig/confdata.c size_t new_size = slen + 1; slen 311 scripts/kconfig/confdata.c (*lineptr)[slen] = c; slen 319 scripts/kconfig/confdata.c size_t slen = 0; slen 326 scripts/kconfig/confdata.c if (add_byte(c, &line, slen, n) < 0) slen 328 scripts/kconfig/confdata.c slen++; slen 331 scripts/kconfig/confdata.c if (add_byte('\0', &line, slen, n) < 0) slen 334 scripts/kconfig/confdata.c if (slen == 0) slen 336 scripts/kconfig/confdata.c return slen; slen 338 scripts/kconfig/confdata.c if (add_byte(c, &line, slen, n) < 0) slen 340 scripts/kconfig/confdata.c slen++; slen 345 scripts/kconfig/confdata.c line[slen-1] = '\0'; slen 824 scripts/mod/modpost.c int slen, sublen; slen 829 scripts/mod/modpost.c slen = strlen(s); slen 832 scripts/mod/modpost.c if ((slen == 0) || (sublen == 0)) slen 835 scripts/mod/modpost.c if (sublen > slen) slen 838 scripts/mod/modpost.c return memcmp(s + slen - sublen, sub, sublen); slen 1060 security/apparmor/lsm.c int slen, error = 0; slen 1070 security/apparmor/lsm.c slen = aa_label_asxprint(&name, labels_ns(label), peer, slen 1074 security/apparmor/lsm.c if (slen < 0) { slen 1077 security/apparmor/lsm.c if (slen > len) { slen 1079 security/apparmor/lsm.c } else if (copy_to_user(optval, name, slen)) { slen 1083 security/apparmor/lsm.c if (put_user(slen, optlen)) slen 143 security/keys/dh.c static int kdf_ctr(struct kdf_sdesc *sdesc, const u8 *src, unsigned int slen, slen 177 security/keys/dh.c if (src && slen) { slen 178 security/keys/dh.c err = crypto_shash_update(desc, src, slen); slen 1584 security/selinux/ss/services.c u32 slen, tlen, nlen; slen 1587 security/selinux/ss/services.c if (context_struct_to_string(policydb, scontext, &s, &slen)) slen 526 security/smack/smack_access.c int slen; slen 554 security/smack/smack_access.c slen = strlen(smack); slen 555 security/smack/smack_access.c if (slen < SMK_CIPSOLEN) slen 557 security/smack/smack_access.c &skp->smk_netlabel, slen); slen 3484 security/smack/smack_lsm.c int slen; slen 3493 security/smack/smack_lsm.c slen = strlen(cp); slen 3495 security/smack/smack_lsm.c return slen; slen 3954 security/smack/smack_lsm.c int slen = 1; slen 3960 security/smack/smack_lsm.c slen = strlen(rcp) + 1; slen 3963 security/smack/smack_lsm.c if (slen > len) slen 3965 security/smack/smack_lsm.c else if (copy_to_user(optval, rcp, slen) != 0) slen 3968 security/smack/smack_lsm.c if (put_user(slen, optlen) != 0) slen 825 tools/testing/selftests/cgroup/test_memcontrol.c socklen_t slen = sizeof(saddr); slen 842 tools/testing/selftests/cgroup/test_memcontrol.c if (bind(sk, (struct sockaddr *)&saddr, slen)) { slen 570 usr/gen_init_cpio.c size_t slen = strlen(line); slen 592 usr/gen_init_cpio.c if (slen == strlen(type)) {