nbytes 149 arch/alpha/boot/bootp.c static long nbytes; nbytes 180 arch/alpha/boot/bootp.c nbytes = callback_getenv(ENV_BOOTED_OSFLAGS, envval, sizeof(envval)); nbytes 181 arch/alpha/boot/bootp.c if (nbytes < 0 || nbytes >= sizeof(envval)) { nbytes 182 arch/alpha/boot/bootp.c nbytes = 0; nbytes 184 arch/alpha/boot/bootp.c envval[nbytes] = '\0'; nbytes 289 arch/alpha/boot/bootpz.c static long nbytes; nbytes 313 arch/alpha/boot/bootpz.c nbytes = callback_getenv(ENV_BOOTED_OSFLAGS, envval, sizeof(envval)); nbytes 314 arch/alpha/boot/bootpz.c if (nbytes < 0 || nbytes >= sizeof(envval)) { nbytes 315 arch/alpha/boot/bootpz.c nbytes = 0; nbytes 317 arch/alpha/boot/bootpz.c envval[nbytes] = '\0'; nbytes 156 arch/alpha/boot/main.c int nbytes; nbytes 179 arch/alpha/boot/main.c nbytes = callback_getenv(ENV_BOOTED_OSFLAGS, envval, sizeof(envval)); nbytes 180 arch/alpha/boot/main.c if (nbytes < 0) { nbytes 181 arch/alpha/boot/main.c nbytes = 0; nbytes 183 arch/alpha/boot/main.c envval[nbytes] = '\0'; nbytes 606 arch/alpha/kernel/osf_sys.c long nbytes; nbytes 611 arch/alpha/kernel/osf_sys.c long nbytes; nbytes 618 arch/alpha/kernel/osf_sys.c long nbytes; nbytes 625 arch/alpha/kernel/osf_sys.c long nbytes; nbytes 654 arch/alpha/kernel/osf_sys.c if (get_user(error, &args->set.nbytes)) nbytes 658 arch/alpha/kernel/osf_sys.c if (get_user(error, &args->fset.nbytes)) nbytes 762 arch/alpha/kernel/osf_sys.c unsigned long, nbytes, int __user *, start, void __user *, arg) nbytes 787 arch/alpha/kernel/osf_sys.c if (nbytes < sizeof(unsigned int)) nbytes 795 arch/alpha/kernel/osf_sys.c if (nbytes < sizeof(unsigned long)) nbytes 805 arch/alpha/kernel/osf_sys.c if (nbytes > sizeof(*hwrpb)) nbytes 807 arch/alpha/kernel/osf_sys.c if (copy_to_user(buffer, hwrpb, nbytes) != 0) nbytes 819 arch/alpha/kernel/osf_sys.c unsigned long, nbytes, int __user *, start, void __user *, arg) nbytes 899 arch/alpha/kernel/osf_sys.c for (i = 0, p = buffer; i < nbytes; ++i, p += 2) { nbytes 2384 arch/alpha/kernel/smc37c669.c int nbytes; nbytes 2392 arch/alpha/kernel/smc37c669.c nbytes = 0; nbytes 2400 arch/alpha/kernel/smc37c669.c nbytes++; nbytes 2403 arch/alpha/kernel/smc37c669.c return nbytes; nbytes 2410 arch/alpha/kernel/smc37c669.c int nbytes; nbytes 2417 arch/alpha/kernel/smc37c669.c nbytes = 0; nbytes 2426 arch/alpha/kernel/smc37c669.c nbytes++; nbytes 2429 arch/alpha/kernel/smc37c669.c return nbytes; nbytes 187 arch/arm/crypto/aes-ce-glue.c while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) { nbytes 192 arch/arm/crypto/aes-ce-glue.c err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); nbytes 207 arch/arm/crypto/aes-ce-glue.c while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) { nbytes 212 arch/arm/crypto/aes-ce-glue.c err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); nbytes 225 arch/arm/crypto/aes-ce-glue.c while ((blocks = (walk->nbytes / AES_BLOCK_SIZE))) { nbytes 231 arch/arm/crypto/aes-ce-glue.c err = skcipher_walk_done(walk, walk->nbytes % AES_BLOCK_SIZE); nbytes 255 arch/arm/crypto/aes-ce-glue.c while ((blocks = (walk->nbytes / AES_BLOCK_SIZE))) { nbytes 261 arch/arm/crypto/aes-ce-glue.c err = skcipher_walk_done(walk, walk->nbytes % AES_BLOCK_SIZE); nbytes 328 arch/arm/crypto/aes-ce-glue.c ctx->key_enc, num_rounds(ctx), walk.nbytes, nbytes 386 arch/arm/crypto/aes-ce-glue.c ctx->key_dec, num_rounds(ctx), walk.nbytes, nbytes 402 arch/arm/crypto/aes-ce-glue.c while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) { nbytes 408 arch/arm/crypto/aes-ce-glue.c err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); nbytes 410 arch/arm/crypto/aes-ce-glue.c if (walk.nbytes) { nbytes 412 arch/arm/crypto/aes-ce-glue.c unsigned int nbytes = walk.nbytes; nbytes 425 arch/arm/crypto/aes-ce-glue.c crypto_xor_cpy(tdst, tsrc, tail, nbytes); nbytes 470 arch/arm/crypto/aes-ce-glue.c if (unlikely(tail > 0 && walk.nbytes < walk.total)) { nbytes 489 arch/arm/crypto/aes-ce-glue.c for (first = 1; walk.nbytes >= AES_BLOCK_SIZE; first = 0) { nbytes 490 arch/arm/crypto/aes-ce-glue.c int nbytes = walk.nbytes; nbytes 492 arch/arm/crypto/aes-ce-glue.c if (walk.nbytes < walk.total) nbytes 493 arch/arm/crypto/aes-ce-glue.c nbytes &= ~(AES_BLOCK_SIZE - 1); nbytes 497 arch/arm/crypto/aes-ce-glue.c ctx->key1.key_enc, rounds, nbytes, walk.iv, nbytes 500 arch/arm/crypto/aes-ce-glue.c err = skcipher_walk_done(&walk, walk.nbytes - nbytes); nbytes 519 arch/arm/crypto/aes-ce-glue.c ctx->key1.key_enc, rounds, walk.nbytes, walk.iv, nbytes 542 arch/arm/crypto/aes-ce-glue.c if (unlikely(tail > 0 && walk.nbytes < walk.total)) { nbytes 561 arch/arm/crypto/aes-ce-glue.c for (first = 1; walk.nbytes >= AES_BLOCK_SIZE; first = 0) { nbytes 562 arch/arm/crypto/aes-ce-glue.c int nbytes = walk.nbytes; nbytes 564 arch/arm/crypto/aes-ce-glue.c if (walk.nbytes < walk.total) nbytes 565 arch/arm/crypto/aes-ce-glue.c nbytes &= ~(AES_BLOCK_SIZE - 1); nbytes 569 arch/arm/crypto/aes-ce-glue.c ctx->key1.key_dec, rounds, nbytes, walk.iv, nbytes 572 arch/arm/crypto/aes-ce-glue.c err = skcipher_walk_done(&walk, walk.nbytes - nbytes); nbytes 591 arch/arm/crypto/aes-ce-glue.c ctx->key1.key_dec, rounds, walk.nbytes, walk.iv, nbytes 97 arch/arm/crypto/aes-neonbs-glue.c while (walk.nbytes >= AES_BLOCK_SIZE) { nbytes 98 arch/arm/crypto/aes-neonbs-glue.c unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; nbytes 100 arch/arm/crypto/aes-neonbs-glue.c if (walk.nbytes < walk.total) nbytes 109 arch/arm/crypto/aes-neonbs-glue.c walk.nbytes - blocks * AES_BLOCK_SIZE); nbytes 166 arch/arm/crypto/aes-neonbs-glue.c while (walk.nbytes >= AES_BLOCK_SIZE) { nbytes 167 arch/arm/crypto/aes-neonbs-glue.c unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; nbytes 169 arch/arm/crypto/aes-neonbs-glue.c if (walk.nbytes < walk.total) nbytes 179 arch/arm/crypto/aes-neonbs-glue.c walk.nbytes - blocks * AES_BLOCK_SIZE); nbytes 230 arch/arm/crypto/aes-neonbs-glue.c while (walk.nbytes > 0) { nbytes 231 arch/arm/crypto/aes-neonbs-glue.c unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; nbytes 234 arch/arm/crypto/aes-neonbs-glue.c if (walk.nbytes < walk.total) { nbytes 256 arch/arm/crypto/aes-neonbs-glue.c walk.nbytes - blocks * AES_BLOCK_SIZE); nbytes 360 arch/arm/crypto/aes-neonbs-glue.c while (walk.nbytes >= AES_BLOCK_SIZE) { nbytes 361 arch/arm/crypto/aes-neonbs-glue.c unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; nbytes 364 arch/arm/crypto/aes-neonbs-glue.c if (walk.nbytes < walk.total) { nbytes 375 arch/arm/crypto/aes-neonbs-glue.c walk.nbytes - blocks * AES_BLOCK_SIZE); nbytes 76 arch/arm/crypto/chacha-neon-glue.c while (walk.nbytes > 0) { nbytes 77 arch/arm/crypto/chacha-neon-glue.c unsigned int nbytes = walk.nbytes; nbytes 79 arch/arm/crypto/chacha-neon-glue.c if (nbytes < walk.total) nbytes 80 arch/arm/crypto/chacha-neon-glue.c nbytes = round_down(nbytes, walk.stride); nbytes 84 arch/arm/crypto/chacha-neon-glue.c nbytes, ctx->nrounds); nbytes 86 arch/arm/crypto/chacha-neon-glue.c err = skcipher_walk_done(&walk, walk.nbytes - nbytes); nbytes 186 arch/arm64/crypto/aes-ce-ccm-glue.c while (walk->nbytes) { nbytes 187 arch/arm64/crypto/aes-ce-ccm-glue.c int blocks = walk->nbytes / AES_BLOCK_SIZE; nbytes 188 arch/arm64/crypto/aes-ce-ccm-glue.c u32 tail = walk->nbytes % AES_BLOCK_SIZE; nbytes 191 arch/arm64/crypto/aes-ce-ccm-glue.c u32 nbytes = walk->nbytes; nbytes 193 arch/arm64/crypto/aes-ce-ccm-glue.c if (nbytes == walk->total && tail > 0) { nbytes 201 arch/arm64/crypto/aes-ce-ccm-glue.c if (nbytes < AES_BLOCK_SIZE) nbytes 202 arch/arm64/crypto/aes-ce-ccm-glue.c bsize = nbytes; nbytes 214 arch/arm64/crypto/aes-ce-ccm-glue.c nbytes -= bsize; nbytes 251 arch/arm64/crypto/aes-ce-ccm-glue.c while (walk.nbytes) { nbytes 252 arch/arm64/crypto/aes-ce-ccm-glue.c u32 tail = walk.nbytes % AES_BLOCK_SIZE; nbytes 254 arch/arm64/crypto/aes-ce-ccm-glue.c if (walk.nbytes == walk.total) nbytes 260 arch/arm64/crypto/aes-ce-ccm-glue.c walk.nbytes - tail, ctx->key_enc, nbytes 309 arch/arm64/crypto/aes-ce-ccm-glue.c while (walk.nbytes) { nbytes 310 arch/arm64/crypto/aes-ce-ccm-glue.c u32 tail = walk.nbytes % AES_BLOCK_SIZE; nbytes 312 arch/arm64/crypto/aes-ce-ccm-glue.c if (walk.nbytes == walk.total) nbytes 318 arch/arm64/crypto/aes-ce-ccm-glue.c walk.nbytes - tail, ctx->key_enc, nbytes 201 arch/arm64/crypto/aes-glue.c while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) { nbytes 206 arch/arm64/crypto/aes-glue.c err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); nbytes 221 arch/arm64/crypto/aes-glue.c while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) { nbytes 226 arch/arm64/crypto/aes-glue.c err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); nbytes 239 arch/arm64/crypto/aes-glue.c while ((blocks = (walk->nbytes / AES_BLOCK_SIZE))) { nbytes 244 arch/arm64/crypto/aes-glue.c err = skcipher_walk_done(walk, walk->nbytes % AES_BLOCK_SIZE); nbytes 268 arch/arm64/crypto/aes-glue.c while ((blocks = (walk->nbytes / AES_BLOCK_SIZE))) { nbytes 273 arch/arm64/crypto/aes-glue.c err = skcipher_walk_done(walk, walk->nbytes % AES_BLOCK_SIZE); nbytes 340 arch/arm64/crypto/aes-glue.c ctx->key_enc, rounds, walk.nbytes, walk.iv); nbytes 397 arch/arm64/crypto/aes-glue.c ctx->key_dec, rounds, walk.nbytes, walk.iv); nbytes 429 arch/arm64/crypto/aes-glue.c blocks = walk.nbytes / AES_BLOCK_SIZE; nbytes 436 arch/arm64/crypto/aes-glue.c err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); nbytes 451 arch/arm64/crypto/aes-glue.c blocks = walk.nbytes / AES_BLOCK_SIZE; nbytes 458 arch/arm64/crypto/aes-glue.c err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); nbytes 473 arch/arm64/crypto/aes-glue.c while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) { nbytes 478 arch/arm64/crypto/aes-glue.c err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); nbytes 480 arch/arm64/crypto/aes-glue.c if (walk.nbytes) { nbytes 482 arch/arm64/crypto/aes-glue.c unsigned int nbytes = walk.nbytes; nbytes 495 arch/arm64/crypto/aes-glue.c crypto_xor_cpy(tdst, tsrc, tail, nbytes); nbytes 541 arch/arm64/crypto/aes-glue.c if (unlikely(tail > 0 && walk.nbytes < walk.total)) { nbytes 560 arch/arm64/crypto/aes-glue.c for (first = 1; walk.nbytes >= AES_BLOCK_SIZE; first = 0) { nbytes 561 arch/arm64/crypto/aes-glue.c int nbytes = walk.nbytes; nbytes 563 arch/arm64/crypto/aes-glue.c if (walk.nbytes < walk.total) nbytes 564 arch/arm64/crypto/aes-glue.c nbytes &= ~(AES_BLOCK_SIZE - 1); nbytes 568 arch/arm64/crypto/aes-glue.c ctx->key1.key_enc, rounds, nbytes, nbytes 571 arch/arm64/crypto/aes-glue.c err = skcipher_walk_done(&walk, walk.nbytes - nbytes); nbytes 590 arch/arm64/crypto/aes-glue.c ctx->key1.key_enc, rounds, walk.nbytes, nbytes 613 arch/arm64/crypto/aes-glue.c if (unlikely(tail > 0 && walk.nbytes < walk.total)) { nbytes 632 arch/arm64/crypto/aes-glue.c for (first = 1; walk.nbytes >= AES_BLOCK_SIZE; first = 0) { nbytes 633 arch/arm64/crypto/aes-glue.c int nbytes = walk.nbytes; nbytes 635 arch/arm64/crypto/aes-glue.c if (walk.nbytes < walk.total) nbytes 636 arch/arm64/crypto/aes-glue.c nbytes &= ~(AES_BLOCK_SIZE - 1); nbytes 640 arch/arm64/crypto/aes-glue.c ctx->key1.key_dec, rounds, nbytes, nbytes 643 arch/arm64/crypto/aes-glue.c err = skcipher_walk_done(&walk, walk.nbytes - nbytes); nbytes 663 arch/arm64/crypto/aes-glue.c ctx->key1.key_dec, rounds, walk.nbytes, nbytes 108 arch/arm64/crypto/aes-neonbs-glue.c while (walk.nbytes >= AES_BLOCK_SIZE) { nbytes 109 arch/arm64/crypto/aes-neonbs-glue.c unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; nbytes 111 arch/arm64/crypto/aes-neonbs-glue.c if (walk.nbytes < walk.total) nbytes 120 arch/arm64/crypto/aes-neonbs-glue.c walk.nbytes - blocks * AES_BLOCK_SIZE); nbytes 167 arch/arm64/crypto/aes-neonbs-glue.c while (walk.nbytes >= AES_BLOCK_SIZE) { nbytes 168 arch/arm64/crypto/aes-neonbs-glue.c unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; nbytes 176 arch/arm64/crypto/aes-neonbs-glue.c err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); nbytes 190 arch/arm64/crypto/aes-neonbs-glue.c while (walk.nbytes >= AES_BLOCK_SIZE) { nbytes 191 arch/arm64/crypto/aes-neonbs-glue.c unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; nbytes 193 arch/arm64/crypto/aes-neonbs-glue.c if (walk.nbytes < walk.total) nbytes 203 arch/arm64/crypto/aes-neonbs-glue.c walk.nbytes - blocks * AES_BLOCK_SIZE); nbytes 238 arch/arm64/crypto/aes-neonbs-glue.c while (walk.nbytes > 0) { nbytes 239 arch/arm64/crypto/aes-neonbs-glue.c unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; nbytes 242 arch/arm64/crypto/aes-neonbs-glue.c if (walk.nbytes < walk.total) { nbytes 264 arch/arm64/crypto/aes-neonbs-glue.c walk.nbytes - blocks * AES_BLOCK_SIZE); nbytes 328 arch/arm64/crypto/aes-neonbs-glue.c int nbytes, err; nbytes 356 arch/arm64/crypto/aes-neonbs-glue.c while (walk.nbytes >= AES_BLOCK_SIZE) { nbytes 357 arch/arm64/crypto/aes-neonbs-glue.c unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; nbytes 359 arch/arm64/crypto/aes-neonbs-glue.c if (walk.nbytes < walk.total || walk.nbytes % AES_BLOCK_SIZE) nbytes 365 arch/arm64/crypto/aes-neonbs-glue.c nbytes = walk.nbytes; nbytes 380 arch/arm64/crypto/aes-neonbs-glue.c nbytes -= blocks * AES_BLOCK_SIZE; nbytes 383 arch/arm64/crypto/aes-neonbs-glue.c if (walk.nbytes == walk.total && nbytes > 0) nbytes 387 arch/arm64/crypto/aes-neonbs-glue.c err = skcipher_walk_done(&walk, nbytes); nbytes 407 arch/arm64/crypto/aes-neonbs-glue.c nbytes = walk.nbytes; nbytes 413 arch/arm64/crypto/aes-neonbs-glue.c nbytes, ctx->twkey, walk.iv, first ?: 2); nbytes 416 arch/arm64/crypto/aes-neonbs-glue.c nbytes, ctx->twkey, walk.iv, first ?: 2); nbytes 73 arch/arm64/crypto/chacha-neon-glue.c while (walk.nbytes > 0) { nbytes 74 arch/arm64/crypto/chacha-neon-glue.c unsigned int nbytes = walk.nbytes; nbytes 76 arch/arm64/crypto/chacha-neon-glue.c if (nbytes < walk.total) nbytes 77 arch/arm64/crypto/chacha-neon-glue.c nbytes = rounddown(nbytes, walk.stride); nbytes 81 arch/arm64/crypto/chacha-neon-glue.c nbytes, ctx->nrounds); nbytes 83 arch/arm64/crypto/chacha-neon-glue.c err = skcipher_walk_done(&walk, walk.nbytes - nbytes); nbytes 451 arch/arm64/crypto/ghash-ce-glue.c int blocks = walk.nbytes / (2 * AES_BLOCK_SIZE) * 2; nbytes 462 arch/arm64/crypto/ghash-ce-glue.c walk.nbytes % (2 * AES_BLOCK_SIZE)); nbytes 465 arch/arm64/crypto/ghash-ce-glue.c } while (walk.nbytes >= 2 * AES_BLOCK_SIZE); nbytes 470 arch/arm64/crypto/ghash-ce-glue.c while (walk.nbytes >= (2 * AES_BLOCK_SIZE)) { nbytes 472 arch/arm64/crypto/ghash-ce-glue.c walk.nbytes / (2 * AES_BLOCK_SIZE) * 2; nbytes 491 arch/arm64/crypto/ghash-ce-glue.c walk.nbytes % (2 * AES_BLOCK_SIZE)); nbytes 493 arch/arm64/crypto/ghash-ce-glue.c if (walk.nbytes) { nbytes 495 arch/arm64/crypto/ghash-ce-glue.c if (walk.nbytes > AES_BLOCK_SIZE) { nbytes 503 arch/arm64/crypto/ghash-ce-glue.c if (walk.nbytes) { nbytes 505 arch/arm64/crypto/ghash-ce-glue.c unsigned int nbytes = walk.nbytes; nbytes 510 arch/arm64/crypto/ghash-ce-glue.c walk.nbytes); nbytes 512 arch/arm64/crypto/ghash-ce-glue.c if (walk.nbytes > GHASH_BLOCK_SIZE) { nbytes 515 arch/arm64/crypto/ghash-ce-glue.c nbytes %= GHASH_BLOCK_SIZE; nbytes 518 arch/arm64/crypto/ghash-ce-glue.c memcpy(buf, dst, nbytes); nbytes 519 arch/arm64/crypto/ghash-ce-glue.c memset(buf + nbytes, 0, GHASH_BLOCK_SIZE - nbytes); nbytes 520 arch/arm64/crypto/ghash-ce-glue.c ghash_do_update(!!nbytes, dg, buf, &ctx->ghash_key, head, nbytes 567 arch/arm64/crypto/ghash-ce-glue.c int blocks = walk.nbytes / (2 * AES_BLOCK_SIZE) * 2; nbytes 596 arch/arm64/crypto/ghash-ce-glue.c walk.nbytes % (2 * AES_BLOCK_SIZE)); nbytes 599 arch/arm64/crypto/ghash-ce-glue.c } while (walk.nbytes >= 2 * AES_BLOCK_SIZE); nbytes 604 arch/arm64/crypto/ghash-ce-glue.c while (walk.nbytes >= (2 * AES_BLOCK_SIZE)) { nbytes 605 arch/arm64/crypto/ghash-ce-glue.c int blocks = walk.nbytes / (2 * AES_BLOCK_SIZE) * 2; nbytes 623 arch/arm64/crypto/ghash-ce-glue.c walk.nbytes % (2 * AES_BLOCK_SIZE)); nbytes 625 arch/arm64/crypto/ghash-ce-glue.c if (walk.nbytes) { nbytes 626 arch/arm64/crypto/ghash-ce-glue.c if (walk.nbytes > AES_BLOCK_SIZE) { nbytes 639 arch/arm64/crypto/ghash-ce-glue.c if (walk.nbytes) { nbytes 642 arch/arm64/crypto/ghash-ce-glue.c unsigned int nbytes = walk.nbytes; nbytes 644 arch/arm64/crypto/ghash-ce-glue.c if (walk.nbytes > GHASH_BLOCK_SIZE) { nbytes 647 arch/arm64/crypto/ghash-ce-glue.c nbytes %= GHASH_BLOCK_SIZE; nbytes 650 arch/arm64/crypto/ghash-ce-glue.c memcpy(buf, src, nbytes); nbytes 651 arch/arm64/crypto/ghash-ce-glue.c memset(buf + nbytes, 0, GHASH_BLOCK_SIZE - nbytes); nbytes 652 arch/arm64/crypto/ghash-ce-glue.c ghash_do_update(!!nbytes, dg, buf, &ctx->ghash_key, head, nbytes 656 arch/arm64/crypto/ghash-ce-glue.c walk.nbytes); nbytes 113 arch/arm64/kernel/sys32.c arg_u32p(offset), arg_u32p(nbytes)) nbytes 115 arch/arm64/kernel/sys32.c return ksys_sync_file_range(fd, arg_u64(offset), arg_u64(nbytes), nbytes 122 arch/m68k/include/asm/dvma.h int nbytes; /* Size of current transfer */ nbytes 50 arch/m68k/include/asm/openprom.h int (*v2_dev_read)(int d, char *buf, int nbytes); nbytes 51 arch/m68k/include/asm/openprom.h int (*v2_dev_write)(int d, char *buf, int nbytes); nbytes 591 arch/mips/alchemy/common/dbdma.c u32 au1xxx_dbdma_put_source(u32 chanid, dma_addr_t buf, int nbytes, u32 flags) nbytes 618 arch/mips/alchemy/common/dbdma.c dp->dscr_cmd1 = nbytes; nbytes 632 arch/mips/alchemy/common/dbdma.c dma_cache_wback_inv((unsigned long)buf, nbytes); nbytes 642 arch/mips/alchemy/common/dbdma.c return nbytes; nbytes 650 arch/mips/alchemy/common/dbdma.c u32 au1xxx_dbdma_put_dest(u32 chanid, dma_addr_t buf, int nbytes, u32 flags) nbytes 681 arch/mips/alchemy/common/dbdma.c dp->dscr_cmd1 = nbytes; nbytes 694 arch/mips/alchemy/common/dbdma.c dma_cache_inv((unsigned long)buf, nbytes); nbytes 704 arch/mips/alchemy/common/dbdma.c return nbytes; nbytes 714 arch/mips/alchemy/common/dbdma.c u32 au1xxx_dbdma_get_dest(u32 chanid, void **buf, int *nbytes) nbytes 742 arch/mips/alchemy/common/dbdma.c *nbytes = dp->dscr_cmd1; nbytes 938 arch/mips/alchemy/common/dbdma.c u32 nbytes = 0; nbytes 966 arch/mips/alchemy/common/dbdma.c nbytes = dscr->dscr_cmd1; nbytes 976 arch/mips/alchemy/common/dbdma.c return nbytes; nbytes 361 arch/mips/include/asm/mach-au1x00/au1xxx_dbdma.h u32 au1xxx_dbdma_put_source(u32 chanid, dma_addr_t buf, int nbytes, u32 flags); nbytes 362 arch/mips/include/asm/mach-au1x00/au1xxx_dbdma.h u32 au1xxx_dbdma_put_dest(u32 chanid, dma_addr_t buf, int nbytes, u32 flags); nbytes 365 arch/mips/include/asm/mach-au1x00/au1xxx_dbdma.h u32 au1xxx_dbdma_get_dest(u32 chanid, void **buf, int *nbytes); nbytes 238 arch/mips/kernel/syscall.c SYSCALL_DEFINE3(cachectl, char *, addr, int, nbytes, int, op) nbytes 35 arch/nios2/lib/memcpy.c #define BYTE_COPY_FWD(dst_bp, src_bp, nbytes) \ nbytes 37 arch/nios2/lib/memcpy.c size_t __nbytes = (nbytes); \ nbytes 53 arch/nios2/lib/memcpy.c #define WORD_COPY_FWD(dst_bp, src_bp, nbytes_left, nbytes) \ nbytes 56 arch/nios2/lib/memcpy.c _wordcopy_fwd_aligned(dst_bp, src_bp, (nbytes) / OPSIZ);\ nbytes 58 arch/nios2/lib/memcpy.c _wordcopy_fwd_dest_aligned(dst_bp, src_bp, (nbytes) / OPSIZ);\ nbytes 59 arch/nios2/lib/memcpy.c src_bp += (nbytes) & -OPSIZ; \ nbytes 60 arch/nios2/lib/memcpy.c dst_bp += (nbytes) & -OPSIZ; \ nbytes 61 arch/nios2/lib/memcpy.c (nbytes_left) = (nbytes) % OPSIZ; \ nbytes 182 arch/powerpc/crypto/aes-spe-glue.c struct scatterlist *src, unsigned int nbytes) nbytes 190 arch/powerpc/crypto/aes-spe-glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 193 arch/powerpc/crypto/aes-spe-glue.c while ((nbytes = walk.nbytes)) { nbytes 194 arch/powerpc/crypto/aes-spe-glue.c ubytes = nbytes > MAX_BYTES ? nbytes 195 arch/powerpc/crypto/aes-spe-glue.c nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); nbytes 196 arch/powerpc/crypto/aes-spe-glue.c nbytes -= ubytes; nbytes 200 arch/powerpc/crypto/aes-spe-glue.c ctx->key_enc, ctx->rounds, nbytes); nbytes 210 arch/powerpc/crypto/aes-spe-glue.c struct scatterlist *src, unsigned int nbytes) nbytes 218 arch/powerpc/crypto/aes-spe-glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 221 arch/powerpc/crypto/aes-spe-glue.c while ((nbytes = walk.nbytes)) { nbytes 222 arch/powerpc/crypto/aes-spe-glue.c ubytes = nbytes > MAX_BYTES ? nbytes 223 arch/powerpc/crypto/aes-spe-glue.c nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); nbytes 224 arch/powerpc/crypto/aes-spe-glue.c nbytes -= ubytes; nbytes 228 arch/powerpc/crypto/aes-spe-glue.c ctx->key_dec, ctx->rounds, nbytes); nbytes 238 arch/powerpc/crypto/aes-spe-glue.c struct scatterlist *src, unsigned int nbytes) nbytes 246 arch/powerpc/crypto/aes-spe-glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 249 arch/powerpc/crypto/aes-spe-glue.c while ((nbytes = walk.nbytes)) { nbytes 250 arch/powerpc/crypto/aes-spe-glue.c ubytes = nbytes > MAX_BYTES ? nbytes 251 arch/powerpc/crypto/aes-spe-glue.c nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); nbytes 252 arch/powerpc/crypto/aes-spe-glue.c nbytes -= ubytes; nbytes 256 arch/powerpc/crypto/aes-spe-glue.c ctx->key_enc, ctx->rounds, nbytes, walk.iv); nbytes 266 arch/powerpc/crypto/aes-spe-glue.c struct scatterlist *src, unsigned int nbytes) nbytes 274 arch/powerpc/crypto/aes-spe-glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 277 arch/powerpc/crypto/aes-spe-glue.c while ((nbytes = walk.nbytes)) { nbytes 278 arch/powerpc/crypto/aes-spe-glue.c ubytes = nbytes > MAX_BYTES ? nbytes 279 arch/powerpc/crypto/aes-spe-glue.c nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); nbytes 280 arch/powerpc/crypto/aes-spe-glue.c nbytes -= ubytes; nbytes 284 arch/powerpc/crypto/aes-spe-glue.c ctx->key_dec, ctx->rounds, nbytes, walk.iv); nbytes 294 arch/powerpc/crypto/aes-spe-glue.c struct scatterlist *src, unsigned int nbytes) nbytes 302 arch/powerpc/crypto/aes-spe-glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 305 arch/powerpc/crypto/aes-spe-glue.c while ((pbytes = walk.nbytes)) { nbytes 307 arch/powerpc/crypto/aes-spe-glue.c pbytes = pbytes == nbytes ? nbytes 308 arch/powerpc/crypto/aes-spe-glue.c nbytes : pbytes & ~(AES_BLOCK_SIZE - 1); nbytes 309 arch/powerpc/crypto/aes-spe-glue.c ubytes = walk.nbytes - pbytes; nbytes 316 arch/powerpc/crypto/aes-spe-glue.c nbytes -= pbytes; nbytes 324 arch/powerpc/crypto/aes-spe-glue.c struct scatterlist *src, unsigned int nbytes) nbytes 333 arch/powerpc/crypto/aes-spe-glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 337 arch/powerpc/crypto/aes-spe-glue.c while ((nbytes = walk.nbytes)) { nbytes 338 arch/powerpc/crypto/aes-spe-glue.c ubytes = nbytes > MAX_BYTES ? nbytes 339 arch/powerpc/crypto/aes-spe-glue.c nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); nbytes 340 arch/powerpc/crypto/aes-spe-glue.c nbytes -= ubytes; nbytes 344 arch/powerpc/crypto/aes-spe-glue.c ctx->key_enc, ctx->rounds, nbytes, walk.iv, twk); nbytes 355 arch/powerpc/crypto/aes-spe-glue.c struct scatterlist *src, unsigned int nbytes) nbytes 364 arch/powerpc/crypto/aes-spe-glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 368 arch/powerpc/crypto/aes-spe-glue.c while ((nbytes = walk.nbytes)) { nbytes 369 arch/powerpc/crypto/aes-spe-glue.c ubytes = nbytes > MAX_BYTES ? nbytes 370 arch/powerpc/crypto/aes-spe-glue.c nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); nbytes 371 arch/powerpc/crypto/aes-spe-glue.c nbytes -= ubytes; nbytes 375 arch/powerpc/crypto/aes-spe-glue.c ctx->key_dec, ctx->rounds, nbytes, walk.iv, twk); nbytes 631 arch/powerpc/include/asm/kvm_book3s_64.h unsigned long hpa, unsigned long nbytes); nbytes 635 arch/powerpc/include/asm/kvm_book3s_64.h unsigned long nbytes); nbytes 368 arch/powerpc/include/asm/processor.h unsigned long nbytes); nbytes 24 arch/powerpc/kernel/proc_powerpc.c static ssize_t page_map_read( struct file *file, char __user *buf, size_t nbytes, nbytes 27 arch/powerpc/kernel/proc_powerpc.c return simple_read_from_buffer(buf, nbytes, ppos, nbytes 1957 arch/powerpc/kernel/process.c unsigned long nbytes) nbytes 1963 arch/powerpc/kernel/process.c if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes) nbytes 1967 arch/powerpc/kernel/process.c if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes) nbytes 1974 arch/powerpc/kernel/process.c unsigned long nbytes) nbytes 1981 arch/powerpc/kernel/process.c if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes) nbytes 1984 arch/powerpc/kernel/process.c return valid_irq_stack(sp, p, nbytes); nbytes 112 arch/powerpc/kernel/sys_ppc32.c loff_t nbytes = ((loff_t)nbytes_hi << 32) | nbytes_lo; nbytes 114 arch/powerpc/kernel/sys_ppc32.c return ksys_sync_file_range(fd, offset, nbytes, flags); nbytes 826 arch/powerpc/kvm/book3s_hv_nested.c unsigned long hpa, unsigned long nbytes) nbytes 835 arch/powerpc/kvm/book3s_hv_nested.c mask = PTE_RPN_MASK & ~(nbytes - 1); nbytes 880 arch/powerpc/kvm/book3s_hv_nested.c unsigned long nbytes) nbytes 888 arch/powerpc/kvm/book3s_hv_nested.c end_gfn = gfn + (nbytes >> PAGE_SHIFT); nbytes 890 arch/powerpc/kvm/book3s_hv_nested.c addr_mask = PTE_RPN_MASK & ~(nbytes - 1); nbytes 719 arch/powerpc/platforms/powermac/low_i2c.c req->nbytes = sizeof(struct pmu_i2c_hdr) + 1; nbytes 724 arch/powerpc/platforms/powermac/low_i2c.c req->nbytes += len; nbytes 750 arch/powerpc/platforms/powermac/low_i2c.c req->nbytes = 2; nbytes 68 arch/s390/crypto/aes_s390.c unsigned int nbytes; nbytes 203 arch/s390/crypto/aes_s390.c unsigned int nbytes) nbytes 212 arch/s390/crypto/aes_s390.c skcipher_request_set_crypt(req, src, dst, nbytes, desc->info); nbytes 222 arch/s390/crypto/aes_s390.c unsigned int nbytes) nbytes 231 arch/s390/crypto/aes_s390.c skcipher_request_set_crypt(req, src, dst, nbytes, desc->info); nbytes 262 arch/s390/crypto/aes_s390.c unsigned int nbytes, n; nbytes 266 arch/s390/crypto/aes_s390.c while ((nbytes = walk->nbytes) >= AES_BLOCK_SIZE) { nbytes 268 arch/s390/crypto/aes_s390.c n = nbytes & ~(AES_BLOCK_SIZE - 1); nbytes 271 arch/s390/crypto/aes_s390.c ret = blkcipher_walk_done(desc, walk, nbytes - n); nbytes 279 arch/s390/crypto/aes_s390.c unsigned int nbytes) nbytes 285 arch/s390/crypto/aes_s390.c return fallback_blk_enc(desc, dst, src, nbytes); nbytes 287 arch/s390/crypto/aes_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 293 arch/s390/crypto/aes_s390.c unsigned int nbytes) nbytes 299 arch/s390/crypto/aes_s390.c return fallback_blk_dec(desc, dst, src, nbytes); nbytes 301 arch/s390/crypto/aes_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 377 arch/s390/crypto/aes_s390.c unsigned int nbytes, n; nbytes 387 arch/s390/crypto/aes_s390.c while ((nbytes = walk->nbytes) >= AES_BLOCK_SIZE) { nbytes 389 arch/s390/crypto/aes_s390.c n = nbytes & ~(AES_BLOCK_SIZE - 1); nbytes 392 arch/s390/crypto/aes_s390.c ret = blkcipher_walk_done(desc, walk, nbytes - n); nbytes 400 arch/s390/crypto/aes_s390.c unsigned int nbytes) nbytes 406 arch/s390/crypto/aes_s390.c return fallback_blk_enc(desc, dst, src, nbytes); nbytes 408 arch/s390/crypto/aes_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 414 arch/s390/crypto/aes_s390.c unsigned int nbytes) nbytes 420 arch/s390/crypto/aes_s390.c return fallback_blk_dec(desc, dst, src, nbytes); nbytes 422 arch/s390/crypto/aes_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 472 arch/s390/crypto/aes_s390.c unsigned int nbytes) nbytes 481 arch/s390/crypto/aes_s390.c skcipher_request_set_crypt(req, src, dst, nbytes, desc->info); nbytes 491 arch/s390/crypto/aes_s390.c unsigned int nbytes) nbytes 500 arch/s390/crypto/aes_s390.c skcipher_request_set_crypt(req, src, dst, nbytes, desc->info); nbytes 546 arch/s390/crypto/aes_s390.c unsigned int offset, nbytes, n; nbytes 572 arch/s390/crypto/aes_s390.c while ((nbytes = walk->nbytes) >= AES_BLOCK_SIZE) { nbytes 574 arch/s390/crypto/aes_s390.c n = nbytes & ~(AES_BLOCK_SIZE - 1); nbytes 577 arch/s390/crypto/aes_s390.c ret = blkcipher_walk_done(desc, walk, nbytes - n); nbytes 584 arch/s390/crypto/aes_s390.c unsigned int nbytes) nbytes 589 arch/s390/crypto/aes_s390.c if (!nbytes) nbytes 592 arch/s390/crypto/aes_s390.c if (unlikely(!xts_ctx->fc || (nbytes % XTS_BLOCK_SIZE) != 0)) nbytes 593 arch/s390/crypto/aes_s390.c return xts_fallback_encrypt(desc, dst, src, nbytes); nbytes 595 arch/s390/crypto/aes_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 601 arch/s390/crypto/aes_s390.c unsigned int nbytes) nbytes 606 arch/s390/crypto/aes_s390.c if (!nbytes) nbytes 609 arch/s390/crypto/aes_s390.c if (unlikely(!xts_ctx->fc || (nbytes % XTS_BLOCK_SIZE) != 0)) nbytes 610 arch/s390/crypto/aes_s390.c return xts_fallback_decrypt(desc, dst, src, nbytes); nbytes 612 arch/s390/crypto/aes_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 684 arch/s390/crypto/aes_s390.c static unsigned int __ctrblk_init(u8 *ctrptr, u8 *iv, unsigned int nbytes) nbytes 690 arch/s390/crypto/aes_s390.c n = (nbytes > PAGE_SIZE) ? PAGE_SIZE : nbytes & ~(AES_BLOCK_SIZE - 1); nbytes 704 arch/s390/crypto/aes_s390.c unsigned int n, nbytes; nbytes 710 arch/s390/crypto/aes_s390.c while ((nbytes = walk->nbytes) >= AES_BLOCK_SIZE) { nbytes 712 arch/s390/crypto/aes_s390.c if (nbytes >= 2*AES_BLOCK_SIZE && locked) nbytes 713 arch/s390/crypto/aes_s390.c n = __ctrblk_init(ctrblk, walk->iv, nbytes); nbytes 722 arch/s390/crypto/aes_s390.c ret = blkcipher_walk_done(desc, walk, nbytes - n); nbytes 729 arch/s390/crypto/aes_s390.c if (nbytes) { nbytes 733 arch/s390/crypto/aes_s390.c memcpy(walk->dst.virt.addr, buf, nbytes); nbytes 743 arch/s390/crypto/aes_s390.c unsigned int nbytes) nbytes 749 arch/s390/crypto/aes_s390.c return fallback_blk_enc(desc, dst, src, nbytes); nbytes 751 arch/s390/crypto/aes_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 757 arch/s390/crypto/aes_s390.c unsigned int nbytes) nbytes 763 arch/s390/crypto/aes_s390.c return fallback_blk_dec(desc, dst, src, nbytes); nbytes 765 arch/s390/crypto/aes_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 861 arch/s390/crypto/aes_s390.c unsigned int nbytes) nbytes 863 arch/s390/crypto/aes_s390.c gw->walk_bytes_remain -= nbytes; nbytes 865 arch/s390/crypto/aes_s390.c scatterwalk_advance(&gw->walk, nbytes); nbytes 876 arch/s390/crypto/aes_s390.c gw->nbytes = gw->buf_bytes; nbytes 882 arch/s390/crypto/aes_s390.c gw->nbytes = 0; nbytes 888 arch/s390/crypto/aes_s390.c gw->nbytes = 0; nbytes 894 arch/s390/crypto/aes_s390.c gw->nbytes = gw->walk_bytes; nbytes 905 arch/s390/crypto/aes_s390.c gw->nbytes = gw->buf_bytes; nbytes 910 arch/s390/crypto/aes_s390.c gw->nbytes = 0; nbytes 916 arch/s390/crypto/aes_s390.c return gw->nbytes; nbytes 923 arch/s390/crypto/aes_s390.c gw->nbytes = 0; nbytes 929 arch/s390/crypto/aes_s390.c gw->nbytes = 0; nbytes 935 arch/s390/crypto/aes_s390.c gw->nbytes = gw->walk_bytes; nbytes 943 arch/s390/crypto/aes_s390.c gw->nbytes = sizeof(gw->buf); nbytes 946 arch/s390/crypto/aes_s390.c return gw->nbytes; nbytes 54 arch/s390/crypto/arch_random.c bool s390_arch_random_generate(u8 *buf, unsigned int nbytes) nbytes 61 arch/s390/crypto/arch_random.c arch_rng_buf_idx -= nbytes; nbytes 63 arch/s390/crypto/arch_random.c memcpy(buf, arch_rng_buf + arch_rng_buf_idx, nbytes); nbytes 64 arch/s390/crypto/arch_random.c atomic64_add(nbytes, &s390_arch_random_counter); nbytes 86 arch/s390/crypto/des_s390.c unsigned int nbytes, n; nbytes 90 arch/s390/crypto/des_s390.c while ((nbytes = walk->nbytes) >= DES_BLOCK_SIZE) { nbytes 92 arch/s390/crypto/des_s390.c n = nbytes & ~(DES_BLOCK_SIZE - 1); nbytes 95 arch/s390/crypto/des_s390.c ret = blkcipher_walk_done(desc, walk, nbytes - n); nbytes 104 arch/s390/crypto/des_s390.c unsigned int nbytes, n; nbytes 114 arch/s390/crypto/des_s390.c while ((nbytes = walk->nbytes) >= DES_BLOCK_SIZE) { nbytes 116 arch/s390/crypto/des_s390.c n = nbytes & ~(DES_BLOCK_SIZE - 1); nbytes 119 arch/s390/crypto/des_s390.c ret = blkcipher_walk_done(desc, walk, nbytes - n); nbytes 127 arch/s390/crypto/des_s390.c unsigned int nbytes) nbytes 131 arch/s390/crypto/des_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 137 arch/s390/crypto/des_s390.c unsigned int nbytes) nbytes 141 arch/s390/crypto/des_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 167 arch/s390/crypto/des_s390.c unsigned int nbytes) nbytes 171 arch/s390/crypto/des_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 177 arch/s390/crypto/des_s390.c unsigned int nbytes) nbytes 181 arch/s390/crypto/des_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 271 arch/s390/crypto/des_s390.c unsigned int nbytes) nbytes 275 arch/s390/crypto/des_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 281 arch/s390/crypto/des_s390.c unsigned int nbytes) nbytes 285 arch/s390/crypto/des_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 312 arch/s390/crypto/des_s390.c unsigned int nbytes) nbytes 316 arch/s390/crypto/des_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 322 arch/s390/crypto/des_s390.c unsigned int nbytes) nbytes 326 arch/s390/crypto/des_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 352 arch/s390/crypto/des_s390.c static unsigned int __ctrblk_init(u8 *ctrptr, u8 *iv, unsigned int nbytes) nbytes 357 arch/s390/crypto/des_s390.c n = (nbytes > PAGE_SIZE) ? PAGE_SIZE : nbytes & ~(DES_BLOCK_SIZE - 1); nbytes 372 arch/s390/crypto/des_s390.c unsigned int n, nbytes; nbytes 378 arch/s390/crypto/des_s390.c while ((nbytes = walk->nbytes) >= DES_BLOCK_SIZE) { nbytes 380 arch/s390/crypto/des_s390.c if (nbytes >= 2*DES_BLOCK_SIZE && locked) nbytes 381 arch/s390/crypto/des_s390.c n = __ctrblk_init(ctrblk, walk->iv, nbytes); nbytes 389 arch/s390/crypto/des_s390.c ret = blkcipher_walk_done(desc, walk, nbytes - n); nbytes 394 arch/s390/crypto/des_s390.c if (nbytes) { nbytes 397 arch/s390/crypto/des_s390.c memcpy(walk->dst.virt.addr, buf, nbytes); nbytes 406 arch/s390/crypto/des_s390.c unsigned int nbytes) nbytes 410 arch/s390/crypto/des_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 416 arch/s390/crypto/des_s390.c unsigned int nbytes) nbytes 420 arch/s390/crypto/des_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 447 arch/s390/crypto/des_s390.c unsigned int nbytes) nbytes 451 arch/s390/crypto/des_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 457 arch/s390/crypto/des_s390.c unsigned int nbytes) nbytes 461 arch/s390/crypto/des_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 165 arch/s390/crypto/paes_s390.c unsigned int nbytes, n, k; nbytes 169 arch/s390/crypto/paes_s390.c while ((nbytes = walk->nbytes) >= AES_BLOCK_SIZE) { nbytes 171 arch/s390/crypto/paes_s390.c n = nbytes & ~(AES_BLOCK_SIZE - 1); nbytes 175 arch/s390/crypto/paes_s390.c ret = blkcipher_walk_done(desc, walk, nbytes - k); nbytes 186 arch/s390/crypto/paes_s390.c unsigned int nbytes) nbytes 190 arch/s390/crypto/paes_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 196 arch/s390/crypto/paes_s390.c unsigned int nbytes) nbytes 200 arch/s390/crypto/paes_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 283 arch/s390/crypto/paes_s390.c unsigned int nbytes, n, k; nbytes 293 arch/s390/crypto/paes_s390.c while ((nbytes = walk->nbytes) >= AES_BLOCK_SIZE) { nbytes 295 arch/s390/crypto/paes_s390.c n = nbytes & ~(AES_BLOCK_SIZE - 1); nbytes 299 arch/s390/crypto/paes_s390.c ret = blkcipher_walk_done(desc, walk, nbytes - k); nbytes 312 arch/s390/crypto/paes_s390.c unsigned int nbytes) nbytes 316 arch/s390/crypto/paes_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 322 arch/s390/crypto/paes_s390.c unsigned int nbytes) nbytes 326 arch/s390/crypto/paes_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 437 arch/s390/crypto/paes_s390.c unsigned int keylen, offset, nbytes, n, k; nbytes 463 arch/s390/crypto/paes_s390.c while ((nbytes = walk->nbytes) >= AES_BLOCK_SIZE) { nbytes 465 arch/s390/crypto/paes_s390.c n = nbytes & ~(AES_BLOCK_SIZE - 1); nbytes 469 arch/s390/crypto/paes_s390.c ret = blkcipher_walk_done(desc, walk, nbytes - k); nbytes 481 arch/s390/crypto/paes_s390.c unsigned int nbytes) nbytes 485 arch/s390/crypto/paes_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 491 arch/s390/crypto/paes_s390.c unsigned int nbytes) nbytes 495 arch/s390/crypto/paes_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 576 arch/s390/crypto/paes_s390.c static unsigned int __ctrblk_init(u8 *ctrptr, u8 *iv, unsigned int nbytes) nbytes 582 arch/s390/crypto/paes_s390.c n = (nbytes > PAGE_SIZE) ? PAGE_SIZE : nbytes & ~(AES_BLOCK_SIZE - 1); nbytes 596 arch/s390/crypto/paes_s390.c unsigned int nbytes, n, k; nbytes 602 arch/s390/crypto/paes_s390.c while ((nbytes = walk->nbytes) >= AES_BLOCK_SIZE) { nbytes 604 arch/s390/crypto/paes_s390.c if (nbytes >= 2*AES_BLOCK_SIZE && locked) nbytes 605 arch/s390/crypto/paes_s390.c n = __ctrblk_init(ctrblk, walk->iv, nbytes); nbytes 615 arch/s390/crypto/paes_s390.c ret = blkcipher_walk_done(desc, walk, nbytes - n); nbytes 630 arch/s390/crypto/paes_s390.c if (nbytes) { nbytes 640 arch/s390/crypto/paes_s390.c memcpy(walk->dst.virt.addr, buf, nbytes); nbytes 650 arch/s390/crypto/paes_s390.c unsigned int nbytes) nbytes 654 arch/s390/crypto/paes_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 660 arch/s390/crypto/paes_s390.c unsigned int nbytes) nbytes 664 arch/s390/crypto/paes_s390.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 135 arch/s390/crypto/prng.c static int generate_entropy(u8 *ebuf, size_t nbytes) nbytes 160 arch/s390/crypto/prng.c while (nbytes) { nbytes 171 arch/s390/crypto/prng.c n = (nbytes < 64) ? nbytes : 64; nbytes 175 arch/s390/crypto/prng.c nbytes -= n; nbytes 201 arch/s390/crypto/prng.c static void prng_tdes_seed(int nbytes) nbytes 206 arch/s390/crypto/prng.c BUG_ON(nbytes > sizeof(buf)); nbytes 208 arch/s390/crypto/prng.c get_random_bytes(buf, nbytes); nbytes 211 arch/s390/crypto/prng.c while (nbytes >= 8) { nbytes 215 arch/s390/crypto/prng.c nbytes -= 8; nbytes 476 arch/s390/crypto/prng.c static int prng_sha512_generate(u8 *buf, size_t nbytes) nbytes 489 arch/s390/crypto/prng.c &prng_data->prnows, buf, nbytes, NULL, 0); nbytes 493 arch/s390/crypto/prng.c if (!memcmp(prng_data->prev, buf, nbytes)) { nbytes 497 arch/s390/crypto/prng.c memcpy(prng_data->prev, buf, nbytes); nbytes 500 arch/s390/crypto/prng.c return nbytes; nbytes 513 arch/s390/crypto/prng.c size_t nbytes, loff_t *ppos) nbytes 521 arch/s390/crypto/prng.c while (nbytes) { nbytes 543 arch/s390/crypto/prng.c chunk = min_t(int, nbytes, prng_chunk_size); nbytes 578 arch/s390/crypto/prng.c nbytes -= chunk; nbytes 591 arch/s390/crypto/prng.c size_t nbytes, loff_t *ppos) nbytes 604 arch/s390/crypto/prng.c while (nbytes) { nbytes 624 arch/s390/crypto/prng.c n = (nbytes < prng_data->rest) ? nbytes 625 arch/s390/crypto/prng.c nbytes : prng_data->rest; nbytes 635 arch/s390/crypto/prng.c if (nbytes < prng_chunk_size) { nbytes 636 arch/s390/crypto/prng.c n = nbytes; nbytes 649 arch/s390/crypto/prng.c nbytes -= n; nbytes 22 arch/s390/include/asm/archrandom.h bool s390_arch_random_generate(u8 *buf, unsigned int nbytes); nbytes 218 arch/sparc/crypto/aes_glue.c unsigned int nbytes) nbytes 224 arch/sparc/crypto/aes_glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 229 arch/sparc/crypto/aes_glue.c while ((nbytes = walk.nbytes)) { nbytes 230 arch/sparc/crypto/aes_glue.c unsigned int block_len = nbytes & AES_BLOCK_MASK; nbytes 238 arch/sparc/crypto/aes_glue.c nbytes &= AES_BLOCK_SIZE - 1; nbytes 239 arch/sparc/crypto/aes_glue.c err = blkcipher_walk_done(desc, &walk, nbytes); nbytes 247 arch/sparc/crypto/aes_glue.c unsigned int nbytes) nbytes 254 arch/sparc/crypto/aes_glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 260 arch/sparc/crypto/aes_glue.c while ((nbytes = walk.nbytes)) { nbytes 261 arch/sparc/crypto/aes_glue.c unsigned int block_len = nbytes & AES_BLOCK_MASK; nbytes 268 arch/sparc/crypto/aes_glue.c nbytes &= AES_BLOCK_SIZE - 1; nbytes 269 arch/sparc/crypto/aes_glue.c err = blkcipher_walk_done(desc, &walk, nbytes); nbytes 278 arch/sparc/crypto/aes_glue.c unsigned int nbytes) nbytes 284 arch/sparc/crypto/aes_glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 289 arch/sparc/crypto/aes_glue.c while ((nbytes = walk.nbytes)) { nbytes 290 arch/sparc/crypto/aes_glue.c unsigned int block_len = nbytes & AES_BLOCK_MASK; nbytes 298 arch/sparc/crypto/aes_glue.c nbytes &= AES_BLOCK_SIZE - 1; nbytes 299 arch/sparc/crypto/aes_glue.c err = blkcipher_walk_done(desc, &walk, nbytes); nbytes 307 arch/sparc/crypto/aes_glue.c unsigned int nbytes) nbytes 314 arch/sparc/crypto/aes_glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 320 arch/sparc/crypto/aes_glue.c while ((nbytes = walk.nbytes)) { nbytes 321 arch/sparc/crypto/aes_glue.c unsigned int block_len = nbytes & AES_BLOCK_MASK; nbytes 329 arch/sparc/crypto/aes_glue.c nbytes &= AES_BLOCK_SIZE - 1; nbytes 330 arch/sparc/crypto/aes_glue.c err = blkcipher_walk_done(desc, &walk, nbytes); nbytes 344 arch/sparc/crypto/aes_glue.c unsigned int nbytes = walk->nbytes; nbytes 348 arch/sparc/crypto/aes_glue.c crypto_xor_cpy(dst, (u8 *) keystream, src, nbytes); nbytes 354 arch/sparc/crypto/aes_glue.c unsigned int nbytes) nbytes 360 arch/sparc/crypto/aes_glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 365 arch/sparc/crypto/aes_glue.c while ((nbytes = walk.nbytes) >= AES_BLOCK_SIZE) { nbytes 366 arch/sparc/crypto/aes_glue.c unsigned int block_len = nbytes & AES_BLOCK_MASK; nbytes 374 arch/sparc/crypto/aes_glue.c nbytes &= AES_BLOCK_SIZE - 1; nbytes 375 arch/sparc/crypto/aes_glue.c err = blkcipher_walk_done(desc, &walk, nbytes); nbytes 377 arch/sparc/crypto/aes_glue.c if (walk.nbytes) { nbytes 88 arch/sparc/crypto/camellia_glue.c unsigned int nbytes, bool encrypt) nbytes 100 arch/sparc/crypto/camellia_glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 109 arch/sparc/crypto/camellia_glue.c while ((nbytes = walk.nbytes)) { nbytes 110 arch/sparc/crypto/camellia_glue.c unsigned int block_len = nbytes & CAMELLIA_BLOCK_MASK; nbytes 120 arch/sparc/crypto/camellia_glue.c nbytes &= CAMELLIA_BLOCK_SIZE - 1; nbytes 121 arch/sparc/crypto/camellia_glue.c err = blkcipher_walk_done(desc, &walk, nbytes); nbytes 129 arch/sparc/crypto/camellia_glue.c unsigned int nbytes) nbytes 131 arch/sparc/crypto/camellia_glue.c return __ecb_crypt(desc, dst, src, nbytes, true); nbytes 136 arch/sparc/crypto/camellia_glue.c unsigned int nbytes) nbytes 138 arch/sparc/crypto/camellia_glue.c return __ecb_crypt(desc, dst, src, nbytes, false); nbytes 151 arch/sparc/crypto/camellia_glue.c unsigned int nbytes) nbytes 163 arch/sparc/crypto/camellia_glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 169 arch/sparc/crypto/camellia_glue.c while ((nbytes = walk.nbytes)) { nbytes 170 arch/sparc/crypto/camellia_glue.c unsigned int block_len = nbytes & CAMELLIA_BLOCK_MASK; nbytes 181 arch/sparc/crypto/camellia_glue.c nbytes &= CAMELLIA_BLOCK_SIZE - 1; nbytes 182 arch/sparc/crypto/camellia_glue.c err = blkcipher_walk_done(desc, &walk, nbytes); nbytes 190 arch/sparc/crypto/camellia_glue.c unsigned int nbytes) nbytes 202 arch/sparc/crypto/camellia_glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 208 arch/sparc/crypto/camellia_glue.c while ((nbytes = walk.nbytes)) { nbytes 209 arch/sparc/crypto/camellia_glue.c unsigned int block_len = nbytes & CAMELLIA_BLOCK_MASK; nbytes 220 arch/sparc/crypto/camellia_glue.c nbytes &= CAMELLIA_BLOCK_SIZE - 1; nbytes 221 arch/sparc/crypto/camellia_glue.c err = blkcipher_walk_done(desc, &walk, nbytes); nbytes 92 arch/sparc/crypto/des_glue.c unsigned int nbytes, bool encrypt) nbytes 98 arch/sparc/crypto/des_glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 106 arch/sparc/crypto/des_glue.c while ((nbytes = walk.nbytes)) { nbytes 107 arch/sparc/crypto/des_glue.c unsigned int block_len = nbytes & DES_BLOCK_MASK; nbytes 114 arch/sparc/crypto/des_glue.c nbytes &= DES_BLOCK_SIZE - 1; nbytes 115 arch/sparc/crypto/des_glue.c err = blkcipher_walk_done(desc, &walk, nbytes); nbytes 123 arch/sparc/crypto/des_glue.c unsigned int nbytes) nbytes 125 arch/sparc/crypto/des_glue.c return __ecb_crypt(desc, dst, src, nbytes, true); nbytes 130 arch/sparc/crypto/des_glue.c unsigned int nbytes) nbytes 132 arch/sparc/crypto/des_glue.c return __ecb_crypt(desc, dst, src, nbytes, false); nbytes 140 arch/sparc/crypto/des_glue.c unsigned int nbytes) nbytes 146 arch/sparc/crypto/des_glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 151 arch/sparc/crypto/des_glue.c while ((nbytes = walk.nbytes)) { nbytes 152 arch/sparc/crypto/des_glue.c unsigned int block_len = nbytes & DES_BLOCK_MASK; nbytes 159 arch/sparc/crypto/des_glue.c nbytes &= DES_BLOCK_SIZE - 1; nbytes 160 arch/sparc/crypto/des_glue.c err = blkcipher_walk_done(desc, &walk, nbytes); nbytes 171 arch/sparc/crypto/des_glue.c unsigned int nbytes) nbytes 177 arch/sparc/crypto/des_glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 182 arch/sparc/crypto/des_glue.c while ((nbytes = walk.nbytes)) { nbytes 183 arch/sparc/crypto/des_glue.c unsigned int block_len = nbytes & DES_BLOCK_MASK; nbytes 190 arch/sparc/crypto/des_glue.c nbytes &= DES_BLOCK_SIZE - 1; nbytes 191 arch/sparc/crypto/des_glue.c err = blkcipher_walk_done(desc, &walk, nbytes); nbytes 256 arch/sparc/crypto/des_glue.c unsigned int nbytes, bool encrypt) nbytes 263 arch/sparc/crypto/des_glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 272 arch/sparc/crypto/des_glue.c while ((nbytes = walk.nbytes)) { nbytes 273 arch/sparc/crypto/des_glue.c unsigned int block_len = nbytes & DES_BLOCK_MASK; nbytes 281 arch/sparc/crypto/des_glue.c nbytes &= DES_BLOCK_SIZE - 1; nbytes 282 arch/sparc/crypto/des_glue.c err = blkcipher_walk_done(desc, &walk, nbytes); nbytes 290 arch/sparc/crypto/des_glue.c unsigned int nbytes) nbytes 292 arch/sparc/crypto/des_glue.c return __ecb3_crypt(desc, dst, src, nbytes, true); nbytes 297 arch/sparc/crypto/des_glue.c unsigned int nbytes) nbytes 299 arch/sparc/crypto/des_glue.c return __ecb3_crypt(desc, dst, src, nbytes, false); nbytes 308 arch/sparc/crypto/des_glue.c unsigned int nbytes) nbytes 315 arch/sparc/crypto/des_glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 321 arch/sparc/crypto/des_glue.c while ((nbytes = walk.nbytes)) { nbytes 322 arch/sparc/crypto/des_glue.c unsigned int block_len = nbytes & DES_BLOCK_MASK; nbytes 331 arch/sparc/crypto/des_glue.c nbytes &= DES_BLOCK_SIZE - 1; nbytes 332 arch/sparc/crypto/des_glue.c err = blkcipher_walk_done(desc, &walk, nbytes); nbytes 344 arch/sparc/crypto/des_glue.c unsigned int nbytes) nbytes 351 arch/sparc/crypto/des_glue.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 357 arch/sparc/crypto/des_glue.c while ((nbytes = walk.nbytes)) { nbytes 358 arch/sparc/crypto/des_glue.c unsigned int block_len = nbytes & DES_BLOCK_MASK; nbytes 367 arch/sparc/crypto/des_glue.c nbytes &= DES_BLOCK_SIZE - 1; nbytes 368 arch/sparc/crypto/des_glue.c err = blkcipher_walk_done(desc, &walk, nbytes); nbytes 42 arch/sparc/include/asm/openprom.h int (*v2_dev_read)(int d, char *buf, int nbytes); nbytes 43 arch/sparc/include/asm/openprom.h int (*v2_dev_write)(int d, const char *buf, int nbytes); nbytes 121 arch/x86/crypto/aegis128-aesni-glue.c while (walk->nbytes >= AEGIS128_BLOCK_SIZE) { nbytes 123 arch/x86/crypto/aegis128-aesni-glue.c round_down(walk->nbytes, AEGIS128_BLOCK_SIZE), nbytes 125 arch/x86/crypto/aegis128-aesni-glue.c skcipher_walk_done(walk, walk->nbytes % AEGIS128_BLOCK_SIZE); nbytes 128 arch/x86/crypto/aegis128-aesni-glue.c if (walk->nbytes) { nbytes 129 arch/x86/crypto/aegis128-aesni-glue.c ops->crypt_tail(state, walk->nbytes, walk->src.virt.addr, nbytes 385 arch/x86/crypto/aesni-intel_glue.c unsigned int nbytes; nbytes 391 arch/x86/crypto/aesni-intel_glue.c while ((nbytes = walk.nbytes)) { nbytes 393 arch/x86/crypto/aesni-intel_glue.c nbytes & AES_BLOCK_MASK); nbytes 394 arch/x86/crypto/aesni-intel_glue.c nbytes &= AES_BLOCK_SIZE - 1; nbytes 395 arch/x86/crypto/aesni-intel_glue.c err = skcipher_walk_done(&walk, nbytes); nbytes 407 arch/x86/crypto/aesni-intel_glue.c unsigned int nbytes; nbytes 413 arch/x86/crypto/aesni-intel_glue.c while ((nbytes = walk.nbytes)) { nbytes 415 arch/x86/crypto/aesni-intel_glue.c nbytes & AES_BLOCK_MASK); nbytes 416 arch/x86/crypto/aesni-intel_glue.c nbytes &= AES_BLOCK_SIZE - 1; nbytes 417 arch/x86/crypto/aesni-intel_glue.c err = skcipher_walk_done(&walk, nbytes); nbytes 429 arch/x86/crypto/aesni-intel_glue.c unsigned int nbytes; nbytes 435 arch/x86/crypto/aesni-intel_glue.c while ((nbytes = walk.nbytes)) { nbytes 437 arch/x86/crypto/aesni-intel_glue.c nbytes & AES_BLOCK_MASK, walk.iv); nbytes 438 arch/x86/crypto/aesni-intel_glue.c nbytes &= AES_BLOCK_SIZE - 1; nbytes 439 arch/x86/crypto/aesni-intel_glue.c err = skcipher_walk_done(&walk, nbytes); nbytes 451 arch/x86/crypto/aesni-intel_glue.c unsigned int nbytes; nbytes 457 arch/x86/crypto/aesni-intel_glue.c while ((nbytes = walk.nbytes)) { nbytes 459 arch/x86/crypto/aesni-intel_glue.c nbytes & AES_BLOCK_MASK, walk.iv); nbytes 460 arch/x86/crypto/aesni-intel_glue.c nbytes &= AES_BLOCK_SIZE - 1; nbytes 461 arch/x86/crypto/aesni-intel_glue.c err = skcipher_walk_done(&walk, nbytes); nbytes 476 arch/x86/crypto/aesni-intel_glue.c unsigned int nbytes = walk->nbytes; nbytes 479 arch/x86/crypto/aesni-intel_glue.c crypto_xor_cpy(dst, keystream, src, nbytes); nbytes 508 arch/x86/crypto/aesni-intel_glue.c unsigned int nbytes; nbytes 514 arch/x86/crypto/aesni-intel_glue.c while ((nbytes = walk.nbytes) >= AES_BLOCK_SIZE) { nbytes 516 arch/x86/crypto/aesni-intel_glue.c nbytes & AES_BLOCK_MASK, walk.iv); nbytes 517 arch/x86/crypto/aesni-intel_glue.c nbytes &= AES_BLOCK_SIZE - 1; nbytes 518 arch/x86/crypto/aesni-intel_glue.c err = skcipher_walk_done(&walk, nbytes); nbytes 520 arch/x86/crypto/aesni-intel_glue.c if (walk.nbytes) { nbytes 79 arch/x86/crypto/blowfish_glue.c unsigned int nbytes; nbytes 84 arch/x86/crypto/blowfish_glue.c while ((nbytes = walk.nbytes)) { nbytes 89 arch/x86/crypto/blowfish_glue.c if (nbytes >= bsize * 4) { nbytes 95 arch/x86/crypto/blowfish_glue.c nbytes -= bsize * 4; nbytes 96 arch/x86/crypto/blowfish_glue.c } while (nbytes >= bsize * 4); nbytes 98 arch/x86/crypto/blowfish_glue.c if (nbytes < bsize) nbytes 108 arch/x86/crypto/blowfish_glue.c nbytes -= bsize; nbytes 109 arch/x86/crypto/blowfish_glue.c } while (nbytes >= bsize); nbytes 112 arch/x86/crypto/blowfish_glue.c err = skcipher_walk_done(&walk, nbytes); nbytes 132 arch/x86/crypto/blowfish_glue.c unsigned int nbytes = walk->nbytes; nbytes 144 arch/x86/crypto/blowfish_glue.c nbytes -= bsize; nbytes 145 arch/x86/crypto/blowfish_glue.c } while (nbytes >= bsize); nbytes 148 arch/x86/crypto/blowfish_glue.c return nbytes; nbytes 156 arch/x86/crypto/blowfish_glue.c unsigned int nbytes; nbytes 161 arch/x86/crypto/blowfish_glue.c while ((nbytes = walk.nbytes)) { nbytes 162 arch/x86/crypto/blowfish_glue.c nbytes = __cbc_encrypt(ctx, &walk); nbytes 163 arch/x86/crypto/blowfish_glue.c err = skcipher_walk_done(&walk, nbytes); nbytes 173 arch/x86/crypto/blowfish_glue.c unsigned int nbytes = walk->nbytes; nbytes 180 arch/x86/crypto/blowfish_glue.c src += nbytes / bsize - 1; nbytes 181 arch/x86/crypto/blowfish_glue.c dst += nbytes / bsize - 1; nbytes 186 arch/x86/crypto/blowfish_glue.c if (nbytes >= bsize * 4) { nbytes 188 arch/x86/crypto/blowfish_glue.c nbytes -= bsize * 4 - bsize; nbytes 202 arch/x86/crypto/blowfish_glue.c nbytes -= bsize; nbytes 203 arch/x86/crypto/blowfish_glue.c if (nbytes < bsize) nbytes 209 arch/x86/crypto/blowfish_glue.c } while (nbytes >= bsize * 4); nbytes 216 arch/x86/crypto/blowfish_glue.c nbytes -= bsize; nbytes 217 arch/x86/crypto/blowfish_glue.c if (nbytes < bsize) nbytes 229 arch/x86/crypto/blowfish_glue.c return nbytes; nbytes 237 arch/x86/crypto/blowfish_glue.c unsigned int nbytes; nbytes 242 arch/x86/crypto/blowfish_glue.c while ((nbytes = walk.nbytes)) { nbytes 243 arch/x86/crypto/blowfish_glue.c nbytes = __cbc_decrypt(ctx, &walk); nbytes 244 arch/x86/crypto/blowfish_glue.c err = skcipher_walk_done(&walk, nbytes); nbytes 256 arch/x86/crypto/blowfish_glue.c unsigned int nbytes = walk->nbytes; nbytes 259 arch/x86/crypto/blowfish_glue.c crypto_xor_cpy(dst, keystream, src, nbytes); nbytes 267 arch/x86/crypto/blowfish_glue.c unsigned int nbytes = walk->nbytes; nbytes 274 arch/x86/crypto/blowfish_glue.c if (nbytes >= bsize * 4) { nbytes 294 arch/x86/crypto/blowfish_glue.c } while ((nbytes -= bsize * 4) >= bsize * 4); nbytes 296 arch/x86/crypto/blowfish_glue.c if (nbytes < bsize) nbytes 311 arch/x86/crypto/blowfish_glue.c } while ((nbytes -= bsize) >= bsize); nbytes 315 arch/x86/crypto/blowfish_glue.c return nbytes; nbytes 323 arch/x86/crypto/blowfish_glue.c unsigned int nbytes; nbytes 328 arch/x86/crypto/blowfish_glue.c while ((nbytes = walk.nbytes) >= BF_BLOCK_SIZE) { nbytes 329 arch/x86/crypto/blowfish_glue.c nbytes = __ctr_crypt(ctx, &walk); nbytes 330 arch/x86/crypto/blowfish_glue.c err = skcipher_walk_done(&walk, nbytes); nbytes 333 arch/x86/crypto/blowfish_glue.c if (nbytes) { nbytes 36 arch/x86/crypto/cast5_avx_glue.c unsigned int nbytes) nbytes 39 arch/x86/crypto/cast5_avx_glue.c walk, fpu_enabled, nbytes); nbytes 54 arch/x86/crypto/cast5_avx_glue.c unsigned int nbytes; nbytes 60 arch/x86/crypto/cast5_avx_glue.c while ((nbytes = walk.nbytes)) { nbytes 64 arch/x86/crypto/cast5_avx_glue.c fpu_enabled = cast5_fpu_begin(fpu_enabled, &walk, nbytes); nbytes 67 arch/x86/crypto/cast5_avx_glue.c if (nbytes >= bsize * CAST5_PARALLEL_BLOCKS) { nbytes 74 arch/x86/crypto/cast5_avx_glue.c nbytes -= bsize * CAST5_PARALLEL_BLOCKS; nbytes 75 arch/x86/crypto/cast5_avx_glue.c } while (nbytes >= bsize * CAST5_PARALLEL_BLOCKS); nbytes 77 arch/x86/crypto/cast5_avx_glue.c if (nbytes < bsize) nbytes 89 arch/x86/crypto/cast5_avx_glue.c nbytes -= bsize; nbytes 90 arch/x86/crypto/cast5_avx_glue.c } while (nbytes >= bsize); nbytes 93 arch/x86/crypto/cast5_avx_glue.c err = skcipher_walk_done(&walk, nbytes); nbytes 116 arch/x86/crypto/cast5_avx_glue.c unsigned int nbytes; nbytes 121 arch/x86/crypto/cast5_avx_glue.c while ((nbytes = walk.nbytes)) { nbytes 132 arch/x86/crypto/cast5_avx_glue.c nbytes -= bsize; nbytes 133 arch/x86/crypto/cast5_avx_glue.c } while (nbytes >= bsize); nbytes 136 arch/x86/crypto/cast5_avx_glue.c err = skcipher_walk_done(&walk, nbytes); nbytes 146 arch/x86/crypto/cast5_avx_glue.c unsigned int nbytes = walk->nbytes; nbytes 152 arch/x86/crypto/cast5_avx_glue.c src += nbytes / bsize - 1; nbytes 153 arch/x86/crypto/cast5_avx_glue.c dst += nbytes / bsize - 1; nbytes 158 arch/x86/crypto/cast5_avx_glue.c if (nbytes >= bsize * CAST5_PARALLEL_BLOCKS) { nbytes 160 arch/x86/crypto/cast5_avx_glue.c nbytes -= bsize * (CAST5_PARALLEL_BLOCKS - 1); nbytes 166 arch/x86/crypto/cast5_avx_glue.c nbytes -= bsize; nbytes 167 arch/x86/crypto/cast5_avx_glue.c if (nbytes < bsize) nbytes 173 arch/x86/crypto/cast5_avx_glue.c } while (nbytes >= bsize * CAST5_PARALLEL_BLOCKS); nbytes 180 arch/x86/crypto/cast5_avx_glue.c nbytes -= bsize; nbytes 181 arch/x86/crypto/cast5_avx_glue.c if (nbytes < bsize) nbytes 193 arch/x86/crypto/cast5_avx_glue.c return nbytes; nbytes 202 arch/x86/crypto/cast5_avx_glue.c unsigned int nbytes; nbytes 207 arch/x86/crypto/cast5_avx_glue.c while ((nbytes = walk.nbytes)) { nbytes 208 arch/x86/crypto/cast5_avx_glue.c fpu_enabled = cast5_fpu_begin(fpu_enabled, &walk, nbytes); nbytes 209 arch/x86/crypto/cast5_avx_glue.c nbytes = __cbc_decrypt(ctx, &walk); nbytes 210 arch/x86/crypto/cast5_avx_glue.c err = skcipher_walk_done(&walk, nbytes); nbytes 223 arch/x86/crypto/cast5_avx_glue.c unsigned int nbytes = walk->nbytes; nbytes 226 arch/x86/crypto/cast5_avx_glue.c crypto_xor_cpy(dst, keystream, src, nbytes); nbytes 235 arch/x86/crypto/cast5_avx_glue.c unsigned int nbytes = walk->nbytes; nbytes 240 arch/x86/crypto/cast5_avx_glue.c if (nbytes >= bsize * CAST5_PARALLEL_BLOCKS) { nbytes 247 arch/x86/crypto/cast5_avx_glue.c nbytes -= bsize * CAST5_PARALLEL_BLOCKS; nbytes 248 arch/x86/crypto/cast5_avx_glue.c } while (nbytes >= bsize * CAST5_PARALLEL_BLOCKS); nbytes 250 arch/x86/crypto/cast5_avx_glue.c if (nbytes < bsize) nbytes 269 arch/x86/crypto/cast5_avx_glue.c nbytes -= bsize; nbytes 270 arch/x86/crypto/cast5_avx_glue.c } while (nbytes >= bsize); nbytes 273 arch/x86/crypto/cast5_avx_glue.c return nbytes; nbytes 282 arch/x86/crypto/cast5_avx_glue.c unsigned int nbytes; nbytes 287 arch/x86/crypto/cast5_avx_glue.c while ((nbytes = walk.nbytes) >= CAST5_BLOCK_SIZE) { nbytes 288 arch/x86/crypto/cast5_avx_glue.c fpu_enabled = cast5_fpu_begin(fpu_enabled, &walk, nbytes); nbytes 289 arch/x86/crypto/cast5_avx_glue.c nbytes = __ctr_crypt(&walk, ctx); nbytes 290 arch/x86/crypto/cast5_avx_glue.c err = skcipher_walk_done(&walk, nbytes); nbytes 295 arch/x86/crypto/cast5_avx_glue.c if (walk.nbytes) { nbytes 138 arch/x86/crypto/chacha_glue.c while (walk->nbytes > 0) { nbytes 139 arch/x86/crypto/chacha_glue.c unsigned int nbytes = walk->nbytes; nbytes 141 arch/x86/crypto/chacha_glue.c if (nbytes < walk->total) { nbytes 142 arch/x86/crypto/chacha_glue.c nbytes = round_down(nbytes, walk->stride); nbytes 143 arch/x86/crypto/chacha_glue.c next_yield -= nbytes; nbytes 147 arch/x86/crypto/chacha_glue.c nbytes, ctx->nrounds); nbytes 156 arch/x86/crypto/chacha_glue.c err = skcipher_walk_done(walk, walk->nbytes - nbytes); nbytes 80 arch/x86/crypto/des3_ede_glue.c unsigned int nbytes; nbytes 85 arch/x86/crypto/des3_ede_glue.c while ((nbytes = walk.nbytes)) { nbytes 90 arch/x86/crypto/des3_ede_glue.c if (nbytes >= bsize * 3) { nbytes 97 arch/x86/crypto/des3_ede_glue.c nbytes -= bsize * 3; nbytes 98 arch/x86/crypto/des3_ede_glue.c } while (nbytes >= bsize * 3); nbytes 100 arch/x86/crypto/des3_ede_glue.c if (nbytes < bsize) nbytes 110 arch/x86/crypto/des3_ede_glue.c nbytes -= bsize; nbytes 111 arch/x86/crypto/des3_ede_glue.c } while (nbytes >= bsize); nbytes 114 arch/x86/crypto/des3_ede_glue.c err = skcipher_walk_done(&walk, nbytes); nbytes 140 arch/x86/crypto/des3_ede_glue.c unsigned int nbytes = walk->nbytes; nbytes 152 arch/x86/crypto/des3_ede_glue.c nbytes -= bsize; nbytes 153 arch/x86/crypto/des3_ede_glue.c } while (nbytes >= bsize); nbytes 156 arch/x86/crypto/des3_ede_glue.c return nbytes; nbytes 164 arch/x86/crypto/des3_ede_glue.c unsigned int nbytes; nbytes 169 arch/x86/crypto/des3_ede_glue.c while ((nbytes = walk.nbytes)) { nbytes 170 arch/x86/crypto/des3_ede_glue.c nbytes = __cbc_encrypt(ctx, &walk); nbytes 171 arch/x86/crypto/des3_ede_glue.c err = skcipher_walk_done(&walk, nbytes); nbytes 181 arch/x86/crypto/des3_ede_glue.c unsigned int nbytes = walk->nbytes; nbytes 188 arch/x86/crypto/des3_ede_glue.c src += nbytes / bsize - 1; nbytes 189 arch/x86/crypto/des3_ede_glue.c dst += nbytes / bsize - 1; nbytes 194 arch/x86/crypto/des3_ede_glue.c if (nbytes >= bsize * 3) { nbytes 196 arch/x86/crypto/des3_ede_glue.c nbytes -= bsize * 3 - bsize; nbytes 208 arch/x86/crypto/des3_ede_glue.c nbytes -= bsize; nbytes 209 arch/x86/crypto/des3_ede_glue.c if (nbytes < bsize) nbytes 215 arch/x86/crypto/des3_ede_glue.c } while (nbytes >= bsize * 3); nbytes 222 arch/x86/crypto/des3_ede_glue.c nbytes -= bsize; nbytes 223 arch/x86/crypto/des3_ede_glue.c if (nbytes < bsize) nbytes 235 arch/x86/crypto/des3_ede_glue.c return nbytes; nbytes 243 arch/x86/crypto/des3_ede_glue.c unsigned int nbytes; nbytes 248 arch/x86/crypto/des3_ede_glue.c while ((nbytes = walk.nbytes)) { nbytes 249 arch/x86/crypto/des3_ede_glue.c nbytes = __cbc_decrypt(ctx, &walk); nbytes 250 arch/x86/crypto/des3_ede_glue.c err = skcipher_walk_done(&walk, nbytes); nbytes 263 arch/x86/crypto/des3_ede_glue.c unsigned int nbytes = walk->nbytes; nbytes 266 arch/x86/crypto/des3_ede_glue.c crypto_xor_cpy(dst, keystream, src, nbytes); nbytes 275 arch/x86/crypto/des3_ede_glue.c unsigned int nbytes = walk->nbytes; nbytes 282 arch/x86/crypto/des3_ede_glue.c if (nbytes >= bsize * 3) { nbytes 298 arch/x86/crypto/des3_ede_glue.c } while ((nbytes -= bsize * 3) >= bsize * 3); nbytes 300 arch/x86/crypto/des3_ede_glue.c if (nbytes < bsize) nbytes 314 arch/x86/crypto/des3_ede_glue.c } while ((nbytes -= bsize) >= bsize); nbytes 318 arch/x86/crypto/des3_ede_glue.c return nbytes; nbytes 326 arch/x86/crypto/des3_ede_glue.c unsigned int nbytes; nbytes 331 arch/x86/crypto/des3_ede_glue.c while ((nbytes = walk.nbytes) >= DES3_EDE_BLOCK_SIZE) { nbytes 332 arch/x86/crypto/des3_ede_glue.c nbytes = __ctr_crypt(ctx, &walk); nbytes 333 arch/x86/crypto/des3_ede_glue.c err = skcipher_walk_done(&walk, nbytes); nbytes 336 arch/x86/crypto/des3_ede_glue.c if (nbytes) { nbytes 28 arch/x86/crypto/glue_helper.c unsigned int nbytes; nbytes 33 arch/x86/crypto/glue_helper.c while ((nbytes = walk.nbytes)) { nbytes 40 arch/x86/crypto/glue_helper.c &walk, fpu_enabled, nbytes); nbytes 44 arch/x86/crypto/glue_helper.c if (nbytes < func_bytes) nbytes 52 arch/x86/crypto/glue_helper.c nbytes -= func_bytes; nbytes 53 arch/x86/crypto/glue_helper.c } while (nbytes >= func_bytes); nbytes 55 arch/x86/crypto/glue_helper.c if (nbytes < bsize) nbytes 58 arch/x86/crypto/glue_helper.c err = skcipher_walk_done(&walk, nbytes); nbytes 72 arch/x86/crypto/glue_helper.c unsigned int nbytes; nbytes 77 arch/x86/crypto/glue_helper.c while ((nbytes = walk.nbytes)) { nbytes 88 arch/x86/crypto/glue_helper.c nbytes -= bsize; nbytes 89 arch/x86/crypto/glue_helper.c } while (nbytes >= bsize); nbytes 92 arch/x86/crypto/glue_helper.c err = skcipher_walk_done(&walk, nbytes); nbytes 105 arch/x86/crypto/glue_helper.c unsigned int nbytes; nbytes 110 arch/x86/crypto/glue_helper.c while ((nbytes = walk.nbytes)) { nbytes 118 arch/x86/crypto/glue_helper.c &walk, fpu_enabled, nbytes); nbytes 120 arch/x86/crypto/glue_helper.c src += nbytes / bsize - 1; nbytes 121 arch/x86/crypto/glue_helper.c dst += nbytes / bsize - 1; nbytes 129 arch/x86/crypto/glue_helper.c if (nbytes < func_bytes) nbytes 139 arch/x86/crypto/glue_helper.c nbytes -= func_bytes; nbytes 140 arch/x86/crypto/glue_helper.c if (nbytes < bsize) nbytes 145 arch/x86/crypto/glue_helper.c } while (nbytes >= func_bytes); nbytes 150 arch/x86/crypto/glue_helper.c err = skcipher_walk_done(&walk, nbytes); nbytes 165 arch/x86/crypto/glue_helper.c unsigned int nbytes; nbytes 170 arch/x86/crypto/glue_helper.c while ((nbytes = walk.nbytes) >= bsize) { nbytes 178 arch/x86/crypto/glue_helper.c &walk, fpu_enabled, nbytes); nbytes 186 arch/x86/crypto/glue_helper.c if (nbytes < func_bytes) nbytes 194 arch/x86/crypto/glue_helper.c nbytes -= func_bytes; nbytes 195 arch/x86/crypto/glue_helper.c } while (nbytes >= func_bytes); nbytes 197 arch/x86/crypto/glue_helper.c if (nbytes < bsize) nbytes 202 arch/x86/crypto/glue_helper.c err = skcipher_walk_done(&walk, nbytes); nbytes 207 arch/x86/crypto/glue_helper.c if (nbytes) { nbytes 212 arch/x86/crypto/glue_helper.c memcpy(&tmp, walk.src.virt.addr, nbytes); nbytes 215 arch/x86/crypto/glue_helper.c memcpy(walk.dst.virt.addr, &tmp, nbytes); nbytes 230 arch/x86/crypto/glue_helper.c unsigned int nbytes = walk->nbytes; nbytes 241 arch/x86/crypto/glue_helper.c if (nbytes >= func_bytes) { nbytes 248 arch/x86/crypto/glue_helper.c nbytes -= func_bytes; nbytes 249 arch/x86/crypto/glue_helper.c } while (nbytes >= func_bytes); nbytes 251 arch/x86/crypto/glue_helper.c if (nbytes < bsize) nbytes 257 arch/x86/crypto/glue_helper.c return nbytes; nbytes 270 arch/x86/crypto/glue_helper.c unsigned int nbytes, tail; nbytes 291 arch/x86/crypto/glue_helper.c nbytes = walk.nbytes; nbytes 298 arch/x86/crypto/glue_helper.c nbytes < bsize ? bsize : nbytes); nbytes 303 arch/x86/crypto/glue_helper.c while (nbytes) { nbytes 304 arch/x86/crypto/glue_helper.c nbytes = __glue_xts_req_128bit(gctx, crypt_ctx, &walk); nbytes 306 arch/x86/crypto/glue_helper.c err = skcipher_walk_done(&walk, nbytes); nbytes 307 arch/x86/crypto/glue_helper.c nbytes = walk.nbytes; nbytes 49 arch/x86/include/asm/crypto/glue_helper.h bool fpu_enabled, unsigned int nbytes) nbytes 61 arch/x86/include/asm/crypto/glue_helper.h if (nbytes < bsize * (unsigned int)fpu_blocks_limit) nbytes 20 arch/x86/include/asm/insn.h unsigned char nbytes; nbytes 128 arch/x86/include/asm/insn.h return (insn->vex_prefix.nbytes == 4); nbytes 140 arch/x86/include/asm/insn.h if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */ nbytes 142 arch/x86/include/asm/insn.h else if (insn->vex_prefix.nbytes == 3) /* 3 bytes VEX */ nbytes 150 arch/x86/include/asm/insn.h if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */ nbytes 171 arch/x86/include/asm/insn.h return insn->prefixes.nbytes; nbytes 175 arch/x86/include/asm/insn.h return insn_offset_rex_prefix(insn) + insn->rex_prefix.nbytes; nbytes 179 arch/x86/include/asm/insn.h return insn_offset_vex_prefix(insn) + insn->vex_prefix.nbytes; nbytes 183 arch/x86/include/asm/insn.h return insn_offset_opcode(insn) + insn->opcode.nbytes; nbytes 187 arch/x86/include/asm/insn.h return insn_offset_modrm(insn) + insn->modrm.nbytes; nbytes 191 arch/x86/include/asm/insn.h return insn_offset_sib(insn) + insn->sib.nbytes; nbytes 195 arch/x86/include/asm/insn.h return insn_offset_displacement(insn) + insn->displacement.nbytes; nbytes 364 arch/x86/kernel/cpu/resctrl/ctrlmondata.c char *buf, size_t nbytes, loff_t off) nbytes 373 arch/x86/kernel/cpu/resctrl/ctrlmondata.c if (nbytes == 0 || buf[nbytes - 1] != '\n') nbytes 375 arch/x86/kernel/cpu/resctrl/ctrlmondata.c buf[nbytes - 1] = '\0'; nbytes 437 arch/x86/kernel/cpu/resctrl/ctrlmondata.c return ret ?: nbytes; nbytes 271 arch/x86/kernel/cpu/resctrl/internal.h char *buf, size_t nbytes, loff_t off); nbytes 560 arch/x86/kernel/cpu/resctrl/internal.h char *buf, size_t nbytes, loff_t off); nbytes 233 arch/x86/kernel/cpu/resctrl/rdtgroup.c size_t nbytes, loff_t off) nbytes 238 arch/x86/kernel/cpu/resctrl/rdtgroup.c return rft->write(of, buf, nbytes, off); nbytes 442 arch/x86/kernel/cpu/resctrl/rdtgroup.c char *buf, size_t nbytes, loff_t off) nbytes 507 arch/x86/kernel/cpu/resctrl/rdtgroup.c return ret ?: nbytes; nbytes 669 arch/x86/kernel/cpu/resctrl/rdtgroup.c char *buf, size_t nbytes, loff_t off) nbytes 696 arch/x86/kernel/cpu/resctrl/rdtgroup.c return ret ?: nbytes; nbytes 931 arch/x86/kernel/cpu/resctrl/rdtgroup.c char *buf, size_t nbytes, loff_t off) nbytes 946 arch/x86/kernel/cpu/resctrl/rdtgroup.c return nbytes; nbytes 1176 arch/x86/kernel/cpu/resctrl/rdtgroup.c char *buf, size_t nbytes, loff_t off) nbytes 1183 arch/x86/kernel/cpu/resctrl/rdtgroup.c if (nbytes == 0 || buf[nbytes - 1] != '\n') nbytes 1185 arch/x86/kernel/cpu/resctrl/rdtgroup.c buf[nbytes - 1] = '\0'; nbytes 1240 arch/x86/kernel/cpu/resctrl/rdtgroup.c return ret ?: nbytes; nbytes 165 arch/x86/kernel/kprobes/core.c if (insn->opcode.nbytes == 2) nbytes 169 arch/x86/kernel/kprobes/core.c if (insn->opcode.nbytes != 1) nbytes 155 arch/x86/kernel/umip.c if (!insn->modrm.nbytes) nbytes 260 arch/x86/kernel/uprobes.c for (i = 0; i < insn->prefixes.nbytes; i++) { nbytes 301 arch/x86/kernel/uprobes.c if (insn->opcode.nbytes == 2) { nbytes 348 arch/x86/kernel/uprobes.c if (insn->rex_prefix.nbytes) { nbytes 357 arch/x86/kernel/uprobes.c if (insn->vex_prefix.nbytes >= 3) { nbytes 414 arch/x86/kernel/uprobes.c if (insn->vex_prefix.nbytes) nbytes 702 arch/x86/kernel/uprobes.c 0, insn->immediate.nbytes); nbytes 731 arch/x86/kernel/uprobes.c if (insn->opcode.nbytes != 2) nbytes 749 arch/x86/kernel/uprobes.c for (i = 0; i < insn->prefixes.nbytes; i++) { nbytes 775 arch/x86/kernel/uprobes.c if (insn->rex_prefix.nbytes != 1 || nbytes 42 arch/x86/lib/insn-eval.c if (insn->opcode.nbytes != 1) nbytes 77 arch/x86/lib/insn-eval.c for (i = 0; i < insn->prefixes.nbytes; i++) { nbytes 884 arch/x86/lib/insn-eval.c if (!insn->modrm.nbytes) nbytes 937 arch/x86/lib/insn-eval.c if (!insn->modrm.nbytes) nbytes 1005 arch/x86/lib/insn-eval.c if (!insn->modrm.nbytes) nbytes 1073 arch/x86/lib/insn-eval.c if (!insn->modrm.nbytes) nbytes 1081 arch/x86/lib/insn-eval.c if (!insn->sib.nbytes) nbytes 1223 arch/x86/lib/insn-eval.c if (insn->sib.nbytes) { nbytes 1314 arch/x86/lib/insn-eval.c if (insn->sib.nbytes) { nbytes 103 arch/x86/lib/insn.c prefixes->nbytes++; nbytes 127 arch/x86/lib/insn.c insn->rex_prefix.nbytes = 1; nbytes 157 arch/x86/lib/insn.c insn->vex_prefix.nbytes = 4; nbytes 165 arch/x86/lib/insn.c insn->vex_prefix.nbytes = 3; nbytes 177 arch/x86/lib/insn.c insn->vex_prefix.nbytes = 2; nbytes 213 arch/x86/lib/insn.c opcode->nbytes = 1; nbytes 232 arch/x86/lib/insn.c opcode->bytes[opcode->nbytes++] = op; nbytes 265 arch/x86/lib/insn.c modrm->nbytes = 1; nbytes 303 arch/x86/lib/insn.c return (modrm->nbytes && (modrm->value & 0xc7) == 0x5); nbytes 321 arch/x86/lib/insn.c if (insn->modrm.nbytes) { nbytes 326 arch/x86/lib/insn.c insn->sib.nbytes = 1; nbytes 352 arch/x86/lib/insn.c if (insn->modrm.nbytes) { nbytes 377 arch/x86/lib/insn.c insn->displacement.nbytes = 1; nbytes 382 arch/x86/lib/insn.c insn->displacement.nbytes = 2; nbytes 388 arch/x86/lib/insn.c insn->displacement.nbytes = 4; nbytes 405 arch/x86/lib/insn.c insn->moffset1.nbytes = 2; nbytes 409 arch/x86/lib/insn.c insn->moffset1.nbytes = 4; nbytes 413 arch/x86/lib/insn.c insn->moffset1.nbytes = 4; nbytes 415 arch/x86/lib/insn.c insn->moffset2.nbytes = 4; nbytes 434 arch/x86/lib/insn.c insn->immediate.nbytes = 2; nbytes 439 arch/x86/lib/insn.c insn->immediate.nbytes = 4; nbytes 457 arch/x86/lib/insn.c insn->immediate1.nbytes = 2; nbytes 461 arch/x86/lib/insn.c insn->immediate1.nbytes = 4; nbytes 465 arch/x86/lib/insn.c insn->immediate1.nbytes = 4; nbytes 467 arch/x86/lib/insn.c insn->immediate2.nbytes = 4; nbytes 485 arch/x86/lib/insn.c insn->immediate1.nbytes = 2; nbytes 489 arch/x86/lib/insn.c insn->immediate1.nbytes = 4; nbytes 498 arch/x86/lib/insn.c insn->immediate2.nbytes = 2; nbytes 535 arch/x86/lib/insn.c insn->immediate.nbytes = 1; nbytes 539 arch/x86/lib/insn.c insn->immediate.nbytes = 2; nbytes 543 arch/x86/lib/insn.c insn->immediate.nbytes = 4; nbytes 547 arch/x86/lib/insn.c insn->immediate1.nbytes = 4; nbytes 549 arch/x86/lib/insn.c insn->immediate2.nbytes = 4; nbytes 569 arch/x86/lib/insn.c insn->immediate2.nbytes = 1; nbytes 67 arch/x86/tools/insn_decoder_test.c field->got, field->nbytes); nbytes 64 arch/x86/tools/insn_sanity.c field->got, field->nbytes); nbytes 75 arch/xtensa/platforms/iss/simdisk.c unsigned long nbytes = nsect << SECTOR_SHIFT; nbytes 77 arch/xtensa/platforms/iss/simdisk.c if (offset > dev->size || dev->size - offset < nbytes) { nbytes 79 arch/xtensa/platforms/iss/simdisk.c write ? "write" : "read", offset, nbytes); nbytes 84 arch/xtensa/platforms/iss/simdisk.c while (nbytes > 0) { nbytes 90 arch/xtensa/platforms/iss/simdisk.c io = simc_write(dev->fd, buffer, nbytes); nbytes 92 arch/xtensa/platforms/iss/simdisk.c io = simc_read(dev->fd, buffer, nbytes); nbytes 99 arch/xtensa/platforms/iss/simdisk.c nbytes -= io; nbytes 1029 block/bfq-cgroup.c char *buf, size_t nbytes, nbytes 1063 block/bfq-cgroup.c return ret ?: nbytes; nbytes 1067 block/bfq-cgroup.c char *buf, size_t nbytes, nbytes 1080 block/bfq-cgroup.c return ret ?: nbytes; nbytes 1083 block/bfq-cgroup.c return bfq_io_set_device_weight(of, buf, nbytes, off); nbytes 230 block/blk-core.c unsigned int nbytes, blk_status_t error) nbytes 238 block/blk-core.c bio_advance(bio, nbytes); nbytes 2096 block/blk-iocost.c size_t nbytes, loff_t off) nbytes 2127 block/blk-iocost.c return nbytes; nbytes 2151 block/blk-iocost.c return nbytes; nbytes 2208 block/blk-iocost.c size_t nbytes, loff_t off) nbytes 2321 block/blk-iocost.c return nbytes; nbytes 2374 block/blk-iocost.c size_t nbytes, loff_t off) nbytes 2446 block/blk-iocost.c return nbytes; nbytes 788 block/blk-iolatency.c size_t nbytes, loff_t off) nbytes 864 block/blk-iolatency.c return ret ?: nbytes; nbytes 402 block/blk-merge.c unsigned nbytes = bvec->bv_len; nbytes 405 block/blk-merge.c while (nbytes > 0) { nbytes 407 block/blk-merge.c unsigned len = min(get_max_segment_size(q, offset), nbytes); nbytes 425 block/blk-merge.c nbytes -= len; nbytes 446 block/blk-merge.c int nbytes = bvec->bv_len; nbytes 451 block/blk-merge.c if ((*sg)->length + nbytes > queue_max_segment_size(q)) nbytes 457 block/blk-merge.c (*sg)->length += nbytes; nbytes 1423 block/blk-throttle.c char *buf, size_t nbytes, loff_t off, bool is_u64) nbytes 1452 block/blk-throttle.c return ret ?: nbytes; nbytes 1456 block/blk-throttle.c char *buf, size_t nbytes, loff_t off) nbytes 1458 block/blk-throttle.c return tg_set_conf(of, buf, nbytes, off, true); nbytes 1462 block/blk-throttle.c char *buf, size_t nbytes, loff_t off) nbytes 1464 block/blk-throttle.c return tg_set_conf(of, buf, nbytes, off, false); nbytes 1586 block/blk-throttle.c char *buf, size_t nbytes, loff_t off) nbytes 1698 block/blk-throttle.c return ret ?: nbytes; nbytes 105 crypto/ablkcipher.c n = walk->nbytes - err; nbytes 129 crypto/ablkcipher.c walk->nbytes = 0; nbytes 168 crypto/ablkcipher.c walk->nbytes = bsize; nbytes 243 crypto/ablkcipher.c walk->nbytes = n; nbytes 269 crypto/ablkcipher.c walk->nbytes = walk->total; nbytes 334 crypto/aegis128-core.c while (walk.nbytes) { nbytes 335 crypto/aegis128-core.c unsigned int nbytes = walk.nbytes; nbytes 337 crypto/aegis128-core.c if (nbytes < walk.total) nbytes 338 crypto/aegis128-core.c nbytes = round_down(nbytes, walk.stride); nbytes 341 crypto/aegis128-core.c nbytes); nbytes 343 crypto/aegis128-core.c skcipher_walk_done(&walk, walk.nbytes - nbytes); nbytes 44 crypto/ahash.c unsigned int nbytes = min(walk->entrylen, nbytes 56 crypto/ahash.c if (nbytes > unaligned) nbytes 57 crypto/ahash.c nbytes = unaligned; nbytes 60 crypto/ahash.c walk->entrylen -= nbytes; nbytes 61 crypto/ahash.c return nbytes; nbytes 88 crypto/ahash.c unsigned int nbytes; nbytes 91 crypto/ahash.c nbytes = min(walk->entrylen, nbytes 93 crypto/ahash.c if (nbytes) { nbytes 94 crypto/ahash.c walk->entrylen -= nbytes; nbytes 96 crypto/ahash.c return nbytes; nbytes 132 crypto/ahash.c walk->total = req->nbytes; nbytes 150 crypto/ahash.c walk->total = req->nbytes; nbytes 375 crypto/ahash.c unsigned int nbytes = req->nbytes; nbytes 380 crypto/ahash.c crypto_stats_ahash_final(nbytes, ret, alg); nbytes 389 crypto/ahash.c unsigned int nbytes = req->nbytes; nbytes 394 crypto/ahash.c crypto_stats_ahash_final(nbytes, ret, alg); nbytes 403 crypto/ahash.c unsigned int nbytes = req->nbytes; nbytes 411 crypto/ahash.c crypto_stats_ahash_final(nbytes, ret, alg); nbytes 1065 crypto/algapi.c void crypto_stats_ablkcipher_encrypt(unsigned int nbytes, int ret, nbytes 1072 crypto/algapi.c atomic64_add(nbytes, &alg->stats.cipher.encrypt_tlen); nbytes 1078 crypto/algapi.c void crypto_stats_ablkcipher_decrypt(unsigned int nbytes, int ret, nbytes 1085 crypto/algapi.c atomic64_add(nbytes, &alg->stats.cipher.decrypt_tlen); nbytes 1187 crypto/algapi.c void crypto_stats_ahash_update(unsigned int nbytes, int ret, nbytes 1193 crypto/algapi.c atomic64_add(nbytes, &alg->stats.hash.hash_tlen); nbytes 1198 crypto/algapi.c void crypto_stats_ahash_final(unsigned int nbytes, int ret, nbytes 1205 crypto/algapi.c atomic64_add(nbytes, &alg->stats.hash.hash_tlen); nbytes 180 crypto/ansi_cprng.c static int get_prng_bytes(char *buf, size_t nbytes, struct prng_context *ctx, nbytes 184 crypto/ansi_cprng.c unsigned int byte_count = (unsigned int)nbytes; nbytes 200 crypto/ansi_cprng.c if (nbytes < DEFAULT_BLK_SZ) nbytes 218 crypto/ansi_cprng.c memset(buf, 0, nbytes); nbytes 245 crypto/ansi_cprng.c memset(buf, 0, nbytes); nbytes 33 crypto/arc4.c while (walk.nbytes > 0) { nbytes 35 crypto/arc4.c walk.nbytes); nbytes 254 crypto/authenc.c scatterwalk_map_and_copy(ihash, req->src, ahreq->nbytes, authsize, 0); nbytes 104 crypto/blkcipher.c n = walk->nbytes - err; nbytes 128 crypto/blkcipher.c walk->nbytes = 0; nbytes 169 crypto/blkcipher.c walk->nbytes = bsize; nbytes 180 crypto/blkcipher.c memcpy(tmp, walk->src.virt.addr, walk->nbytes); nbytes 251 crypto/blkcipher.c walk->nbytes = n; nbytes 323 crypto/blkcipher.c walk->nbytes = walk->total; nbytes 423 crypto/blkcipher.c return alg->encrypt(&desc, req->dst, req->src, req->nbytes); nbytes 436 crypto/blkcipher.c return alg->decrypt(&desc, req->dst, req->src, req->nbytes); nbytes 42 crypto/cbc.c while (walk.nbytes) { nbytes 51 crypto/cfb.c unsigned int nbytes = walk->nbytes; nbytes 54 crypto/cfb.c crypto_xor_cpy(dst, stream, src, nbytes); nbytes 61 crypto/cfb.c unsigned int nbytes = walk->nbytes; nbytes 73 crypto/cfb.c } while ((nbytes -= bsize) >= bsize); nbytes 77 crypto/cfb.c return nbytes; nbytes 84 crypto/cfb.c unsigned int nbytes = walk->nbytes; nbytes 95 crypto/cfb.c } while ((nbytes -= bsize) >= bsize); nbytes 99 crypto/cfb.c return nbytes; nbytes 111 crypto/cfb.c while (walk.nbytes >= bsize) { nbytes 119 crypto/cfb.c if (walk.nbytes) { nbytes 131 crypto/cfb.c unsigned int nbytes = walk->nbytes; nbytes 143 crypto/cfb.c } while ((nbytes -= bsize) >= bsize); nbytes 147 crypto/cfb.c return nbytes; nbytes 154 crypto/cfb.c unsigned int nbytes = walk->nbytes; nbytes 164 crypto/cfb.c } while ((nbytes -= bsize) >= bsize); nbytes 166 crypto/cfb.c return nbytes; nbytes 187 crypto/cfb.c while (walk.nbytes >= bsize) { nbytes 192 crypto/cfb.c if (walk.nbytes) { nbytes 45 crypto/chacha_generic.c while (walk.nbytes > 0) { nbytes 46 crypto/chacha_generic.c unsigned int nbytes = walk.nbytes; nbytes 48 crypto/chacha_generic.c if (nbytes < walk.total) nbytes 49 crypto/chacha_generic.c nbytes = round_down(nbytes, CHACHA_BLOCK_SIZE); nbytes 52 crypto/chacha_generic.c nbytes, ctx->nrounds); nbytes 53 crypto/chacha_generic.c err = skcipher_walk_done(&walk, walk.nbytes - nbytes); nbytes 83 crypto/crypto_null.c while (walk.nbytes) { nbytes 86 crypto/crypto_null.c walk.nbytes); nbytes 37 crypto/ctr.c unsigned int nbytes = walk->nbytes; nbytes 40 crypto/ctr.c crypto_xor_cpy(dst, keystream, src, nbytes); nbytes 54 crypto/ctr.c unsigned int nbytes = walk->nbytes; nbytes 66 crypto/ctr.c } while ((nbytes -= bsize) >= bsize); nbytes 68 crypto/ctr.c return nbytes; nbytes 78 crypto/ctr.c unsigned int nbytes = walk->nbytes; nbytes 93 crypto/ctr.c } while ((nbytes -= bsize) >= bsize); nbytes 95 crypto/ctr.c return nbytes; nbytes 104 crypto/ctr.c unsigned int nbytes; nbytes 109 crypto/ctr.c while (walk.nbytes >= bsize) { nbytes 111 crypto/ctr.c nbytes = crypto_ctr_crypt_inplace(&walk, cipher); nbytes 113 crypto/ctr.c nbytes = crypto_ctr_crypt_segment(&walk, cipher); nbytes 115 crypto/ctr.c err = skcipher_walk_done(&walk, nbytes); nbytes 118 crypto/ctr.c if (walk.nbytes) { nbytes 154 crypto/cts.c unsigned int nbytes = req->cryptlen; nbytes 159 crypto/cts.c if (nbytes < bsize) nbytes 162 crypto/cts.c if (nbytes == bsize) { nbytes 166 crypto/cts.c skcipher_request_set_crypt(subreq, req->src, req->dst, nbytes, nbytes 171 crypto/cts.c offset = rounddown(nbytes - 1, bsize); nbytes 248 crypto/cts.c unsigned int nbytes = req->cryptlen; nbytes 254 crypto/cts.c if (nbytes < bsize) nbytes 257 crypto/cts.c if (nbytes == bsize) { nbytes 261 crypto/cts.c skcipher_request_set_crypt(subreq, req->src, req->dst, nbytes, nbytes 271 crypto/cts.c offset = rounddown(nbytes - 1, bsize); nbytes 21 crypto/ecb.c unsigned int nbytes; nbytes 26 crypto/ecb.c while ((nbytes = walk.nbytes) != 0) { nbytes 35 crypto/ecb.c } while ((nbytes -= bsize) >= bsize); nbytes 37 crypto/ecb.c err = skcipher_walk_done(&walk, nbytes); nbytes 1320 crypto/ecc.c int nbytes; nbytes 1323 crypto/ecc.c nbytes = ndigits << ECC_DIGITS_TO_BYTES_SHIFT; nbytes 1325 crypto/ecc.c if (private_key_len != nbytes) nbytes 1348 crypto/ecc.c unsigned int nbytes = ndigits << ECC_DIGITS_TO_BYTES_SHIFT; nbytes 1370 crypto/ecc.c err = crypto_rng_get_bytes(crypto_default_rng, (u8 *)priv, nbytes); nbytes 1463 crypto/ecc.c unsigned int nbytes; nbytes 1472 crypto/ecc.c nbytes = ndigits << ECC_DIGITS_TO_BYTES_SHIFT; nbytes 1474 crypto/ecc.c get_random_bytes(rand_z, nbytes); nbytes 72 crypto/ecdh.c size_t copied, nbytes, public_key_sz; nbytes 75 crypto/ecdh.c nbytes = ctx->ndigits << ECC_DIGITS_TO_BYTES_SHIFT; nbytes 77 crypto/ecdh.c public_key_sz = 2 * nbytes; nbytes 84 crypto/ecdh.c shared_secret = kmalloc(nbytes, GFP_KERNEL); nbytes 111 crypto/ecdh.c nbytes = public_key_sz; nbytes 118 crypto/ecdh.c nbytes = min_t(size_t, nbytes, req->dst_len); nbytes 120 crypto/ecdh.c nbytes), nbytes 121 crypto/ecdh.c buf, nbytes); nbytes 122 crypto/ecdh.c if (copied != nbytes) nbytes 1024 crypto/gcm.c unsigned int nbytes = req->assoclen + req->cryptlen - nbytes 1030 crypto/gcm.c skcipher_request_set_crypt(nreq, req->src, req->dst, nbytes, NULL); nbytes 106 crypto/hmac.c const u8 *data, unsigned int nbytes) nbytes 110 crypto/hmac.c return crypto_shash_update(desc, data, nbytes); nbytes 127 crypto/hmac.c unsigned int nbytes, u8 *out) nbytes 136 crypto/hmac.c return crypto_shash_finup(desc, data, nbytes, out) ?: nbytes 153 crypto/keywrap.c unsigned int nbytes = req->cryptlen; nbytes 155 crypto/keywrap.c while (nbytes) { nbytes 157 crypto/keywrap.c crypto_kw_scatterlist_ff(&src_walk, src, nbytes); nbytes 170 crypto/keywrap.c crypto_kw_scatterlist_ff(&dst_walk, dst, nbytes); nbytes 175 crypto/keywrap.c nbytes -= SEMIBSIZE; nbytes 226 crypto/keywrap.c unsigned int nbytes = req->cryptlen; nbytes 231 crypto/keywrap.c while (nbytes) { nbytes 247 crypto/keywrap.c nbytes -= SEMIBSIZE; nbytes 170 crypto/lrw.c while (w.nbytes) { nbytes 171 crypto/lrw.c unsigned int avail = w.nbytes; nbytes 186 crypto/lrw.c if (second_pass && w.nbytes == w.total) { nbytes 27 crypto/ofb.c while (walk.nbytes >= bsize) { nbytes 31 crypto/ofb.c unsigned int nbytes = walk.nbytes; nbytes 38 crypto/ofb.c } while ((nbytes -= bsize) >= bsize); nbytes 40 crypto/ofb.c err = skcipher_walk_done(&walk, nbytes); nbytes 43 crypto/ofb.c if (walk.nbytes) { nbytes 46 crypto/ofb.c walk.nbytes); nbytes 24 crypto/pcbc.c unsigned int nbytes = walk->nbytes; nbytes 36 crypto/pcbc.c } while ((nbytes -= bsize) >= bsize); nbytes 38 crypto/pcbc.c return nbytes; nbytes 46 crypto/pcbc.c unsigned int nbytes = walk->nbytes; nbytes 58 crypto/pcbc.c } while ((nbytes -= bsize) >= bsize); nbytes 60 crypto/pcbc.c return nbytes; nbytes 68 crypto/pcbc.c unsigned int nbytes; nbytes 73 crypto/pcbc.c while ((nbytes = walk.nbytes)) { nbytes 75 crypto/pcbc.c nbytes = crypto_pcbc_encrypt_inplace(req, &walk, nbytes 78 crypto/pcbc.c nbytes = crypto_pcbc_encrypt_segment(req, &walk, nbytes 80 crypto/pcbc.c err = skcipher_walk_done(&walk, nbytes); nbytes 91 crypto/pcbc.c unsigned int nbytes = walk->nbytes; nbytes 103 crypto/pcbc.c } while ((nbytes -= bsize) >= bsize); nbytes 105 crypto/pcbc.c return nbytes; nbytes 113 crypto/pcbc.c unsigned int nbytes = walk->nbytes; nbytes 125 crypto/pcbc.c } while ((nbytes -= bsize) >= bsize); nbytes 127 crypto/pcbc.c return nbytes; nbytes 135 crypto/pcbc.c unsigned int nbytes; nbytes 140 crypto/pcbc.c while ((nbytes = walk.nbytes)) { nbytes 142 crypto/pcbc.c nbytes = crypto_pcbc_decrypt_inplace(req, &walk, nbytes 145 crypto/pcbc.c nbytes = crypto_pcbc_decrypt_segment(req, &walk, nbytes 147 crypto/pcbc.c err = skcipher_walk_done(&walk, nbytes); nbytes 165 crypto/salsa20_generic.c while (walk.nbytes > 0) { nbytes 166 crypto/salsa20_generic.c unsigned int nbytes = walk.nbytes; nbytes 168 crypto/salsa20_generic.c if (nbytes < walk.total) nbytes 169 crypto/salsa20_generic.c nbytes = round_down(nbytes, walk.stride); nbytes 172 crypto/salsa20_generic.c nbytes); nbytes 173 crypto/salsa20_generic.c err = skcipher_walk_done(&walk, walk.nbytes - nbytes); nbytes 18 crypto/scatterwalk.c static inline void memcpy_dir(void *buf, void *sgdata, size_t nbytes, int out) nbytes 23 crypto/scatterwalk.c memcpy(dst, src, nbytes); nbytes 27 crypto/scatterwalk.c size_t nbytes, int out) nbytes 33 crypto/scatterwalk.c if (len_this_page > nbytes) nbytes 34 crypto/scatterwalk.c len_this_page = nbytes; nbytes 44 crypto/scatterwalk.c if (nbytes == len_this_page) nbytes 48 crypto/scatterwalk.c nbytes -= len_this_page; nbytes 56 crypto/scatterwalk.c unsigned int start, unsigned int nbytes, int out) nbytes 61 crypto/scatterwalk.c if (!nbytes) nbytes 67 crypto/scatterwalk.c scatterwalk_copychunks(buf, &walk, nbytes, out); nbytes 243 crypto/shash.c int nbytes; nbytes 245 crypto/shash.c for (nbytes = crypto_hash_walk_first(req, &walk); nbytes > 0; nbytes 246 crypto/shash.c nbytes = crypto_hash_walk_done(&walk, nbytes)) nbytes 247 crypto/shash.c nbytes = crypto_shash_update(desc, walk.data, nbytes); nbytes 249 crypto/shash.c return nbytes; nbytes 266 crypto/shash.c int nbytes; nbytes 268 crypto/shash.c nbytes = crypto_hash_walk_first(req, &walk); nbytes 269 crypto/shash.c if (!nbytes) nbytes 273 crypto/shash.c nbytes = crypto_hash_walk_last(&walk) ? nbytes 274 crypto/shash.c crypto_shash_finup(desc, walk.data, nbytes, nbytes 276 crypto/shash.c crypto_shash_update(desc, walk.data, nbytes); nbytes 277 crypto/shash.c nbytes = crypto_hash_walk_done(&walk, nbytes); nbytes 278 crypto/shash.c } while (nbytes > 0); nbytes 280 crypto/shash.c return nbytes; nbytes 296 crypto/shash.c unsigned int nbytes = req->nbytes; nbytes 301 crypto/shash.c if (nbytes && nbytes 303 crypto/shash.c nbytes <= min(sg->length, ((unsigned int)(PAGE_SIZE)) - offset))) { nbytes 307 crypto/shash.c err = crypto_shash_digest(desc, data + offset, nbytes, nbytes 106 crypto/skcipher.c unsigned int n = walk->nbytes; nbytes 107 crypto/skcipher.c unsigned int nbytes = 0; nbytes 114 crypto/skcipher.c nbytes = walk->total - n; nbytes 139 crypto/skcipher.c nbytes = 0; nbytes 147 crypto/skcipher.c walk->total = nbytes; nbytes 148 crypto/skcipher.c walk->nbytes = 0; nbytes 152 crypto/skcipher.c scatterwalk_done(&walk->in, 0, nbytes); nbytes 153 crypto/skcipher.c scatterwalk_done(&walk->out, 1, nbytes); nbytes 155 crypto/skcipher.c if (nbytes) { nbytes 279 crypto/skcipher.c walk->nbytes = bsize; nbytes 291 crypto/skcipher.c memcpy(tmp, walk->src.virt.addr, walk->nbytes); nbytes 305 crypto/skcipher.c p->len = walk->nbytes; nbytes 308 crypto/skcipher.c if (offset_in_page(walk->page) + walk->nbytes + walk->stride > nbytes 312 crypto/skcipher.c walk->page += walk->nbytes; nbytes 375 crypto/skcipher.c walk->nbytes = min_t(unsigned, n, nbytes 382 crypto/skcipher.c walk->nbytes = n; nbytes 454 crypto/skcipher.c walk->nbytes = 0; nbytes 516 crypto/skcipher.c walk->nbytes = 0; nbytes 104 crypto/xts.c while (w.nbytes) { nbytes 105 crypto/xts.c unsigned int avail = w.nbytes; nbytes 114 crypto/xts.c w.total - w.nbytes + avail < 2 * XTS_BLOCK_SIZE) { nbytes 1613 drivers/ata/libata-core.c qc->nbytes = buflen; nbytes 4944 drivers/ata/libata-core.c unlikely(qc->nbytes & 15)) nbytes 5454 drivers/ata/libata-core.c if (ata_is_data(prot) && (!qc->sg || !qc->n_elem || !qc->nbytes)) nbytes 2535 drivers/ata/libata-eh.c prot_str, qc->nbytes, dma_str[qc->dma_dir]); nbytes 871 drivers/ata/libata-scsi.c qc->nbytes = scsi_bufflen(scmd) + qc->extrabytes; nbytes 1897 drivers/ata/libata-scsi.c qc->nbytes = n_block * scmd->device->sector_size; nbytes 2849 drivers/ata/libata-scsi.c qc->nbytes = SCSI_SENSE_BUFFERSIZE; nbytes 2955 drivers/ata/libata-scsi.c unsigned int nbytes; nbytes 2980 drivers/ata/libata-scsi.c nbytes = min(ata_qc_raw_nbytes(qc), (unsigned int)63 * 1024); nbytes 3006 drivers/ata/libata-scsi.c if (nbytes & 0x1) nbytes 3007 drivers/ata/libata-scsi.c nbytes++; nbytes 3009 drivers/ata/libata-scsi.c qc->tf.lbam = (nbytes & 0xFF); nbytes 3010 drivers/ata/libata-scsi.c qc->tf.lbah = (nbytes >> 8); nbytes 662 drivers/ata/libata-sff.c qc->curbytes = qc->nbytes; nbytes 665 drivers/ata/libata-sff.c if (qc->curbytes == qc->nbytes - qc->sect_size) nbytes 714 drivers/ata/libata-sff.c nsect = min((qc->nbytes - qc->curbytes) / qc->sect_size, nbytes 791 drivers/ata/libata-sff.c qc->nbytes, qc->curbytes, bytes); nbytes 202 drivers/ata/pata_pdc202xx_old.c len = qc->nbytes / 2; nbytes 503 drivers/ata/sata_inic162x.c cpb->len = cpu_to_le32(qc->nbytes + cdb_len); nbytes 2371 drivers/ata/sata_mv.c if (limit_warnings > 0 && (qc->nbytes / qc->sect_size) > 1) { nbytes 287 drivers/ata/sata_qstor.c *(__le32 *)(&buf[ 4]) = cpu_to_le32(qc->nbytes); nbytes 240 drivers/atm/nicstarmac.c u_int8_t prom_offset, u_int8_t * buffer, u_int32_t nbytes) nbytes 244 drivers/atm/nicstarmac.c for (i = 0; i < nbytes; i++) { nbytes 92 drivers/char/dtlk.c size_t nbytes, loff_t * ppos); nbytes 94 drivers/char/dtlk.c size_t nbytes, loff_t * ppos); nbytes 56 drivers/char/hw_random/s390-trng.c size_t nbytes, loff_t *ppos) nbytes 69 drivers/char/hw_random/s390-trng.c if (nbytes > sizeof(buf)) { nbytes 75 drivers/char/hw_random/s390-trng.c while (nbytes) { nbytes 84 drivers/char/hw_random/s390-trng.c n = nbytes > PAGE_SIZE ? PAGE_SIZE : nbytes; nbytes 91 drivers/char/hw_random/s390-trng.c nbytes -= n; nbytes 508 drivers/char/random.c static void _get_random_bytes(void *buf, int nbytes); nbytes 548 drivers/char/random.c size_t nbytes, int min, int rsvd); nbytes 550 drivers/char/random.c size_t nbytes, int fips); nbytes 589 drivers/char/random.c int nbytes) nbytes 607 drivers/char/random.c while (nbytes--) { nbytes 636 drivers/char/random.c int nbytes) nbytes 638 drivers/char/random.c trace_mix_pool_bytes_nolock(r->name, nbytes, _RET_IP_); nbytes 639 drivers/char/random.c _mix_pool_bytes(r, in, nbytes); nbytes 643 drivers/char/random.c int nbytes) nbytes 647 drivers/char/random.c trace_mix_pool_bytes(r->name, nbytes, _RET_IP_); nbytes 649 drivers/char/random.c _mix_pool_bytes(r, in, nbytes); nbytes 1119 drivers/char/random.c static ssize_t extract_crng_user(void __user *buf, size_t nbytes) nbytes 1123 drivers/char/random.c int large_request = (nbytes > 256); nbytes 1125 drivers/char/random.c while (nbytes) { nbytes 1136 drivers/char/random.c i = min_t(int, nbytes, CHACHA_BLOCK_SIZE); nbytes 1142 drivers/char/random.c nbytes -= i; nbytes 1397 drivers/char/random.c static void _xfer_secondary_pool(struct entropy_store *r, size_t nbytes); nbytes 1398 drivers/char/random.c static void xfer_secondary_pool(struct entropy_store *r, size_t nbytes) nbytes 1401 drivers/char/random.c r->entropy_count >= (nbytes << (ENTROPY_SHIFT + 3)) || nbytes 1405 drivers/char/random.c _xfer_secondary_pool(r, nbytes); nbytes 1408 drivers/char/random.c static void _xfer_secondary_pool(struct entropy_store *r, size_t nbytes) nbytes 1412 drivers/char/random.c int bytes = nbytes; nbytes 1419 drivers/char/random.c trace_xfer_secondary_pool(r->name, bytes * 8, nbytes * 8, nbytes 1447 drivers/char/random.c static size_t account(struct entropy_store *r, size_t nbytes, int min, nbytes 1458 drivers/char/random.c ibytes = nbytes; nbytes 1554 drivers/char/random.c size_t nbytes, int fips) nbytes 1560 drivers/char/random.c while (nbytes) { nbytes 1570 drivers/char/random.c i = min_t(int, nbytes, EXTRACT_SIZE); nbytes 1572 drivers/char/random.c nbytes -= i; nbytes 1593 drivers/char/random.c size_t nbytes, int min, int reserved) nbytes 1614 drivers/char/random.c trace_extract_entropy(r->name, nbytes, ENTROPY_BITS(r), _RET_IP_); nbytes 1615 drivers/char/random.c xfer_secondary_pool(r, nbytes); nbytes 1616 drivers/char/random.c nbytes = account(r, nbytes, min, reserved); nbytes 1618 drivers/char/random.c return _extract_entropy(r, buf, nbytes, fips_enabled); nbytes 1626 drivers/char/random.c size_t nbytes) nbytes 1630 drivers/char/random.c int large_request = (nbytes > 256); nbytes 1632 drivers/char/random.c trace_extract_entropy_user(r->name, nbytes, ENTROPY_BITS(r), _RET_IP_); nbytes 1638 drivers/char/random.c xfer_secondary_pool(r, nbytes); nbytes 1639 drivers/char/random.c nbytes = account(r, nbytes, 0, 0); nbytes 1641 drivers/char/random.c while (nbytes) { nbytes 1652 drivers/char/random.c i = min_t(int, nbytes, EXTRACT_SIZE); nbytes 1658 drivers/char/random.c nbytes -= i; nbytes 1705 drivers/char/random.c static void _get_random_bytes(void *buf, int nbytes) nbytes 1709 drivers/char/random.c trace_get_random_bytes(nbytes, _RET_IP_); nbytes 1711 drivers/char/random.c while (nbytes >= CHACHA_BLOCK_SIZE) { nbytes 1714 drivers/char/random.c nbytes -= CHACHA_BLOCK_SIZE; nbytes 1717 drivers/char/random.c if (nbytes > 0) { nbytes 1719 drivers/char/random.c memcpy(buf, tmp, nbytes); nbytes 1720 drivers/char/random.c crng_backtrack_protect(tmp, nbytes); nbytes 1726 drivers/char/random.c void get_random_bytes(void *buf, int nbytes) nbytes 1731 drivers/char/random.c _get_random_bytes(buf, nbytes); nbytes 1898 drivers/char/random.c int __must_check get_random_bytes_arch(void *buf, int nbytes) nbytes 1900 drivers/char/random.c int left = nbytes; nbytes 1916 drivers/char/random.c return nbytes - left; nbytes 1987 drivers/char/random.c _random_read(int nonblock, char __user *buf, size_t nbytes) nbytes 1991 drivers/char/random.c if (nbytes == 0) nbytes 1994 drivers/char/random.c nbytes = min_t(size_t, nbytes, SEC_XFER_SIZE); nbytes 1996 drivers/char/random.c n = extract_entropy_user(&blocking_pool, buf, nbytes); nbytes 1999 drivers/char/random.c trace_random_read(n*8, (nbytes-n)*8, nbytes 2018 drivers/char/random.c random_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) nbytes 2020 drivers/char/random.c return _random_read(file->f_flags & O_NONBLOCK, buf, nbytes); nbytes 2024 drivers/char/random.c urandom_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) nbytes 2035 drivers/char/random.c current->comm, nbytes); nbytes 2040 drivers/char/random.c nbytes = min_t(size_t, nbytes, INT_MAX >> (ENTROPY_SHIFT + 3)); nbytes 2041 drivers/char/random.c ret = extract_crng_user(buf, nbytes); nbytes 2042 drivers/char/random.c trace_urandom_read(8 * nbytes, 0, ENTROPY_BITS(&input_pool)); nbytes 137 drivers/clk/qcom/clk-smd-rpm.c __le32 nbytes; nbytes 159 drivers/clk/qcom/clk-smd-rpm.c .nbytes = cpu_to_le32(sizeof(u32)), nbytes 182 drivers/clk/qcom/clk-smd-rpm.c .nbytes = cpu_to_le32(sizeof(u32)), nbytes 196 drivers/clk/qcom/clk-smd-rpm.c .nbytes = cpu_to_le32(sizeof(u32)), nbytes 372 drivers/clk/qcom/clk-smd-rpm.c .nbytes = cpu_to_le32(sizeof(u32)), nbytes 712 drivers/crypto/amcc/crypto4xx_alg.c req->nbytes, NULL, 0, ctx->sa_in, nbytes 731 drivers/crypto/amcc/crypto4xx_alg.c req->nbytes, NULL, 0, ctx->sa_in, nbytes 448 drivers/crypto/amcc/crypto4xx_core.c u32 nbytes, nbytes 469 drivers/crypto/amcc/crypto4xx_core.c while (nbytes) { nbytes 473 drivers/crypto/amcc/crypto4xx_core.c to_copy = min(nbytes, PPC4XX_SD_BUFFER_SIZE * nbytes 476 drivers/crypto/amcc/crypto4xx_core.c nbytes -= to_copy; nbytes 699 drivers/crypto/amcc/crypto4xx_core.c unsigned int nbytes = datalen; nbytes 732 drivers/crypto/amcc/crypto4xx_core.c nbytes += assoclen; nbytes 841 drivers/crypto/amcc/crypto4xx_core.c while (nbytes) { nbytes 844 drivers/crypto/amcc/crypto4xx_core.c len = min(sg->length, nbytes); nbytes 850 drivers/crypto/amcc/crypto4xx_core.c if (len >= nbytes) nbytes 853 drivers/crypto/amcc/crypto4xx_core.c nbytes -= sg->length; nbytes 860 drivers/crypto/amcc/crypto4xx_core.c src->offset, min(nbytes, src->length), nbytes 887 drivers/crypto/amcc/crypto4xx_core.c nbytes = datalen; nbytes 896 drivers/crypto/amcc/crypto4xx_core.c if (nbytes >= PPC4XX_SD_BUFFER_SIZE) nbytes 897 drivers/crypto/amcc/crypto4xx_core.c nbytes -= PPC4XX_SD_BUFFER_SIZE; nbytes 899 drivers/crypto/amcc/crypto4xx_core.c nbytes = 0; nbytes 900 drivers/crypto/amcc/crypto4xx_core.c while (nbytes) { nbytes 906 drivers/crypto/amcc/crypto4xx_core.c if (nbytes >= PPC4XX_SD_BUFFER_SIZE) { nbytes 907 drivers/crypto/amcc/crypto4xx_core.c nbytes -= PPC4XX_SD_BUFFER_SIZE; nbytes 913 drivers/crypto/amcc/crypto4xx_core.c nbytes = 0; nbytes 499 drivers/crypto/atmel-aes.c if (req->nbytes < ivsize) nbytes 504 drivers/crypto/atmel-aes.c req->nbytes - ivsize, ivsize, 0); nbytes 510 drivers/crypto/atmel-aes.c req->nbytes - ivsize, nbytes 985 drivers/crypto/atmel-aes.c bool use_dma = (req->nbytes >= ATMEL_AES_DMA_THRESHOLD || nbytes 997 drivers/crypto/atmel-aes.c return atmel_aes_dma_start(dd, req->src, req->dst, req->nbytes, nbytes 1000 drivers/crypto/atmel-aes.c return atmel_aes_cpu_start(dd, req->src, req->dst, req->nbytes, nbytes 1022 drivers/crypto/atmel-aes.c if (ctx->offset >= req->nbytes) nbytes 1026 drivers/crypto/atmel-aes.c datalen = req->nbytes - ctx->offset; nbytes 1125 drivers/crypto/atmel-aes.c if (req->nbytes >= ivsize) nbytes 1127 drivers/crypto/atmel-aes.c req->nbytes - ivsize, nbytes 1883 drivers/crypto/atmel-aes.c bool use_dma = (req->nbytes >= ATMEL_AES_DMA_THRESHOLD); nbytes 1908 drivers/crypto/atmel-aes.c return atmel_aes_dma_start(dd, req->src, req->dst, req->nbytes, nbytes 1911 drivers/crypto/atmel-aes.c return atmel_aes_cpu_start(dd, req->src, req->dst, req->nbytes, nbytes 154 drivers/crypto/atmel-ecc.c size_t copied, nbytes; nbytes 166 drivers/crypto/atmel-ecc.c nbytes = min_t(size_t, ATMEL_ECC_PUBKEY_SIZE, req->dst_len); nbytes 170 drivers/crypto/atmel-ecc.c sg_nents_for_len(req->dst, nbytes), nbytes 171 drivers/crypto/atmel-ecc.c ctx->public_key, nbytes); nbytes 172 drivers/crypto/atmel-ecc.c if (copied != nbytes) nbytes 1103 drivers/crypto/atmel-sha.c ctx->op, req->nbytes); nbytes 1162 drivers/crypto/atmel-sha.c if (!req->nbytes) nbytes 1165 drivers/crypto/atmel-sha.c ctx->total = req->nbytes; nbytes 2023 drivers/crypto/atmel-sha.c if (!req->nbytes) nbytes 2027 drivers/crypto/atmel-sha.c if (req->nbytes > ATMEL_SHA_DMA_THRESHOLD && nbytes 2028 drivers/crypto/atmel-sha.c atmel_sha_dma_check_aligned(dd, req->src, req->nbytes)) nbytes 2049 drivers/crypto/atmel-sha.c atmel_sha_write(dd, SHA_MSR, req->nbytes); nbytes 2050 drivers/crypto/atmel-sha.c atmel_sha_write(dd, SHA_BCR, req->nbytes); nbytes 2056 drivers/crypto/atmel-sha.c return atmel_sha_dma_start(dd, req->src, req->nbytes, nbytes 2059 drivers/crypto/atmel-sha.c return atmel_sha_cpu_start(dd, req->src, req->nbytes, false, true, nbytes 617 drivers/crypto/atmel-tdes.c dd->total = req->nbytes; nbytes 675 drivers/crypto/atmel-tdes.c if (!IS_ALIGNED(req->nbytes, CFB8_BLOCK_SIZE)) { nbytes 681 drivers/crypto/atmel-tdes.c if (!IS_ALIGNED(req->nbytes, CFB16_BLOCK_SIZE)) { nbytes 687 drivers/crypto/atmel-tdes.c if (!IS_ALIGNED(req->nbytes, CFB32_BLOCK_SIZE)) { nbytes 693 drivers/crypto/atmel-tdes.c if (!IS_ALIGNED(req->nbytes, DES_BLOCK_SIZE)) { nbytes 393 drivers/crypto/axis/artpec6_crypto.c size_t nbytes) nbytes 395 drivers/crypto/axis/artpec6_crypto.c while (nbytes && awalk->sg) { nbytes 400 drivers/crypto/axis/artpec6_crypto.c piece = min(nbytes, (size_t)awalk->sg->length - awalk->offset); nbytes 401 drivers/crypto/axis/artpec6_crypto.c nbytes -= piece; nbytes 410 drivers/crypto/axis/artpec6_crypto.c return nbytes; nbytes 1041 drivers/crypto/axis/artpec6_crypto.c struct scatterlist *dstsg, unsigned int nbytes) nbytes 1402 drivers/crypto/axis/artpec6_crypto.c size_t total_bytes = areq->nbytes + req_ctx->partial_bytes; nbytes 1438 drivers/crypto/axis/artpec6_crypto.c size_t sg_rem = areq->nbytes - sg_skip; nbytes 1764 drivers/crypto/bcm/cipher.c rctx->total_todo = req->nbytes; nbytes 1955 drivers/crypto/bcm/cipher.c flow_log("ablkcipher_encrypt() nbytes:%u\n", req->nbytes); nbytes 1962 drivers/crypto/bcm/cipher.c flow_log("ablkcipher_decrypt() nbytes:%u\n", req->nbytes); nbytes 1974 drivers/crypto/bcm/cipher.c flow_log("ahash_enqueue() nbytes:%u\n", req->nbytes); nbytes 2143 drivers/crypto/bcm/cipher.c flow_log("ahash_update() nbytes:%u\n", req->nbytes); nbytes 2145 drivers/crypto/bcm/cipher.c if (!req->nbytes) nbytes 2147 drivers/crypto/bcm/cipher.c rctx->total_todo += req->nbytes; nbytes 2176 drivers/crypto/bcm/cipher.c tmpbuf = kmalloc(req->nbytes, gfp); nbytes 2180 drivers/crypto/bcm/cipher.c if (sg_copy_to_buffer(req->src, nents, tmpbuf, req->nbytes) != nbytes 2181 drivers/crypto/bcm/cipher.c req->nbytes) { nbytes 2187 drivers/crypto/bcm/cipher.c ret = crypto_shash_update(ctx->shash, tmpbuf, req->nbytes); nbytes 2201 drivers/crypto/bcm/cipher.c flow_log("ahash_final() nbytes:%u\n", req->nbytes); nbytes 2238 drivers/crypto/bcm/cipher.c flow_log("ahash_finup() nbytes:%u\n", req->nbytes); nbytes 2240 drivers/crypto/bcm/cipher.c rctx->total_todo += req->nbytes; nbytes 2272 drivers/crypto/bcm/cipher.c tmpbuf = kmalloc(req->nbytes, gfp); nbytes 2278 drivers/crypto/bcm/cipher.c if (sg_copy_to_buffer(req->src, nents, tmpbuf, req->nbytes) != nbytes 2279 drivers/crypto/bcm/cipher.c req->nbytes) { nbytes 2285 drivers/crypto/bcm/cipher.c ret = crypto_shash_finup(ctx->shash, tmpbuf, req->nbytes, nbytes 2305 drivers/crypto/bcm/cipher.c flow_log("ahash_digest() nbytes:%u\n", req->nbytes); nbytes 2507 drivers/crypto/bcm/cipher.c flow_log("ahash_hmac_update() nbytes:%u\n", req->nbytes); nbytes 2509 drivers/crypto/bcm/cipher.c if (!req->nbytes) nbytes 2517 drivers/crypto/bcm/cipher.c flow_log("ahash_hmac_final() nbytes:%u\n", req->nbytes); nbytes 2524 drivers/crypto/bcm/cipher.c flow_log("ahash_hmac_finupl() nbytes:%u\n", req->nbytes); nbytes 2537 drivers/crypto/bcm/cipher.c flow_log("ahash_hmac_digest() nbytes:%u\n", req->nbytes); nbytes 93 drivers/crypto/bcm/util.c int spu_sg_count(struct scatterlist *sg_list, unsigned int skip, int nbytes) nbytes 105 drivers/crypto/bcm/util.c while (sg && (nbytes > 0)) { nbytes 107 drivers/crypto/bcm/util.c nbytes -= (sg->length - offset); nbytes 80 drivers/crypto/bcm/util.h int spu_sg_count(struct scatterlist *sg_list, unsigned int skip, int nbytes); nbytes 3471 drivers/crypto/caam/caamalg_qi2.c int in_len = *buflen + req->nbytes, to_hash; nbytes 3482 drivers/crypto/caam/caamalg_qi2.c int src_len = req->nbytes - *next_buflen; nbytes 3567 drivers/crypto/caam/caamalg_qi2.c req->nbytes, 0); nbytes 3674 drivers/crypto/caam/caamalg_qi2.c src_nents = sg_nents_for_len(req->src, req->nbytes); nbytes 3713 drivers/crypto/caam/caamalg_qi2.c sg_to_qm_sg_last(req->src, req->nbytes, sg_table + qm_sg_src_index, 0); nbytes 3728 drivers/crypto/caam/caamalg_qi2.c dpaa2_fl_set_len(in_fle, ctx->ctx_len + buflen + req->nbytes); nbytes 3767 drivers/crypto/caam/caamalg_qi2.c src_nents = sg_nents_for_len(req->src, req->nbytes); nbytes 3799 drivers/crypto/caam/caamalg_qi2.c sg_to_qm_sg_last(req->src, req->nbytes, sg_table, 0); nbytes 3824 drivers/crypto/caam/caamalg_qi2.c dpaa2_fl_set_len(in_fle, req->nbytes); nbytes 3932 drivers/crypto/caam/caamalg_qi2.c int in_len = *buflen + req->nbytes, to_hash; nbytes 3942 drivers/crypto/caam/caamalg_qi2.c int src_len = req->nbytes - *next_buflen; nbytes 4030 drivers/crypto/caam/caamalg_qi2.c req->nbytes, 0); nbytes 4065 drivers/crypto/caam/caamalg_qi2.c src_nents = sg_nents_for_len(req->src, req->nbytes); nbytes 4097 drivers/crypto/caam/caamalg_qi2.c sg_to_qm_sg_last(req->src, req->nbytes, sg_table + 1, 0); nbytes 4122 drivers/crypto/caam/caamalg_qi2.c dpaa2_fl_set_len(in_fle, buflen + req->nbytes); nbytes 4161 drivers/crypto/caam/caamalg_qi2.c *next_buflen = req->nbytes & (crypto_tfm_alg_blocksize(&ahash->base) - nbytes 4163 drivers/crypto/caam/caamalg_qi2.c to_hash = req->nbytes - *next_buflen; nbytes 4167 drivers/crypto/caam/caamalg_qi2.c int src_len = req->nbytes - *next_buflen; nbytes 4261 drivers/crypto/caam/caamalg_qi2.c req->nbytes, 0); nbytes 794 drivers/crypto/caam/caamhash.c int in_len = *buflen + req->nbytes, to_hash; nbytes 817 drivers/crypto/caam/caamhash.c int src_len = req->nbytes - *next_buflen; nbytes 902 drivers/crypto/caam/caamhash.c req->nbytes, 0); nbytes 1002 drivers/crypto/caam/caamhash.c src_nents = sg_nents_for_len(req->src, req->nbytes); nbytes 1045 drivers/crypto/caam/caamhash.c req->nbytes); nbytes 1082 drivers/crypto/caam/caamhash.c src_nents = sg_nents_for_len(req->src, req->nbytes); nbytes 1111 drivers/crypto/caam/caamhash.c req->nbytes); nbytes 1215 drivers/crypto/caam/caamhash.c int in_len = *buflen + req->nbytes, to_hash; nbytes 1237 drivers/crypto/caam/caamhash.c int src_len = req->nbytes - *next_buflen; nbytes 1318 drivers/crypto/caam/caamhash.c req->nbytes, 0); nbytes 1352 drivers/crypto/caam/caamhash.c src_nents = sg_nents_for_len(req->src, req->nbytes); nbytes 1392 drivers/crypto/caam/caamhash.c req->nbytes); nbytes 1440 drivers/crypto/caam/caamhash.c *next_buflen = req->nbytes & (blocksize - 1); nbytes 1441 drivers/crypto/caam/caamhash.c to_hash = req->nbytes - *next_buflen; nbytes 1456 drivers/crypto/caam/caamhash.c req->nbytes - *next_buflen); nbytes 1521 drivers/crypto/caam/caamhash.c req->nbytes, 0); nbytes 200 drivers/crypto/caam/caampkc.c unsigned int nbytes, nbytes 206 drivers/crypto/caam/caampkc.c unsigned int tbytes = nbytes; nbytes 209 drivers/crypto/caam/caampkc.c ents = sg_nents_for_len(sgl, nbytes); nbytes 217 drivers/crypto/caam/caampkc.c while (nbytes > 0) { nbytes 219 drivers/crypto/caam/caampkc.c while (len && !*buff && lzeros < nbytes) { nbytes 232 drivers/crypto/caam/caampkc.c nbytes -= lzeros; nbytes 238 drivers/crypto/caam/caampkc.c nbytes -= lzeros; nbytes 240 drivers/crypto/caam/caampkc.c return tbytes - nbytes; nbytes 807 drivers/crypto/caam/caampkc.c static void caam_rsa_drop_leading_zeros(const u8 **ptr, size_t *nbytes) nbytes 809 drivers/crypto/caam/caampkc.c while (!**ptr && *nbytes) { nbytes 811 drivers/crypto/caam/caampkc.c (*nbytes)--; nbytes 826 drivers/crypto/caam/caampkc.c static u8 *caam_read_rsa_crt(const u8 *ptr, size_t nbytes, size_t dstlen) nbytes 830 drivers/crypto/caam/caampkc.c caam_rsa_drop_leading_zeros(&ptr, &nbytes); nbytes 831 drivers/crypto/caam/caampkc.c if (!nbytes) nbytes 838 drivers/crypto/caam/caampkc.c memcpy(dst + (dstlen - nbytes), ptr, nbytes); nbytes 852 drivers/crypto/caam/caampkc.c static inline u8 *caam_read_raw_data(const u8 *buf, size_t *nbytes) nbytes 855 drivers/crypto/caam/caampkc.c caam_rsa_drop_leading_zeros(&buf, nbytes); nbytes 856 drivers/crypto/caam/caampkc.c if (!*nbytes) nbytes 859 drivers/crypto/caam/caampkc.c return kmemdup(buf, *nbytes, GFP_DMA | GFP_KERNEL); nbytes 60 drivers/crypto/cavium/cpt/cptvf_algs.c u32 nbytes, u32 *argcnt) nbytes 62 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->req.dlen += nbytes; nbytes 64 drivers/crypto/cavium/cpt/cptvf_algs.c while (nbytes) { nbytes 65 drivers/crypto/cavium/cpt/cptvf_algs.c u32 len = min(nbytes, inp_sg->length); nbytes 70 drivers/crypto/cavium/cpt/cptvf_algs.c nbytes -= len; nbytes 79 drivers/crypto/cavium/cpt/cptvf_algs.c u32 nbytes, u32 *argcnt) nbytes 81 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->rlen += nbytes; nbytes 83 drivers/crypto/cavium/cpt/cptvf_algs.c while (nbytes) { nbytes 84 drivers/crypto/cavium/cpt/cptvf_algs.c u32 len = min(nbytes, outp_sg->length); nbytes 89 drivers/crypto/cavium/cpt/cptvf_algs.c nbytes -= len; nbytes 118 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->req.param1 = req->nbytes; /* Encryption Data length */ nbytes 159 drivers/crypto/cavium/cpt/cptvf_algs.c update_input_data(req_info, req->src, req->nbytes, &argcnt); nbytes 188 drivers/crypto/cavium/cpt/cptvf_algs.c update_output_data(req_info, req->dst, req->nbytes, &argcnt); nbytes 36 drivers/crypto/ccp/ccp-crypto-aes-cmac.c unsigned int offset = rctx->nbytes - rctx->hash_rem; nbytes 55 drivers/crypto/ccp/ccp-crypto-aes-cmac.c static int ccp_do_cmac_update(struct ahash_request *req, unsigned int nbytes, nbytes 72 drivers/crypto/ccp/ccp-crypto-aes-cmac.c if (nbytes) nbytes 75 drivers/crypto/ccp/ccp-crypto-aes-cmac.c len = (u64)rctx->buf_count + (u64)nbytes; nbytes 79 drivers/crypto/ccp/ccp-crypto-aes-cmac.c 0, nbytes, 0); nbytes 80 drivers/crypto/ccp/ccp-crypto-aes-cmac.c rctx->buf_count += nbytes; nbytes 86 drivers/crypto/ccp/ccp-crypto-aes-cmac.c rctx->nbytes = nbytes; nbytes 107 drivers/crypto/ccp/ccp-crypto-aes-cmac.c sg_count = (nbytes) ? sg_nents(req->src) + 2 : 2; nbytes 124 drivers/crypto/ccp/ccp-crypto-aes-cmac.c if (nbytes) { nbytes 196 drivers/crypto/ccp/ccp-crypto-aes-cmac.c return ccp_do_cmac_update(req, req->nbytes, 0); nbytes 206 drivers/crypto/ccp/ccp-crypto-aes-cmac.c return ccp_do_cmac_update(req, req->nbytes, 1); nbytes 130 drivers/crypto/ccp/ccp-crypto-aes-xts.c if (req->nbytes == xts_unit_sizes[unit].size) { nbytes 158 drivers/crypto/ccp/ccp-crypto-aes-xts.c req->nbytes, req->info); nbytes 180 drivers/crypto/ccp/ccp-crypto-aes-xts.c rctx->cmd.u.xts.src_len = req->nbytes; nbytes 80 drivers/crypto/ccp/ccp-crypto-aes.c (req->nbytes & (AES_BLOCK_SIZE - 1))) nbytes 105 drivers/crypto/ccp/ccp-crypto-aes.c rctx->cmd.u.aes.src_len = req->nbytes; nbytes 74 drivers/crypto/ccp/ccp-crypto-des3.c (req->nbytes & (DES3_EDE_BLOCK_SIZE - 1))) nbytes 100 drivers/crypto/ccp/ccp-crypto-des3.c rctx->cmd.u.des3.src_len = req->nbytes; nbytes 37 drivers/crypto/ccp/ccp-crypto-sha.c unsigned int offset = rctx->nbytes - rctx->hash_rem; nbytes 56 drivers/crypto/ccp/ccp-crypto-sha.c static int ccp_do_sha_update(struct ahash_request *req, unsigned int nbytes, nbytes 70 drivers/crypto/ccp/ccp-crypto-sha.c len = (u64)rctx->buf_count + (u64)nbytes; nbytes 74 drivers/crypto/ccp/ccp-crypto-sha.c 0, nbytes, 0); nbytes 75 drivers/crypto/ccp/ccp-crypto-sha.c rctx->buf_count += nbytes; nbytes 81 drivers/crypto/ccp/ccp-crypto-sha.c rctx->nbytes = nbytes; nbytes 96 drivers/crypto/ccp/ccp-crypto-sha.c if (rctx->buf_count && nbytes) { nbytes 125 drivers/crypto/ccp/ccp-crypto-sha.c } else if (nbytes) { nbytes 206 drivers/crypto/ccp/ccp-crypto-sha.c return ccp_do_sha_update(req, req->nbytes, 0); nbytes 216 drivers/crypto/ccp/ccp-crypto-sha.c return ccp_do_sha_update(req, req->nbytes, 1); nbytes 130 drivers/crypto/ccp/ccp-crypto.h unsigned int nbytes; nbytes 204 drivers/crypto/ccp/ccp-crypto.h unsigned int nbytes; nbytes 106 drivers/crypto/ccp/ccp-ops.c unsigned int nbytes = min_t(u64, len, wa->bytes_left); nbytes 111 drivers/crypto/ccp/ccp-ops.c wa->sg_used += nbytes; nbytes 112 drivers/crypto/ccp/ccp-ops.c wa->bytes_left -= nbytes; nbytes 282 drivers/crypto/ccp/ccp-ops.c unsigned int buf_count, nbytes; nbytes 295 drivers/crypto/ccp/ccp-ops.c nbytes = min_t(u64, sg_wa->bytes_left, dm_wa->length); nbytes 297 drivers/crypto/ccp/ccp-ops.c nbytes, from); nbytes 302 drivers/crypto/ccp/ccp-ops.c nbytes = min(sg_wa->sg->length - sg_wa->sg_used, nbytes 304 drivers/crypto/ccp/ccp-ops.c nbytes = min_t(u64, sg_wa->bytes_left, nbytes); nbytes 306 drivers/crypto/ccp/ccp-ops.c buf_count += nbytes; nbytes 307 drivers/crypto/ccp/ccp-ops.c ccp_update_sg_workarea(sg_wa, nbytes); nbytes 783 drivers/crypto/ccp/ccp-ops.c unsigned int nbytes = ilen % AES_BLOCK_SIZE; nbytes 785 drivers/crypto/ccp/ccp-ops.c if (nbytes) { nbytes 787 drivers/crypto/ccp/ccp-ops.c op.u.aes.size = (nbytes * 8) - 1; nbytes 86 drivers/crypto/ccree/cc_buffer_mgr.c unsigned int nbytes, u32 *lbytes) nbytes 92 drivers/crypto/ccree/cc_buffer_mgr.c while (nbytes && sg_list) { nbytes 95 drivers/crypto/ccree/cc_buffer_mgr.c *lbytes = nbytes; nbytes 96 drivers/crypto/ccree/cc_buffer_mgr.c nbytes -= (sg_list->length > nbytes) ? nbytes 97 drivers/crypto/ccree/cc_buffer_mgr.c nbytes : sg_list->length; nbytes 293 drivers/crypto/ccree/cc_buffer_mgr.c unsigned int nbytes, int direction, u32 *nents, nbytes 298 drivers/crypto/ccree/cc_buffer_mgr.c *nents = cc_get_sgl_nents(dev, sg, nbytes, lbytes); nbytes 399 drivers/crypto/ccree/cc_buffer_mgr.c unsigned int ivsize, unsigned int nbytes, nbytes 434 drivers/crypto/ccree/cc_buffer_mgr.c rc = cc_map_sg(dev, src, nbytes, DMA_BIDIRECTIONAL, &req_ctx->in_nents, nbytes 446 drivers/crypto/ccree/cc_buffer_mgr.c nbytes, 0, true, nbytes 451 drivers/crypto/ccree/cc_buffer_mgr.c rc = cc_map_sg(dev, dst, nbytes, DMA_BIDIRECTIONAL, nbytes 461 drivers/crypto/ccree/cc_buffer_mgr.c nbytes, 0, true, nbytes 464 drivers/crypto/ccree/cc_buffer_mgr.c nbytes, 0, true, nbytes 1203 drivers/crypto/ccree/cc_buffer_mgr.c struct scatterlist *src, unsigned int nbytes, nbytes 1218 drivers/crypto/ccree/cc_buffer_mgr.c curr_buff, *curr_buff_cnt, nbytes, src, areq_ctx->buff_index); nbytes 1225 drivers/crypto/ccree/cc_buffer_mgr.c if (nbytes == 0 && *curr_buff_cnt == 0) { nbytes 1239 drivers/crypto/ccree/cc_buffer_mgr.c if (src && nbytes > 0 && do_update) { nbytes 1240 drivers/crypto/ccree/cc_buffer_mgr.c rc = cc_map_sg(dev, src, nbytes, DMA_TO_DEVICE, nbytes 1249 drivers/crypto/ccree/cc_buffer_mgr.c areq_ctx->buff_sg->length = nbytes; nbytes 1261 drivers/crypto/ccree/cc_buffer_mgr.c cc_add_sg_entry(dev, &sg_data, areq_ctx->in_nents, src, nbytes, nbytes 1284 drivers/crypto/ccree/cc_buffer_mgr.c struct scatterlist *src, unsigned int nbytes, nbytes 1295 drivers/crypto/ccree/cc_buffer_mgr.c u32 total_in_len = nbytes + *curr_buff_cnt; nbytes 1304 drivers/crypto/ccree/cc_buffer_mgr.c curr_buff, *curr_buff_cnt, nbytes, src, areq_ctx->buff_index); nbytes 1315 drivers/crypto/ccree/cc_buffer_mgr.c areq_ctx->in_nents = sg_nents_for_len(src, nbytes); nbytes 1317 drivers/crypto/ccree/cc_buffer_mgr.c &curr_buff[*curr_buff_cnt], nbytes); nbytes 1318 drivers/crypto/ccree/cc_buffer_mgr.c *curr_buff_cnt += nbytes; nbytes 1337 drivers/crypto/ccree/cc_buffer_mgr.c nbytes, CC_SG_TO_BUF); nbytes 45 drivers/crypto/ccree/cc_buffer_mgr.h unsigned int ivsize, unsigned int nbytes, nbytes 57 drivers/crypto/ccree/cc_buffer_mgr.h struct scatterlist *src, unsigned int nbytes, nbytes 61 drivers/crypto/ccree/cc_buffer_mgr.h struct scatterlist *src, unsigned int nbytes, nbytes 529 drivers/crypto/ccree/cc_cipher.c unsigned int ivsize, unsigned int nbytes, nbytes 539 drivers/crypto/ccree/cc_cipher.c unsigned int du_size = nbytes; nbytes 582 drivers/crypto/ccree/cc_cipher.c unsigned int ivsize, unsigned int nbytes, nbytes 594 drivers/crypto/ccree/cc_cipher.c unsigned int du_size = nbytes; nbytes 664 drivers/crypto/ccree/cc_cipher.c unsigned int nbytes, struct cc_hw_desc desc[], nbytes 748 drivers/crypto/ccree/cc_cipher.c unsigned int nbytes, void *areq, nbytes 775 drivers/crypto/ccree/cc_cipher.c unsigned int nbytes, struct cc_hw_desc desc[], nbytes 787 drivers/crypto/ccree/cc_cipher.c &sg_dma_address(src), nbytes); nbytes 789 drivers/crypto/ccree/cc_cipher.c &sg_dma_address(dst), nbytes); nbytes 792 drivers/crypto/ccree/cc_cipher.c nbytes, NS_BIT); nbytes 794 drivers/crypto/ccree/cc_cipher.c nbytes, NS_BIT, (!last_desc ? 0 : 1)); nbytes 861 drivers/crypto/ccree/cc_cipher.c unsigned int nbytes = req->cryptlen; nbytes 873 drivers/crypto/ccree/cc_cipher.c "Encrypt" : "Decrypt"), req, iv, nbytes); nbytes 878 drivers/crypto/ccree/cc_cipher.c if (validate_data_size(ctx_p, nbytes)) { nbytes 879 drivers/crypto/ccree/cc_cipher.c dev_err(dev, "Unsupported data size %d.\n", nbytes); nbytes 884 drivers/crypto/ccree/cc_cipher.c if (nbytes == 0) { nbytes 915 drivers/crypto/ccree/cc_cipher.c rc = cc_map_cipher_request(ctx_p->drvdata, req_ctx, ivsize, nbytes, nbytes 925 drivers/crypto/ccree/cc_cipher.c cc_setup_state_desc(tfm, req_ctx, ivsize, nbytes, desc, &seq_len); nbytes 927 drivers/crypto/ccree/cc_cipher.c cc_setup_mlli_desc(tfm, req_ctx, dst, src, nbytes, req, desc, &seq_len); nbytes 929 drivers/crypto/ccree/cc_cipher.c cc_setup_key_desc(tfm, req_ctx, nbytes, desc, &seq_len); nbytes 931 drivers/crypto/ccree/cc_cipher.c cc_setup_xex_state_desc(tfm, req_ctx, ivsize, nbytes, desc, &seq_len); nbytes 933 drivers/crypto/ccree/cc_cipher.c cc_setup_flow_desc(tfm, req_ctx, dst, src, nbytes, desc, &seq_len); nbytes 419 drivers/crypto/ccree/cc_hash.c unsigned int nbytes = req->nbytes; nbytes 432 drivers/crypto/ccree/cc_hash.c nbytes); nbytes 447 drivers/crypto/ccree/cc_hash.c if (cc_map_hash_request_final(ctx->drvdata, state, src, nbytes, 1, nbytes 485 drivers/crypto/ccree/cc_hash.c if (nbytes) nbytes 556 drivers/crypto/ccree/cc_hash.c unsigned int nbytes = req->nbytes; nbytes 565 drivers/crypto/ccree/cc_hash.c "hmac" : "hash", nbytes); nbytes 567 drivers/crypto/ccree/cc_hash.c if (nbytes == 0) { nbytes 572 drivers/crypto/ccree/cc_hash.c rc = cc_map_hash_request_update(ctx->drvdata, state, src, nbytes, nbytes 577 drivers/crypto/ccree/cc_hash.c nbytes); nbytes 632 drivers/crypto/ccree/cc_hash.c unsigned int nbytes = req->nbytes; nbytes 643 drivers/crypto/ccree/cc_hash.c update ? "finup" : "final", nbytes); nbytes 650 drivers/crypto/ccree/cc_hash.c if (cc_map_hash_request_final(ctx->drvdata, state, src, nbytes, update, nbytes 712 drivers/crypto/ccree/cc_hash.c dev_dbg(dev, "===== init (%d) ====\n", req->nbytes); nbytes 1162 drivers/crypto/ccree/cc_hash.c if (req->nbytes == 0) { nbytes 1170 drivers/crypto/ccree/cc_hash.c req->nbytes, block_size, flags); nbytes 1174 drivers/crypto/ccree/cc_hash.c req->nbytes); nbytes 1249 drivers/crypto/ccree/cc_hash.c req->nbytes, 0, flags)) { nbytes 1353 drivers/crypto/ccree/cc_hash.c dev_dbg(dev, "===== finup xcbc(%d) ====\n", req->nbytes); nbytes 1354 drivers/crypto/ccree/cc_hash.c if (state->xcbc_count > 0 && req->nbytes == 0) { nbytes 1365 drivers/crypto/ccree/cc_hash.c req->nbytes, 1, flags)) { nbytes 1389 drivers/crypto/ccree/cc_hash.c if (req->nbytes == 0) { nbytes 1435 drivers/crypto/ccree/cc_hash.c dev_dbg(dev, "===== -digest mac (%d) ====\n", req->nbytes); nbytes 1450 drivers/crypto/ccree/cc_hash.c req->nbytes, 1, flags)) { nbytes 1468 drivers/crypto/ccree/cc_hash.c if (req->nbytes == 0) { nbytes 698 drivers/crypto/chelsio/chcr_algo.c unsigned int nbytes, nbytes 709 drivers/crypto/chelsio/chcr_algo.c nbytes, iv); nbytes 1126 drivers/crypto/chelsio/chcr_algo.c if (req->nbytes == reqctx->processed) { nbytes 1137 drivers/crypto/chelsio/chcr_algo.c if ((bytes + reqctx->processed) >= req->nbytes) nbytes 1138 drivers/crypto/chelsio/chcr_algo.c bytes = req->nbytes - reqctx->processed; nbytes 1143 drivers/crypto/chelsio/chcr_algo.c bytes = req->nbytes - reqctx->processed; nbytes 1156 drivers/crypto/chelsio/chcr_algo.c req->nbytes, nbytes 1204 drivers/crypto/chelsio/chcr_algo.c (req->nbytes == 0) || nbytes 1205 drivers/crypto/chelsio/chcr_algo.c (req->nbytes % crypto_ablkcipher_blocksize(tfm))) { nbytes 1207 drivers/crypto/chelsio/chcr_algo.c ablkctx->enckey_len, req->nbytes, ivsize); nbytes 1214 drivers/crypto/chelsio/chcr_algo.c if (req->nbytes < (SGE_MAX_WR_LEN - (sizeof(struct chcr_wr) + nbytes 1222 drivers/crypto/chelsio/chcr_algo.c dnents = sg_nents_xlen(req->dst, req->nbytes, nbytes 1227 drivers/crypto/chelsio/chcr_algo.c reqctx->imm = (transhdr_len + IV + req->nbytes) <= nbytes 1229 drivers/crypto/chelsio/chcr_algo.c bytes = IV + req->nbytes; nbytes 1239 drivers/crypto/chelsio/chcr_algo.c if ((bytes + reqctx->processed) >= req->nbytes) nbytes 1240 drivers/crypto/chelsio/chcr_algo.c bytes = req->nbytes - reqctx->processed; nbytes 1244 drivers/crypto/chelsio/chcr_algo.c bytes = req->nbytes; nbytes 1271 drivers/crypto/chelsio/chcr_algo.c req->nbytes, nbytes 1591 drivers/crypto/chelsio/chcr_algo.c unsigned int nbytes = req->nbytes; nbytes 1598 drivers/crypto/chelsio/chcr_algo.c if (nbytes + req_ctx->reqlen >= bs) { nbytes 1599 drivers/crypto/chelsio/chcr_algo.c remainder = (nbytes + req_ctx->reqlen) % bs; nbytes 1600 drivers/crypto/chelsio/chcr_algo.c nbytes = nbytes + req_ctx->reqlen - remainder; nbytes 1603 drivers/crypto/chelsio/chcr_algo.c + req_ctx->reqlen, nbytes, 0); nbytes 1604 drivers/crypto/chelsio/chcr_algo.c req_ctx->reqlen += nbytes; nbytes 1632 drivers/crypto/chelsio/chcr_algo.c if (params.sg_len > req->nbytes) nbytes 1633 drivers/crypto/chelsio/chcr_algo.c params.sg_len = req->nbytes; nbytes 1656 drivers/crypto/chelsio/chcr_algo.c req_ctx->reqbfr, remainder, req->nbytes - nbytes 1789 drivers/crypto/chelsio/chcr_algo.c if (params.sg_len < req->nbytes) { nbytes 1803 drivers/crypto/chelsio/chcr_algo.c params.sg_len = req->nbytes; nbytes 1812 drivers/crypto/chelsio/chcr_algo.c if ((req_ctx->reqlen + req->nbytes) == 0) { nbytes 1882 drivers/crypto/chelsio/chcr_algo.c if (params.sg_len < req->nbytes) { nbytes 1893 drivers/crypto/chelsio/chcr_algo.c params.sg_len = req->nbytes; nbytes 1897 drivers/crypto/chelsio/chcr_algo.c params.scmd1 = req->nbytes + req_ctx->data_len; nbytes 1905 drivers/crypto/chelsio/chcr_algo.c if (req->nbytes == 0) { nbytes 1952 drivers/crypto/chelsio/chcr_algo.c if ((params.sg_len + hctx_wr->processed) > req->nbytes) nbytes 1953 drivers/crypto/chelsio/chcr_algo.c params.sg_len = req->nbytes - hctx_wr->processed; nbytes 1955 drivers/crypto/chelsio/chcr_algo.c ((params.sg_len + hctx_wr->processed) < req->nbytes)) { nbytes 2013 drivers/crypto/chelsio/chcr_algo.c req->nbytes)) { nbytes 2658 drivers/crypto/chelsio/chcr_algo.c if (!req->nbytes) nbytes 2673 drivers/crypto/chelsio/chcr_algo.c if (!req->nbytes) nbytes 283 drivers/crypto/geode-aes.c unsigned int nbytes; nbytes 299 drivers/crypto/geode-aes.c while ((nbytes = walk.nbytes) != 0) { nbytes 301 drivers/crypto/geode-aes.c round_down(nbytes, AES_BLOCK_SIZE), nbytes 303 drivers/crypto/geode-aes.c err = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE); nbytes 1113 drivers/crypto/hifn_795x.c void *priv, unsigned int nbytes) nbytes 1138 drivers/crypto/hifn_795x.c buf_pos += hifn_setup_base_command(dev, buf_pos, nbytes, nbytes 1139 drivers/crypto/hifn_795x.c nbytes, mask, dev->snum); nbytes 1200 drivers/crypto/hifn_795x.c nbytes, nbytes, ctx->key, ctx->keysize, nbytes 1320 drivers/crypto/hifn_795x.c unsigned int nbytes, void *priv) nbytes 1327 drivers/crypto/hifn_795x.c n = nbytes; nbytes 1340 drivers/crypto/hifn_795x.c n = nbytes; nbytes 1362 drivers/crypto/hifn_795x.c hifn_setup_cmd_desc(dev, ctx, rctx, priv, nbytes); nbytes 1410 drivers/crypto/hifn_795x.c unsigned int copy, drest = *drestp, nbytes = *nbytesp; nbytes 1413 drivers/crypto/hifn_795x.c if (drest < size || size > nbytes) nbytes 1421 drivers/crypto/hifn_795x.c nbytes -= copy; nbytes 1424 drivers/crypto/hifn_795x.c __func__, copy, size, drest, nbytes); nbytes 1430 drivers/crypto/hifn_795x.c *nbytesp = nbytes; nbytes 1440 drivers/crypto/hifn_795x.c unsigned int nbytes = req->nbytes, offset, copy, diff; nbytes 1445 drivers/crypto/hifn_795x.c while (nbytes) { nbytes 1452 drivers/crypto/hifn_795x.c __func__, dst->length, dst->offset, offset, nbytes); nbytes 1457 drivers/crypto/hifn_795x.c unsigned slen = min(dst->length - offset, nbytes); nbytes 1462 drivers/crypto/hifn_795x.c err = ablkcipher_add(&dlen, dst, slen, &nbytes); nbytes 1471 drivers/crypto/hifn_795x.c if (dlen < nbytes) { nbytes 1482 drivers/crypto/hifn_795x.c nbytes += diff; nbytes 1489 drivers/crypto/hifn_795x.c __func__, dlen, nbytes, slen, offset); nbytes 1497 drivers/crypto/hifn_795x.c copy += diff + nbytes; nbytes 1501 drivers/crypto/hifn_795x.c err = ablkcipher_add(&dlen, dst, nbytes, &nbytes); nbytes 1511 drivers/crypto/hifn_795x.c nbytes -= min(dst->length, nbytes); nbytes 1527 drivers/crypto/hifn_795x.c unsigned int nbytes = req->nbytes, idx = 0; nbytes 1536 drivers/crypto/hifn_795x.c while (nbytes) { nbytes 1538 drivers/crypto/hifn_795x.c dlen = min(dst->length, nbytes); nbytes 1544 drivers/crypto/hifn_795x.c nbytes -= dlen; nbytes 1566 drivers/crypto/hifn_795x.c err = hifn_setup_dma(dev, ctx, rctx, req->src, req->dst, req->nbytes, req); nbytes 1616 drivers/crypto/hifn_795x.c unsigned int srest = *srestp, nbytes = *nbytesp, copy; nbytes 1620 drivers/crypto/hifn_795x.c if (srest < size || size > nbytes) nbytes 1630 drivers/crypto/hifn_795x.c nbytes -= copy; nbytes 1637 drivers/crypto/hifn_795x.c __func__, copy, size, srest, nbytes); nbytes 1643 drivers/crypto/hifn_795x.c *nbytesp = nbytes; nbytes 1668 drivers/crypto/hifn_795x.c unsigned int nbytes = req->nbytes; nbytes 1673 drivers/crypto/hifn_795x.c while (nbytes) { nbytes 1681 drivers/crypto/hifn_795x.c sg_page(dst), dst->length, nbytes); nbytes 1684 drivers/crypto/hifn_795x.c nbytes -= min(dst->length, nbytes); nbytes 1692 drivers/crypto/hifn_795x.c dst, nbytes, &nbytes); nbytes 1983 drivers/crypto/hifn_795x.c if (dev->started + DIV_ROUND_UP(req->nbytes, PAGE_SIZE) <= HIFN_QUEUE_LENGTH) nbytes 257 drivers/crypto/img-hash.c ctx->buffer, hdev->req->nbytes); nbytes 259 drivers/crypto/img-hash.c ctx->total = hdev->req->nbytes; nbytes 361 drivers/crypto/img-hash.c size_t nbytes, bleft, wsend, len, tbc; nbytes 368 drivers/crypto/img-hash.c nbytes = ctx->sg->length - ctx->offset; nbytes 380 drivers/crypto/img-hash.c bleft = nbytes % 4; nbytes 381 drivers/crypto/img-hash.c wsend = (nbytes / 4); nbytes 446 drivers/crypto/img-hash.c if (req->nbytes >= IMG_HASH_DMA_THRESHOLD) { nbytes 448 drivers/crypto/img-hash.c req->nbytes); nbytes 452 drivers/crypto/img-hash.c req->nbytes); nbytes 467 drivers/crypto/img-hash.c nbits = (u64)hdev->req->nbytes << 3; nbytes 531 drivers/crypto/img-hash.c ctx->op, req->nbytes); nbytes 554 drivers/crypto/img-hash.c rctx->fallback_req.nbytes = req->nbytes; nbytes 583 drivers/crypto/img-hash.c rctx->fallback_req.nbytes = req->nbytes; nbytes 662 drivers/crypto/img-hash.c ctx->total = req->nbytes; nbytes 234 drivers/crypto/inside-secure/safexcel_hash.c areq->nbytes = 0; nbytes 271 drivers/crypto/inside-secure/safexcel_hash.c cache_len = queued - areq->nbytes; nbytes 287 drivers/crypto/inside-secure/safexcel_hash.c areq->nbytes - extra); nbytes 323 drivers/crypto/inside-secure/safexcel_hash.c if (!areq->nbytes) nbytes 329 drivers/crypto/inside-secure/safexcel_hash.c areq->nbytes), nbytes 571 drivers/crypto/inside-secure/safexcel_hash.c if (cache_len + areq->nbytes <= HASH_CACHE_SIZE) { nbytes 574 drivers/crypto/inside-secure/safexcel_hash.c areq->nbytes, 0); nbytes 644 drivers/crypto/inside-secure/safexcel_hash.c if (!areq->nbytes) nbytes 651 drivers/crypto/inside-secure/safexcel_hash.c req->len += areq->nbytes; nbytes 670 drivers/crypto/inside-secure/safexcel_hash.c if (unlikely(!req->len && !areq->nbytes)) { nbytes 698 drivers/crypto/inside-secure/safexcel_hash.c !areq->nbytes)) { nbytes 781 drivers/crypto/ixp4xx_crypto.c struct scatterlist *sg, unsigned nbytes, nbytes 785 drivers/crypto/ixp4xx_crypto.c for (; nbytes > 0; sg = sg_next(sg)) { nbytes 786 drivers/crypto/ixp4xx_crypto.c unsigned len = min(nbytes, sg->length); nbytes 791 drivers/crypto/ixp4xx_crypto.c nbytes -= len; nbytes 878 drivers/crypto/ixp4xx_crypto.c unsigned int nbytes = req->nbytes; nbytes 903 drivers/crypto/ixp4xx_crypto.c crypt->crypt_len = nbytes; nbytes 913 drivers/crypto/ixp4xx_crypto.c if (!chainup_buffers(dev, req->dst, nbytes, &dst_hook, nbytes 923 drivers/crypto/ixp4xx_crypto.c if (!chainup_buffers(dev, req->src, nbytes, &src_hook, nbytes 28 drivers/crypto/marvell/hash.c unsigned int len = req->nbytes + creq->cache_ptr; nbytes 178 drivers/crypto/marvell/hash.c len = min_t(size_t, req->nbytes + creq->cache_ptr - sreq->offset, nbytes 198 drivers/crypto/marvell/hash.c if (creq->last_req && sreq->offset == req->nbytes && nbytes 258 drivers/crypto/marvell/hash.c if (sreq->offset < (req->nbytes - creq->cache_ptr)) nbytes 367 drivers/crypto/marvell/hash.c atomic_sub(ahashreq->nbytes, &engine->load); nbytes 398 drivers/crypto/marvell/hash.c ahashreq->nbytes - creq->cache_ptr); nbytes 442 drivers/crypto/marvell/hash.c if (creq->cache_ptr + req->nbytes < CESA_MAX_HASH_BLOCK_SIZE && !creq->last_req) { nbytes 445 drivers/crypto/marvell/hash.c if (!req->nbytes) nbytes 450 drivers/crypto/marvell/hash.c req->nbytes, 0); nbytes 452 drivers/crypto/marvell/hash.c creq->cache_ptr += req->nbytes; nbytes 696 drivers/crypto/marvell/hash.c creq->cache_ptr = req->nbytes + creq->cache_ptr - nbytes 731 drivers/crypto/marvell/hash.c creq->src_nents = sg_nents_for_len(req->src, req->nbytes); nbytes 762 drivers/crypto/marvell/hash.c engine = mv_cesa_select_engine(req->nbytes); nbytes 777 drivers/crypto/marvell/hash.c creq->len += req->nbytes; nbytes 789 drivers/crypto/marvell/hash.c req->nbytes = 0; nbytes 799 drivers/crypto/marvell/hash.c creq->len += req->nbytes; nbytes 561 drivers/crypto/mediatek/mtk-aes.c return mtk_aes_dma(cryp, aes, req->src, req->dst, req->nbytes); nbytes 582 drivers/crypto/mediatek/mtk-aes.c if (cctx->offset >= req->nbytes) nbytes 586 drivers/crypto/mediatek/mtk-aes.c datalen = req->nbytes - cctx->offset; nbytes 750 drivers/crypto/mediatek/mtk-sha.c ctx->total = req->nbytes; nbytes 320 drivers/crypto/mxs-dcp.c limit_hit = tlen > req->nbytes; nbytes 323 drivers/crypto/mxs-dcp.c len = req->nbytes - (tlen - len); nbytes 436 drivers/crypto/mxs-dcp.c req->nbytes, req->info); nbytes 639 drivers/crypto/mxs-dcp.c len = req->nbytes; nbytes 765 drivers/crypto/mxs-dcp.c if (!req->nbytes && !fini) nbytes 795 drivers/crypto/mxs-dcp.c req->nbytes = 0; nbytes 329 drivers/crypto/n2_core.c rctx->fallback_req.nbytes = req->nbytes; nbytes 356 drivers/crypto/n2_core.c rctx->fallback_req.nbytes = req->nbytes; nbytes 531 drivers/crypto/n2_core.c int nbytes, cpu; nbytes 536 drivers/crypto/n2_core.c if (unlikely(req->nbytes > (1 << 16))) { nbytes 543 drivers/crypto/n2_core.c rctx->fallback_req.nbytes = req->nbytes; nbytes 550 drivers/crypto/n2_core.c nbytes = crypto_hash_walk_first(req, &walk); nbytes 564 drivers/crypto/n2_core.c ent->control = control_word_base(nbytes, auth_key_len, 0, nbytes 577 drivers/crypto/n2_core.c nbytes = crypto_hash_walk_done(&walk, 0); nbytes 578 drivers/crypto/n2_core.c while (nbytes > 0) { nbytes 581 drivers/crypto/n2_core.c ent->control = (nbytes - 1); nbytes 590 drivers/crypto/n2_core.c nbytes = crypto_hash_walk_done(&walk, 0); nbytes 616 drivers/crypto/n2_core.c if (unlikely(req->nbytes == 0)) { nbytes 636 drivers/crypto/n2_core.c if (unlikely(req->nbytes == 0) || nbytes 644 drivers/crypto/n2_core.c rctx->fallback_req.nbytes = req->nbytes; nbytes 825 drivers/crypto/n2_core.c static inline int cipher_descriptor_len(int nbytes, unsigned int block_size) nbytes 827 drivers/crypto/n2_core.c int this_len = nbytes; nbytes 829 drivers/crypto/n2_core.c this_len -= (nbytes & (block_size - 1)); nbytes 888 drivers/crypto/n2_core.c int err, nbytes; nbytes 890 drivers/crypto/n2_core.c ablkcipher_walk_init(walk, req->dst, req->src, req->nbytes); nbytes 908 drivers/crypto/n2_core.c while ((nbytes = walk->nbytes) != 0) { nbytes 918 drivers/crypto/n2_core.c this_len = cipher_descriptor_len(nbytes, walk->blocksize); nbytes 949 drivers/crypto/n2_core.c err = ablkcipher_walk_done(req, walk, nbytes - this_len); nbytes 56 drivers/crypto/nx/nx-aes-cbc.c unsigned int nbytes, nbytes 73 drivers/crypto/nx/nx-aes-cbc.c to_process = nbytes - processed; nbytes 96 drivers/crypto/nx/nx-aes-cbc.c } while (processed < nbytes); nbytes 105 drivers/crypto/nx/nx-aes-cbc.c unsigned int nbytes) nbytes 107 drivers/crypto/nx/nx-aes-cbc.c return cbc_aes_nx_crypt(desc, dst, src, nbytes, 1); nbytes 113 drivers/crypto/nx/nx-aes-cbc.c unsigned int nbytes) nbytes 115 drivers/crypto/nx/nx-aes-cbc.c return cbc_aes_nx_crypt(desc, dst, src, nbytes, 0); nbytes 160 drivers/crypto/nx/nx-aes-ccm.c unsigned int nbytes, nbytes 211 drivers/crypto/nx/nx-aes-ccm.c rc = generate_b0(iv, assoclen, authsize, nbytes, b0); nbytes 335 drivers/crypto/nx/nx-aes-ccm.c unsigned int nbytes = req->cryptlen; nbytes 344 drivers/crypto/nx/nx-aes-ccm.c nbytes -= authsize; nbytes 348 drivers/crypto/nx/nx-aes-ccm.c req->src, nbytes + req->assoclen, authsize, nbytes 351 drivers/crypto/nx/nx-aes-ccm.c rc = generate_pat(desc->info, req, nx_ctx, authsize, nbytes, assoclen, nbytes 361 drivers/crypto/nx/nx-aes-ccm.c to_process = nbytes - processed; nbytes 363 drivers/crypto/nx/nx-aes-ccm.c if ((to_process + processed) < nbytes) nbytes 398 drivers/crypto/nx/nx-aes-ccm.c } while (processed < nbytes); nbytes 413 drivers/crypto/nx/nx-aes-ccm.c unsigned int nbytes = req->cryptlen; nbytes 421 drivers/crypto/nx/nx-aes-ccm.c rc = generate_pat(desc->info, req, nx_ctx, authsize, nbytes, assoclen, nbytes 430 drivers/crypto/nx/nx-aes-ccm.c to_process = nbytes - processed; nbytes 432 drivers/crypto/nx/nx-aes-ccm.c if ((to_process + processed) < nbytes) nbytes 468 drivers/crypto/nx/nx-aes-ccm.c } while (processed < nbytes); nbytes 472 drivers/crypto/nx/nx-aes-ccm.c req->dst, nbytes + req->assoclen, authsize, nbytes 75 drivers/crypto/nx/nx-aes-ctr.c unsigned int nbytes) nbytes 86 drivers/crypto/nx/nx-aes-ctr.c to_process = nbytes - processed; nbytes 110 drivers/crypto/nx/nx-aes-ctr.c } while (processed < nbytes); nbytes 119 drivers/crypto/nx/nx-aes-ctr.c unsigned int nbytes) nbytes 132 drivers/crypto/nx/nx-aes-ctr.c return ctr_aes_nx_crypt(desc, dst, src, nbytes); nbytes 56 drivers/crypto/nx/nx-aes-ecb.c unsigned int nbytes, nbytes 73 drivers/crypto/nx/nx-aes-ecb.c to_process = nbytes - processed; nbytes 95 drivers/crypto/nx/nx-aes-ecb.c } while (processed < nbytes); nbytes 105 drivers/crypto/nx/nx-aes-ecb.c unsigned int nbytes) nbytes 107 drivers/crypto/nx/nx-aes-ecb.c return ecb_aes_nx_crypt(desc, dst, src, nbytes, 1); nbytes 113 drivers/crypto/nx/nx-aes-ecb.c unsigned int nbytes) nbytes 115 drivers/crypto/nx/nx-aes-ecb.c return ecb_aes_nx_crypt(desc, dst, src, nbytes, 0); nbytes 108 drivers/crypto/nx/nx-aes-gcm.c unsigned int nbytes = assoclen; nbytes 112 drivers/crypto/nx/nx-aes-gcm.c if (nbytes <= AES_BLOCK_SIZE) { nbytes 114 drivers/crypto/nx/nx-aes-gcm.c scatterwalk_copychunks(out, &walk, nbytes, SCATTERWALK_FROM_SG); nbytes 132 drivers/crypto/nx/nx-aes-gcm.c to_process = min_t(u64, nbytes - processed, nbytes 140 drivers/crypto/nx/nx-aes-gcm.c if ((to_process + processed) < nbytes) nbytes 162 drivers/crypto/nx/nx-aes-gcm.c } while (processed < nbytes); nbytes 177 drivers/crypto/nx/nx-aes-gcm.c unsigned int nbytes = assoclen; nbytes 200 drivers/crypto/nx/nx-aes-gcm.c to_process = min_t(u64, nbytes - processed, nbytes 208 drivers/crypto/nx/nx-aes-gcm.c if ((to_process + processed) < nbytes) nbytes 217 drivers/crypto/nx/nx-aes-gcm.c csbcpb->cpb.aes_gcm.bit_length_aad = 8 * nbytes; nbytes 235 drivers/crypto/nx/nx-aes-gcm.c } while (processed < nbytes); nbytes 317 drivers/crypto/nx/nx-aes-gcm.c unsigned int nbytes = req->cryptlen; nbytes 328 drivers/crypto/nx/nx-aes-gcm.c if (nbytes == 0) { nbytes 354 drivers/crypto/nx/nx-aes-gcm.c nbytes -= crypto_aead_authsize(crypto_aead_reqtfm(req)); nbytes 358 drivers/crypto/nx/nx-aes-gcm.c to_process = nbytes - processed; nbytes 360 drivers/crypto/nx/nx-aes-gcm.c csbcpb->cpb.aes_gcm.bit_length_data = nbytes * 8; nbytes 369 drivers/crypto/nx/nx-aes-gcm.c if ((to_process + processed) < nbytes) nbytes 393 drivers/crypto/nx/nx-aes-gcm.c } while (processed < nbytes); nbytes 400 drivers/crypto/nx/nx-aes-gcm.c req->dst, req->assoclen + nbytes, nbytes 408 drivers/crypto/nx/nx-aes-gcm.c itag, req->src, req->assoclen + nbytes, nbytes 208 drivers/crypto/nx/nx.c unsigned int *nbytes) nbytes 234 drivers/crypto/nx/nx.c data_back = *nbytes - (data_back & ~(AES_BLOCK_SIZE - 1)); nbytes 235 drivers/crypto/nx/nx.c *nbytes -= data_back; nbytes 262 drivers/crypto/nx/nx.c unsigned int *nbytes, nbytes 267 drivers/crypto/nx/nx.c unsigned int total = *nbytes; nbytes 280 drivers/crypto/nx/nx.c *nbytes = min_t(u64, *nbytes, nx_ctx->ap->databytelen); nbytes 283 drivers/crypto/nx/nx.c offset, nbytes); nbytes 285 drivers/crypto/nx/nx.c offset, nbytes); nbytes 287 drivers/crypto/nx/nx.c if (*nbytes < total) nbytes 288 drivers/crypto/nx/nx.c delta = *nbytes - (*nbytes & ~(AES_BLOCK_SIZE - 1)); nbytes 293 drivers/crypto/nx/nx.c nx_ctx->op.inlen = trim_sg_list(nx_ctx->in_sg, nx_insg, delta, nbytes); nbytes 294 drivers/crypto/nx/nx.c nx_ctx->op.outlen = trim_sg_list(nx_ctx->out_sg, nx_outsg, delta, nbytes); nbytes 430 drivers/crypto/omap-aes.c dd->total = req->nbytes; nbytes 431 drivers/crypto/omap-aes.c dd->total_save = req->nbytes; nbytes 516 drivers/crypto/omap-aes.c pr_debug("nbytes: %d, enc: %d, cbc: %d\n", req->nbytes, nbytes 520 drivers/crypto/omap-aes.c if (req->nbytes < aes_fallback_sz) { nbytes 527 drivers/crypto/omap-aes.c req->nbytes, req->info); nbytes 541 drivers/crypto/omap-des.c dd->total = req->nbytes; nbytes 542 drivers/crypto/omap-des.c dd->total_save = req->nbytes; nbytes 629 drivers/crypto/omap-des.c pr_debug("nbytes: %d, enc: %d, cbc: %d\n", req->nbytes, nbytes 633 drivers/crypto/omap-des.c if (!IS_ALIGNED(req->nbytes, DES_BLOCK_SIZE)) { nbytes 731 drivers/crypto/omap-sham.c int nbytes, int bs, bool final, nbytes 741 drivers/crypto/omap-sham.c if (!sg || !sg->length || !nbytes) nbytes 744 drivers/crypto/omap-sham.c new_len = nbytes; nbytes 754 drivers/crypto/omap-sham.c if (nbytes != new_len) nbytes 757 drivers/crypto/omap-sham.c while (nbytes > 0 && sg_tmp) { nbytes 782 drivers/crypto/omap-sham.c nbytes += offset; nbytes 786 drivers/crypto/omap-sham.c nbytes -= sg_tmp->length; nbytes 791 drivers/crypto/omap-sham.c if (nbytes < 0) { nbytes 813 drivers/crypto/omap-sham.c int nbytes; nbytes 820 drivers/crypto/omap-sham.c nbytes = req->nbytes; nbytes 822 drivers/crypto/omap-sham.c nbytes = 0; nbytes 824 drivers/crypto/omap-sham.c rctx->total = nbytes + rctx->bufcnt; nbytes 829 drivers/crypto/omap-sham.c if (nbytes && (!IS_ALIGNED(rctx->bufcnt, bs))) { nbytes 832 drivers/crypto/omap-sham.c if (len > nbytes) nbytes 833 drivers/crypto/omap-sham.c len = nbytes; nbytes 837 drivers/crypto/omap-sham.c nbytes -= len; nbytes 844 drivers/crypto/omap-sham.c ret = omap_sham_align_sgs(req->src, nbytes, bs, final, rctx); nbytes 863 drivers/crypto/omap-sham.c if (rctx->bufcnt && nbytes) { nbytes 886 drivers/crypto/omap-sham.c if (hash_later > req->nbytes) { nbytes 888 drivers/crypto/omap-sham.c hash_later - req->nbytes); nbytes 889 drivers/crypto/omap-sham.c offset = hash_later - req->nbytes; nbytes 892 drivers/crypto/omap-sham.c if (req->nbytes) { nbytes 895 drivers/crypto/omap-sham.c offset + req->nbytes - nbytes 1151 drivers/crypto/omap-sham.c ctx->op, req->nbytes); nbytes 1203 drivers/crypto/omap-sham.c if (!req->nbytes) nbytes 1206 drivers/crypto/omap-sham.c if (ctx->bufcnt + req->nbytes <= ctx->buflen) { nbytes 1208 drivers/crypto/omap-sham.c 0, req->nbytes, 0); nbytes 1209 drivers/crypto/omap-sham.c ctx->bufcnt += req->nbytes; nbytes 343 drivers/crypto/padlock-aes.c unsigned int nbytes) nbytes 351 drivers/crypto/padlock-aes.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 354 drivers/crypto/padlock-aes.c while ((nbytes = walk.nbytes)) { nbytes 357 drivers/crypto/padlock-aes.c nbytes / AES_BLOCK_SIZE); nbytes 358 drivers/crypto/padlock-aes.c nbytes &= AES_BLOCK_SIZE - 1; nbytes 359 drivers/crypto/padlock-aes.c err = blkcipher_walk_done(desc, &walk, nbytes); nbytes 369 drivers/crypto/padlock-aes.c unsigned int nbytes) nbytes 377 drivers/crypto/padlock-aes.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 380 drivers/crypto/padlock-aes.c while ((nbytes = walk.nbytes)) { nbytes 383 drivers/crypto/padlock-aes.c nbytes / AES_BLOCK_SIZE); nbytes 384 drivers/crypto/padlock-aes.c nbytes &= AES_BLOCK_SIZE - 1; nbytes 385 drivers/crypto/padlock-aes.c err = blkcipher_walk_done(desc, &walk, nbytes); nbytes 416 drivers/crypto/padlock-aes.c unsigned int nbytes) nbytes 424 drivers/crypto/padlock-aes.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 427 drivers/crypto/padlock-aes.c while ((nbytes = walk.nbytes)) { nbytes 431 drivers/crypto/padlock-aes.c nbytes / AES_BLOCK_SIZE); nbytes 433 drivers/crypto/padlock-aes.c nbytes &= AES_BLOCK_SIZE - 1; nbytes 434 drivers/crypto/padlock-aes.c err = blkcipher_walk_done(desc, &walk, nbytes); nbytes 444 drivers/crypto/padlock-aes.c unsigned int nbytes) nbytes 452 drivers/crypto/padlock-aes.c blkcipher_walk_init(&walk, dst, src, nbytes); nbytes 455 drivers/crypto/padlock-aes.c while ((nbytes = walk.nbytes)) { nbytes 458 drivers/crypto/padlock-aes.c nbytes / AES_BLOCK_SIZE); nbytes 459 drivers/crypto/padlock-aes.c nbytes &= AES_BLOCK_SIZE - 1; nbytes 460 drivers/crypto/padlock-aes.c err = blkcipher_walk_done(desc, &walk, nbytes); nbytes 275 drivers/crypto/picoxcell_crypto.c unsigned nbytes, nbytes 285 drivers/crypto/picoxcell_crypto.c nents = sg_nents_for_len(payload, nbytes); nbytes 444 drivers/crypto/picoxcell_crypto.c unsigned nbytes, enum dma_data_direction dir) nbytes 446 drivers/crypto/picoxcell_crypto.c int nents = sg_nents_for_len(payload, nbytes); nbytes 866 drivers/crypto/picoxcell_crypto.c ablk_req->nbytes, DMA_TO_DEVICE); nbytes 868 drivers/crypto/picoxcell_crypto.c ablk_req->nbytes, DMA_FROM_DEVICE); nbytes 871 drivers/crypto/picoxcell_crypto.c ablk_req->nbytes, DMA_BIDIRECTIONAL); nbytes 894 drivers/crypto/picoxcell_crypto.c writel(ablk_req->nbytes, engine->regs + SPA_PROC_LEN_REG_OFFSET); nbytes 927 drivers/crypto/picoxcell_crypto.c req->nbytes, req->info); nbytes 959 drivers/crypto/picoxcell_crypto.c req->nbytes, DMA_TO_DEVICE, &dev_req->src_addr); nbytes 964 drivers/crypto/picoxcell_crypto.c req->nbytes, DMA_FROM_DEVICE, &dev_req->dst_addr); nbytes 969 drivers/crypto/picoxcell_crypto.c req->nbytes, DMA_BIDIRECTIONAL, &dev_req->dst_addr); nbytes 1002 drivers/crypto/picoxcell_crypto.c req->nbytes, req->src == req->dst ? nbytes 1007 drivers/crypto/picoxcell_crypto.c req->src, req->nbytes, DMA_TO_DEVICE); nbytes 1059 drivers/crypto/qat/qat_common/qat_algs.c if (req->nbytes == 0) nbytes 1083 drivers/crypto/qat/qat_common/qat_algs.c cipher_param->cipher_length = req->nbytes; nbytes 1102 drivers/crypto/qat/qat_common/qat_algs.c if (req->nbytes % AES_BLOCK_SIZE != 0) nbytes 1119 drivers/crypto/qat/qat_common/qat_algs.c if (req->nbytes == 0) nbytes 1143 drivers/crypto/qat/qat_common/qat_algs.c cipher_param->cipher_length = req->nbytes; nbytes 1162 drivers/crypto/qat/qat_common/qat_algs.c if (req->nbytes % AES_BLOCK_SIZE != 0) nbytes 67 drivers/crypto/qce/ablkcipher.c rctx->cryptlen = req->nbytes; nbytes 73 drivers/crypto/qce/ablkcipher.c rctx->src_nents = sg_nents_for_len(req->src, req->nbytes); nbytes 75 drivers/crypto/qce/ablkcipher.c rctx->dst_nents = sg_nents_for_len(req->dst, req->nbytes); nbytes 134 drivers/crypto/qce/ablkcipher.c ret = qce_start(async_req, tmpl->crypto_alg_type, req->nbytes, 0); nbytes 230 drivers/crypto/qce/ablkcipher.c req->nbytes, req->info); nbytes 238 drivers/crypto/qce/common.c if (!rctx->last_blk && req->nbytes % blocksize) nbytes 293 drivers/crypto/qce/common.c qce_write(qce, REG_AUTH_SEG_SIZE, req->nbytes); nbytes 296 drivers/crypto/qce/common.c qce_write(qce, REG_SEG_SIZE, req->nbytes); nbytes 61 drivers/crypto/qce/sha.c req->nbytes = rctx->nbytes_orig; nbytes 86 drivers/crypto/qce/sha.c rctx->src_nents = sg_nents_for_len(req->src, req->nbytes); nbytes 235 drivers/crypto/qce/sha.c unsigned int nbytes; nbytes 239 drivers/crypto/qce/sha.c rctx->count += req->nbytes; nbytes 242 drivers/crypto/qce/sha.c total = req->nbytes + rctx->buflen; nbytes 246 drivers/crypto/qce/sha.c 0, req->nbytes, 0); nbytes 247 drivers/crypto/qce/sha.c rctx->buflen += req->nbytes; nbytes 253 drivers/crypto/qce/sha.c rctx->nbytes_orig = req->nbytes; nbytes 265 drivers/crypto/qce/sha.c unsigned int src_offset = req->nbytes - hash_later; nbytes 271 drivers/crypto/qce/sha.c nbytes = total - hash_later; nbytes 276 drivers/crypto/qce/sha.c while (len < nbytes && sg) { nbytes 277 drivers/crypto/qce/sha.c if (len + sg_dma_len(sg) > nbytes) nbytes 296 drivers/crypto/qce/sha.c req->nbytes = nbytes; nbytes 314 drivers/crypto/qce/sha.c rctx->nbytes_orig = req->nbytes; nbytes 320 drivers/crypto/qce/sha.c req->nbytes = rctx->buflen; nbytes 337 drivers/crypto/qce/sha.c rctx->nbytes_orig = req->nbytes; nbytes 24 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c if (!IS_ALIGNED(req->nbytes, dev->align_size)) nbytes 277 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c dev->left_bytes = req->nbytes; nbytes 278 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c dev->total = req->nbytes; nbytes 101 drivers/crypto/rockchip/rk3288_crypto_ahash.c rctx->fallback_req.nbytes = req->nbytes; nbytes 131 drivers/crypto/rockchip/rk3288_crypto_ahash.c rctx->fallback_req.nbytes = req->nbytes; nbytes 169 drivers/crypto/rockchip/rk3288_crypto_ahash.c if (!req->nbytes) nbytes 199 drivers/crypto/rockchip/rk3288_crypto_ahash.c dev->total = req->nbytes; nbytes 200 drivers/crypto/rockchip/rk3288_crypto_ahash.c dev->left_bytes = req->nbytes; nbytes 459 drivers/crypto/s5p-sss.c len = ALIGN(dev->req->nbytes, AES_BLOCK_SIZE); nbytes 467 drivers/crypto/s5p-sss.c unsigned int nbytes, int out) nbytes 471 drivers/crypto/s5p-sss.c if (!nbytes) nbytes 475 drivers/crypto/s5p-sss.c scatterwalk_copychunks(buf, &walk, nbytes, out); nbytes 487 drivers/crypto/s5p-sss.c dev->req->nbytes); nbytes 489 drivers/crypto/s5p-sss.c dev->req->nbytes, 1); nbytes 526 drivers/crypto/s5p-sss.c len = ALIGN(dev->req->nbytes, AES_BLOCK_SIZE); nbytes 534 drivers/crypto/s5p-sss.c s5p_sg_copy_buf(pages, src, dev->req->nbytes, 0); nbytes 1144 drivers/crypto/s5p-sss.c unsigned int skip = ctx->skip, nbytes = new_len, n = 0; nbytes 1154 drivers/crypto/s5p-sss.c while (nbytes > 0 && sg_tmp) { nbytes 1168 drivers/crypto/s5p-sss.c if (nbytes < sg_tmp->length - skip) { nbytes 1173 drivers/crypto/s5p-sss.c nbytes -= sg_tmp->length - skip; nbytes 1218 drivers/crypto/s5p-sss.c int xmit_len, hash_later, nbytes; nbytes 1222 drivers/crypto/s5p-sss.c nbytes = req->nbytes; nbytes 1224 drivers/crypto/s5p-sss.c nbytes = 0; nbytes 1226 drivers/crypto/s5p-sss.c ctx->total = nbytes + ctx->bufcnt; nbytes 1230 drivers/crypto/s5p-sss.c if (nbytes && (!IS_ALIGNED(ctx->bufcnt, BUFLEN))) { nbytes 1234 drivers/crypto/s5p-sss.c if (len > nbytes) nbytes 1235 drivers/crypto/s5p-sss.c len = nbytes; nbytes 1240 drivers/crypto/s5p-sss.c nbytes -= len; nbytes 1262 drivers/crypto/s5p-sss.c req->nbytes - hash_later, nbytes 1267 drivers/crypto/s5p-sss.c ret = s5p_hash_prepare_sgs(ctx, req->src, nbytes - hash_later, nbytes 1412 drivers/crypto/s5p-sss.c ctx->op_update, req->nbytes); nbytes 1510 drivers/crypto/s5p-sss.c if (!req->nbytes) nbytes 1513 drivers/crypto/s5p-sss.c if (ctx->bufcnt + req->nbytes <= BUFLEN) { nbytes 1515 drivers/crypto/s5p-sss.c 0, req->nbytes, 0); nbytes 1516 drivers/crypto/s5p-sss.c ctx->bufcnt += req->nbytes; nbytes 2059 drivers/crypto/s5p-sss.c if (!req->nbytes) nbytes 2062 drivers/crypto/s5p-sss.c if (!IS_ALIGNED(req->nbytes, AES_BLOCK_SIZE) && nbytes 561 drivers/crypto/sahara.c req->nbytes, req->src, req->dst); nbytes 564 drivers/crypto/sahara.c dev->total = req->nbytes; nbytes 640 drivers/crypto/sahara.c req->nbytes, !!(mode & FLAGS_ENCRYPT), !!(mode & FLAGS_CBC)); nbytes 642 drivers/crypto/sahara.c if (!IS_ALIGNED(req->nbytes, AES_BLOCK_SIZE)) { nbytes 672 drivers/crypto/sahara.c req->nbytes, req->info); nbytes 694 drivers/crypto/sahara.c req->nbytes, req->info); nbytes 716 drivers/crypto/sahara.c req->nbytes, req->info); nbytes 738 drivers/crypto/sahara.c req->nbytes, req->info); nbytes 906 drivers/crypto/sahara.c static int sahara_walk_and_recalc(struct scatterlist *sg, unsigned int nbytes) nbytes 909 drivers/crypto/sahara.c return nbytes; nbytes 911 drivers/crypto/sahara.c while (nbytes && sg) { nbytes 912 drivers/crypto/sahara.c if (nbytes <= sg->length) { nbytes 913 drivers/crypto/sahara.c sg->length = nbytes; nbytes 917 drivers/crypto/sahara.c nbytes -= sg->length; nbytes 921 drivers/crypto/sahara.c return nbytes; nbytes 935 drivers/crypto/sahara.c len = rctx->buf_cnt + req->nbytes; nbytes 941 drivers/crypto/sahara.c 0, req->nbytes, 0); nbytes 942 drivers/crypto/sahara.c rctx->buf_cnt += req->nbytes; nbytes 954 drivers/crypto/sahara.c unsigned int offset = req->nbytes - hash_later; nbytes 961 drivers/crypto/sahara.c req->nbytes = req->nbytes - hash_later; nbytes 963 drivers/crypto/sahara.c sahara_walk_and_recalc(req->src, req->nbytes); nbytes 966 drivers/crypto/sahara.c if (rctx->buf_cnt && req->nbytes) { nbytes 972 drivers/crypto/sahara.c rctx->total = req->nbytes + rctx->buf_cnt; nbytes 988 drivers/crypto/sahara.c rctx->total = req->nbytes; nbytes 1097 drivers/crypto/sahara.c if (!req->nbytes && !last) nbytes 1149 drivers/crypto/sahara.c req->nbytes = 0; nbytes 329 drivers/crypto/stm32/stm32-cryp.c unsigned int start, unsigned int nbytes, int out) nbytes 333 drivers/crypto/stm32/stm32-cryp.c if (!nbytes) nbytes 338 drivers/crypto/stm32/stm32-cryp.c scatterwalk_copychunks(buf, &walk, nbytes, out); nbytes 942 drivers/crypto/stm32/stm32-cryp.c cryp->total_in = req->nbytes; nbytes 549 drivers/crypto/stm32/stm32-hash.c rctx->total = hdev->req->nbytes; nbytes 660 drivers/crypto/stm32/stm32-hash.c if (req->nbytes <= HASH_DMA_THRESHOLD) nbytes 851 drivers/crypto/stm32/stm32-hash.c rctx->op, req->nbytes); nbytes 899 drivers/crypto/stm32/stm32-hash.c if (!req->nbytes || !(rctx->flags & HASH_FLAGS_CPU)) nbytes 902 drivers/crypto/stm32/stm32-hash.c rctx->total = req->nbytes; nbytes 191 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->byte_count, areq->nbytes, op->mode, nbytes 194 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (unlikely(!areq->nbytes) && !(op->flags & SS_HASH_FINAL)) nbytes 198 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (unlikely(areq->nbytes > UINT_MAX - op->len)) { nbytes 203 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (op->len + areq->nbytes < 64 && !(op->flags & SS_HASH_FINAL)) { nbytes 206 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->buf + op->len, areq->nbytes, 0); nbytes 230 drivers/crypto/sunxi-ss/sun4i-ss-hash.c end = ((areq->nbytes + op->len) / 64) * 64 - op->len; nbytes 232 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (end > areq->nbytes || areq->nbytes - end > 63) { nbytes 234 drivers/crypto/sunxi-ss/sun4i-ss-hash.c end, areq->nbytes); nbytes 240 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (areq->nbytes < 4) nbytes 243 drivers/crypto/sunxi-ss/sun4i-ss-hash.c end = ((areq->nbytes + op->len) / 4) * 4 - op->len; nbytes 253 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (i == 1 && !op->len && areq->nbytes) nbytes 297 drivers/crypto/sunxi-ss/sun4i-ss-hash.c in_r = min_t(size_t, mi.length - in_i, areq->nbytes - i); nbytes 321 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if ((areq->nbytes - i) < 64) { nbytes 322 drivers/crypto/sunxi-ss/sun4i-ss-hash.c while (i < areq->nbytes && in_i < mi.length && op->len < 64) { nbytes 324 drivers/crypto/sunxi-ss/sun4i-ss-hash.c in_r = min(areq->nbytes - i, 64 - op->len); nbytes 356 drivers/crypto/sunxi-ss/sun4i-ss-hash.c i, SS_TIMEOUT, v, areq->nbytes); nbytes 453 drivers/crypto/sunxi-ss/sun4i-ss-hash.c i, SS_TIMEOUT, v, areq->nbytes); nbytes 1542 drivers/crypto/talitos.c talitos_sg_unmap(dev, edesc, areq->src, areq->dst, areq->nbytes, 0); nbytes 1580 drivers/crypto/talitos.c unsigned int cryptlen = areq->nbytes; nbytes 1649 drivers/crypto/talitos.c areq->info, 0, areq->nbytes, 0, ivsize, 0, nbytes 1661 drivers/crypto/talitos.c if (!areq->nbytes) nbytes 1664 drivers/crypto/talitos.c if (areq->nbytes % blocksize) nbytes 1686 drivers/crypto/talitos.c if (!areq->nbytes) nbytes 1689 drivers/crypto/talitos.c if (areq->nbytes % blocksize) nbytes 1911 drivers/crypto/talitos.c unsigned int nbytes) nbytes 1920 drivers/crypto/talitos.c nbytes -= req_ctx->nbuf; nbytes 1923 drivers/crypto/talitos.c nbytes, 0, 0, 0, areq->base.flags, false); nbytes 1979 drivers/crypto/talitos.c static int ahash_process_req(struct ahash_request *areq, unsigned int nbytes) nbytes 1996 drivers/crypto/talitos.c if (!req_ctx->last && (nbytes + req_ctx->nbuf <= blocksize)) { nbytes 1998 drivers/crypto/talitos.c nents = sg_nents_for_len(areq->src, nbytes); nbytes 2004 drivers/crypto/talitos.c ctx_buf + req_ctx->nbuf, nbytes); nbytes 2005 drivers/crypto/talitos.c req_ctx->nbuf += nbytes; nbytes 2010 drivers/crypto/talitos.c nbytes_to_hash = nbytes + req_ctx->nbuf; nbytes 2053 drivers/crypto/talitos.c nents = sg_nents_for_len(areq->src, nbytes); nbytes 2061 drivers/crypto/talitos.c nbytes - to_hash_later); nbytes 2097 drivers/crypto/talitos.c return ahash_process_req(areq, areq->nbytes); nbytes 2115 drivers/crypto/talitos.c return ahash_process_req(areq, areq->nbytes); nbytes 2126 drivers/crypto/talitos.c return ahash_process_req(areq, areq->nbytes); nbytes 818 drivers/crypto/ux500/cryp/cryp_core.c static int get_nents(struct scatterlist *sg, int nbytes) nbytes 822 drivers/crypto/ux500/cryp/cryp_core.c while (nbytes > 0) { nbytes 823 drivers/crypto/ux500/cryp/cryp_core.c nbytes -= sg->length; nbytes 843 drivers/crypto/ux500/cryp/cryp_core.c ctx->datalen = areq->nbytes; nbytes 844 drivers/crypto/ux500/cryp/cryp_core.c ctx->outlen = areq->nbytes; nbytes 897 drivers/crypto/ux500/cryp/cryp_core.c int nbytes; nbytes 905 drivers/crypto/ux500/cryp/cryp_core.c ablkcipher_walk_init(&walk, areq->dst, areq->src, areq->nbytes); nbytes 914 drivers/crypto/ux500/cryp/cryp_core.c while ((nbytes = walk.nbytes) > 0) { nbytes 922 drivers/crypto/ux500/cryp/cryp_core.c ctx->datalen = nbytes - (nbytes % ctx->blocksize); nbytes 928 drivers/crypto/ux500/cryp/cryp_core.c nbytes -= ctx->datalen; nbytes 929 drivers/crypto/ux500/cryp/cryp_core.c ret = ablkcipher_walk_done(areq, &walk, nbytes); nbytes 561 drivers/crypto/ux500/hash/hash_core.c if (req->nbytes < HASH_DMA_ALIGN_SIZE) { nbytes 567 drivers/crypto/ux500/hash/hash_core.c if (req->nbytes >= HASH_DMA_PERFORMANCE_MIN_SIZE && nbytes 568 drivers/crypto/ux500/hash/hash_core.c hash_dma_valid_data(req->src, req->nbytes)) { nbytes 906 drivers/crypto/ux500/hash/hash_core.c HASH_SET_NBLW((req->nbytes * 8) % 32); nbytes 911 drivers/crypto/ux500/hash/hash_core.c ctx->device->dma.nents = hash_get_nents(req->src, req->nbytes, NULL); nbytes 919 drivers/crypto/ux500/hash/hash_core.c bytes_written = hash_dma_write(ctx, req->src, req->nbytes); nbytes 920 drivers/crypto/ux500/hash/hash_core.c if (bytes_written != req->nbytes) { nbytes 984 drivers/crypto/ux500/hash/hash_core.c } else if (req->nbytes == 0 && ctx->keylen == 0) { nbytes 1011 drivers/crypto/ux500/hash/hash_core.c } else if (req->nbytes == 0 && ctx->keylen > 0) { nbytes 1319 drivers/crypto/ux500/hash/hash_core.c pr_debug("%s: data size: %d\n", __func__, req->nbytes); nbytes 362 drivers/crypto/virtio/virtio_crypto_algs.c src_nents = sg_nents_for_len(req->src, req->nbytes); nbytes 404 drivers/crypto/virtio/virtio_crypto_algs.c cpu_to_le32(req->nbytes); nbytes 413 drivers/crypto/virtio/virtio_crypto_algs.c dst_len = min_t(unsigned int, req->nbytes, dst_len); nbytes 415 drivers/crypto/virtio/virtio_crypto_algs.c req->nbytes, dst_len); nbytes 417 drivers/crypto/virtio/virtio_crypto_algs.c if (unlikely(req->nbytes + dst_len + ivsize + nbytes 446 drivers/crypto/virtio/virtio_crypto_algs.c req->nbytes - AES_BLOCK_SIZE, nbytes 496 drivers/crypto/virtio/virtio_crypto_algs.c if (!req->nbytes) nbytes 498 drivers/crypto/virtio/virtio_crypto_algs.c if (req->nbytes % AES_BLOCK_SIZE) nbytes 521 drivers/crypto/virtio/virtio_crypto_algs.c if (!req->nbytes) nbytes 523 drivers/crypto/virtio/virtio_crypto_algs.c if (req->nbytes % AES_BLOCK_SIZE) nbytes 587 drivers/crypto/virtio/virtio_crypto_algs.c req->nbytes - AES_BLOCK_SIZE, nbytes 76 drivers/crypto/vmx/aes_cbc.c unsigned int nbytes; nbytes 89 drivers/crypto/vmx/aes_cbc.c while ((nbytes = walk.nbytes) != 0) { nbytes 95 drivers/crypto/vmx/aes_cbc.c round_down(nbytes, AES_BLOCK_SIZE), nbytes 102 drivers/crypto/vmx/aes_cbc.c ret = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE); nbytes 76 drivers/crypto/vmx/aes_ctr.c unsigned int nbytes = walk->nbytes; nbytes 86 drivers/crypto/vmx/aes_ctr.c crypto_xor_cpy(dst, keystream, src, nbytes); nbytes 95 drivers/crypto/vmx/aes_ctr.c unsigned int nbytes; nbytes 107 drivers/crypto/vmx/aes_ctr.c while ((nbytes = walk.nbytes) >= AES_BLOCK_SIZE) { nbytes 113 drivers/crypto/vmx/aes_ctr.c nbytes / AES_BLOCK_SIZE, nbytes 121 drivers/crypto/vmx/aes_ctr.c } while ((nbytes -= AES_BLOCK_SIZE) >= AES_BLOCK_SIZE); nbytes 123 drivers/crypto/vmx/aes_ctr.c ret = skcipher_walk_done(&walk, nbytes); nbytes 125 drivers/crypto/vmx/aes_ctr.c if (nbytes) { nbytes 83 drivers/crypto/vmx/aes_xts.c unsigned int nbytes; nbytes 113 drivers/crypto/vmx/aes_xts.c while ((nbytes = walk.nbytes) != 0) { nbytes 120 drivers/crypto/vmx/aes_xts.c round_down(nbytes, AES_BLOCK_SIZE), nbytes 125 drivers/crypto/vmx/aes_xts.c round_down(nbytes, AES_BLOCK_SIZE), nbytes 131 drivers/crypto/vmx/aes_xts.c ret = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE); nbytes 278 drivers/dma/fsl-edma-common.c len += le32_to_cpu(edesc->tcd[i].vtcd->nbytes) nbytes 291 drivers/dma/fsl-edma-common.c size = le32_to_cpu(edesc->tcd[i].vtcd->nbytes) nbytes 359 drivers/dma/fsl-edma-common.c edma_writel(edma, le32_to_cpu(tcd->nbytes), ®s->tcd[ch].nbytes); nbytes 374 drivers/dma/fsl-edma-common.c u16 attr, u16 soff, u32 nbytes, u32 slast, u16 citer, nbytes 393 drivers/dma/fsl-edma-common.c tcd->nbytes = cpu_to_le32(nbytes); nbytes 451 drivers/dma/fsl-edma-common.c u32 src_addr, dst_addr, last_sg, nbytes; nbytes 471 drivers/dma/fsl-edma-common.c nbytes = fsl_chan->cfg.dst_addr_width * nbytes 476 drivers/dma/fsl-edma-common.c nbytes = fsl_chan->cfg.src_addr_width * nbytes 480 drivers/dma/fsl-edma-common.c iter = period_len / nbytes; nbytes 502 drivers/dma/fsl-edma-common.c fsl_chan->attr, soff, nbytes, 0, iter, nbytes 519 drivers/dma/fsl-edma-common.c u32 src_addr, dst_addr, last_sg, nbytes; nbytes 538 drivers/dma/fsl-edma-common.c nbytes = fsl_chan->cfg.dst_addr_width * nbytes 543 drivers/dma/fsl-edma-common.c nbytes = fsl_chan->cfg.src_addr_width * nbytes 563 drivers/dma/fsl-edma-common.c iter = sg_dma_len(sg) / nbytes; nbytes 568 drivers/dma/fsl-edma-common.c nbytes, 0, iter, iter, doff, last_sg, nbytes 574 drivers/dma/fsl-edma-common.c nbytes, 0, iter, iter, doff, last_sg, nbytes 74 drivers/dma/fsl-edma-common.h __le32 nbytes; nbytes 143 drivers/dma/mpc512x_dma.c u32 nbytes; /* Inner "minor" byte count */ nbytes 662 drivers/dma/mpc512x_dma.c tcd->nbytes = len; nbytes 765 drivers/dma/mpc512x_dma.c tcd->nbytes = sg_dma_len(sg); nbytes 766 drivers/dma/mpc512x_dma.c if (!IS_ALIGNED(tcd->nbytes, mchan->swidth)) nbytes 774 drivers/dma/mpc512x_dma.c tcd->nbytes = tcd_nunits * tcd->ssize; nbytes 775 drivers/dma/mpc512x_dma.c if (!IS_ALIGNED(len, tcd->nbytes)) nbytes 778 drivers/dma/mpc512x_dma.c iter = len / tcd->nbytes; nbytes 76 drivers/dma/st_fdma.c unsigned long nbytes, ch_cmd, cmd; nbytes 83 drivers/dma/st_fdma.c nbytes = fchan->fdesc->node[0].desc->nbytes; nbytes 88 drivers/dma/st_fdma.c fnode_write(fchan, nbytes, FDMA_CNTN_OFST); nbytes 335 drivers/dma/st_fdma.c hw_node->nbytes = len; nbytes 498 drivers/dma/st_fdma.c hw_node->nbytes = period_len; nbytes 544 drivers/dma/st_fdma.c hw_node->nbytes = sg_dma_len(sg); nbytes 573 drivers/dma/st_fdma.c residue += fdesc->node[i].desc->nbytes; nbytes 52 drivers/dma/st_fdma.h u32 nbytes; nbytes 373 drivers/dma/xgene-dma.c size_t nbytes = (*len < XGENE_DMA_MAX_BYTE_CNT) ? nbytes 377 drivers/dma/xgene-dma.c *ext8 |= cpu_to_le64(xgene_dma_encode_len(nbytes)); nbytes 378 drivers/dma/xgene-dma.c *len -= nbytes; nbytes 379 drivers/dma/xgene-dma.c *paddr += nbytes; nbytes 414 drivers/dma/xgene-dma.c u32 src_cnt, size_t *nbytes, nbytes 418 drivers/dma/xgene-dma.c size_t len = *nbytes; nbytes 439 drivers/dma/xgene-dma.c len = *nbytes; nbytes 447 drivers/dma/xgene-dma.c *nbytes = len; nbytes 102 drivers/firmware/tegra/bpmp-debugfs.c size_t *nbytes) nbytes 131 drivers/firmware/tegra/bpmp-debugfs.c *nbytes = (size_t)resp.fop.nbytes; nbytes 161 drivers/firmware/tegra/bpmp-debugfs.c size_t size, size_t *nbytes) nbytes 188 drivers/firmware/tegra/bpmp-debugfs.c *nbytes = (size_t)resp.dumpdir.nbytes; nbytes 204 drivers/firmware/tegra/bpmp-debugfs.c size_t len, nbytes; nbytes 227 drivers/firmware/tegra/bpmp-debugfs.c &nbytes); nbytes 230 drivers/firmware/tegra/bpmp-debugfs.c seq_write(m, datavirt, nbytes); nbytes 378 drivers/firmware/tegra/bpmp-debugfs.c size_t nbytes; nbytes 396 drivers/firmware/tegra/bpmp-debugfs.c ret = mrq_debugfs_dumpdir(bpmp, phys, sz, &nbytes); nbytes 400 drivers/firmware/tegra/bpmp-debugfs.c ret = create_debugfs_mirror(bpmp, virt, nbytes, root); nbytes 99 drivers/gpio/gpio-pisosr.c unsigned int nbytes = DIV_ROUND_UP(chip->ngpio, 8); nbytes 105 drivers/gpio/gpio-pisosr.c for (i = 0; i < nbytes; i++) { nbytes 239 drivers/i2c/busses/i2c-xlr.c int nbytes, timedout; nbytes 251 drivers/i2c/busses/i2c-xlr.c nbytes = 0; nbytes 262 drivers/i2c/busses/i2c-xlr.c if (nbytes >= len) nbytes 265 drivers/i2c/busses/i2c-xlr.c buf[nbytes++] = nbytes 334 drivers/i3c/master/dw-i3c-master.c const u8 *bytes, int nbytes) nbytes 336 drivers/i3c/master/dw-i3c-master.c writesl(master->regs + RX_TX_DATA_PORT, bytes, nbytes / 4); nbytes 337 drivers/i3c/master/dw-i3c-master.c if (nbytes & 3) { nbytes 340 drivers/i3c/master/dw-i3c-master.c memcpy(&tmp, bytes + (nbytes & ~3), nbytes & 3); nbytes 346 drivers/i3c/master/dw-i3c-master.c u8 *bytes, int nbytes) nbytes 348 drivers/i3c/master/dw-i3c-master.c readsl(master->regs + RX_TX_DATA_PORT, bytes, nbytes / 4); nbytes 349 drivers/i3c/master/dw-i3c-master.c if (nbytes & 3) { nbytes 353 drivers/i3c/master/dw-i3c-master.c memcpy(bytes + (nbytes & ~3), &tmp, nbytes & 3); nbytes 420 drivers/i3c/master/i3c-master-cdns.c const u8 *bytes, int nbytes) nbytes 422 drivers/i3c/master/i3c-master-cdns.c writesl(master->regs + TX_FIFO, bytes, nbytes / 4); nbytes 423 drivers/i3c/master/i3c-master-cdns.c if (nbytes & 3) { nbytes 426 drivers/i3c/master/i3c-master-cdns.c memcpy(&tmp, bytes + (nbytes & ~3), nbytes & 3); nbytes 432 drivers/i3c/master/i3c-master-cdns.c u8 *bytes, int nbytes) nbytes 434 drivers/i3c/master/i3c-master-cdns.c readsl(master->regs + RX_FIFO, bytes, nbytes / 4); nbytes 435 drivers/i3c/master/i3c-master-cdns.c if (nbytes & 3) { nbytes 439 drivers/i3c/master/i3c-master-cdns.c memcpy(bytes + (nbytes & ~3), &tmp, nbytes & 3); nbytes 1282 drivers/i3c/master/i3c-master-cdns.c size_t nbytes; nbytes 1302 drivers/i3c/master/i3c-master-cdns.c nbytes = IBIR_XFER_BYTES(ibir); nbytes 1303 drivers/i3c/master/i3c-master-cdns.c readsl(master->regs + IBI_DATA_FIFO, buf, nbytes / 4); nbytes 1304 drivers/i3c/master/i3c-master-cdns.c if (nbytes % 3) { nbytes 1307 drivers/i3c/master/i3c-master-cdns.c memcpy(buf + (nbytes & ~3), &tmp, nbytes & 3); nbytes 517 drivers/ide/ide-cd.c unsigned int nr_bytes = cmd->nbytes - cmd->nleft; nbytes 785 drivers/ide/ide-cd.c scsi_req(rq)->resid_len -= cmd->nbytes - cmd->nleft; nbytes 245 drivers/ide/ide-io.c cmd->nbytes = cmd->nleft = nr_bytes; nbytes 303 drivers/ide/ide-taskfile.c int nr_bytes = cmd->nbytes - cmd->nleft; nbytes 82 drivers/iio/accel/mma9551_core.c u8 nbytes; nbytes 95 drivers/iio/accel/mma9551_core.c u8 nbytes; nbytes 131 drivers/iio/accel/mma9551_core.c req.nbytes = num_inbytes; nbytes 133 drivers/iio/accel/mma9551_core.c req.nbytes = num_outbytes; nbytes 186 drivers/iio/accel/mma9551_core.c if (rsp.nbytes != rsp.req_bytes) { nbytes 189 drivers/iio/accel/mma9551_core.c rsp.nbytes, rsp.req_bytes); nbytes 778 drivers/infiniband/hw/hfi1/firmware.c const u8 *data, int nbytes) nbytes 780 drivers/infiniband/hw/hfi1/firmware.c int qw_size = nbytes / 8; nbytes 805 drivers/infiniband/hw/hfi1/firmware.c const u8 *data, int nbytes) nbytes 808 drivers/infiniband/hw/hfi1/firmware.c int qw_size = nbytes / 8; nbytes 330 drivers/infiniband/hw/hfi1/pio.h const void *from, size_t nbytes); nbytes 331 drivers/infiniband/hw/hfi1/pio.h void seg_pio_copy_mid(struct pio_buf *pbuf, const void *from, size_t nbytes); nbytes 226 drivers/infiniband/hw/hfi1/pio_copy.c unsigned int nbytes) nbytes 229 drivers/infiniband/hw/hfi1/pio_copy.c jcopy(&pbuf->carry.val8[0], from, nbytes); nbytes 230 drivers/infiniband/hw/hfi1/pio_copy.c pbuf->carry_bytes = nbytes; nbytes 242 drivers/infiniband/hw/hfi1/pio_copy.c const void *from, unsigned int nbytes) nbytes 244 drivers/infiniband/hw/hfi1/pio_copy.c jcopy(&pbuf->carry.val8[pbuf->carry_bytes], from, nbytes); nbytes 245 drivers/infiniband/hw/hfi1/pio_copy.c pbuf->carry_bytes += nbytes; nbytes 305 drivers/infiniband/hw/hfi1/pio_copy.c const void *from, size_t nbytes) nbytes 315 drivers/infiniband/hw/hfi1/pio_copy.c dend = dest + ((nbytes >> 3) * sizeof(u64)); nbytes 380 drivers/infiniband/hw/hfi1/pio_copy.c read_low_bytes(pbuf, from, nbytes & 0x7); nbytes 382 drivers/infiniband/hw/hfi1/pio_copy.c pbuf->qw_written = 1 /*PBC*/ + (nbytes >> 3); nbytes 397 drivers/infiniband/hw/hfi1/pio_copy.c static void mid_copy_mix(struct pio_buf *pbuf, const void *from, size_t nbytes) nbytes 401 drivers/infiniband/hw/hfi1/pio_copy.c unsigned long qw_to_write = nbytes >> 3; nbytes 402 drivers/infiniband/hw/hfi1/pio_copy.c unsigned long bytes_left = nbytes & 0x7; nbytes 525 drivers/infiniband/hw/hfi1/pio_copy.c const void *from, size_t nbytes) nbytes 531 drivers/infiniband/hw/hfi1/pio_copy.c dend = dest + ((nbytes >> 3) * sizeof(u64)); nbytes 599 drivers/infiniband/hw/hfi1/pio_copy.c read_low_bytes(pbuf, from, nbytes & 0x7); nbytes 601 drivers/infiniband/hw/hfi1/pio_copy.c pbuf->qw_written += nbytes >> 3; nbytes 613 drivers/infiniband/hw/hfi1/pio_copy.c void seg_pio_copy_mid(struct pio_buf *pbuf, const void *from, size_t nbytes) nbytes 617 drivers/infiniband/hw/hfi1/pio_copy.c if (pbuf->carry_bytes + nbytes < 8) { nbytes 619 drivers/infiniband/hw/hfi1/pio_copy.c read_extra_bytes(pbuf, from, nbytes); nbytes 640 drivers/infiniband/hw/hfi1/pio_copy.c nbytes -= to_align; nbytes 651 drivers/infiniband/hw/hfi1/pio_copy.c nbytes -= to_fill; nbytes 653 drivers/infiniband/hw/hfi1/pio_copy.c if (extra > nbytes) nbytes 654 drivers/infiniband/hw/hfi1/pio_copy.c extra = nbytes; nbytes 681 drivers/infiniband/hw/hfi1/pio_copy.c nbytes -= extra; nbytes 689 drivers/infiniband/hw/hfi1/pio_copy.c if (nbytes == 0) nbytes 697 drivers/infiniband/hw/hfi1/pio_copy.c mid_copy_mix(pbuf, from, nbytes); nbytes 699 drivers/infiniband/hw/hfi1/pio_copy.c mid_copy_straight(pbuf, from, nbytes); nbytes 24 drivers/interconnect/qcom/smd-rpm.c __le32 nbytes; nbytes 38 drivers/interconnect/qcom/smd-rpm.c .nbytes = cpu_to_le32(sizeof(u32)), nbytes 178 drivers/macintosh/adb-iop.c printk("adb_iop_start %p: sending packet, %d bytes:", req, req->nbytes); nbytes 179 drivers/macintosh/adb-iop.c for (i = 0; i < req->nbytes; i++) nbytes 188 drivers/macintosh/adb-iop.c amsg.count = req->nbytes - 2; nbytes 192 drivers/macintosh/adb-iop.c memcpy(&amsg.cmd, req->data + 1, req->nbytes - 1); nbytes 238 drivers/macintosh/adb-iop.c if ((req->nbytes < 2) || (req->data[0] != ADB_PACKET)) { nbytes 282 drivers/macintosh/adb-iop.c .nbytes = 2, nbytes 421 drivers/macintosh/adb.c int flags, int nbytes, ...) nbytes 430 drivers/macintosh/adb.c if (nbytes < 1) nbytes 433 drivers/macintosh/adb.c req->nbytes = nbytes+1; nbytes 437 drivers/macintosh/adb.c va_start(list, nbytes); nbytes 438 drivers/macintosh/adb.c for (i = 0; i < nbytes; ++i) nbytes 650 drivers/macintosh/adb.c if (req->nbytes < 3) nbytes 789 drivers/macintosh/adb.c req->nbytes = count; nbytes 174 drivers/macintosh/macio-adb.c for (i = 0; i < req->nbytes - 1; ++i) nbytes 176 drivers/macintosh/macio-adb.c --req->nbytes; nbytes 216 drivers/macintosh/macio-adb.c for (i = 0; i < req->nbytes; ++i) nbytes 218 drivers/macintosh/macio-adb.c out_8(&adb->dcount.r, req->nbytes & HMB); nbytes 190 drivers/macintosh/via-cuda.c void (*done)(struct adb_request *), int nbytes, ...); nbytes 484 drivers/macintosh/via-cuda.c int nbytes, ...) nbytes 494 drivers/macintosh/via-cuda.c req->nbytes = nbytes; nbytes 496 drivers/macintosh/via-cuda.c va_start(list, nbytes); nbytes 497 drivers/macintosh/via-cuda.c for (i = 0; i < nbytes; ++i) nbytes 510 drivers/macintosh/via-cuda.c if (req->nbytes < 2 || req->data[0] > CUDA_PACKET) { nbytes 637 drivers/macintosh/via-cuda.c if (data_index >= req->nbytes) { nbytes 239 drivers/macintosh/via-macii.c if (req->nbytes < 2 || req->data[0] != ADB_PACKET || req->nbytes > 15) { nbytes 418 drivers/macintosh/via-macii.c if (data_index >= req->nbytes) { nbytes 1001 drivers/macintosh/via-pmu.c for (i = 0; i < req->nbytes - 1; ++i) nbytes 1003 drivers/macintosh/via-pmu.c --req->nbytes; nbytes 1014 drivers/macintosh/via-pmu.c if (req->nbytes != 2) nbytes 1017 drivers/macintosh/via-pmu.c req->nbytes = 1; nbytes 1025 drivers/macintosh/via-pmu.c if (req->nbytes != 6) nbytes 1028 drivers/macintosh/via-pmu.c req->nbytes = 5; nbytes 1042 drivers/macintosh/via-pmu.c for (i = req->nbytes - 1; i > 1; --i) nbytes 1044 drivers/macintosh/via-pmu.c req->data[3] = req->nbytes - 2; nbytes 1048 drivers/macintosh/via-pmu.c req->nbytes += 2; nbytes 1105 drivers/macintosh/via-pmu.c req.nbytes = 4; nbytes 1130 drivers/macintosh/via-pmu.c int nbytes, ...) nbytes 1138 drivers/macintosh/via-pmu.c if (nbytes < 0 || nbytes > 32) { nbytes 1139 drivers/macintosh/via-pmu.c printk(KERN_ERR "pmu_request: bad nbytes (%d)\n", nbytes); nbytes 1143 drivers/macintosh/via-pmu.c req->nbytes = nbytes; nbytes 1145 drivers/macintosh/via-pmu.c va_start(list, nbytes); nbytes 1146 drivers/macintosh/via-pmu.c for (i = 0; i < nbytes; ++i) nbytes 1164 drivers/macintosh/via-pmu.c if (req->nbytes <= 0) { nbytes 1169 drivers/macintosh/via-pmu.c if (nsend >= 0 && req->nbytes != nsend + 1) { nbytes 1505 drivers/macintosh/via-pmu.c data_len = req->nbytes - 1; nbytes 2549 drivers/macintosh/via-pmu.c if (l >= 0 && req->nbytes != l + 1) nbytes 2560 drivers/macintosh/via-pmu.c l = req->nbytes - 1; nbytes 2587 drivers/macintosh/via-pmu.c req.nbytes = 4; nbytes 2598 drivers/macintosh/via-pmu.c req.nbytes = 4; nbytes 378 drivers/media/common/siano/smsdvb-debugfs.c size_t nbytes, loff_t *ppos) nbytes 405 drivers/media/common/siano/smsdvb-debugfs.c rc = simple_read_from_buffer(user_buf, nbytes, ppos, nbytes 651 drivers/media/i2c/imx274.c size_t nbytes) nbytes 656 drivers/media/i2c/imx274.c err = regmap_bulk_read(priv->regmap, addr, &val_le, nbytes); nbytes 660 drivers/media/i2c/imx274.c __func__, addr, nbytes); nbytes 665 drivers/media/i2c/imx274.c __func__, addr, *val, nbytes); nbytes 683 drivers/media/i2c/imx274.c size_t nbytes) nbytes 688 drivers/media/i2c/imx274.c err = regmap_bulk_write(priv->regmap, addr, &val_le, nbytes); nbytes 692 drivers/media/i2c/imx274.c __func__, addr, val, nbytes); nbytes 696 drivers/media/i2c/imx274.c __func__, addr, val, nbytes); nbytes 2315 drivers/media/i2c/smiapp/smiapp-core.c unsigned int nbytes; nbytes 2346 drivers/media/i2c/smiapp/smiapp-core.c nbytes = min_t(unsigned int, sensor->nvm_size, PAGE_SIZE); nbytes 2347 drivers/media/i2c/smiapp/smiapp-core.c memcpy(buf, sensor->nvm, nbytes); nbytes 2349 drivers/media/i2c/smiapp/smiapp-core.c return nbytes; nbytes 43 drivers/media/usb/uvc/uvc_debugfs.c size_t nbytes, loff_t *ppos) nbytes 47 drivers/media/usb/uvc/uvc_debugfs.c return simple_read_from_buffer(user_buf, nbytes, ppos, buf->data, nbytes 43 drivers/media/usb/uvc/uvc_isight.c unsigned int maxlen, nbytes; nbytes 83 drivers/media/usb/uvc/uvc_isight.c nbytes = min(len, maxlen); nbytes 84 drivers/media/usb/uvc/uvc_isight.c memcpy(mem, data, nbytes); nbytes 85 drivers/media/usb/uvc/uvc_isight.c buf->bytesused += nbytes; nbytes 1197 drivers/media/usb/uvc/uvc_video.c unsigned int nbytes; nbytes 1202 drivers/media/usb/uvc/uvc_video.c nbytes = min((unsigned int)len, buf->bytesused - queue->buf_used); nbytes 1203 drivers/media/usb/uvc/uvc_video.c nbytes = min(stream->bulk.max_payload_size - stream->bulk.payload_size, nbytes 1204 drivers/media/usb/uvc/uvc_video.c nbytes); nbytes 1205 drivers/media/usb/uvc/uvc_video.c memcpy(data, mem, nbytes); nbytes 1207 drivers/media/usb/uvc/uvc_video.c queue->buf_used += nbytes; nbytes 1209 drivers/media/usb/uvc/uvc_video.c return nbytes; nbytes 81 drivers/misc/eeprom/eeprom_93xx46.c size_t nbytes = count; nbytes 88 drivers/misc/eeprom/eeprom_93xx46.c nbytes = 1; nbytes 93 drivers/misc/eeprom/eeprom_93xx46.c nbytes = 2; nbytes 117 drivers/misc/eeprom/eeprom_93xx46.c nbytes, (int)off, err); nbytes 121 drivers/misc/eeprom/eeprom_93xx46.c buf += nbytes; nbytes 122 drivers/misc/eeprom/eeprom_93xx46.c off += nbytes; nbytes 123 drivers/misc/eeprom/eeprom_93xx46.c count -= nbytes; nbytes 903 drivers/misc/ibmvmc.c static ssize_t ibmvmc_read(struct file *file, char *buf, size_t nbytes, nbytes 917 drivers/misc/ibmvmc.c (unsigned long)nbytes); nbytes 919 drivers/misc/ibmvmc.c if (nbytes == 0) nbytes 922 drivers/misc/ibmvmc.c if (nbytes > ibmvmc.max_mtu) { nbytes 924 drivers/misc/ibmvmc.c (unsigned int)nbytes); nbytes 979 drivers/misc/ibmvmc.c nbytes = min_t(size_t, nbytes, buffer->msg_len); nbytes 980 drivers/misc/ibmvmc.c n = copy_to_user((void *)buf, buffer->real_addr_local, nbytes); nbytes 981 drivers/misc/ibmvmc.c dev_dbg(adapter->dev, "read: copy to user nbytes = 0x%lx.\n", nbytes); nbytes 983 drivers/misc/ibmvmc.c retval = nbytes; nbytes 1093 drivers/misc/sgi-xp/xpc_uv.c size_t nbytes; nbytes 1096 drivers/misc/sgi-xp/xpc_uv.c nbytes = nentries * sizeof(struct xpc_send_msg_slot_uv); nbytes 1097 drivers/misc/sgi-xp/xpc_uv.c ch_uv->send_msg_slots = kzalloc(nbytes, GFP_KERNEL); nbytes 1127 drivers/misc/sgi-xp/xpc_uv.c size_t nbytes; nbytes 1130 drivers/misc/sgi-xp/xpc_uv.c nbytes = nentries * ch->entry_size; nbytes 1131 drivers/misc/sgi-xp/xpc_uv.c ch_uv->recv_msg_slots = kzalloc(nbytes, GFP_KERNEL); nbytes 1930 drivers/mmc/host/atmel-mci.c unsigned int nbytes = 0; nbytes 1938 drivers/mmc/host/atmel-mci.c nbytes += 4; nbytes 1953 drivers/mmc/host/atmel-mci.c nbytes += remaining; nbytes 1964 drivers/mmc/host/atmel-mci.c nbytes += offset; nbytes 1972 drivers/mmc/host/atmel-mci.c data->bytes_xfered += nbytes; nbytes 1978 drivers/mmc/host/atmel-mci.c data->bytes_xfered += nbytes; nbytes 1985 drivers/mmc/host/atmel-mci.c data->bytes_xfered += nbytes; nbytes 1997 drivers/mmc/host/atmel-mci.c unsigned int nbytes = 0; nbytes 2005 drivers/mmc/host/atmel-mci.c nbytes += 4; nbytes 2019 drivers/mmc/host/atmel-mci.c nbytes += remaining; nbytes 2032 drivers/mmc/host/atmel-mci.c nbytes += offset; nbytes 2040 drivers/mmc/host/atmel-mci.c data->bytes_xfered += nbytes; nbytes 2046 drivers/mmc/host/atmel-mci.c data->bytes_xfered += nbytes; nbytes 2053 drivers/mmc/host/atmel-mci.c data->bytes_xfered += nbytes; nbytes 1448 drivers/mtd/mtdcore.c const u8 *oobbuf, int start, int nbytes, nbytes 1462 drivers/mtd/mtdcore.c cnt = min_t(int, nbytes, oobregion.length); nbytes 1465 drivers/mtd/mtdcore.c nbytes -= cnt; nbytes 1467 drivers/mtd/mtdcore.c if (!nbytes) nbytes 1491 drivers/mtd/mtdcore.c u8 *oobbuf, int start, int nbytes, nbytes 1505 drivers/mtd/mtdcore.c cnt = min_t(int, nbytes, oobregion.length); nbytes 1508 drivers/mtd/mtdcore.c nbytes -= cnt; nbytes 1510 drivers/mtd/mtdcore.c if (!nbytes) nbytes 1534 drivers/mtd/mtdcore.c int section = 0, ret, nbytes = 0; nbytes 1540 drivers/mtd/mtdcore.c ret = nbytes; nbytes 1544 drivers/mtd/mtdcore.c nbytes += oobregion.length; nbytes 1563 drivers/mtd/mtdcore.c const u8 *oobbuf, int start, int nbytes) nbytes 1565 drivers/mtd/mtdcore.c return mtd_ooblayout_get_bytes(mtd, eccbuf, oobbuf, start, nbytes, nbytes 1583 drivers/mtd/mtdcore.c u8 *oobbuf, int start, int nbytes) nbytes 1585 drivers/mtd/mtdcore.c return mtd_ooblayout_set_bytes(mtd, eccbuf, oobbuf, start, nbytes, nbytes 1603 drivers/mtd/mtdcore.c const u8 *oobbuf, int start, int nbytes) nbytes 1605 drivers/mtd/mtdcore.c return mtd_ooblayout_get_bytes(mtd, databuf, oobbuf, start, nbytes, nbytes 1623 drivers/mtd/mtdcore.c u8 *oobbuf, int start, int nbytes) nbytes 1625 drivers/mtd/mtdcore.c return mtd_ooblayout_set_bytes(mtd, databuf, oobbuf, start, nbytes, nbytes 310 drivers/mtd/nand/raw/atmel/pmecc.c int nbytes, strength = pmecc->caps->strengths[i]; nbytes 316 drivers/mtd/nand/raw/atmel/pmecc.c nbytes = DIV_ROUND_UP(strength * fls(8 * req->ecc.sectorsize), nbytes 318 drivers/mtd/nand/raw/atmel/pmecc.c nbytes *= req->ecc.nsectors; nbytes 320 drivers/mtd/nand/raw/atmel/pmecc.c if (nbytes > max_eccbytes) nbytes 324 drivers/mtd/nand/raw/atmel/pmecc.c eccbytes = nbytes; nbytes 856 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c size_t nbytes; nbytes 890 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c nbytes = nbits / 8; nbytes 894 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c if (bits_in_src_buffer < (8 - dst_bit_off) && nbytes) { nbytes 898 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c nbytes--; nbytes 922 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c if (nbytes) nbytes 923 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c memcpy(dst, src, nbytes); nbytes 930 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c for (i = 0; i < nbytes; i++) { nbytes 937 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c dst += nbytes; nbytes 938 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c src += nbytes; nbytes 974 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c nbytes = bits_in_src_buffer / 8; nbytes 976 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c src_buffer |= (dst[nbytes] & nbytes 978 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c (nbytes * 8); nbytes 979 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c nbytes++; nbytes 983 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c for (i = 0; i < nbytes; i++) { nbytes 345 drivers/mtd/nand/raw/mxic_nand.c unsigned int nbytes = len - pos; nbytes 350 drivers/mtd/nand/raw/mxic_nand.c if (nbytes > 4) nbytes 351 drivers/mtd/nand/raw/mxic_nand.c nbytes = 4; nbytes 354 drivers/mtd/nand/raw/mxic_nand.c memcpy(&data, txbuf + pos, nbytes); nbytes 361 drivers/mtd/nand/raw/mxic_nand.c writel(data, nfc->regs + TXD(nbytes % 4)); nbytes 376 drivers/mtd/nand/raw/mxic_nand.c data >>= (8 * (4 - nbytes)); nbytes 377 drivers/mtd/nand/raw/mxic_nand.c memcpy(rxbuf + pos, &data, nbytes); nbytes 382 drivers/mtd/nand/raw/mxic_nand.c pos += nbytes; nbytes 218 drivers/mtd/nand/spi/core.c unsigned int nbytes = 0; nbytes 225 drivers/mtd/nand/spi/core.c nbytes = nanddev_page_size(nand); nbytes 230 drivers/mtd/nand/spi/core.c nbytes += nanddev_per_page_oobsize(nand); nbytes 239 drivers/mtd/nand/spi/core.c while (nbytes) { nbytes 240 drivers/mtd/nand/spi/core.c ret = spi_mem_dirmap_read(rdesc, column, nbytes, buf); nbytes 244 drivers/mtd/nand/spi/core.c if (!ret || ret > nbytes) nbytes 247 drivers/mtd/nand/spi/core.c nbytes -= ret; nbytes 276 drivers/mtd/nand/spi/core.c unsigned int nbytes, column = 0; nbytes 287 drivers/mtd/nand/spi/core.c nbytes = nanddev_page_size(nand) + nanddev_per_page_oobsize(nand); nbytes 288 drivers/mtd/nand/spi/core.c memset(spinand->databuf, 0xff, nbytes); nbytes 307 drivers/mtd/nand/spi/core.c while (nbytes) { nbytes 308 drivers/mtd/nand/spi/core.c ret = spi_mem_dirmap_write(wdesc, column, nbytes, buf); nbytes 312 drivers/mtd/nand/spi/core.c if (!ret || ret > nbytes) nbytes 315 drivers/mtd/nand/spi/core.c nbytes -= ret; nbytes 805 drivers/mtd/nand/spi/core.c unsigned int nbytes; nbytes 808 drivers/mtd/nand/spi/core.c nbytes = nanddev_per_page_oobsize(nand) + nbytes 811 drivers/mtd/nand/spi/core.c while (nbytes) { nbytes 812 drivers/mtd/nand/spi/core.c op.data.nbytes = nbytes; nbytes 820 drivers/mtd/nand/spi/core.c nbytes -= op.data.nbytes; nbytes 823 drivers/mtd/nand/spi/core.c if (!nbytes) nbytes 268 drivers/mtd/spi-nor/spi-nor.c if (op->data.nbytes > nor->bouncebuf_size) nbytes 269 drivers/mtd/spi-nor/spi-nor.c op->data.nbytes = nor->bouncebuf_size; nbytes 277 drivers/mtd/spi-nor/spi-nor.c op->data.nbytes); nbytes 290 drivers/mtd/spi-nor/spi-nor.c memcpy(rdbuf, nor->bouncebuf, op->data.nbytes); nbytes 292 drivers/mtd/spi-nor/spi-nor.c return op->data.nbytes; nbytes 321 drivers/mtd/spi-nor/spi-nor.c op.dummy.nbytes = (nor->read_dummy * op.dummy.buswidth) / 8; nbytes 368 drivers/mtd/spi-nor/spi-nor.c op.addr.nbytes = 0; nbytes 2938 drivers/mtd/spi-nor/spi-nor.c op->addr.nbytes = 4; nbytes 2944 drivers/mtd/spi-nor/spi-nor.c op->addr.nbytes = 3; nbytes 2972 drivers/mtd/spi-nor/spi-nor.c op.dummy.nbytes = (read->num_mode_clocks + read->num_wait_states) * nbytes 760 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define BD_UNMAP_LEN(bd) (le16_to_cpu((bd)->nbytes)) nbytes 3287 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c int old_len = le16_to_cpu(h_tx_bd->nbytes); nbytes 3290 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c h_tx_bd->nbytes = cpu_to_le16(hlen); nbytes 3293 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c h_tx_bd->nbytes, h_tx_bd->addr_hi, h_tx_bd->addr_lo); nbytes 3305 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c d_tx_bd->nbytes = cpu_to_le16(old_len - hlen); nbytes 3312 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c d_tx_bd->nbytes, d_tx_bd->addr_hi, d_tx_bd->addr_lo); nbytes 4028 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c tx_start_bd->nbytes = cpu_to_le16(skb_headlen(skb)); nbytes 4029 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c pkt_size = tx_start_bd->nbytes; nbytes 4034 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c le16_to_cpu(tx_start_bd->nbytes), nbytes 4101 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c tx_data_bd->nbytes = cpu_to_le16(skb_frag_size(frag)); nbytes 4108 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c le16_to_cpu(tx_data_bd->nbytes)); nbytes 2592 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c tx_start_bd->nbytes = cpu_to_le16(skb_headlen(skb)); nbytes 4466 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h __le16 nbytes; nbytes 4499 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h __le16 nbytes; nbytes 4944 drivers/net/ethernet/broadcom/cnic.c start_bd->nbytes = cpu_to_le16(0x10); nbytes 233 drivers/net/ethernet/brocade/bna/bnad_debugfs.c size_t nbytes, loff_t *pos) nbytes 240 drivers/net/ethernet/brocade/bna/bnad_debugfs.c return simple_read_from_buffer(buf, nbytes, pos, nbytes 279 drivers/net/ethernet/brocade/bna/bnad_debugfs.c size_t nbytes, loff_t *pos) nbytes 288 drivers/net/ethernet/brocade/bna/bnad_debugfs.c rc = simple_read_from_buffer(buf, nbytes, pos, nbytes 291 drivers/net/ethernet/brocade/bna/bnad_debugfs.c if ((*pos + nbytes) >= bnad->reglen) { nbytes 302 drivers/net/ethernet/brocade/bna/bnad_debugfs.c size_t nbytes, loff_t *ppos) nbytes 315 drivers/net/ethernet/brocade/bna/bnad_debugfs.c kern_buf = memdup_user(buf, nbytes); nbytes 358 drivers/net/ethernet/brocade/bna/bnad_debugfs.c return nbytes; nbytes 363 drivers/net/ethernet/brocade/bna/bnad_debugfs.c size_t nbytes, loff_t *ppos) nbytes 375 drivers/net/ethernet/brocade/bna/bnad_debugfs.c kern_buf = memdup_user(buf, nbytes); nbytes 401 drivers/net/ethernet/brocade/bna/bnad_debugfs.c return nbytes; nbytes 425 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c u32 nbytes; nbytes 442 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c nbytes = 0; nbytes 508 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c nbytes += wi->num_bytes; nbytes 525 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c netdev_tx_completed_queue(sq->txq, npkts, nbytes); nbytes 540 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c u32 dma_fifo_cc, nbytes = 0; nbytes 568 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c nbytes += wi->num_bytes; nbytes 575 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c netdev_tx_completed_queue(sq->txq, npkts, nbytes); nbytes 324 drivers/net/ethernet/qlogic/qed/qed_hsi.h __le16 nbytes; nbytes 1764 drivers/net/ethernet/qlogic/qed/qed_ll2.c start_bd->nbytes = cpu_to_le16(pkt->first_frag_len); nbytes 1898 drivers/net/ethernet/qlogic/qed/qed_ll2.c dma_addr_t addr, u16 nbytes) nbytes 1923 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_bd->nbytes = cpu_to_le16(nbytes); nbytes 1925 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_cur_send_packet->bds_set[cur_send_frag_num].frag_len = nbytes; nbytes 215 drivers/net/ethernet/qlogic/qed/qed_ll2.h dma_addr_t addr, u16 nbytes); nbytes 450 drivers/net/ethernet/qlogic/qede/qede.h (bd)->nbytes = cpu_to_le16(len); \ nbytes 452 drivers/net/ethernet/qlogic/qede/qede.h #define BD_UNMAP_LEN(bd) (le16_to_cpu((bd)->nbytes)) nbytes 184 drivers/net/ethernet/qlogic/qede/qede_fp.c if (tx_data_bd->nbytes) nbytes 1578 drivers/net/ethernet/qlogic/qede/qede_fp.c first_bd->nbytes, first_bd->addr.hi, nbytes 1586 drivers/net/ethernet/qlogic/qede/qede_fp.c le16_to_cpu(first_bd->nbytes) - nbytes 1594 drivers/net/ethernet/qlogic/qede/qede_fp.c first_bd->nbytes = cpu_to_le16(hlen); nbytes 491 drivers/net/wireless/ath/ath10k/ce.c unsigned int nbytes, nbytes 505 drivers/net/wireless/ath/ath10k/ce.c if (nbytes > ce_state->src_sz_max) nbytes 507 drivers/net/wireless/ath/ath10k/ce.c __func__, nbytes, ce_state->src_sz_max); nbytes 526 drivers/net/wireless/ath/ath10k/ce.c sdesc.nbytes = __cpu_to_le16(nbytes); nbytes 548 drivers/net/wireless/ath/ath10k/ce.c unsigned int nbytes, nbytes 566 drivers/net/wireless/ath/ath10k/ce.c if (nbytes > ce_state->src_sz_max) nbytes 568 drivers/net/wireless/ath/ath10k/ce.c __func__, nbytes, ce_state->src_sz_max); nbytes 602 drivers/net/wireless/ath/ath10k/ce.c sdesc.nbytes = __cpu_to_le16(nbytes); nbytes 629 drivers/net/wireless/ath/ath10k/ce.c unsigned int nbytes, nbytes 634 drivers/net/wireless/ath/ath10k/ce.c buffer, nbytes, transfer_id, flags); nbytes 669 drivers/net/wireless/ath/ath10k/ce.c unsigned int nbytes, nbytes 679 drivers/net/wireless/ath/ath10k/ce.c buffer, nbytes, transfer_id, flags); nbytes 737 drivers/net/wireless/ath/ath10k/ce.c desc->nbytes = 0; nbytes 770 drivers/net/wireless/ath/ath10k/ce.c desc->nbytes = 0; nbytes 832 drivers/net/wireless/ath/ath10k/ce.c u16 nbytes; nbytes 837 drivers/net/wireless/ath/ath10k/ce.c nbytes = __le16_to_cpu(sdesc.nbytes); nbytes 838 drivers/net/wireless/ath/ath10k/ce.c if (nbytes == 0) { nbytes 848 drivers/net/wireless/ath/ath10k/ce.c desc->nbytes = 0; nbytes 851 drivers/net/wireless/ath/ath10k/ce.c *nbytesp = nbytes; nbytes 882 drivers/net/wireless/ath/ath10k/ce.c u16 nbytes; nbytes 887 drivers/net/wireless/ath/ath10k/ce.c nbytes = __le16_to_cpu(sdesc.nbytes); nbytes 888 drivers/net/wireless/ath/ath10k/ce.c if (nbytes == 0) { nbytes 897 drivers/net/wireless/ath/ath10k/ce.c desc->nbytes = 0; nbytes 900 drivers/net/wireless/ath/ath10k/ce.c *nbytesp = nbytes; nbytes 986 drivers/net/wireless/ath/ath10k/ce.c desc->nbytes = 0; nbytes 1040 drivers/net/wireless/ath/ath10k/ce.c desc->nbytes = 0; nbytes 1113 drivers/net/wireless/ath/ath10k/ce.c desc->nbytes = 0; nbytes 1166 drivers/net/wireless/ath/ath10k/ce.c desc->nbytes = 0; nbytes 1195 drivers/net/wireless/ath/ath10k/ce.c *nbytesp = __le16_to_cpu(desc->nbytes); nbytes 1213 drivers/net/wireless/ath/ath10k/ce.c *nbytesp = __le16_to_cpu(desc->nbytes); nbytes 46 drivers/net/wireless/ath/ath10k/ce.h __le16 nbytes; nbytes 52 drivers/net/wireless/ath/ath10k/ce.h __le16 nbytes; /* length in register map */ nbytes 177 drivers/net/wireless/ath/ath10k/ce.h unsigned int nbytes, nbytes 185 drivers/net/wireless/ath/ath10k/ce.h unsigned int nbytes, nbytes 324 drivers/net/wireless/ath/ath10k/ce.h dma_addr_t buffer, u32 nbytes, nbytes 39 drivers/net/wireless/ath/ath10k/hif.h int nbytes); nbytes 114 drivers/net/wireless/ath/ath10k/hif.h const void *data, int nbytes) nbytes 119 drivers/net/wireless/ath/ath10k/hif.h return ar->hif.ops->diag_write(ar, address, data, nbytes); nbytes 902 drivers/net/wireless/ath/ath10k/pci.c int nbytes) nbytes 924 drivers/net/wireless/ath/ath10k/pci.c alloc_nbytes = min_t(unsigned int, nbytes, DIAG_TRANSFER_LIMIT); nbytes 942 drivers/net/wireless/ath/ath10k/pci.c remaining_bytes = nbytes; nbytes 945 drivers/net/wireless/ath/ath10k/pci.c nbytes = min_t(unsigned int, remaining_bytes, nbytes 953 drivers/net/wireless/ath/ath10k/pci.c ret = ath10k_ce_send(ce_diag, NULL, (u32)address, nbytes, 0, 0); nbytes 980 drivers/net/wireless/ath/ath10k/pci.c if (nbytes != completed_nbytes) { nbytes 990 drivers/net/wireless/ath/ath10k/pci.c remaining_bytes -= nbytes; nbytes 991 drivers/net/wireless/ath/ath10k/pci.c memcpy(data, data_buf, nbytes); nbytes 993 drivers/net/wireless/ath/ath10k/pci.c address += nbytes; nbytes 994 drivers/net/wireless/ath/ath10k/pci.c data += nbytes; nbytes 1048 drivers/net/wireless/ath/ath10k/pci.c const void *data, int nbytes) nbytes 1068 drivers/net/wireless/ath/ath10k/pci.c alloc_nbytes = min_t(unsigned int, nbytes, DIAG_TRANSFER_LIMIT); nbytes 1089 drivers/net/wireless/ath/ath10k/pci.c remaining_bytes = nbytes; nbytes 1092 drivers/net/wireless/ath/ath10k/pci.c nbytes = min_t(int, remaining_bytes, DIAG_TRANSFER_LIMIT); nbytes 1095 drivers/net/wireless/ath/ath10k/pci.c memcpy(data_buf, data, nbytes); nbytes 1106 drivers/net/wireless/ath/ath10k/pci.c ret = ath10k_ce_send(ce_diag, NULL, ce_data_base, nbytes, 0, 0); nbytes 1133 drivers/net/wireless/ath/ath10k/pci.c if (nbytes != completed_nbytes) { nbytes 1143 drivers/net/wireless/ath/ath10k/pci.c remaining_bytes -= nbytes; nbytes 1144 drivers/net/wireless/ath/ath10k/pci.c address += nbytes; nbytes 1145 drivers/net/wireless/ath/ath10k/pci.c data += nbytes; nbytes 1200 drivers/net/wireless/ath/ath10k/pci.c unsigned int nbytes, max_nbytes; nbytes 1204 drivers/net/wireless/ath/ath10k/pci.c &nbytes) == 0) { nbytes 1210 drivers/net/wireless/ath/ath10k/pci.c if (unlikely(max_nbytes < nbytes)) { nbytes 1212 drivers/net/wireless/ath/ath10k/pci.c nbytes, max_nbytes); nbytes 1217 drivers/net/wireless/ath/ath10k/pci.c skb_put(skb, nbytes); nbytes 1244 drivers/net/wireless/ath/ath10k/pci.c unsigned int nbytes, max_nbytes, nentries; nbytes 1253 drivers/net/wireless/ath/ath10k/pci.c &nbytes) == 0) { nbytes 1257 drivers/net/wireless/ath/ath10k/pci.c if (unlikely(max_nbytes < nbytes)) { nbytes 1259 drivers/net/wireless/ath/ath10k/pci.c nbytes, max_nbytes); nbytes 1265 drivers/net/wireless/ath/ath10k/pci.c skb_put(skb, nbytes); nbytes 2206 drivers/net/wireless/ath/ath10k/pci.c unsigned int nbytes; nbytes 2209 drivers/net/wireless/ath/ath10k/pci.c &nbytes)) nbytes 2220 drivers/net/wireless/ath/ath10k/pci.c xfer->resp_len = nbytes; nbytes 220 drivers/net/wireless/ath/ath10k/pci.h const void *data, int nbytes); nbytes 1627 drivers/net/wireless/ath/ath10k/sdio.c const void *data, int nbytes) nbytes 1632 drivers/net/wireless/ath/ath10k/sdio.c ret = ath10k_sdio_write(ar, MBOX_WINDOW_DATA_ADDRESS, data, nbytes); nbytes 572 drivers/net/wireless/ath/ath10k/snoc.c unsigned int nbytes, max_nbytes; nbytes 576 drivers/net/wireless/ath/ath10k/snoc.c &nbytes) == 0) { nbytes 582 drivers/net/wireless/ath/ath10k/snoc.c if (unlikely(max_nbytes < nbytes)) { nbytes 584 drivers/net/wireless/ath/ath10k/snoc.c nbytes, max_nbytes); nbytes 589 drivers/net/wireless/ath/ath10k/snoc.c skb_put(skb, nbytes); nbytes 606 drivers/net/wireless/ath/ath10k/usb.c const void *data, int nbytes) nbytes 612 drivers/net/wireless/ath/ath10k/usb.c if (nbytes != sizeof(cmd->value)) nbytes 619 drivers/net/wireless/ath/ath10k/usb.c memcpy(&cmd->value, data, nbytes); nbytes 519 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c int brcmf_sdiod_recv_buf(struct brcmf_sdio_dev *sdiodev, u8 *buf, uint nbytes) nbytes 524 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c mypkt = brcmu_pkt_buf_get_skb(nbytes); nbytes 527 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c nbytes); nbytes 533 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c memcpy(buf, mypkt->data, nbytes); nbytes 602 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c int brcmf_sdiod_send_buf(struct brcmf_sdio_dev *sdiodev, u8 *buf, uint nbytes) nbytes 608 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c mypkt = brcmu_pkt_buf_get_skb(nbytes); nbytes 612 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c nbytes); nbytes 616 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c memcpy(mypkt->data, buf, nbytes); nbytes 320 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h int brcmf_sdiod_send_buf(struct brcmf_sdio_dev *sdiodev, u8 *buf, uint nbytes); nbytes 323 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h int brcmf_sdiod_recv_buf(struct brcmf_sdio_dev *sdiodev, u8 *buf, uint nbytes); nbytes 2261 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c const __le32 ucode[], const size_t nbytes) nbytes 2269 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c count = (nbytes / sizeof(u32)); nbytes 1129 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c int ret, i, num_repeats, nbytes = count / 2; nbytes 1131 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c ret = hex2bin(cmd.indirection_table, buf, nbytes); nbytes 1142 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c num_repeats = ARRAY_SIZE(cmd.indirection_table) / nbytes; nbytes 1144 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c memcpy(&cmd.indirection_table[i * nbytes], nbytes 1145 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c cmd.indirection_table, nbytes); nbytes 1147 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c memcpy(&cmd.indirection_table[i * nbytes], cmd.indirection_table, nbytes 1148 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c ARRAY_SIZE(cmd.indirection_table) % nbytes); nbytes 161 drivers/pci/hotplug/cpqphp_sysfs.c size_t nbytes, loff_t *ppos) nbytes 164 drivers/pci/hotplug/cpqphp_sysfs.c return simple_read_from_buffer(buf, nbytes, ppos, dbg->data, dbg->size); nbytes 28 drivers/pci/hotplug/rpadlpar_sysfs.c const char *buf, size_t nbytes) nbytes 34 drivers/pci/hotplug/rpadlpar_sysfs.c if (nbytes >= MAX_DRC_NAME_LEN) nbytes 37 drivers/pci/hotplug/rpadlpar_sysfs.c memcpy(drc_name, buf, nbytes); nbytes 41 drivers/pci/hotplug/rpadlpar_sysfs.c end = &drc_name[nbytes]; nbytes 48 drivers/pci/hotplug/rpadlpar_sysfs.c return nbytes; nbytes 59 drivers/pci/hotplug/rpadlpar_sysfs.c const char *buf, size_t nbytes) nbytes 65 drivers/pci/hotplug/rpadlpar_sysfs.c if (nbytes >= MAX_DRC_NAME_LEN) nbytes 68 drivers/pci/hotplug/rpadlpar_sysfs.c memcpy(drc_name, buf, nbytes); nbytes 72 drivers/pci/hotplug/rpadlpar_sysfs.c end = &drc_name[nbytes]; nbytes 79 drivers/pci/hotplug/rpadlpar_sysfs.c return nbytes; nbytes 29 drivers/pci/proc.c size_t nbytes, loff_t *ppos) nbytes 50 drivers/pci/proc.c if (nbytes >= size) nbytes 51 drivers/pci/proc.c nbytes = size; nbytes 52 drivers/pci/proc.c if (pos + nbytes > size) nbytes 53 drivers/pci/proc.c nbytes = size - pos; nbytes 54 drivers/pci/proc.c cnt = nbytes; nbytes 109 drivers/pci/proc.c return nbytes; nbytes 113 drivers/pci/proc.c size_t nbytes, loff_t *ppos) nbytes 127 drivers/pci/proc.c if (nbytes >= size) nbytes 128 drivers/pci/proc.c nbytes = size; nbytes 129 drivers/pci/proc.c if (pos + nbytes > size) nbytes 130 drivers/pci/proc.c nbytes = size - pos; nbytes 131 drivers/pci/proc.c cnt = nbytes; nbytes 187 drivers/pci/proc.c return nbytes; nbytes 23 drivers/pnp/isapnp/proc.c size_t nbytes, loff_t * ppos) nbytes 31 drivers/pnp/isapnp/proc.c if (nbytes >= size) nbytes 32 drivers/pnp/isapnp/proc.c nbytes = size; nbytes 33 drivers/pnp/isapnp/proc.c if (pos + nbytes > size) nbytes 34 drivers/pnp/isapnp/proc.c nbytes = size - pos; nbytes 35 drivers/pnp/isapnp/proc.c cnt = nbytes; nbytes 49 drivers/pnp/isapnp/proc.c return nbytes; nbytes 35 drivers/regulator/qcom_smd-regulator.c __le32 nbytes; nbytes 51 drivers/regulator/qcom_smd-regulator.c req[reqlen].nbytes = cpu_to_le32(sizeof(u32)); nbytes 58 drivers/regulator/qcom_smd-regulator.c req[reqlen].nbytes = cpu_to_le32(sizeof(u32)); nbytes 65 drivers/regulator/qcom_smd-regulator.c req[reqlen].nbytes = cpu_to_le32(sizeof(u32)); nbytes 86 drivers/rtc/rtc-ds1374.c int reg, int nbytes) nbytes 92 drivers/rtc/rtc-ds1374.c if (WARN_ON(nbytes > 4)) nbytes 95 drivers/rtc/rtc-ds1374.c ret = i2c_smbus_read_i2c_block_data(client, reg, nbytes, buf); nbytes 99 drivers/rtc/rtc-ds1374.c if (ret < nbytes) nbytes 102 drivers/rtc/rtc-ds1374.c for (i = nbytes - 1, *time = 0; i >= 0; i--) nbytes 109 drivers/rtc/rtc-ds1374.c int reg, int nbytes) nbytes 114 drivers/rtc/rtc-ds1374.c if (nbytes > 4) { nbytes 119 drivers/rtc/rtc-ds1374.c for (i = 0; i < nbytes; i++) { nbytes 124 drivers/rtc/rtc-ds1374.c return i2c_smbus_write_i2c_block_data(client, reg, nbytes, buf); nbytes 736 drivers/s390/crypto/pkey_api.c size_t nbytes; nbytes 739 drivers/s390/crypto/pkey_api.c nbytes = nr_apqns * sizeof(struct pkey_apqn); nbytes 740 drivers/s390/crypto/pkey_api.c kapqns = kmalloc(nbytes, GFP_KERNEL); nbytes 743 drivers/s390/crypto/pkey_api.c if (copy_from_user(kapqns, uapqns, nbytes)) { nbytes 172 drivers/scsi/bfa/bfad_debugfs.c size_t nbytes, loff_t *pos) nbytes 179 drivers/scsi/bfa/bfad_debugfs.c return simple_read_from_buffer(buf, nbytes, pos, nbytes 215 drivers/scsi/bfa/bfad_debugfs.c size_t nbytes, loff_t *pos) nbytes 225 drivers/scsi/bfa/bfad_debugfs.c rc = simple_read_from_buffer(buf, nbytes, pos, nbytes 228 drivers/scsi/bfa/bfad_debugfs.c if ((*pos + nbytes) >= bfad->reglen) { nbytes 239 drivers/scsi/bfa/bfad_debugfs.c size_t nbytes, loff_t *ppos) nbytes 253 drivers/scsi/bfa/bfad_debugfs.c kern_buf = memdup_user(buf, nbytes); nbytes 303 drivers/scsi/bfa/bfad_debugfs.c return nbytes; nbytes 308 drivers/scsi/bfa/bfad_debugfs.c size_t nbytes, loff_t *ppos) nbytes 320 drivers/scsi/bfa/bfad_debugfs.c kern_buf = memdup_user(buf, nbytes); nbytes 350 drivers/scsi/bfa/bfad_debugfs.c return nbytes; nbytes 953 drivers/scsi/csiostor/csio_wr.c uint32_t nbytes; nbytes 956 drivers/scsi/csiostor/csio_wr.c nbytes = ((wrp->size1 - wr_off) >= data_len) ? nbytes 959 drivers/scsi/csiostor/csio_wr.c memcpy((uint8_t *) wrp->addr1 + wr_off, data_buf, nbytes); nbytes 960 drivers/scsi/csiostor/csio_wr.c data_len -= nbytes; nbytes 966 drivers/scsi/csiostor/csio_wr.c memcpy(wrp->addr2, (uint8_t *) data_buf + nbytes, data_len); nbytes 291 drivers/scsi/fnic/fnic_debugfs.c size_t nbytes, nbytes 296 drivers/scsi/fnic/fnic_debugfs.c rc = simple_read_from_buffer(ubuf, nbytes, pos, nbytes 639 drivers/scsi/fnic/fnic_debugfs.c size_t nbytes, nbytes 644 drivers/scsi/fnic/fnic_debugfs.c rc = simple_read_from_buffer(ubuf, nbytes, pos, nbytes 6905 drivers/scsi/ipr.c int len = qc->nbytes; nbytes 6951 drivers/scsi/ipr.c int len = qc->nbytes; nbytes 201 drivers/scsi/libsas/sas_ata.c task->total_xfer_len = qc->nbytes; nbytes 2041 drivers/scsi/lpfc/lpfc_debugfs.c size_t nbytes, loff_t *ppos) nbytes 2051 drivers/scsi/lpfc/lpfc_debugfs.c if (!access_ok(buf, nbytes)) nbytes 2056 drivers/scsi/lpfc/lpfc_debugfs.c if (copy_from_user(mybuf, buf, nbytes)) nbytes 2077 drivers/scsi/lpfc/lpfc_debugfs.c return nbytes; nbytes 2167 drivers/scsi/lpfc/lpfc_debugfs.c size_t nbytes, loff_t *ppos) nbytes 2204 drivers/scsi/lpfc/lpfc_debugfs.c return simple_read_from_buffer(buf, nbytes, ppos, &cbuf, cnt); nbytes 2209 drivers/scsi/lpfc/lpfc_debugfs.c size_t nbytes, loff_t *ppos) nbytes 2218 drivers/scsi/lpfc/lpfc_debugfs.c size = (nbytes < 32) ? nbytes : 32; nbytes 2253 drivers/scsi/lpfc/lpfc_debugfs.c return nbytes; nbytes 2346 drivers/scsi/lpfc/lpfc_debugfs.c size_t nbytes, loff_t *ppos) nbytes 2350 drivers/scsi/lpfc/lpfc_debugfs.c return simple_read_from_buffer(buf, nbytes, ppos, debug->buffer, nbytes 2394 drivers/scsi/lpfc/lpfc_debugfs.c size_t nbytes, loff_t *ppos) nbytes 2405 drivers/scsi/lpfc/lpfc_debugfs.c if (nbytes > 64) nbytes 2406 drivers/scsi/lpfc/lpfc_debugfs.c nbytes = 64; nbytes 2409 drivers/scsi/lpfc/lpfc_debugfs.c if (!access_ok(buf, nbytes)) nbytes 2414 drivers/scsi/lpfc/lpfc_debugfs.c if (copy_from_user(mybuf, buf, nbytes)) nbytes 2478 drivers/scsi/lpfc/lpfc_debugfs.c size_t nbytes, loff_t *ppos) nbytes 2490 drivers/scsi/lpfc/lpfc_debugfs.c if (nbytes > 64) nbytes 2491 drivers/scsi/lpfc/lpfc_debugfs.c nbytes = 64; nbytes 2495 drivers/scsi/lpfc/lpfc_debugfs.c if (copy_from_user(mybuf, buf, nbytes)) nbytes 2532 drivers/scsi/lpfc/lpfc_debugfs.c return nbytes; nbytes 2566 drivers/scsi/lpfc/lpfc_debugfs.c size_t nbytes, loff_t *ppos) nbytes 2575 drivers/scsi/lpfc/lpfc_debugfs.c if (!access_ok(buf, nbytes)) nbytes 2578 drivers/scsi/lpfc/lpfc_debugfs.c if (copy_from_user(mybuf, buf, (nbytes >= sizeof(mybuf)) ? nbytes 2579 drivers/scsi/lpfc/lpfc_debugfs.c (sizeof(mybuf) - 1) : nbytes)) nbytes 2590 drivers/scsi/lpfc/lpfc_debugfs.c return nbytes; nbytes 2624 drivers/scsi/lpfc/lpfc_debugfs.c size_t nbytes, loff_t *ppos) nbytes 2632 drivers/scsi/lpfc/lpfc_debugfs.c if (nbytes > 64) nbytes 2633 drivers/scsi/lpfc/lpfc_debugfs.c nbytes = 64; nbytes 2637 drivers/scsi/lpfc/lpfc_debugfs.c if (copy_from_user(mybuf, buf, nbytes)) nbytes 2751 drivers/scsi/lpfc/lpfc_debugfs.c size_t nbytes, loff_t *ppos) nbytes 2760 drivers/scsi/lpfc/lpfc_debugfs.c if (nbytes > 64) nbytes 2761 drivers/scsi/lpfc/lpfc_debugfs.c nbytes = 64; nbytes 2765 drivers/scsi/lpfc/lpfc_debugfs.c if (copy_from_user(mybuf, buf, nbytes)) nbytes 2856 drivers/scsi/lpfc/lpfc_debugfs.c size_t nbytes, loff_t *ppos) nbytes 2866 drivers/scsi/lpfc/lpfc_debugfs.c if (nbytes > 64) nbytes 2867 drivers/scsi/lpfc/lpfc_debugfs.c nbytes = 64; nbytes 2871 drivers/scsi/lpfc/lpfc_debugfs.c if (copy_from_user(mybuf, buf, nbytes)) nbytes 2942 drivers/scsi/lpfc/lpfc_debugfs.c static int lpfc_idiag_cmd_get(const char __user *buf, size_t nbytes, nbytes 2952 drivers/scsi/lpfc/lpfc_debugfs.c bsize = min(nbytes, (sizeof(mybuf)-1)); nbytes 3093 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_pcicfg_read(struct file *file, char __user *buf, size_t nbytes, nbytes 3153 drivers/scsi/lpfc/lpfc_debugfs.c return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); nbytes 3193 drivers/scsi/lpfc/lpfc_debugfs.c return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); nbytes 3216 drivers/scsi/lpfc/lpfc_debugfs.c size_t nbytes, loff_t *ppos) nbytes 3234 drivers/scsi/lpfc/lpfc_debugfs.c rc = lpfc_idiag_cmd_get(buf, nbytes, &idiag.cmd); nbytes 3367 drivers/scsi/lpfc/lpfc_debugfs.c return nbytes; nbytes 3389 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_baracc_read(struct file *file, char __user *buf, size_t nbytes, nbytes 3456 drivers/scsi/lpfc/lpfc_debugfs.c return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); nbytes 3517 drivers/scsi/lpfc/lpfc_debugfs.c return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); nbytes 3541 drivers/scsi/lpfc/lpfc_debugfs.c size_t nbytes, loff_t *ppos) nbytes 3559 drivers/scsi/lpfc/lpfc_debugfs.c rc = lpfc_idiag_cmd_get(buf, nbytes, &idiag.cmd); nbytes 3653 drivers/scsi/lpfc/lpfc_debugfs.c return nbytes; nbytes 3845 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_queinfo_read(struct file *file, char __user *buf, size_t nbytes, nbytes 3956 drivers/scsi/lpfc/lpfc_debugfs.c return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); nbytes 3963 drivers/scsi/lpfc/lpfc_debugfs.c return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); nbytes 4053 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_queacc_read(struct file *file, char __user *buf, size_t nbytes, nbytes 4088 drivers/scsi/lpfc/lpfc_debugfs.c return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); nbytes 4108 drivers/scsi/lpfc/lpfc_debugfs.c return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); nbytes 4131 drivers/scsi/lpfc/lpfc_debugfs.c size_t nbytes, loff_t *ppos) nbytes 4143 drivers/scsi/lpfc/lpfc_debugfs.c rc = lpfc_idiag_cmd_get(buf, nbytes, &idiag.cmd); nbytes 4349 drivers/scsi/lpfc/lpfc_debugfs.c return nbytes; nbytes 4430 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_drbacc_read(struct file *file, char __user *buf, size_t nbytes, nbytes 4464 drivers/scsi/lpfc/lpfc_debugfs.c return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); nbytes 4487 drivers/scsi/lpfc/lpfc_debugfs.c size_t nbytes, loff_t *ppos) nbytes 4498 drivers/scsi/lpfc/lpfc_debugfs.c rc = lpfc_idiag_cmd_get(buf, nbytes, &idiag.cmd); nbytes 4559 drivers/scsi/lpfc/lpfc_debugfs.c return nbytes; nbytes 4648 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_ctlacc_read(struct file *file, char __user *buf, size_t nbytes, nbytes 4682 drivers/scsi/lpfc/lpfc_debugfs.c return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); nbytes 4702 drivers/scsi/lpfc/lpfc_debugfs.c size_t nbytes, loff_t *ppos) nbytes 4713 drivers/scsi/lpfc/lpfc_debugfs.c rc = lpfc_idiag_cmd_get(buf, nbytes, &idiag.cmd); nbytes 4783 drivers/scsi/lpfc/lpfc_debugfs.c return nbytes; nbytes 4842 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_mbxacc_read(struct file *file, char __user *buf, size_t nbytes, nbytes 4868 drivers/scsi/lpfc/lpfc_debugfs.c return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); nbytes 4888 drivers/scsi/lpfc/lpfc_debugfs.c size_t nbytes, loff_t *ppos) nbytes 4897 drivers/scsi/lpfc/lpfc_debugfs.c rc = lpfc_idiag_cmd_get(buf, nbytes, &idiag.cmd); nbytes 4939 drivers/scsi/lpfc/lpfc_debugfs.c return nbytes; nbytes 4944 drivers/scsi/lpfc/lpfc_debugfs.c return nbytes; nbytes 5162 drivers/scsi/lpfc/lpfc_debugfs.c size_t nbytes, loff_t *ppos) nbytes 5171 drivers/scsi/lpfc/lpfc_debugfs.c rc = lpfc_idiag_cmd_get(buf, nbytes, &idiag.cmd); nbytes 5184 drivers/scsi/lpfc/lpfc_debugfs.c return nbytes; nbytes 5207 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_extacc_read(struct file *file, char __user *buf, size_t nbytes, nbytes 5237 drivers/scsi/lpfc/lpfc_debugfs.c return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); nbytes 92 drivers/soc/qcom/rpmpd.c __le32 nbytes; nbytes 211 drivers/soc/qcom/rpmpd.c .nbytes = cpu_to_le32(sizeof(u32)), nbytes 223 drivers/soc/qcom/rpmpd.c .nbytes = cpu_to_le32(sizeof(u32)), nbytes 182 drivers/spi/atmel-quadspi.c if (op->addr.nbytes && op->addr.buswidth != mode->addr_buswidth) nbytes 185 drivers/spi/atmel-quadspi.c if (op->data.nbytes && op->data.buswidth != mode->data_buswidth) nbytes 209 drivers/spi/atmel-quadspi.c if (op->addr.nbytes == 2 && op->cmd.buswidth != op->addr.buswidth && nbytes 210 drivers/spi/atmel-quadspi.c op->dummy.nbytes == 0) nbytes 232 drivers/spi/atmel-quadspi.c if (op->dummy.buswidth && op->dummy.nbytes) nbytes 233 drivers/spi/atmel-quadspi.c dummy_cycles = op->dummy.nbytes * 8 / op->dummy.buswidth; nbytes 248 drivers/spi/atmel-quadspi.c switch (op->addr.nbytes) { nbytes 288 drivers/spi/atmel-quadspi.c if (op->data.nbytes) nbytes 304 drivers/spi/atmel-quadspi.c if (!op->addr.nbytes && op->data.dir == SPI_MEM_DATA_IN) nbytes 338 drivers/spi/atmel-quadspi.c if (op->addr.val + op->data.nbytes > aq->mmap_size) nbytes 346 drivers/spi/atmel-quadspi.c if (op->data.nbytes) { nbytes 353 drivers/spi/atmel-quadspi.c op->data.nbytes); nbytes 356 drivers/spi/atmel-quadspi.c op->data.nbytes); nbytes 347 drivers/spi/spi-bcm-qspi.c int addrlen = op->addr.nbytes; nbytes 356 drivers/spi/spi-bcm-qspi.c bpp |= (op->dummy.nbytes * 8) / op->dummy.buswidth; nbytes 391 drivers/spi/spi-bcm-qspi.c int addrlen = op->addr.nbytes; nbytes 437 drivers/spi/spi-bcm-qspi.c int addrlen = op->addr.nbytes; nbytes 802 drivers/spi/spi-bcm-qspi.c if (op->addr.nbytes == BSPI_ADDRLEN_4BYTES) nbytes 831 drivers/spi/spi-bcm-qspi.c len = op->data.nbytes; nbytes 920 drivers/spi/spi-bcm-qspi.c for (i = 0; i < op->addr.nbytes; i++) nbytes 921 drivers/spi/spi-bcm-qspi.c cmd[1 + i] = op->addr.val >> (8 * (op->addr.nbytes - i - 1)); nbytes 924 drivers/spi/spi-bcm-qspi.c t[0].len = op->addr.nbytes + op->dummy.nbytes + 1; nbytes 936 drivers/spi/spi-bcm-qspi.c t[1].len = op->data.nbytes; nbytes 955 drivers/spi/spi-bcm-qspi.c if (!op->data.nbytes || !op->addr.nbytes || op->addr.nbytes > 4 || nbytes 961 drivers/spi/spi-bcm-qspi.c len = op->data.nbytes; nbytes 364 drivers/spi/spi-fsl-qspi.c if (op->addr.nbytes) nbytes 367 drivers/spi/spi-fsl-qspi.c if (op->dummy.nbytes) nbytes 370 drivers/spi/spi-fsl-qspi.c if (op->data.nbytes) nbytes 380 drivers/spi/spi-fsl-qspi.c if (op->addr.nbytes + nbytes 381 drivers/spi/spi-fsl-qspi.c (op->dummy.nbytes ? 1:0) + nbytes 382 drivers/spi/spi-fsl-qspi.c (op->data.nbytes ? 1:0) > 6) nbytes 386 drivers/spi/spi-fsl-qspi.c if (op->dummy.nbytes && nbytes 387 drivers/spi/spi-fsl-qspi.c (op->dummy.nbytes * 8 / op->dummy.buswidth > 64)) nbytes 392 drivers/spi/spi-fsl-qspi.c (op->data.nbytes > q->devtype_data->ahb_buf_size || nbytes 393 drivers/spi/spi-fsl-qspi.c (op->data.nbytes > q->devtype_data->rxfifo - 4 && nbytes 394 drivers/spi/spi-fsl-qspi.c !IS_ALIGNED(op->data.nbytes, 8)))) nbytes 398 drivers/spi/spi-fsl-qspi.c op->data.nbytes > q->devtype_data->txfifo) nbytes 419 drivers/spi/spi-fsl-qspi.c for (i = 0; i < op->addr.nbytes; i++) { nbytes 420 drivers/spi/spi-fsl-qspi.c u8 addrbyte = op->addr.val >> (8 * (op->addr.nbytes - i - 1)); nbytes 428 drivers/spi/spi-fsl-qspi.c if (op->dummy.nbytes) { nbytes 431 drivers/spi/spi-fsl-qspi.c op->dummy.nbytes * 8 / nbytes 436 drivers/spi/spi-fsl-qspi.c if (op->data.nbytes) { nbytes 544 drivers/spi/spi-fsl-qspi.c op->data.nbytes); nbytes 554 drivers/spi/spi-fsl-qspi.c for (i = 0; i < ALIGN_DOWN(op->data.nbytes, 4); i += 4) { nbytes 560 drivers/spi/spi-fsl-qspi.c if (i < op->data.nbytes) { nbytes 561 drivers/spi/spi-fsl-qspi.c memcpy(&val, op->data.buf.out + i, op->data.nbytes - i); nbytes 567 drivers/spi/spi-fsl-qspi.c for (i = op->data.nbytes; i < 16; i += 4) nbytes 580 drivers/spi/spi-fsl-qspi.c for (i = 0; i < ALIGN_DOWN(op->data.nbytes, 4); i += 4) { nbytes 586 drivers/spi/spi-fsl-qspi.c if (i < op->data.nbytes) { nbytes 589 drivers/spi/spi-fsl-qspi.c memcpy(buf + i, &val, op->data.nbytes - i); nbytes 605 drivers/spi/spi-fsl-qspi.c qspi_writel(q, op->data.nbytes | QUADSPI_IPCR_SEQID(SEQID_LUT), nbytes 612 drivers/spi/spi-fsl-qspi.c if (!err && op->data.nbytes && op->data.dir == SPI_MEM_DATA_IN) nbytes 666 drivers/spi/spi-fsl-qspi.c if (op->data.nbytes > (q->devtype_data->rxfifo - 4) && nbytes 673 drivers/spi/spi-fsl-qspi.c if (op->data.nbytes && op->data.dir == SPI_MEM_DATA_OUT) nbytes 692 drivers/spi/spi-fsl-qspi.c if (op->data.nbytes > q->devtype_data->txfifo) nbytes 693 drivers/spi/spi-fsl-qspi.c op->data.nbytes = q->devtype_data->txfifo; nbytes 695 drivers/spi/spi-fsl-qspi.c if (op->data.nbytes > q->devtype_data->ahb_buf_size) nbytes 696 drivers/spi/spi-fsl-qspi.c op->data.nbytes = q->devtype_data->ahb_buf_size; nbytes 697 drivers/spi/spi-fsl-qspi.c else if (op->data.nbytes > (q->devtype_data->rxfifo - 4)) nbytes 698 drivers/spi/spi-fsl-qspi.c op->data.nbytes = ALIGN_DOWN(op->data.nbytes, 8); nbytes 40 drivers/spi/spi-mem.c if (!op->data.nbytes) nbytes 53 drivers/spi/spi-mem.c return spi_map_buf(ctlr, dmadev, sgt, op->data.buf.in, op->data.nbytes, nbytes 86 drivers/spi/spi-mem.c if (!op->data.nbytes) nbytes 144 drivers/spi/spi-mem.c if (op->addr.nbytes && nbytes 148 drivers/spi/spi-mem.c if (op->dummy.nbytes && nbytes 174 drivers/spi/spi-mem.c if ((op->addr.nbytes && !op->addr.buswidth) || nbytes 175 drivers/spi/spi-mem.c (op->dummy.nbytes && !op->dummy.buswidth) || nbytes 176 drivers/spi/spi-mem.c (op->data.nbytes && !op->data.buswidth)) nbytes 307 drivers/spi/spi-mem.c tmpbufsize = sizeof(op->cmd.opcode) + op->addr.nbytes + nbytes 308 drivers/spi/spi-mem.c op->dummy.nbytes; nbytes 329 drivers/spi/spi-mem.c if (op->addr.nbytes) { nbytes 332 drivers/spi/spi-mem.c for (i = 0; i < op->addr.nbytes; i++) nbytes 334 drivers/spi/spi-mem.c (8 * (op->addr.nbytes - i - 1)); nbytes 337 drivers/spi/spi-mem.c xfers[xferpos].len = op->addr.nbytes; nbytes 341 drivers/spi/spi-mem.c totalxferlen += op->addr.nbytes; nbytes 344 drivers/spi/spi-mem.c if (op->dummy.nbytes) { nbytes 345 drivers/spi/spi-mem.c memset(tmpbuf + op->addr.nbytes + 1, 0xff, op->dummy.nbytes); nbytes 346 drivers/spi/spi-mem.c xfers[xferpos].tx_buf = tmpbuf + op->addr.nbytes + 1; nbytes 347 drivers/spi/spi-mem.c xfers[xferpos].len = op->dummy.nbytes; nbytes 351 drivers/spi/spi-mem.c totalxferlen += op->dummy.nbytes; nbytes 354 drivers/spi/spi-mem.c if (op->data.nbytes) { nbytes 363 drivers/spi/spi-mem.c xfers[xferpos].len = op->data.nbytes; nbytes 366 drivers/spi/spi-mem.c totalxferlen += op->data.nbytes; nbytes 421 drivers/spi/spi-mem.c len = sizeof(op->cmd.opcode) + op->addr.nbytes + op->dummy.nbytes; nbytes 430 drivers/spi/spi-mem.c op->data.nbytes = min3((size_t)op->data.nbytes, nbytes 434 drivers/spi/spi-mem.c if (!op->data.nbytes) nbytes 450 drivers/spi/spi-mem.c op.data.nbytes = len; nbytes 459 drivers/spi/spi-mem.c return op.data.nbytes; nbytes 470 drivers/spi/spi-mem.c op.data.nbytes = len; nbytes 479 drivers/spi/spi-mem.c return op.data.nbytes; nbytes 504 drivers/spi/spi-mem.c if (!info->op_tmpl.addr.nbytes || info->op_tmpl.addr.nbytes > 8) nbytes 289 drivers/spi/spi-mxic.c unsigned int nbytes = len - pos; nbytes 294 drivers/spi/spi-mxic.c if (nbytes > 4) nbytes 295 drivers/spi/spi-mxic.c nbytes = 4; nbytes 298 drivers/spi/spi-mxic.c memcpy(&data, txbuf + pos, nbytes); nbytes 305 drivers/spi/spi-mxic.c writel(data, mxic->regs + TXD(nbytes % 4)); nbytes 321 drivers/spi/spi-mxic.c data >>= (8 * (4 - nbytes)); nbytes 322 drivers/spi/spi-mxic.c memcpy(rxbuf + pos, &data, nbytes); nbytes 329 drivers/spi/spi-mxic.c pos += nbytes; nbytes 342 drivers/spi/spi-mxic.c if (op->data.nbytes && op->dummy.nbytes && nbytes 346 drivers/spi/spi-mxic.c if (op->addr.nbytes > 7) nbytes 378 drivers/spi/spi-mxic.c if (op->addr.nbytes) nbytes 379 drivers/spi/spi-mxic.c ss_ctrl |= OP_ADDR_BYTES(op->addr.nbytes) | nbytes 382 drivers/spi/spi-mxic.c if (op->dummy.nbytes) nbytes 383 drivers/spi/spi-mxic.c ss_ctrl |= OP_DUMMY_CYC(op->dummy.nbytes); nbytes 385 drivers/spi/spi-mxic.c if (op->data.nbytes) { nbytes 400 drivers/spi/spi-mxic.c for (i = 0; i < op->addr.nbytes; i++) nbytes 401 drivers/spi/spi-mxic.c addr[i] = op->addr.val >> (8 * (op->addr.nbytes - i - 1)); nbytes 403 drivers/spi/spi-mxic.c ret = mxic_spi_data_xfer(mxic, addr, NULL, op->addr.nbytes); nbytes 407 drivers/spi/spi-mxic.c ret = mxic_spi_data_xfer(mxic, NULL, NULL, op->dummy.nbytes); nbytes 416 drivers/spi/spi-mxic.c op->data.nbytes); nbytes 255 drivers/spi/spi-npcm-fiu.c ((op->dummy.nbytes * ilog2(op->addr.buswidth)) nbytes 257 drivers/spi/spi-npcm-fiu.c fiu->drd_op.dummy.nbytes = op->dummy.nbytes; nbytes 263 drivers/spi/spi-npcm-fiu.c (op->addr.nbytes - 3) << NPCM_FIU_DRD_ADDSIZ_SHIFT); nbytes 264 drivers/spi/spi-npcm-fiu.c fiu->drd_op.addr.nbytes = op->addr.nbytes; nbytes 283 drivers/spi/spi-npcm-fiu.c desc->info.op_tmpl.dummy.nbytes != fiu->drd_op.dummy.nbytes || nbytes 285 drivers/spi/spi-npcm-fiu.c desc->info.op_tmpl.addr.nbytes != fiu->drd_op.addr.nbytes) nbytes 341 drivers/spi/spi-npcm-fiu.c uma_cfg |= op->dummy.nbytes << NPCM_FIU_UMA_CFG_DBSIZ_SHIFT; nbytes 342 drivers/spi/spi-npcm-fiu.c uma_cfg |= op->addr.nbytes << NPCM_FIU_UMA_CFG_ADDSIZ_SHIFT; nbytes 401 drivers/spi/spi-npcm-fiu.c uma_cfg |= op->addr.nbytes << NPCM_FIU_UMA_CFG_ADDSIZ_SHIFT; nbytes 430 drivers/spi/spi-npcm-fiu.c num_data_chunks = op->data.nbytes / CHUNK_SIZE; nbytes 431 drivers/spi/spi-npcm-fiu.c remain_data = op->data.nbytes % CHUNK_SIZE; nbytes 477 drivers/spi/spi-npcm-fiu.c currlen = op->data.nbytes; nbytes 536 drivers/spi/spi-npcm-fiu.c op->data.nbytes); nbytes 538 drivers/spi/spi-npcm-fiu.c if (fiu->spix_mode || op->addr.nbytes > 4) nbytes 551 drivers/spi/spi-npcm-fiu.c if (!op->addr.nbytes) { nbytes 554 drivers/spi/spi-npcm-fiu.c buf, op->data.nbytes); nbytes 559 drivers/spi/spi-npcm-fiu.c if (!op->addr.nbytes && !op->data.nbytes) nbytes 562 drivers/spi/spi-npcm-fiu.c if (op->addr.nbytes && !op->data.nbytes) { nbytes 567 drivers/spi/spi-npcm-fiu.c for (i = op->addr.nbytes - 1; i >= 0; i--) { nbytes 572 drivers/spi/spi-npcm-fiu.c buf_addr, op->addr.nbytes); nbytes 574 drivers/spi/spi-npcm-fiu.c if (!op->addr.nbytes && op->data.nbytes) nbytes 577 drivers/spi/spi-npcm-fiu.c op->data.nbytes); nbytes 578 drivers/spi/spi-npcm-fiu.c if (op->addr.nbytes && op->data.nbytes) nbytes 400 drivers/spi/spi-nxp-fspi.c if (op->addr.nbytes) nbytes 403 drivers/spi/spi-nxp-fspi.c if (op->dummy.nbytes) nbytes 406 drivers/spi/spi-nxp-fspi.c if (op->data.nbytes) nbytes 415 drivers/spi/spi-nxp-fspi.c if (op->addr.nbytes > 4) nbytes 428 drivers/spi/spi-nxp-fspi.c (op->dummy.nbytes * 8 / op->dummy.buswidth > 64)) nbytes 433 drivers/spi/spi-nxp-fspi.c (op->data.nbytes > f->devtype_data->ahb_buf_size || nbytes 434 drivers/spi/spi-nxp-fspi.c (op->data.nbytes > f->devtype_data->rxfifo - 4 && nbytes 435 drivers/spi/spi-nxp-fspi.c !IS_ALIGNED(op->data.nbytes, 8)))) nbytes 439 drivers/spi/spi-nxp-fspi.c op->data.nbytes > f->devtype_data->txfifo) nbytes 494 drivers/spi/spi-nxp-fspi.c if (op->addr.nbytes) { nbytes 497 drivers/spi/spi-nxp-fspi.c op->addr.nbytes * 8); nbytes 502 drivers/spi/spi-nxp-fspi.c if (op->dummy.nbytes) { nbytes 509 drivers/spi/spi-nxp-fspi.c op->dummy.nbytes * 8 / nbytes 515 drivers/spi/spi-nxp-fspi.c if (op->data.nbytes) { nbytes 646 drivers/spi/spi-nxp-fspi.c u32 len = op->data.nbytes; nbytes 667 drivers/spi/spi-nxp-fspi.c for (i = 0; i < ALIGN_DOWN(op->data.nbytes, 8); i += 8) { nbytes 679 drivers/spi/spi-nxp-fspi.c if (i < op->data.nbytes) { nbytes 688 drivers/spi/spi-nxp-fspi.c for (j = 0; j < ALIGN(op->data.nbytes - i, 4); j += 4) { nbytes 701 drivers/spi/spi-nxp-fspi.c int len = op->data.nbytes; nbytes 732 drivers/spi/spi-nxp-fspi.c len = op->data.nbytes - i; nbytes 733 drivers/spi/spi-nxp-fspi.c for (j = 0; j < op->data.nbytes - i; j += 4) { nbytes 768 drivers/spi/spi-nxp-fspi.c fspi_writel(f, op->data.nbytes | nbytes 781 drivers/spi/spi-nxp-fspi.c if (!err && op->data.nbytes && op->data.dir == SPI_MEM_DATA_IN) nbytes 807 drivers/spi/spi-nxp-fspi.c if (op->data.nbytes > (f->devtype_data->rxfifo - 4) && nbytes 811 drivers/spi/spi-nxp-fspi.c if (op->data.nbytes && op->data.dir == SPI_MEM_DATA_OUT) nbytes 830 drivers/spi/spi-nxp-fspi.c if (op->data.nbytes > f->devtype_data->txfifo) nbytes 831 drivers/spi/spi-nxp-fspi.c op->data.nbytes = f->devtype_data->txfifo; nbytes 833 drivers/spi/spi-nxp-fspi.c if (op->data.nbytes > f->devtype_data->ahb_buf_size) nbytes 834 drivers/spi/spi-nxp-fspi.c op->data.nbytes = f->devtype_data->ahb_buf_size; nbytes 835 drivers/spi/spi-nxp-fspi.c else if (op->data.nbytes > (f->devtype_data->rxfifo - 4)) nbytes 836 drivers/spi/spi-nxp-fspi.c op->data.nbytes = ALIGN_DOWN(op->data.nbytes, 8); nbytes 156 drivers/spi/spi-stm32-qspi.c u32 len = op->data.nbytes, sr; nbytes 188 drivers/spi/spi-stm32-qspi.c op->data.nbytes); nbytes 265 drivers/spi/spi-stm32-qspi.c if (!op->data.nbytes) nbytes 293 drivers/spi/spi-stm32-qspi.c if (!op->data.nbytes) nbytes 337 drivers/spi/spi-stm32-qspi.c op->addr.val, op->data.nbytes); nbytes 343 drivers/spi/spi-stm32-qspi.c addr_max = op->addr.val + op->data.nbytes + 1; nbytes 361 drivers/spi/spi-stm32-qspi.c if (op->data.nbytes) nbytes 362 drivers/spi/spi-stm32-qspi.c writel_relaxed(op->data.nbytes - 1, nbytes 372 drivers/spi/spi-stm32-qspi.c if (op->addr.nbytes) { nbytes 375 drivers/spi/spi-stm32-qspi.c ccr |= FIELD_PREP(CCR_ADSIZE_MASK, op->addr.nbytes - 1); nbytes 378 drivers/spi/spi-stm32-qspi.c if (op->dummy.buswidth && op->dummy.nbytes) nbytes 380 drivers/spi/spi-stm32-qspi.c op->dummy.nbytes * 8 / op->dummy.buswidth); nbytes 382 drivers/spi/spi-stm32-qspi.c if (op->data.nbytes) { nbytes 389 drivers/spi/spi-stm32-qspi.c if (op->addr.nbytes && qspi->fmode != CCR_FMODE_MM) nbytes 295 drivers/spi/spi-tegra114.c unsigned nbytes; nbytes 310 drivers/spi/spi-tegra114.c nbytes = written_words * tspi->bytes_per_word; nbytes 311 drivers/spi/spi-tegra114.c max_n_32bit = DIV_ROUND_UP(nbytes, 4); nbytes 315 drivers/spi/spi-tegra114.c for (i = 0; (i < 4) && nbytes; i++, nbytes--) nbytes 325 drivers/spi/spi-tegra114.c nbytes = written_words * tspi->bytes_per_word; nbytes 326 drivers/spi/spi-tegra114.c if (nbytes > t->len - tspi->cur_pos) nbytes 327 drivers/spi/spi-tegra114.c nbytes = t->len - tspi->cur_pos; nbytes 328 drivers/spi/spi-tegra114.c write_bytes = nbytes; nbytes 332 drivers/spi/spi-tegra114.c for (i = 0; nbytes && (i < tspi->bytes_per_word); nbytes 333 drivers/spi/spi-tegra114.c i++, nbytes--) nbytes 175 drivers/spi/spi-tegra20-sflash.c unsigned nbytes; nbytes 182 drivers/spi/spi-tegra20-sflash.c nbytes = max_n_32bit * tsd->bytes_per_word; nbytes 189 drivers/spi/spi-tegra20-sflash.c for (i = 0; nbytes && (i < tsd->bytes_per_word); nbytes 190 drivers/spi/spi-tegra20-sflash.c i++, nbytes--) nbytes 193 drivers/spi/spi-tegra20-sflash.c if (!nbytes) nbytes 292 drivers/spi/spi-tegra20-slink.c unsigned nbytes; nbytes 307 drivers/spi/spi-tegra20-slink.c nbytes = written_words * tspi->bytes_per_word; nbytes 308 drivers/spi/spi-tegra20-slink.c max_n_32bit = DIV_ROUND_UP(nbytes, 4); nbytes 311 drivers/spi/spi-tegra20-slink.c for (i = 0; (i < 4) && nbytes; i++, nbytes--) nbytes 318 drivers/spi/spi-tegra20-slink.c nbytes = written_words * tspi->bytes_per_word; nbytes 321 drivers/spi/spi-tegra20-slink.c for (i = 0; nbytes && (i < tspi->bytes_per_word); nbytes 322 drivers/spi/spi-tegra20-slink.c i++, nbytes--) nbytes 538 drivers/spi/spi-ti-qspi.c if (!op->data.nbytes || op->data.dir != SPI_MEM_DATA_IN || nbytes 539 drivers/spi/spi-ti-qspi.c !op->addr.nbytes || op->addr.nbytes > 4) nbytes 544 drivers/spi/spi-ti-qspi.c if (from + op->data.nbytes > qspi->mmap_size) nbytes 552 drivers/spi/spi-ti-qspi.c op->addr.nbytes, op->dummy.nbytes); nbytes 566 drivers/spi/spi-ti-qspi.c op->data.nbytes); nbytes 570 drivers/spi/spi-ti-qspi.c op->data.nbytes); nbytes 184 drivers/spi/spi-xlp.c int i, j, nbytes; nbytes 191 drivers/spi/spi-xlp.c nbytes = min(xspi->rx_len, 4); nbytes 192 drivers/spi/spi-xlp.c for (i = nbytes - 1; i >= 0; i--, j++) nbytes 195 drivers/spi/spi-xlp.c xspi->rx_len -= nbytes; nbytes 196 drivers/spi/spi-xlp.c xspi->rx_buf += nbytes; nbytes 204 drivers/spi/spi-xlp.c int i, j, nbytes; nbytes 212 drivers/spi/spi-xlp.c nbytes = min(xspi->tx_len, 4); nbytes 213 drivers/spi/spi-xlp.c for (i = nbytes - 1; i >= 0; i--, j++) nbytes 217 drivers/spi/spi-xlp.c xspi->tx_len -= nbytes; nbytes 218 drivers/spi/spi-xlp.c xspi->tx_buf += nbytes; nbytes 229 drivers/spi/spi-zynq-qspi.c if (op->addr.nbytes > 3) nbytes 541 drivers/spi/spi-zynq-qspi.c if (op->addr.nbytes) { nbytes 542 drivers/spi/spi-zynq-qspi.c for (i = 0; i < op->addr.nbytes; i++) { nbytes 544 drivers/spi/spi-zynq-qspi.c (8 * (op->addr.nbytes - i - 1)); nbytes 549 drivers/spi/spi-zynq-qspi.c xqspi->tx_bytes = op->addr.nbytes; nbytes 550 drivers/spi/spi-zynq-qspi.c xqspi->rx_bytes = op->addr.nbytes; nbytes 559 drivers/spi/spi-zynq-qspi.c if (op->dummy.nbytes) { nbytes 560 drivers/spi/spi-zynq-qspi.c tmpbuf = kzalloc(op->dummy.nbytes, GFP_KERNEL); nbytes 561 drivers/spi/spi-zynq-qspi.c memset(tmpbuf, 0xff, op->dummy.nbytes); nbytes 565 drivers/spi/spi-zynq-qspi.c xqspi->tx_bytes = op->dummy.nbytes; nbytes 566 drivers/spi/spi-zynq-qspi.c xqspi->rx_bytes = op->dummy.nbytes; nbytes 577 drivers/spi/spi-zynq-qspi.c if (op->data.nbytes) { nbytes 581 drivers/spi/spi-zynq-qspi.c xqspi->tx_bytes = op->data.nbytes; nbytes 583 drivers/spi/spi-zynq-qspi.c xqspi->rx_bytes = op->data.nbytes; nbytes 587 drivers/spi/spi-zynq-qspi.c xqspi->rx_bytes = op->data.nbytes; nbytes 588 drivers/spi/spi-zynq-qspi.c xqspi->tx_bytes = op->data.nbytes; nbytes 341 drivers/staging/comedi/comedi_buf.c unsigned int nbytes) nbytes 346 drivers/staging/comedi/comedi_buf.c if (nbytes > unalloc) nbytes 347 drivers/staging/comedi/comedi_buf.c nbytes = unalloc; nbytes 349 drivers/staging/comedi/comedi_buf.c async->buf_write_alloc_count += nbytes; nbytes 357 drivers/staging/comedi/comedi_buf.c return nbytes; nbytes 431 drivers/staging/comedi/comedi_buf.c unsigned int nbytes) nbytes 436 drivers/staging/comedi/comedi_buf.c if (nbytes > allocated) nbytes 437 drivers/staging/comedi/comedi_buf.c nbytes = allocated; nbytes 439 drivers/staging/comedi/comedi_buf.c async->buf_write_count += nbytes; nbytes 440 drivers/staging/comedi/comedi_buf.c async->buf_write_ptr += nbytes; nbytes 445 drivers/staging/comedi/comedi_buf.c return nbytes; nbytes 496 drivers/staging/comedi/comedi_buf.c unsigned int nbytes) nbytes 502 drivers/staging/comedi/comedi_buf.c if (nbytes > available) nbytes 503 drivers/staging/comedi/comedi_buf.c nbytes = available; nbytes 505 drivers/staging/comedi/comedi_buf.c async->buf_read_alloc_count += nbytes; nbytes 513 drivers/staging/comedi/comedi_buf.c return nbytes; nbytes 536 drivers/staging/comedi/comedi_buf.c unsigned int nbytes) nbytes 548 drivers/staging/comedi/comedi_buf.c if (nbytes > allocated) nbytes 549 drivers/staging/comedi/comedi_buf.c nbytes = allocated; nbytes 551 drivers/staging/comedi/comedi_buf.c async->buf_read_count += nbytes; nbytes 552 drivers/staging/comedi/comedi_buf.c async->buf_read_ptr += nbytes; nbytes 554 drivers/staging/comedi/comedi_buf.c return nbytes; nbytes 582 drivers/staging/comedi/comedi_buf.c void *dest, unsigned int nbytes) nbytes 588 drivers/staging/comedi/comedi_buf.c while (nbytes) { nbytes 593 drivers/staging/comedi/comedi_buf.c if (nbytes >= async->prealloc_bufsz - read_ptr) nbytes 596 drivers/staging/comedi/comedi_buf.c block_size = nbytes; nbytes 599 drivers/staging/comedi/comedi_buf.c nbytes -= block_size; nbytes 626 drivers/staging/comedi/comedi_buf.c unsigned int nbytes; nbytes 643 drivers/staging/comedi/comedi_buf.c nbytes = comedi_buf_write_alloc(s, nbytes 645 drivers/staging/comedi/comedi_buf.c comedi_buf_memcpy_to(s, data, nbytes); nbytes 646 drivers/staging/comedi/comedi_buf.c comedi_buf_write_free(s, nbytes); nbytes 647 drivers/staging/comedi/comedi_buf.c comedi_inc_scan_progress(s, nbytes); nbytes 650 drivers/staging/comedi/comedi_buf.c return nbytes; nbytes 672 drivers/staging/comedi/comedi_buf.c unsigned int nbytes; nbytes 683 drivers/staging/comedi/comedi_buf.c nbytes = comedi_buf_read_alloc(s, nbytes 685 drivers/staging/comedi/comedi_buf.c comedi_buf_memcpy_from(s, data, nbytes); nbytes 686 drivers/staging/comedi/comedi_buf.c comedi_buf_read_free(s, nbytes); nbytes 687 drivers/staging/comedi/comedi_buf.c comedi_inc_scan_progress(s, nbytes); nbytes 690 drivers/staging/comedi/comedi_buf.c return nbytes; nbytes 2443 drivers/staging/comedi/comedi_fops.c size_t nbytes, loff_t *offset) nbytes 2491 drivers/staging/comedi/comedi_fops.c if (retval || nbytes) nbytes 2495 drivers/staging/comedi/comedi_fops.c if (nbytes == 0) nbytes 2501 drivers/staging/comedi/comedi_fops.c n = min_t(size_t, m, nbytes); nbytes 2537 drivers/staging/comedi/comedi_fops.c nbytes -= n; nbytes 2578 drivers/staging/comedi/comedi_fops.c static ssize_t comedi_read(struct file *file, char __user *buf, size_t nbytes, nbytes 2623 drivers/staging/comedi/comedi_fops.c n = min_t(size_t, m, nbytes); nbytes 2632 drivers/staging/comedi/comedi_fops.c if (retval || nbytes) nbytes 2636 drivers/staging/comedi/comedi_fops.c if (nbytes == 0) nbytes 2673 drivers/staging/comedi/comedi_fops.c nbytes -= n; nbytes 826 drivers/staging/comedi/comedidev.h unsigned int nbytes) nbytes 828 drivers/staging/comedi/comedidev.h return nbytes >> comedi_sample_shift(s); nbytes 496 drivers/staging/comedi/drivers.c unsigned int nbytes = comedi_buf_read_n_available(s); nbytes 498 drivers/staging/comedi/drivers.c nscans = nbytes / comedi_bytes_per_scan(s); nbytes 431 drivers/staging/comedi/drivers/addi_apci_3120.c unsigned int nbytes; nbytes 436 drivers/staging/comedi/drivers/addi_apci_3120.c nbytes = dmabuf->use_size - inl(devpriv->amcc + AMCC_OP_REG_MWTC); nbytes 438 drivers/staging/comedi/drivers/addi_apci_3120.c if (nbytes < dmabuf->use_size) nbytes 440 drivers/staging/comedi/drivers/addi_apci_3120.c if (nbytes & 1) { nbytes 446 drivers/staging/comedi/drivers/addi_apci_3120.c nsamples = comedi_bytes_to_samples(s, nbytes); nbytes 986 drivers/staging/comedi/drivers/cb_pcidas.c unsigned int nbytes; nbytes 989 drivers/staging/comedi/drivers/cb_pcidas.c nbytes = comedi_buf_read_samples(s, devpriv->ao_buffer, nsamples); nbytes 991 drivers/staging/comedi/drivers/cb_pcidas.c nsamples = comedi_bytes_to_samples(s, nbytes); nbytes 2943 drivers/staging/comedi/drivers/cb_pcidas64.c unsigned int nbytes; nbytes 2952 drivers/staging/comedi/drivers/cb_pcidas64.c nbytes = comedi_samples_to_bytes(s, nsamples); nbytes 2953 drivers/staging/comedi/drivers/cb_pcidas64.c devpriv->ao_dma_desc[buffer_index].transfer_size = cpu_to_le32(nbytes); nbytes 2968 drivers/staging/comedi/drivers/cb_pcidas64.c return nbytes; nbytes 3222 drivers/staging/comedi/drivers/cb_pcidas64.c unsigned int nbytes; nbytes 3247 drivers/staging/comedi/drivers/cb_pcidas64.c nbytes = load_ao_dma_buffer(dev, cmd); nbytes 3248 drivers/staging/comedi/drivers/cb_pcidas64.c if (nbytes == 0) nbytes 458 drivers/staging/comedi/drivers/comedi_test.c unsigned int skip_bytes, nbytes; nbytes 463 drivers/staging/comedi/drivers/comedi_test.c nbytes = comedi_buf_read_alloc(s, skip_bytes); nbytes 464 drivers/staging/comedi/drivers/comedi_test.c comedi_buf_read_free(s, nbytes); nbytes 465 drivers/staging/comedi/drivers/comedi_test.c comedi_inc_scan_progress(s, nbytes); nbytes 466 drivers/staging/comedi/drivers/comedi_test.c if (nbytes < skip_bytes) { nbytes 477 drivers/staging/comedi/drivers/das16.c unsigned int nbytes; nbytes 498 drivers/staging/comedi/drivers/das16.c nbytes = 0; nbytes 500 drivers/staging/comedi/drivers/das16.c nbytes = desc->size - residue; nbytes 502 drivers/staging/comedi/drivers/das16.c nsamples = comedi_bytes_to_samples(s, nbytes); nbytes 370 drivers/staging/comedi/drivers/das1800.c unsigned int nbytes = desc->size - residue; nbytes 374 drivers/staging/comedi/drivers/das1800.c nsamples = comedi_bytes_to_samples(s, nbytes); nbytes 402 drivers/staging/comedi/drivers/dt282x.c unsigned int nbytes) nbytes 408 drivers/staging/comedi/drivers/dt282x.c if (nbytes % 2) nbytes 412 drivers/staging/comedi/drivers/dt282x.c for (i = 0; i < nbytes / 2; i++) { nbytes 430 drivers/staging/comedi/drivers/dt282x.c unsigned int nbytes; nbytes 432 drivers/staging/comedi/drivers/dt282x.c nbytes = comedi_buf_read_samples(s, desc->virt_addr, nsamples); nbytes 433 drivers/staging/comedi/drivers/dt282x.c if (nbytes) nbytes 434 drivers/staging/comedi/drivers/dt282x.c dt282x_prep_ao_dma(dev, cur_dma, nbytes); nbytes 438 drivers/staging/comedi/drivers/dt282x.c return nbytes; nbytes 276 drivers/staging/comedi/drivers/mite.c unsigned int nbytes, old_alloc_count; nbytes 282 drivers/staging/comedi/drivers/mite.c nbytes = mite_bytes_written_to_memory_lb(mite_chan); nbytes 291 drivers/staging/comedi/drivers/mite.c count = nbytes - async->buf_write_count; nbytes 652 drivers/staging/comedi/drivers/mite.c unsigned int nbytes) nbytes 656 drivers/staging/comedi/drivers/mite.c unsigned int n_full_links = nbytes >> PAGE_SHIFT; nbytes 657 drivers/staging/comedi/drivers/mite.c unsigned int remainder = nbytes % PAGE_SIZE; nbytes 661 drivers/staging/comedi/drivers/mite.c "mite: init ring buffer to %u bytes\n", nbytes); nbytes 76 drivers/staging/comedi/drivers/mite.h struct comedi_subdevice *s, unsigned int nbytes); nbytes 994 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int nbytes; nbytes 997 drivers/staging/comedi/drivers/ni_mio_common.c nbytes = comedi_buf_read_n_available(s); nbytes 998 drivers/staging/comedi/drivers/ni_mio_common.c if (nbytes == 0) { nbytes 1003 drivers/staging/comedi/drivers/ni_mio_common.c nsamples = comedi_bytes_to_samples(s, nbytes); nbytes 1017 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int nbytes; nbytes 1026 drivers/staging/comedi/drivers/ni_mio_common.c nbytes = comedi_buf_read_n_available(s); nbytes 1027 drivers/staging/comedi/drivers/ni_mio_common.c if (nbytes == 0) nbytes 1030 drivers/staging/comedi/drivers/ni_mio_common.c nsamples = comedi_bytes_to_samples(s, nbytes); nbytes 1961 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int nbytes = max_count; nbytes 1964 drivers/staging/comedi/drivers/ni_mio_common.c nbytes = cmd->stop_arg; nbytes 1965 drivers/staging/comedi/drivers/ni_mio_common.c nbytes *= comedi_bytes_per_scan(sdev); nbytes 1967 drivers/staging/comedi/drivers/ni_mio_common.c if (nbytes > sdev->async->prealloc_bufsz) { nbytes 1978 drivers/staging/comedi/drivers/ni_mio_common.c nbytes = sdev->async->prealloc_bufsz; nbytes 1981 drivers/staging/comedi/drivers/ni_mio_common.c mite_init_ring_descriptors(ring, sdev, nbytes); nbytes 2824 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int nbytes; nbytes 2830 drivers/staging/comedi/drivers/ni_mio_common.c nbytes = comedi_samples_to_bytes(s, nbytes 2832 drivers/staging/comedi/drivers/ni_mio_common.c data[2] = 1 + nbytes; nbytes 573 drivers/staging/comedi/drivers/quatech_daqp_cs.c unsigned long long nbytes; nbytes 577 drivers/staging/comedi/drivers/quatech_daqp_cs.c nbytes = nsamples * comedi_bytes_per_sample(s); nbytes 578 drivers/staging/comedi/drivers/quatech_daqp_cs.c while (nbytes > DAQP_FIFO_SIZE * 3 / 4) nbytes 579 drivers/staging/comedi/drivers/quatech_daqp_cs.c nbytes /= 2; nbytes 580 drivers/staging/comedi/drivers/quatech_daqp_cs.c threshold = nbytes; nbytes 896 drivers/staging/greybus/camera.c unsigned int nbytes = min_t(unsigned int, size - i, 16); nbytes 899 drivers/staging/greybus/camera.c "%*ph\n", nbytes, caps + i); nbytes 318 drivers/staging/rtl8188eu/core/rtw_security.c void rtw_secmicappend(struct mic_data *pmicdata, u8 *src, u32 nbytes) nbytes 321 drivers/staging/rtl8188eu/core/rtw_security.c while (nbytes > 0) { nbytes 323 drivers/staging/rtl8188eu/core/rtw_security.c nbytes--; nbytes 308 drivers/staging/rtl8712/rtl871x_security.c void r8712_secmicappend(struct mic_data *pmicdata, u8 *src, u32 nbytes) nbytes 311 drivers/staging/rtl8712/rtl871x_security.c while (nbytes > 0) { nbytes 313 drivers/staging/rtl8712/rtl871x_security.c nbytes--; nbytes 381 drivers/staging/rtl8723bs/core/rtw_security.c void rtw_secmicappend(struct mic_data *pmicdata, u8 *src, u32 nbytes) nbytes 384 drivers/staging/rtl8723bs/core/rtw_security.c while (nbytes > 0) { nbytes 386 drivers/staging/rtl8723bs/core/rtw_security.c nbytes--; nbytes 18 drivers/staging/speakup/devsynth.c size_t nbytes, loff_t *ppos) nbytes 20 drivers/staging/speakup/devsynth.c size_t count = nbytes; nbytes 38 drivers/staging/speakup/devsynth.c return (ssize_t)nbytes; nbytes 42 drivers/staging/speakup/devsynth.c size_t nbytes, loff_t *ppos) nbytes 520 drivers/staging/wilc1000/wilc_spi.c int nbytes; nbytes 523 drivers/staging/wilc1000/wilc_spi.c nbytes = sz; nbytes 525 drivers/staging/wilc1000/wilc_spi.c nbytes = DATA_PKT_SZ - ix; nbytes 530 drivers/staging/wilc1000/wilc_spi.c if (wilc_spi_rx(wilc, &b[ix], nbytes)) { nbytes 545 drivers/staging/wilc1000/wilc_spi.c ix += nbytes; nbytes 546 drivers/staging/wilc1000/wilc_spi.c sz -= nbytes; nbytes 554 drivers/staging/wilc1000/wilc_spi.c int nbytes; nbytes 557 drivers/staging/wilc1000/wilc_spi.c nbytes = sz; nbytes 559 drivers/staging/wilc1000/wilc_spi.c nbytes = DATA_PKT_SZ; nbytes 587 drivers/staging/wilc1000/wilc_spi.c if (wilc_spi_rx(wilc, &b[ix], nbytes)) { nbytes 604 drivers/staging/wilc1000/wilc_spi.c ix += nbytes; nbytes 605 drivers/staging/wilc1000/wilc_spi.c sz -= nbytes; nbytes 615 drivers/staging/wilc1000/wilc_spi.c int ix, nbytes; nbytes 625 drivers/staging/wilc1000/wilc_spi.c nbytes = sz; nbytes 628 drivers/staging/wilc1000/wilc_spi.c nbytes = DATA_PKT_SZ; nbytes 651 drivers/staging/wilc1000/wilc_spi.c if (wilc_spi_tx(wilc, &b[ix], nbytes)) { nbytes 672 drivers/staging/wilc1000/wilc_spi.c ix += nbytes; nbytes 673 drivers/staging/wilc1000/wilc_spi.c sz -= nbytes; nbytes 373 drivers/thunderbolt/dma_port.c u32 nbytes = min_t(u32, size, MAIL_DATA_DWORDS * 4); nbytes 377 drivers/thunderbolt/dma_port.c ALIGN(nbytes, 4)); nbytes 387 drivers/thunderbolt/dma_port.c memcpy(buf, dma->buf + offset, nbytes); nbytes 389 drivers/thunderbolt/dma_port.c size -= nbytes; nbytes 390 drivers/thunderbolt/dma_port.c address += nbytes; nbytes 391 drivers/thunderbolt/dma_port.c buf += nbytes; nbytes 424 drivers/thunderbolt/dma_port.c u32 nbytes = min_t(u32, size, MAIL_DATA_DWORDS * 4); nbytes 427 drivers/thunderbolt/dma_port.c memcpy(dma->buf + offset, buf, nbytes); nbytes 429 drivers/thunderbolt/dma_port.c ret = dma_port_flash_write_block(dma, address, buf, nbytes); nbytes 439 drivers/thunderbolt/dma_port.c size -= nbytes; nbytes 440 drivers/thunderbolt/dma_port.c address += nbytes; nbytes 441 drivers/thunderbolt/dma_port.c buf += nbytes; nbytes 469 drivers/usb/core/devices.c static ssize_t usb_device_dump(char __user **buffer, size_t *nbytes, nbytes 483 drivers/usb/core/devices.c if (*nbytes <= 0) nbytes 559 drivers/usb/core/devices.c if (length > *nbytes) nbytes 560 drivers/usb/core/devices.c length = *nbytes; nbytes 565 drivers/usb/core/devices.c *nbytes -= length; nbytes 578 drivers/usb/core/devices.c ret = usb_device_dump(buffer, nbytes, skip_bytes, nbytes 590 drivers/usb/core/devices.c size_t nbytes, loff_t *ppos) nbytes 599 drivers/usb/core/devices.c if (nbytes <= 0) nbytes 601 drivers/usb/core/devices.c if (!access_ok(buf, nbytes)) nbytes 611 drivers/usb/core/devices.c ret = usb_device_dump(&buf, &nbytes, &skip_bytes, ppos, nbytes 288 drivers/usb/core/devio.c static ssize_t usbdev_read(struct file *file, char __user *buf, size_t nbytes, nbytes 319 drivers/usb/core/devio.c if (len > nbytes) nbytes 320 drivers/usb/core/devio.c len = nbytes; nbytes 328 drivers/usb/core/devio.c nbytes -= len; nbytes 333 drivers/usb/core/devio.c for (i = 0; nbytes && i < dev->descriptor.bNumConfigurations; i++) { nbytes 346 drivers/usb/core/devio.c if (len > nbytes) nbytes 347 drivers/usb/core/devio.c len = nbytes; nbytes 362 drivers/usb/core/devio.c nbytes -= len; nbytes 44 drivers/usb/gadget/function/uvc_video.c unsigned int nbytes; nbytes 49 drivers/usb/gadget/function/uvc_video.c nbytes = min((unsigned int)len, buf->bytesused - queue->buf_used); nbytes 51 drivers/usb/gadget/function/uvc_video.c memcpy(data, mem, nbytes); nbytes 52 drivers/usb/gadget/function/uvc_video.c queue->buf_used += nbytes; nbytes 54 drivers/usb/gadget/function/uvc_video.c return nbytes; nbytes 84 drivers/usb/gadget/udc/atmel_usba_udc.c size_t nbytes, loff_t *ppos) nbytes 91 drivers/usb/gadget/udc/atmel_usba_udc.c if (!access_ok(buf, nbytes)) nbytes 107 drivers/usb/gadget/udc/atmel_usba_udc.c if (len > nbytes) nbytes 118 drivers/usb/gadget/udc/atmel_usba_udc.c nbytes -= len; nbytes 167 drivers/usb/gadget/udc/atmel_usba_udc.c size_t nbytes, loff_t *ppos) nbytes 173 drivers/usb/gadget/udc/atmel_usba_udc.c ret = simple_read_from_buffer(buf, nbytes, ppos, nbytes 593 drivers/usb/host/uhci-debug.c size_t nbytes, loff_t *ppos) nbytes 596 drivers/usb/host/uhci-debug.c return simple_read_from_buffer(buf, nbytes, ppos, up->data, up->size); nbytes 739 drivers/usb/mon/mon_bin.c void __user *data, unsigned int nbytes) nbytes 761 drivers/usb/mon/mon_bin.c step_len = min(ep->len_cap, nbytes); nbytes 801 drivers/usb/mon/mon_bin.c size_t nbytes, loff_t *ppos) nbytes 823 drivers/usb/mon/mon_bin.c step_len = min(nbytes, (size_t)(hdrbytes - rp->b_read)); nbytes 829 drivers/usb/mon/mon_bin.c nbytes -= step_len; nbytes 838 drivers/usb/mon/mon_bin.c if (step_len > nbytes) nbytes 839 drivers/usb/mon/mon_bin.c step_len = nbytes; nbytes 848 drivers/usb/mon/mon_bin.c nbytes -= step_len; nbytes 47 drivers/usb/mon/mon_stat.c size_t nbytes, loff_t *ppos) nbytes 51 drivers/usb/mon/mon_stat.c return simple_read_from_buffer(buf, nbytes, ppos, sp->str, sp->slen); nbytes 382 drivers/usb/mon/mon_text.c char __user * const buf, const size_t nbytes) nbytes 384 drivers/usb/mon/mon_text.c const size_t togo = min(nbytes, rp->printf_togo); nbytes 395 drivers/usb/mon/mon_text.c size_t nbytes, loff_t *ppos) nbytes 427 drivers/usb/mon/mon_text.c ret = mon_text_copy_to_user(rp, buf, nbytes); nbytes 434 drivers/usb/mon/mon_text.c size_t nbytes, loff_t *ppos) nbytes 475 drivers/usb/mon/mon_text.c ret = mon_text_copy_to_user(rp, buf, nbytes); nbytes 2000 drivers/usb/serial/ftdi_sio.c u16 nbytes) nbytes 2006 drivers/usb/serial/ftdi_sio.c if (nbytes % 2 != 0) nbytes 2010 drivers/usb/serial/ftdi_sio.c while (read < nbytes) { nbytes 104 drivers/vhost/vsock.c size_t nbytes; nbytes 169 drivers/vhost/vsock.c nbytes = copy_to_iter(&pkt->hdr, sizeof(pkt->hdr), &iov_iter); nbytes 170 drivers/vhost/vsock.c if (nbytes != sizeof(pkt->hdr)) { nbytes 176 drivers/vhost/vsock.c nbytes = copy_to_iter(pkt->buf + pkt->off, payload_len, nbytes 178 drivers/vhost/vsock.c if (nbytes != payload_len) { nbytes 320 drivers/vhost/vsock.c size_t nbytes; nbytes 335 drivers/vhost/vsock.c nbytes = copy_from_iter(&pkt->hdr, sizeof(pkt->hdr), &iov_iter); nbytes 336 drivers/vhost/vsock.c if (nbytes != sizeof(pkt->hdr)) { nbytes 338 drivers/vhost/vsock.c sizeof(pkt->hdr), nbytes); nbytes 364 drivers/vhost/vsock.c nbytes = copy_from_iter(pkt->buf, pkt->len, &iov_iter); nbytes 365 drivers/vhost/vsock.c if (nbytes != pkt->len) { nbytes 367 drivers/vhost/vsock.c pkt->len, nbytes); nbytes 1751 drivers/video/fbdev/intelfb/intelfbhw.c int nbytes, ndwords, pad, tmp; nbytes 1761 drivers/video/fbdev/intelfb/intelfbhw.c nbytes = ROUND_UP_TO(w, 16) / 8; nbytes 1764 drivers/video/fbdev/intelfb/intelfbhw.c nbytes = nbytes * h; nbytes 1770 drivers/video/fbdev/intelfb/intelfbhw.c if (nbytes > MAX_MONO_IMM_SIZE) nbytes 1774 drivers/video/fbdev/intelfb/intelfbhw.c ndwords = ROUND_UP_TO(nbytes, 4) / 4; nbytes 1113 drivers/video/fbdev/pxafb.c int nbytes, dma, pal, bpp = var->bits_per_pixel; nbytes 1119 drivers/video/fbdev/pxafb.c nbytes = fix->line_length * var->yres; nbytes 1123 drivers/video/fbdev/pxafb.c nbytes = nbytes / 2; nbytes 1124 drivers/video/fbdev/pxafb.c setup_frame_dma(fbi, dma + 1, PAL_NONE, offset + nbytes, nbytes); nbytes 1127 drivers/video/fbdev/pxafb.c setup_frame_dma(fbi, dma, pal, offset, nbytes); nbytes 256 drivers/visorbus/visorbus_main.c static DEVICE_ATTR_RO(nbytes); nbytes 368 drivers/visorbus/visorbus_main.c u64 nbytes = visorchannel_get_nbytes(vdev->visorchannel); nbytes 370 drivers/visorbus/visorbus_main.c return sprintf(buf, "0x%llx\n", nbytes); nbytes 569 drivers/visorbus/visorbus_main.c void *dest, unsigned long nbytes) nbytes 571 drivers/visorbus/visorbus_main.c return visorchannel_read(dev->visorchannel, offset, dest, nbytes); nbytes 588 drivers/visorbus/visorbus_main.c void *src, unsigned long nbytes) nbytes 590 drivers/visorbus/visorbus_main.c return visorchannel_write(dev->visorchannel, offset, src, nbytes); nbytes 36 drivers/visorbus/visorbus_private.h void *dest, ulong nbytes); nbytes 38 drivers/visorbus/visorbus_private.h void *dest, ulong nbytes); nbytes 30 drivers/visorbus/visorchannel.c ulong nbytes; nbytes 56 drivers/visorbus/visorchannel.c release_mem_region(channel->physaddr, channel->nbytes); nbytes 68 drivers/visorbus/visorchannel.c return channel->nbytes; nbytes 112 drivers/visorbus/visorchannel.c ulong nbytes) nbytes 114 drivers/visorbus/visorchannel.c if (offset + nbytes > channel->nbytes) nbytes 117 drivers/visorbus/visorchannel.c memcpy(dest, channel->mapped + offset, nbytes); nbytes 122 drivers/visorbus/visorchannel.c ulong nbytes) nbytes 127 drivers/visorbus/visorchannel.c if (offset + nbytes > channel->nbytes) nbytes 131 drivers/visorbus/visorchannel.c copy_size = min(chdr_size - offset, nbytes); nbytes 135 drivers/visorbus/visorchannel.c memcpy(channel->mapped + offset, dest, nbytes); nbytes 381 drivers/visorbus/visorchannel.c channel->nbytes = size; nbytes 388 drivers/visorbus/visorchannel.c release_mem_region(channel->physaddr, channel->nbytes); nbytes 400 drivers/visorbus/visorchannel.c channel->nbytes = size; nbytes 31 drivers/zorro/proc.c proc_bus_zorro_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) nbytes 39 drivers/zorro/proc.c if (nbytes >= sizeof(struct ConfigDev)) nbytes 40 drivers/zorro/proc.c nbytes = sizeof(struct ConfigDev); nbytes 41 drivers/zorro/proc.c if (pos + nbytes > sizeof(struct ConfigDev)) nbytes 42 drivers/zorro/proc.c nbytes = sizeof(struct ConfigDev) - pos; nbytes 52 drivers/zorro/proc.c if (copy_to_user(buf, (void *)&cd + pos, nbytes)) nbytes 54 drivers/zorro/proc.c *ppos += nbytes; nbytes 56 drivers/zorro/proc.c return nbytes; nbytes 632 fs/binfmt_misc.c bm_entry_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) nbytes 644 fs/binfmt_misc.c res = simple_read_from_buffer(buf, nbytes, ppos, page, strlen(page)); nbytes 773 fs/binfmt_misc.c bm_status_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) nbytes 777 fs/binfmt_misc.c return simple_read_from_buffer(buf, nbytes, ppos, s, strlen(s)); nbytes 1555 fs/btrfs/ctree.h BTRFS_SETGET_FUNCS(inode_nbytes, struct btrfs_inode_item, nbytes, 64); nbytes 1571 fs/btrfs/ctree.h nbytes, 64); nbytes 415 fs/btrfs/tree-log.c u64 nbytes; nbytes 420 fs/btrfs/tree-log.c nbytes = btrfs_inode_nbytes(path->nodes[0], item); nbytes 423 fs/btrfs/tree-log.c btrfs_set_inode_nbytes(eb, item, nbytes); nbytes 590 fs/btrfs/tree-log.c u64 nbytes = 0; nbytes 601 fs/btrfs/tree-log.c nbytes = btrfs_file_extent_num_bytes(eb, item); nbytes 602 fs/btrfs/tree-log.c extent_end = start + nbytes; nbytes 609 fs/btrfs/tree-log.c nbytes = 0; nbytes 612 fs/btrfs/tree-log.c nbytes = btrfs_file_extent_ram_bytes(eb, item); nbytes 833 fs/btrfs/tree-log.c inode_add_bytes(inode, nbytes); nbytes 435 fs/cifs/cifsproto.h unsigned int *nbytes, char **buf, nbytes 438 fs/cifs/cifsproto.h unsigned int *nbytes, const char *buf); nbytes 440 fs/cifs/cifsproto.h unsigned int *nbytes, struct kvec *iov, const int nvec); nbytes 1815 fs/cifs/cifssmb.c unsigned int *nbytes, char **buf, int *pbuf_type) nbytes 1842 fs/cifs/cifssmb.c *nbytes = 0; nbytes 1885 fs/cifs/cifssmb.c *nbytes = data_length; nbytes 1893 fs/cifs/cifssmb.c *nbytes = 0; nbytes 1925 fs/cifs/cifssmb.c unsigned int *nbytes, const char *buf) nbytes 1939 fs/cifs/cifssmb.c *nbytes = 0; nbytes 2023 fs/cifs/cifssmb.c *nbytes = le16_to_cpu(pSMBr->CountHigh); nbytes 2024 fs/cifs/cifssmb.c *nbytes = (*nbytes) << 16; nbytes 2025 fs/cifs/cifssmb.c *nbytes += le16_to_cpu(pSMBr->Count); nbytes 2032 fs/cifs/cifssmb.c if (*nbytes > count) nbytes 2033 fs/cifs/cifssmb.c *nbytes &= 0xFFFF; nbytes 2359 fs/cifs/cifssmb.c unsigned int *nbytes, struct kvec *iov, int n_vec) nbytes 2373 fs/cifs/cifssmb.c *nbytes = 0; nbytes 2441 fs/cifs/cifssmb.c *nbytes = le16_to_cpu(pSMBr->CountHigh); nbytes 2442 fs/cifs/cifssmb.c *nbytes = (*nbytes) << 16; nbytes 2443 fs/cifs/cifssmb.c *nbytes += le16_to_cpu(pSMBr->Count); nbytes 2450 fs/cifs/cifssmb.c if (*nbytes > count) nbytes 2451 fs/cifs/cifssmb.c *nbytes &= 0xFFFF; nbytes 3781 fs/cifs/smb2pdu.c unsigned int *nbytes, char **buf, int *buf_type) nbytes 3793 fs/cifs/smb2pdu.c *nbytes = 0; nbytes 3833 fs/cifs/smb2pdu.c *nbytes = le32_to_cpu(rsp->DataLength); nbytes 3834 fs/cifs/smb2pdu.c if ((*nbytes > CIFS_MAX_MSGSIZE) || nbytes 3835 fs/cifs/smb2pdu.c (*nbytes > io_parms->length)) { nbytes 3837 fs/cifs/smb2pdu.c *nbytes, io_parms->length); nbytes 3839 fs/cifs/smb2pdu.c *nbytes = 0; nbytes 3843 fs/cifs/smb2pdu.c memcpy(*buf, (char *)rsp + rsp->DataOffset, *nbytes); nbytes 4080 fs/cifs/smb2pdu.c unsigned int *nbytes, struct kvec *iov, int n_vec) nbytes 4091 fs/cifs/smb2pdu.c *nbytes = 0; nbytes 4144 fs/cifs/smb2pdu.c *nbytes = le32_to_cpu(rsp->DataLength); nbytes 4148 fs/cifs/smb2pdu.c io_parms->offset, *nbytes); nbytes 187 fs/cifs/smb2proto.h unsigned int *nbytes, char **buf, int *buf_type); nbytes 191 fs/cifs/smb2proto.h unsigned int *nbytes, struct kvec *iov, int n_vec); nbytes 83 fs/coda/coda_psdev.h size_t nbytes); nbytes 92 fs/coda/psdev.c size_t nbytes, loff_t *off) nbytes 103 fs/coda/psdev.c if (nbytes < (2 * sizeof(u_int32_t))) nbytes 114 fs/coda/psdev.c if ( nbytes < sizeof(struct coda_out_hdr) ) { nbytes 117 fs/coda/psdev.c count = nbytes; nbytes 120 fs/coda/psdev.c if ( nbytes > size ) { nbytes 123 fs/coda/psdev.c nbytes = size; nbytes 125 fs/coda/psdev.c dcbuf = kvmalloc(nbytes, GFP_KERNEL); nbytes 130 fs/coda/psdev.c if (copy_from_user(dcbuf, buf, nbytes)) { nbytes 137 fs/coda/psdev.c error = coda_downcall(vcp, hdr.opcode, dcbuf, nbytes); nbytes 146 fs/coda/psdev.c count = nbytes; nbytes 170 fs/coda/psdev.c if (req->uc_outSize < nbytes) { nbytes 172 fs/coda/psdev.c __func__, req->uc_outSize, (long)nbytes, nbytes 174 fs/coda/psdev.c nbytes = req->uc_outSize; /* don't have more space! */ nbytes 176 fs/coda/psdev.c if (copy_from_user(req->uc_data, buf, nbytes)) { nbytes 184 fs/coda/psdev.c req->uc_outSize = nbytes; nbytes 186 fs/coda/psdev.c count = nbytes; nbytes 209 fs/coda/psdev.c size_t nbytes, loff_t *off) nbytes 216 fs/coda/psdev.c if (nbytes == 0) nbytes 249 fs/coda/psdev.c if (nbytes < req->uc_inSize) { nbytes 251 fs/coda/psdev.c __func__, (long)nbytes, req->uc_inSize); nbytes 252 fs/coda/psdev.c count = nbytes; nbytes 855 fs/coda/upcall.c size_t nbytes) nbytes 867 fs/coda/upcall.c if (nbytes < sizeof(struct coda_purgeuser_out)) nbytes 872 fs/coda/upcall.c if (nbytes < sizeof(struct coda_zapdir_out)) nbytes 877 fs/coda/upcall.c if (nbytes < sizeof(struct coda_zapfile_out)) nbytes 882 fs/coda/upcall.c if (nbytes < sizeof(struct coda_purgefid_out)) nbytes 887 fs/coda/upcall.c if (nbytes < sizeof(struct coda_replace_out)) nbytes 129 fs/crypto/fname.c #define BASE64_CHARS(nbytes) DIV_ROUND_UP((nbytes) * 4, 3) nbytes 181 fs/fuse/dev.c unsigned nbytes = 0; nbytes 185 fs/fuse/dev.c nbytes += args[i].size; nbytes 187 fs/fuse/dev.c return nbytes; nbytes 948 fs/fuse/dev.c static int fuse_copy_pages(struct fuse_copy_state *cs, unsigned nbytes, nbytes 956 fs/fuse/dev.c for (i = 0; i < ap->num_pages && (nbytes || zeroing); i++) { nbytes 959 fs/fuse/dev.c unsigned int count = min(nbytes, ap->descs[i].length); nbytes 965 fs/fuse/dev.c nbytes -= count; nbytes 1023 fs/fuse/dev.c size_t nbytes, struct fuse_req *req) nbytes 1040 fs/fuse/dev.c if (nbytes < reqsize) nbytes 1076 fs/fuse/dev.c size_t nbytes) nbytes 1093 fs/fuse/dev.c if (nbytes < ih.len) nbytes 1108 fs/fuse/dev.c struct fuse_copy_state *cs, size_t nbytes) nbytes 1122 fs/fuse/dev.c if (nbytes < ih.len) { nbytes 1127 fs/fuse/dev.c max_forgets = (nbytes - ih.len) / sizeof(struct fuse_forget_one); nbytes 1158 fs/fuse/dev.c size_t nbytes) nbytes 1162 fs/fuse/dev.c return fuse_read_single_forget(fiq, cs, nbytes); nbytes 1164 fs/fuse/dev.c return fuse_read_batch_forget(fiq, cs, nbytes); nbytes 1177 fs/fuse/dev.c struct fuse_copy_state *cs, size_t nbytes) nbytes 1200 fs/fuse/dev.c if (nbytes < max_t(size_t, FUSE_MIN_READ_BUFFER, nbytes 1229 fs/fuse/dev.c return fuse_read_interrupt(fiq, cs, nbytes, req); nbytes 1234 fs/fuse/dev.c return fuse_read_forget(fc, fiq, cs, nbytes); nbytes 1249 fs/fuse/dev.c if (nbytes < reqsize) { nbytes 1796 fs/fuse/dev.c unsigned nbytes) nbytes 1802 fs/fuse/dev.c if (reqsize < nbytes || (reqsize > nbytes && !args->out_argvar)) nbytes 1804 fs/fuse/dev.c else if (reqsize > nbytes) { nbytes 1806 fs/fuse/dev.c unsigned diffsize = reqsize - nbytes; nbytes 1824 fs/fuse/dev.c struct fuse_copy_state *cs, size_t nbytes) nbytes 1833 fs/fuse/dev.c if (nbytes < sizeof(struct fuse_out_header)) nbytes 1841 fs/fuse/dev.c if (oh.len != nbytes) nbytes 1849 fs/fuse/dev.c err = fuse_notify(fc, oh.error, nbytes - sizeof(oh), cs); nbytes 1874 fs/fuse/dev.c if (nbytes != sizeof(struct fuse_out_header)) nbytes 1896 fs/fuse/dev.c err = nbytes != sizeof(oh) ? -EINVAL : 0; nbytes 1898 fs/fuse/dev.c err = copy_out_args(cs, req->args, nbytes); nbytes 1913 fs/fuse/dev.c return err ? err : nbytes; nbytes 1369 fs/fuse/file.c size_t nbytes = 0; /* # bytes already packed in req */ nbytes 1387 fs/fuse/file.c while (nbytes < *nbytesp && ap->num_pages < max_pages) { nbytes 1391 fs/fuse/file.c *nbytesp - nbytes, nbytes 1398 fs/fuse/file.c nbytes += ret; nbytes 1416 fs/fuse/file.c *nbytesp = nbytes; nbytes 1458 fs/fuse/file.c size_t nbytes = min(count, nmax); nbytes 1460 fs/fuse/file.c err = fuse_get_user_pages(&ia->ap, iter, &nbytes, write, nbytes 1462 fs/fuse/file.c if (err && !nbytes) nbytes 1469 fs/fuse/file.c nres = fuse_send_write(ia, pos, nbytes, owner); nbytes 1471 fs/fuse/file.c nres = fuse_send_read(ia, pos, nbytes, owner); nbytes 1480 fs/fuse/file.c iov_iter_revert(iter, nbytes); nbytes 1484 fs/fuse/file.c WARN_ON(nres > nbytes); nbytes 1489 fs/fuse/file.c if (nres != nbytes) { nbytes 1490 fs/fuse/file.c iov_iter_revert(iter, nbytes - nres); nbytes 124 fs/fuse/readdir.c static int parse_dirfile(char *buf, size_t nbytes, struct file *file, nbytes 127 fs/fuse/readdir.c while (nbytes >= FUSE_NAME_OFFSET) { nbytes 132 fs/fuse/readdir.c if (reclen > nbytes) nbytes 141 fs/fuse/readdir.c nbytes -= reclen; nbytes 273 fs/fuse/readdir.c static int parse_dirplusfile(char *buf, size_t nbytes, struct file *file, nbytes 282 fs/fuse/readdir.c while (nbytes >= FUSE_NAME_OFFSET_DIRENTPLUS) { nbytes 289 fs/fuse/readdir.c if (reclen > nbytes) nbytes 307 fs/fuse/readdir.c nbytes -= reclen; nbytes 388 fs/fuse/readdir.c unsigned int nbytes = size - offset; nbytes 391 fs/fuse/readdir.c if (nbytes < FUSE_NAME_OFFSET || !dirent->namelen) nbytes 398 fs/fuse/readdir.c if (WARN_ON(reclen > nbytes)) nbytes 770 fs/gfs2/quota.c unsigned pg_off, nbytes, overflow = 0; nbytes 774 fs/gfs2/quota.c nbytes = sizeof(struct gfs2_quota); nbytes 780 fs/gfs2/quota.c if ((pg_off + nbytes) > PAGE_SIZE) { nbytes 782 fs/gfs2/quota.c overflow = (pg_off + nbytes) - PAGE_SIZE; nbytes 787 fs/gfs2/quota.c nbytes - overflow); nbytes 791 fs/gfs2/quota.c ptr + nbytes - overflow, nbytes 356 fs/jfs/jfs_logmgr.c int nbytes; /* number of bytes to move */ nbytes 431 fs/jfs/jfs_logmgr.c nbytes = min(freespace, srclen); nbytes 433 fs/jfs/jfs_logmgr.c memcpy(dst, src, nbytes); nbytes 434 fs/jfs/jfs_logmgr.c dstoffset += nbytes; nbytes 447 fs/jfs/jfs_logmgr.c srclen -= nbytes; nbytes 448 fs/jfs/jfs_logmgr.c src += nbytes; nbytes 479 fs/jfs/jfs_logmgr.c nbytes = min(freespace, srclen); nbytes 481 fs/jfs/jfs_logmgr.c memcpy(dst, src, nbytes); nbytes 483 fs/jfs/jfs_logmgr.c dstoffset += nbytes; nbytes 484 fs/jfs/jfs_logmgr.c srclen -= nbytes; nbytes 542 fs/jfs/jfs_logmgr.c src += nbytes; nbytes 2562 fs/jfs/jfs_xtree.c s64 offset, nbytes, nbrd, pno; nbytes 2661 fs/jfs/jfs_xtree.c nbytes = xlen << JFS_SBI(ip->i_sb)->l2bsize; nbytes 2663 fs/jfs/jfs_xtree.c npages = (nbytes + (CM_BSIZE - 1)) >> CM_L2BSIZE; nbytes 2672 fs/jfs/jfs_xtree.c for (nbrd = 0; nbrd < nbytes; nbrd += nb, nbytes 2675 fs/jfs/jfs_xtree.c nb = min(nbytes - nbrd, CM_BSIZE); nbytes 211 fs/jfs/xattr.c s32 nbytes, nb; nbytes 245 fs/jfs/xattr.c nbytes = size; nbytes 251 fs/jfs/xattr.c nb = min(PSIZE, nbytes); nbytes 284 fs/jfs/xattr.c nbytes -= nb; nbytes 360 fs/jfs/xattr.c int nbytes, nb; nbytes 368 fs/jfs/xattr.c nbytes = sizeDXD(&ji->ea); nbytes 369 fs/jfs/xattr.c if (!nbytes) { nbytes 391 fs/jfs/xattr.c nb = min(PSIZE, nbytes); nbytes 403 fs/jfs/xattr.c nbytes -= nb; nbytes 537 fs/nfs/nfs3xdr.c u32 nbytes; nbytes 546 fs/nfs/nfs3xdr.c nbytes = 6 * 4; nbytes 548 fs/nfs/nfs3xdr.c nbytes += 4; nbytes 550 fs/nfs/nfs3xdr.c nbytes += 4; nbytes 552 fs/nfs/nfs3xdr.c nbytes += 4; nbytes 554 fs/nfs/nfs3xdr.c nbytes += 8; nbytes 556 fs/nfs/nfs3xdr.c nbytes += 8; nbytes 558 fs/nfs/nfs3xdr.c nbytes += 8; nbytes 559 fs/nfs/nfs3xdr.c p = xdr_reserve_space(xdr, nbytes); nbytes 952 fs/nfs/nfs4xdr.c static __be32 *reserve_space(struct xdr_stream *xdr, size_t nbytes) nbytes 954 fs/nfs/nfs4xdr.c __be32 *p = xdr_reserve_space(xdr, nbytes); nbytes 66 fs/nfs/pnfs_dev.c unsigned int nbytes = NFS4_DEVICEID4_SIZE; nbytes 69 fs/nfs/pnfs_dev.c while (nbytes--) { nbytes 402 fs/nfsd/nfs4state.c opaque_hashval(const void *ptr, int nbytes) nbytes 407 fs/nfsd/nfs4state.c while (nbytes--) { nbytes 111 fs/nfsd/nfs4xdr.c #define READMEM(x,nbytes) do { \ nbytes 113 fs/nfsd/nfs4xdr.c p += XDR_QUADLEN(nbytes); \ nbytes 115 fs/nfsd/nfs4xdr.c #define SAVEMEM(x,nbytes) do { \ nbytes 117 fs/nfsd/nfs4xdr.c savemem(argp, p, nbytes) : \ nbytes 123 fs/nfsd/nfs4xdr.c p += XDR_QUADLEN(nbytes); \ nbytes 125 fs/nfsd/nfs4xdr.c #define COPYMEM(x,nbytes) do { \ nbytes 126 fs/nfsd/nfs4xdr.c memcpy((x), p, nbytes); \ nbytes 127 fs/nfsd/nfs4xdr.c p += XDR_QUADLEN(nbytes); \ nbytes 131 fs/nfsd/nfs4xdr.c #define READ_BUF(nbytes) do { \ nbytes 132 fs/nfsd/nfs4xdr.c if (nbytes <= (u32)((char *)argp->end - (char *)argp->p)) { \ nbytes 134 fs/nfsd/nfs4xdr.c argp->p += XDR_QUADLEN(nbytes); \ nbytes 135 fs/nfsd/nfs4xdr.c } else if (!(p = read_buf(argp, nbytes))) { \ nbytes 155 fs/nfsd/nfs4xdr.c static __be32 *read_buf(struct nfsd4_compoundargs *argp, u32 nbytes) nbytes 173 fs/nfsd/nfs4xdr.c if (avail < nbytes) nbytes 177 fs/nfsd/nfs4xdr.c argp->p += XDR_QUADLEN(nbytes); nbytes 181 fs/nfsd/nfs4xdr.c if (avail + argp->pagelen < nbytes) nbytes 183 fs/nfsd/nfs4xdr.c if (avail + PAGE_SIZE < nbytes) /* need more than a page !! */ nbytes 186 fs/nfsd/nfs4xdr.c if (nbytes <= sizeof(argp->tmp)) nbytes 190 fs/nfsd/nfs4xdr.c p = argp->tmpp = kmalloc(nbytes, GFP_KERNEL); nbytes 202 fs/nfsd/nfs4xdr.c memcpy(((char*)p)+avail, argp->p, (nbytes - avail)); nbytes 203 fs/nfsd/nfs4xdr.c argp->p += XDR_QUADLEN(nbytes - avail); nbytes 269 fs/nfsd/nfs4xdr.c static char *savemem(struct nfsd4_compoundargs *argp, __be32 *p, int nbytes) nbytes 273 fs/nfsd/nfs4xdr.c ret = svcxdr_tmpalloc(argp, nbytes); nbytes 276 fs/nfsd/nfs4xdr.c memcpy(ret, p, nbytes); nbytes 1356 fs/ocfs2/cluster/heartbeat.c size_t nbytes, loff_t *ppos) nbytes 1358 fs/ocfs2/cluster/heartbeat.c return simple_read_from_buffer(buf, nbytes, ppos, file->private_data, nbytes 1371 fs/ocfs2/cluster/heartbeat.c size_t nbytes, loff_t *ppos) nbytes 474 fs/ocfs2/cluster/netdebug.c size_t nbytes, loff_t *ppos) nbytes 476 fs/ocfs2/cluster/netdebug.c return simple_read_from_buffer(buf, nbytes, ppos, file->private_data, nbytes 342 fs/ocfs2/dlm/dlmdebug.c size_t nbytes, loff_t *ppos) nbytes 344 fs/ocfs2/dlm/dlmdebug.c return simple_read_from_buffer(buf, nbytes, ppos, file->private_data, nbytes 367 fs/ocfs2/super.c size_t nbytes, loff_t *ppos) nbytes 369 fs/ocfs2/super.c return simple_read_from_buffer(buf, nbytes, ppos, file->private_data, nbytes 382 fs/ocfs2/super.c size_t nbytes, loff_t *ppos) nbytes 237 fs/sync.c int sync_file_range(struct file *file, loff_t offset, loff_t nbytes, nbytes 249 fs/sync.c endbyte = offset + nbytes; nbytes 271 fs/sync.c nbytes = 0; nbytes 275 fs/sync.c if (nbytes == 0) nbytes 364 fs/sync.c int ksys_sync_file_range(int fd, loff_t offset, loff_t nbytes, nbytes 373 fs/sync.c ret = sync_file_range(f.file, offset, nbytes, flags); nbytes 379 fs/sync.c SYSCALL_DEFINE4(sync_file_range, int, fd, loff_t, offset, loff_t, nbytes, nbytes 382 fs/sync.c return ksys_sync_file_range(fd, offset, nbytes, flags); nbytes 388 fs/sync.c loff_t, offset, loff_t, nbytes) nbytes 390 fs/sync.c return ksys_sync_file_range(fd, offset, nbytes, flags); nbytes 423 fs/xfs/libxfs/xfs_dir2_sf.c int nbytes; /* temp for byte copies */ nbytes 473 fs/xfs/libxfs/xfs_dir2_sf.c nbytes = (int)((char *)oldsfep - (char *)oldsfp); nbytes 474 fs/xfs/libxfs/xfs_dir2_sf.c memcpy(sfp, oldsfp, nbytes); nbytes 475 fs/xfs/libxfs/xfs_dir2_sf.c sfep = (xfs_dir2_sf_entry_t *)((char *)sfp + nbytes); nbytes 492 fs/xfs/libxfs/xfs_dir2_sf.c memcpy(sfep, oldsfep, old_isize - nbytes); nbytes 64 fs/xfs/xfs_bmap_item.c int *nbytes) nbytes 69 fs/xfs/xfs_bmap_item.c *nbytes += xfs_bui_log_format_sizeof(buip->bui_format.bui_nextents); nbytes 164 fs/xfs/xfs_bmap_item.c int *nbytes) nbytes 167 fs/xfs/xfs_bmap_item.c *nbytes += sizeof(struct xfs_bud_log_format); nbytes 343 fs/xfs/xfs_buf.c size_t nbytes, offset; nbytes 431 fs/xfs/xfs_buf.c nbytes = min_t(size_t, size, PAGE_SIZE - offset); nbytes 432 fs/xfs/xfs_buf.c size -= nbytes; nbytes 1303 fs/xfs/xfs_buf.c int rbytes, nbytes = PAGE_SIZE - offset; nbytes 1305 fs/xfs/xfs_buf.c if (nbytes > size) nbytes 1306 fs/xfs/xfs_buf.c nbytes = size; nbytes 1308 fs/xfs/xfs_buf.c rbytes = bio_add_page(bio, bp->b_pages[page_index], nbytes, nbytes 1310 fs/xfs/xfs_buf.c if (rbytes < nbytes) nbytes 1314 fs/xfs/xfs_buf.c sector += BTOBB(nbytes); nbytes 1315 fs/xfs/xfs_buf.c size -= nbytes; nbytes 53 fs/xfs/xfs_buf_item.c int *nbytes) nbytes 68 fs/xfs/xfs_buf_item.c *nbytes += xfs_buf_log_format_size(blfp) + XFS_BLF_CHUNK; nbytes 97 fs/xfs/xfs_buf_item.c *nbytes += XFS_BLF_CHUNK; nbytes 122 fs/xfs/xfs_buf_item.c int *nbytes) nbytes 138 fs/xfs/xfs_buf_item.c *nbytes += xfs_buf_log_format_size(&bip->bli_formats[i]); nbytes 167 fs/xfs/xfs_buf_item.c nvecs, nbytes); nbytes 33 fs/xfs/xfs_dquot_item.c int *nbytes) nbytes 36 fs/xfs/xfs_dquot_item.c *nbytes += sizeof(struct xfs_dq_logformat) + nbytes 269 fs/xfs/xfs_dquot_item.c int *nbytes) nbytes 272 fs/xfs/xfs_dquot_item.c *nbytes += sizeof(struct xfs_qoff_logitem); nbytes 80 fs/xfs/xfs_extfree_item.c int *nbytes) nbytes 83 fs/xfs/xfs_extfree_item.c *nbytes += xfs_efi_item_sizeof(EFI_ITEM(lip)); nbytes 266 fs/xfs/xfs_extfree_item.c int *nbytes) nbytes 269 fs/xfs/xfs_extfree_item.c *nbytes += xfs_efd_item_sizeof(EFD_ITEM(lip)); nbytes 31 fs/xfs/xfs_icreate_item.c int *nbytes) nbytes 34 fs/xfs/xfs_icreate_item.c *nbytes += sizeof(struct xfs_icreate_log); nbytes 34 fs/xfs/xfs_inode_item.c int *nbytes) nbytes 44 fs/xfs/xfs_inode_item.c *nbytes += XFS_IFORK_DSIZE(ip); nbytes 51 fs/xfs/xfs_inode_item.c *nbytes += ip->i_df.if_broot_bytes; nbytes 58 fs/xfs/xfs_inode_item.c *nbytes += roundup(ip->i_df.if_bytes, 4); nbytes 75 fs/xfs/xfs_inode_item.c int *nbytes) nbytes 85 fs/xfs/xfs_inode_item.c *nbytes += XFS_IFORK_ASIZE(ip); nbytes 92 fs/xfs/xfs_inode_item.c *nbytes += ip->i_afp->if_broot_bytes; nbytes 99 fs/xfs/xfs_inode_item.c *nbytes += roundup(ip->i_afp->if_bytes, 4); nbytes 120 fs/xfs/xfs_inode_item.c int *nbytes) nbytes 126 fs/xfs/xfs_inode_item.c *nbytes += sizeof(struct xfs_inode_log_format) + nbytes 129 fs/xfs/xfs_inode_item.c xfs_inode_item_data_fork_size(iip, nvecs, nbytes); nbytes 131 fs/xfs/xfs_inode_item.c xfs_inode_item_attr_fork_size(iip, nvecs, nbytes); nbytes 134 fs/xfs/xfs_log_cil.c int nbytes = 0; nbytes 143 fs/xfs/xfs_log_cil.c lip->li_ops->iop_size(lip, &niovecs, &nbytes); nbytes 153 fs/xfs/xfs_log_cil.c nbytes = 0; nbytes 163 fs/xfs/xfs_log_cil.c nbytes += niovecs * sizeof(uint64_t); nbytes 164 fs/xfs/xfs_log_cil.c nbytes = round_up(nbytes, sizeof(uint64_t)); nbytes 171 fs/xfs/xfs_log_cil.c buf_size = nbytes + xlog_cil_iovec_space(niovecs); nbytes 63 fs/xfs/xfs_refcount_item.c int *nbytes) nbytes 68 fs/xfs/xfs_refcount_item.c *nbytes += xfs_cui_log_format_sizeof(cuip->cui_format.cui_nextents); nbytes 169 fs/xfs/xfs_refcount_item.c int *nbytes) nbytes 172 fs/xfs/xfs_refcount_item.c *nbytes += sizeof(struct xfs_cud_log_format); nbytes 62 fs/xfs/xfs_rmap_item.c int *nbytes) nbytes 67 fs/xfs/xfs_rmap_item.c *nbytes += xfs_rui_log_format_sizeof(ruip->rui_format.rui_nextents); nbytes 190 fs/xfs/xfs_rmap_item.c int *nbytes) nbytes 193 fs/xfs/xfs_rmap_item.c *nbytes += sizeof(struct xfs_rud_log_format); nbytes 102 include/crypto/algapi.h unsigned int nbytes; nbytes 125 include/crypto/algapi.h unsigned int nbytes; nbytes 325 include/crypto/algapi.h unsigned int nbytes) nbytes 329 include/crypto/algapi.h walk->total = nbytes; nbytes 335 include/crypto/algapi.h unsigned int nbytes) nbytes 339 include/crypto/algapi.h walk->total = nbytes; nbytes 20 include/crypto/cbc.h unsigned int nbytes = walk->nbytes; nbytes 32 include/crypto/cbc.h } while ((nbytes -= bsize) >= bsize); nbytes 34 include/crypto/cbc.h return nbytes; nbytes 42 include/crypto/cbc.h unsigned int nbytes = walk->nbytes; nbytes 52 include/crypto/cbc.h } while ((nbytes -= bsize) >= bsize); nbytes 56 include/crypto/cbc.h return nbytes; nbytes 69 include/crypto/cbc.h while (walk.nbytes) { nbytes 85 include/crypto/cbc.h unsigned int nbytes = walk->nbytes; nbytes 97 include/crypto/cbc.h } while ((nbytes -= bsize) >= bsize); nbytes 101 include/crypto/cbc.h return nbytes; nbytes 109 include/crypto/cbc.h unsigned int nbytes = walk->nbytes; nbytes 114 include/crypto/cbc.h src += nbytes - (nbytes & (bsize - 1)) - bsize; nbytes 119 include/crypto/cbc.h if ((nbytes -= bsize) < bsize) nbytes 128 include/crypto/cbc.h return nbytes; nbytes 36 include/crypto/ctr.h while (walk.nbytes > 0) { nbytes 39 include/crypto/ctr.h int nbytes = walk.nbytes; nbytes 42 include/crypto/ctr.h if (nbytes < walk.total) { nbytes 43 include/crypto/ctr.h tail = walk.nbytes & (blocksize - 1); nbytes 44 include/crypto/ctr.h nbytes -= tail; nbytes 48 include/crypto/ctr.h int bsize = min(nbytes, blocksize); nbytes 57 include/crypto/ctr.h nbytes -= bsize; nbytes 58 include/crypto/ctr.h } while (nbytes > 0); nbytes 52 include/crypto/hash.h unsigned int nbytes; nbytes 530 include/crypto/hash.h unsigned int nbytes = req->nbytes; nbytes 535 include/crypto/hash.h crypto_stats_ahash_update(nbytes, ret, alg); nbytes 661 include/crypto/hash.h unsigned int nbytes) nbytes 664 include/crypto/hash.h req->nbytes = nbytes; nbytes 48 include/crypto/internal/skcipher.h unsigned int nbytes; nbytes 36 include/crypto/scatterwalk.h unsigned int nbytes) nbytes 39 include/crypto/scatterwalk.h return nbytes > len_this_page ? len_this_page : nbytes; nbytes 43 include/crypto/scatterwalk.h unsigned int nbytes) nbytes 45 include/crypto/scatterwalk.h walk->offset += nbytes; nbytes 105 include/crypto/scatterwalk.h size_t nbytes, int out); nbytes 109 include/crypto/scatterwalk.h unsigned int start, unsigned int nbytes, int out); nbytes 13 include/linux/adb.h int nbytes; nbytes 56 include/linux/adb.h int flags, int nbytes, ...); nbytes 615 include/linux/cgroup-defs.h char *buf, size_t nbytes, loff_t off); nbytes 99 include/linux/crc8.h u8 crc8(const u8 table[CRC8_TABLE_SIZE], u8 *pdata, size_t nbytes, u8 crc); nbytes 169 include/linux/crypto.h unsigned int nbytes; nbytes 259 include/linux/crypto.h unsigned int nbytes); nbytes 262 include/linux/crypto.h unsigned int nbytes); nbytes 597 include/linux/crypto.h void crypto_stats_ablkcipher_encrypt(unsigned int nbytes, int ret, struct crypto_alg *alg); nbytes 598 include/linux/crypto.h void crypto_stats_ablkcipher_decrypt(unsigned int nbytes, int ret, struct crypto_alg *alg); nbytes 601 include/linux/crypto.h void crypto_stats_ahash_update(unsigned int nbytes, int ret, struct crypto_alg *alg); nbytes 602 include/linux/crypto.h void crypto_stats_ahash_final(unsigned int nbytes, int ret, struct crypto_alg *alg); nbytes 621 include/linux/crypto.h static inline void crypto_stats_ablkcipher_encrypt(unsigned int nbytes, int ret, struct crypto_alg *alg) nbytes 623 include/linux/crypto.h static inline void crypto_stats_ablkcipher_decrypt(unsigned int nbytes, int ret, struct crypto_alg *alg) nbytes 629 include/linux/crypto.h static inline void crypto_stats_ahash_update(unsigned int nbytes, int ret, struct crypto_alg *alg) nbytes 631 include/linux/crypto.h static inline void crypto_stats_ahash_final(unsigned int nbytes, int ret, struct crypto_alg *alg) nbytes 735 include/linux/crypto.h struct scatterlist *src, unsigned int nbytes); nbytes 737 include/linux/crypto.h struct scatterlist *src, unsigned int nbytes); nbytes 1094 include/linux/crypto.h unsigned int nbytes = req->nbytes; nbytes 1099 include/linux/crypto.h crypto_stats_ablkcipher_encrypt(nbytes, ret, alg); nbytes 1119 include/linux/crypto.h unsigned int nbytes = req->nbytes; nbytes 1124 include/linux/crypto.h crypto_stats_ablkcipher_decrypt(nbytes, ret, alg); nbytes 1258 include/linux/crypto.h unsigned int nbytes, void *iv) nbytes 1262 include/linux/crypto.h req->nbytes = nbytes; nbytes 1487 include/linux/crypto.h unsigned int nbytes) nbytes 1490 include/linux/crypto.h return crypto_blkcipher_crt(desc->tfm)->encrypt(desc, dst, src, nbytes); nbytes 1515 include/linux/crypto.h unsigned int nbytes) nbytes 1517 include/linux/crypto.h return crypto_blkcipher_crt(desc->tfm)->encrypt(desc, dst, src, nbytes); nbytes 1540 include/linux/crypto.h unsigned int nbytes) nbytes 1543 include/linux/crypto.h return crypto_blkcipher_crt(desc->tfm)->decrypt(desc, dst, src, nbytes); nbytes 1565 include/linux/crypto.h unsigned int nbytes) nbytes 1567 include/linux/crypto.h return crypto_blkcipher_crt(desc->tfm)->decrypt(desc, dst, src, nbytes); nbytes 17 include/linux/cuda.h void (*done)(struct adb_request *), int nbytes, ...); nbytes 2850 include/linux/fs.h extern int sync_file_range(struct file *file, loff_t offset, loff_t nbytes, nbytes 347 include/linux/ide.h unsigned int nbytes; nbytes 633 include/linux/libata.h unsigned int nbytes; nbytes 1692 include/linux/libata.h return qc->nbytes - min(qc->extrabytes, qc->nbytes); nbytes 1717 include/linux/libata.h qc->nbytes = qc->extrabytes = qc->curbytes = 0; nbytes 50 include/linux/mpi.h MPI mpi_read_raw_data(const void *xbuffer, size_t nbytes); nbytes 53 include/linux/mpi.h void *mpi_get_buffer(MPI a, unsigned *nbytes, int *sign); nbytes 54 include/linux/mpi.h int mpi_read_buffer(MPI a, uint8_t *buf, unsigned buf_len, unsigned *nbytes, nbytes 56 include/linux/mpi.h int mpi_write_to_sgl(MPI a, struct scatterlist *sg, unsigned nbytes, nbytes 350 include/linux/mtd/mtd.h const u8 *oobbuf, int start, int nbytes); nbytes 352 include/linux/mtd/mtd.h u8 *oobbuf, int start, int nbytes); nbytes 356 include/linux/mtd/mtd.h const u8 *oobbuf, int start, int nbytes); nbytes 358 include/linux/mtd/mtd.h u8 *oobbuf, int start, int nbytes); nbytes 286 include/linux/net.h #define net_get_random_once(buf, nbytes) \ nbytes 287 include/linux/net.h get_random_once((buf), (nbytes)) nbytes 288 include/linux/net.h #define net_get_random_once_wait(buf, nbytes) \ nbytes 289 include/linux/net.h get_random_once_wait((buf), (nbytes)) nbytes 55 include/linux/once.h #define get_random_once(buf, nbytes) \ nbytes 56 include/linux/once.h DO_ONCE(get_random_bytes, (buf), (nbytes)) nbytes 57 include/linux/once.h #define get_random_once_wait(buf, nbytes) \ nbytes 58 include/linux/once.h DO_ONCE(get_random_bytes_wait, (buf), (nbytes)) \ nbytes 19 include/linux/pmu.h void (*done)(struct adb_request *), int nbytes, ...); nbytes 33 include/linux/psi.h char *buf, size_t nbytes, enum psi_res res); nbytes 882 include/linux/qed/common_hsi.h __le16 nbytes; nbytes 376 include/linux/qed/eth_common.h __le16 nbytes; nbytes 383 include/linux/qed/eth_common.h __le16 nbytes; nbytes 406 include/linux/qed/eth_common.h __le16 nbytes; nbytes 426 include/linux/qed/eth_common.h __le16 nbytes; nbytes 663 include/linux/qed/qed_rdma_if.h u16 nbytes); nbytes 38 include/linux/random.h extern void get_random_bytes(void *buf, int nbytes); nbytes 44 include/linux/random.h extern int __must_check get_random_bytes_arch(void *buf, int nbytes); nbytes 88 include/linux/random.h static inline int get_random_bytes_wait(void *buf, int nbytes) nbytes 91 include/linux/random.h get_random_bytes(buf, nbytes); nbytes 112 include/linux/random.h void prandom_bytes(void *buf, size_t nbytes); nbytes 121 include/linux/random.h void prandom_bytes_state(struct rnd_state *state, void *buf, size_t nbytes); nbytes 24 include/linux/spi/spi-mem.h .nbytes = __nbytes, \ nbytes 33 include/linux/spi/spi-mem.h .nbytes = __nbytes, \ nbytes 42 include/linux/spi/spi-mem.h .nbytes = __nbytes, \ nbytes 50 include/linux/spi/spi-mem.h .nbytes = __nbytes, \ nbytes 98 include/linux/spi/spi-mem.h u8 nbytes; nbytes 104 include/linux/spi/spi-mem.h u8 nbytes; nbytes 111 include/linux/spi/spi-mem.h unsigned int nbytes; nbytes 253 include/linux/sunrpc/xdr.h extern __be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes); nbytes 265 include/linux/sunrpc/xdr.h extern __be32 *xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes); nbytes 527 include/linux/syscalls.h loff_t offset, loff_t nbytes); nbytes 528 include/linux/syscalls.h asmlinkage long sys_sync_file_range(int fd, loff_t offset, loff_t nbytes, nbytes 1251 include/linux/syscalls.h int ksys_sync_file_range(int fd, loff_t offset, loff_t nbytes, nbytes 327 include/linux/visorbus.h unsigned long nbytes); nbytes 330 include/linux/visorbus.h unsigned long nbytes); nbytes 611 include/soc/tegra/bpmp-abi.h uint32_t nbytes; nbytes 622 include/soc/tegra/bpmp-abi.h uint32_t nbytes; nbytes 194 include/trace/events/random.h TP_PROTO(int nbytes, unsigned long IP), nbytes 196 include/trace/events/random.h TP_ARGS(nbytes, IP), nbytes 199 include/trace/events/random.h __field( int, nbytes ) nbytes 204 include/trace/events/random.h __entry->nbytes = nbytes; nbytes 208 include/trace/events/random.h TP_printk("nbytes %d caller %pS", __entry->nbytes, (void *)__entry->IP) nbytes 212 include/trace/events/random.h TP_PROTO(int nbytes, unsigned long IP), nbytes 214 include/trace/events/random.h TP_ARGS(nbytes, IP) nbytes 218 include/trace/events/random.h TP_PROTO(int nbytes, unsigned long IP), nbytes 220 include/trace/events/random.h TP_ARGS(nbytes, IP) nbytes 224 include/trace/events/random.h TP_PROTO(const char *pool_name, int nbytes, int entropy_count, nbytes 227 include/trace/events/random.h TP_ARGS(pool_name, nbytes, entropy_count, IP), nbytes 231 include/trace/events/random.h __field( int, nbytes ) nbytes 238 include/trace/events/random.h __entry->nbytes = nbytes; nbytes 244 include/trace/events/random.h __entry->pool_name, __entry->nbytes, __entry->entropy_count, nbytes 250 include/trace/events/random.h TP_PROTO(const char *pool_name, int nbytes, int entropy_count, nbytes 253 include/trace/events/random.h TP_ARGS(pool_name, nbytes, entropy_count, IP) nbytes 257 include/trace/events/random.h TP_PROTO(const char *pool_name, int nbytes, int entropy_count, nbytes 260 include/trace/events/random.h TP_ARGS(pool_name, nbytes, entropy_count, IP) nbytes 565 include/uapi/linux/btrfs_tree.h __le64 nbytes; nbytes 492 kernel/cgroup/cgroup-v1.c char *buf, size_t nbytes, loff_t off, nbytes 530 kernel/cgroup/cgroup-v1.c return ret ?: nbytes; nbytes 534 kernel/cgroup/cgroup-v1.c char *buf, size_t nbytes, loff_t off) nbytes 536 kernel/cgroup/cgroup-v1.c return __cgroup1_procs_write(of, buf, nbytes, off, true); nbytes 540 kernel/cgroup/cgroup-v1.c char *buf, size_t nbytes, loff_t off) nbytes 542 kernel/cgroup/cgroup-v1.c return __cgroup1_procs_write(of, buf, nbytes, off, false); nbytes 546 kernel/cgroup/cgroup-v1.c char *buf, size_t nbytes, loff_t off) nbytes 560 kernel/cgroup/cgroup-v1.c return nbytes; nbytes 3275 kernel/cgroup/cgroup.c char *buf, size_t nbytes, nbytes 3366 kernel/cgroup/cgroup.c return ret ?: nbytes; nbytes 3442 kernel/cgroup/cgroup.c size_t nbytes, loff_t off) nbytes 3460 kernel/cgroup/cgroup.c return ret ?: nbytes; nbytes 3477 kernel/cgroup/cgroup.c char *buf, size_t nbytes, loff_t off) nbytes 3503 kernel/cgroup/cgroup.c return nbytes; nbytes 3520 kernel/cgroup/cgroup.c char *buf, size_t nbytes, loff_t off) nbytes 3546 kernel/cgroup/cgroup.c return nbytes; nbytes 3626 kernel/cgroup/cgroup.c size_t nbytes, enum psi_res res) nbytes 3638 kernel/cgroup/cgroup.c new = psi_trigger_create(&cgrp->psi, buf, nbytes, res); nbytes 3648 kernel/cgroup/cgroup.c return nbytes; nbytes 3652 kernel/cgroup/cgroup.c char *buf, size_t nbytes, nbytes 3655 kernel/cgroup/cgroup.c return cgroup_pressure_write(of, buf, nbytes, PSI_IO); nbytes 3659 kernel/cgroup/cgroup.c char *buf, size_t nbytes, nbytes 3662 kernel/cgroup/cgroup.c return cgroup_pressure_write(of, buf, nbytes, PSI_MEM); nbytes 3666 kernel/cgroup/cgroup.c char *buf, size_t nbytes, nbytes 3669 kernel/cgroup/cgroup.c return cgroup_pressure_write(of, buf, nbytes, PSI_CPU); nbytes 3694 kernel/cgroup/cgroup.c char *buf, size_t nbytes, loff_t off) nbytes 3715 kernel/cgroup/cgroup.c return nbytes; nbytes 3736 kernel/cgroup/cgroup.c size_t nbytes, loff_t off) nbytes 3756 kernel/cgroup/cgroup.c return cft->write(of, buf, nbytes, off); nbytes 3782 kernel/cgroup/cgroup.c return ret ?: nbytes; nbytes 4767 kernel/cgroup/cgroup.c char *buf, size_t nbytes, loff_t off) nbytes 4799 kernel/cgroup/cgroup.c return ret ?: nbytes; nbytes 4808 kernel/cgroup/cgroup.c char *buf, size_t nbytes, loff_t off) nbytes 4848 kernel/cgroup/cgroup.c return ret ?: nbytes; nbytes 2332 kernel/cgroup/cpuset.c char *buf, size_t nbytes, loff_t off) nbytes 2393 kernel/cgroup/cpuset.c return retval ?: nbytes; nbytes 2501 kernel/cgroup/cpuset.c size_t nbytes, loff_t off) nbytes 2530 kernel/cgroup/cpuset.c return retval ?: nbytes; nbytes 420 kernel/cgroup/legacy_freezer.c char *buf, size_t nbytes, loff_t off) nbytes 434 kernel/cgroup/legacy_freezer.c return nbytes; nbytes 256 kernel/cgroup/pids.c size_t nbytes, loff_t off) nbytes 282 kernel/cgroup/pids.c return nbytes; nbytes 426 kernel/cgroup/rdma.c char *buf, size_t nbytes, loff_t off) nbytes 489 kernel/cgroup/rdma.c return ret ?: nbytes; nbytes 798 kernel/events/uprobes.c void *insn, int nbytes, loff_t offset) nbytes 813 kernel/events/uprobes.c copy_from_page(page, offset, insn, nbytes); nbytes 7272 kernel/sched/core.c size_t nbytes, loff_t off, nbytes 7301 kernel/sched/core.c return nbytes; nbytes 7305 kernel/sched/core.c char *buf, size_t nbytes, nbytes 7308 kernel/sched/core.c return cpu_uclamp_write(of, buf, nbytes, off, UCLAMP_MIN); nbytes 7312 kernel/sched/core.c char *buf, size_t nbytes, nbytes 7315 kernel/sched/core.c return cpu_uclamp_write(of, buf, nbytes, off, UCLAMP_MAX); nbytes 7843 kernel/sched/core.c char *buf, size_t nbytes, loff_t off) nbytes 7853 kernel/sched/core.c return ret ?: nbytes; nbytes 1008 kernel/sched/psi.c char *buf, size_t nbytes, enum psi_res res) nbytes 1192 kernel/sched/psi.c size_t nbytes, enum psi_res res) nbytes 1202 kernel/sched/psi.c if (!nbytes) nbytes 1205 kernel/sched/psi.c buf_size = min(nbytes, sizeof(buf)); nbytes 1211 kernel/sched/psi.c new = psi_trigger_create(&psi_system, buf, nbytes, res); nbytes 1221 kernel/sched/psi.c return nbytes; nbytes 1225 kernel/sched/psi.c size_t nbytes, loff_t *ppos) nbytes 1227 kernel/sched/psi.c return psi_write(file, user_buf, nbytes, PSI_IO); nbytes 1231 kernel/sched/psi.c size_t nbytes, loff_t *ppos) nbytes 1233 kernel/sched/psi.c return psi_write(file, user_buf, nbytes, PSI_MEM); nbytes 1237 kernel/sched/psi.c size_t nbytes, loff_t *ppos) nbytes 1239 kernel/sched/psi.c return psi_write(file, user_buf, nbytes, PSI_CPU); nbytes 74 lib/crc8.c u8 crc8(const u8 table[CRC8_TABLE_SIZE], u8 *pdata, size_t nbytes, u8 crc) nbytes 77 lib/crc8.c while (nbytes-- > 0) nbytes 63 lib/dim/dim.c u32 nbytes = BIT_GAP(BITS_PER_TYPE(u32), end->byte_ctr, nbytes 72 lib/dim/dim.c curr_stats->bpms = DIV_ROUND_UP(nbytes * USEC_PER_MSEC, delta_us); nbytes 187 lib/genalloc.c int nbytes = sizeof(struct gen_pool_chunk) + nbytes 190 lib/genalloc.c chunk = vzalloc_node(nbytes, nid); nbytes 35 lib/mpi/mpicoder.c MPI mpi_read_raw_data(const void *xbuffer, size_t nbytes) nbytes 43 lib/mpi/mpicoder.c while (nbytes > 0 && buffer[0] == 0) { nbytes 45 lib/mpi/mpicoder.c nbytes--; nbytes 48 lib/mpi/mpicoder.c nbits = nbytes * 8; nbytes 53 lib/mpi/mpicoder.c if (nbytes > 0) nbytes 56 lib/mpi/mpicoder.c nlimbs = DIV_ROUND_UP(nbytes, BYTES_PER_MPI_LIMB); nbytes 64 lib/mpi/mpicoder.c if (nbytes > 0) { nbytes 65 lib/mpi/mpicoder.c i = BYTES_PER_MPI_LIMB - nbytes % BYTES_PER_MPI_LIMB; nbytes 84 lib/mpi/mpicoder.c unsigned int nbits, nbytes; nbytes 96 lib/mpi/mpicoder.c nbytes = DIV_ROUND_UP(nbits, 8); nbytes 97 lib/mpi/mpicoder.c if (nbytes + 2 > *ret_nread) { nbytes 99 lib/mpi/mpicoder.c nbytes, *ret_nread); nbytes 103 lib/mpi/mpicoder.c val = mpi_read_raw_data(buffer + 2, nbytes); nbytes 107 lib/mpi/mpicoder.c *ret_nread = nbytes + 2; nbytes 143 lib/mpi/mpicoder.c int mpi_read_buffer(MPI a, uint8_t *buf, unsigned buf_len, unsigned *nbytes, nbytes 157 lib/mpi/mpicoder.c if (!buf || !nbytes) nbytes 166 lib/mpi/mpicoder.c *nbytes = n - lzeros; nbytes 171 lib/mpi/mpicoder.c *nbytes = n - lzeros; nbytes 203 lib/mpi/mpicoder.c void *mpi_get_buffer(MPI a, unsigned *nbytes, int *sign) nbytes 209 lib/mpi/mpicoder.c if (!nbytes) nbytes 222 lib/mpi/mpicoder.c ret = mpi_read_buffer(a, buf, n, nbytes, sign); nbytes 247 lib/mpi/mpicoder.c int mpi_write_to_sgl(MPI a, struct scatterlist *sgl, unsigned nbytes, nbytes 266 lib/mpi/mpicoder.c if (nbytes < n) nbytes 269 lib/mpi/mpicoder.c nents = sg_nents_for_len(sgl, nbytes); nbytes 278 lib/mpi/mpicoder.c while (nbytes > n) { nbytes 279 lib/mpi/mpicoder.c i = min_t(unsigned, nbytes - n, buf_len); nbytes 282 lib/mpi/mpicoder.c nbytes -= i; nbytes 330 lib/mpi/mpicoder.c MPI mpi_read_raw_from_sgl(struct scatterlist *sgl, unsigned int nbytes) nbytes 340 lib/mpi/mpicoder.c ents = sg_nents_for_len(sgl, nbytes); nbytes 348 lib/mpi/mpicoder.c while (nbytes > 0) { nbytes 362 lib/mpi/mpicoder.c nbytes -= lzeros; nbytes 368 lib/mpi/mpicoder.c nbytes -= lzeros; nbytes 369 lib/mpi/mpicoder.c nbits = nbytes * 8; nbytes 376 lib/mpi/mpicoder.c if (nbytes > 0) nbytes 381 lib/mpi/mpicoder.c nlimbs = DIV_ROUND_UP(nbytes, BYTES_PER_MPI_LIMB); nbytes 390 lib/mpi/mpicoder.c if (nbytes == 0) nbytes 395 lib/mpi/mpicoder.c z = BYTES_PER_MPI_LIMB - nbytes % BYTES_PER_MPI_LIMB; nbytes 289 mm/hugetlb_cgroup.c char *buf, size_t nbytes, loff_t off) nbytes 316 mm/hugetlb_cgroup.c return ret ?: nbytes; nbytes 320 mm/hugetlb_cgroup.c char *buf, size_t nbytes, loff_t off) nbytes 339 mm/hugetlb_cgroup.c return ret ?: nbytes; nbytes 3358 mm/memcontrol.c char *buf, size_t nbytes, nbytes 3365 mm/memcontrol.c return mem_cgroup_force_empty(memcg) ?: nbytes; nbytes 3679 mm/memcontrol.c char *buf, size_t nbytes, loff_t off) nbytes 3719 mm/memcontrol.c return ret ?: nbytes; nbytes 3723 mm/memcontrol.c size_t nbytes, loff_t off) nbytes 3756 mm/memcontrol.c return nbytes; nbytes 4696 mm/memcontrol.c char *buf, size_t nbytes, loff_t off) nbytes 4810 mm/memcontrol.c return nbytes; nbytes 6089 mm/memcontrol.c char *buf, size_t nbytes, loff_t off) nbytes 6102 mm/memcontrol.c return nbytes; nbytes 6112 mm/memcontrol.c char *buf, size_t nbytes, loff_t off) nbytes 6125 mm/memcontrol.c return nbytes; nbytes 6134 mm/memcontrol.c char *buf, size_t nbytes, loff_t off) nbytes 6154 mm/memcontrol.c return nbytes; nbytes 6164 mm/memcontrol.c char *buf, size_t nbytes, loff_t off) nbytes 6209 mm/memcontrol.c return nbytes; nbytes 6261 mm/memcontrol.c char *buf, size_t nbytes, loff_t off) nbytes 6279 mm/memcontrol.c return nbytes; nbytes 7237 mm/memcontrol.c char *buf, size_t nbytes, loff_t off) nbytes 7250 mm/memcontrol.c return nbytes; nbytes 1392 mm/mempolicy.c unsigned int nbytes = BITS_TO_LONGS(nr_node_ids) * sizeof(long); nbytes 1394 mm/mempolicy.c if (copy > nbytes) { nbytes 1397 mm/mempolicy.c if (clear_user((char __user *)mask + nbytes, copy - nbytes)) nbytes 1399 mm/mempolicy.c copy = nbytes; nbytes 52 net/atm/mpoa_proc.c size_t nbytes, loff_t *ppos); nbytes 210 net/atm/mpoa_proc.c size_t nbytes, loff_t *ppos) nbytes 215 net/atm/mpoa_proc.c if (nbytes == 0) nbytes 218 net/atm/mpoa_proc.c if (nbytes >= PAGE_SIZE) nbytes 219 net/atm/mpoa_proc.c nbytes = PAGE_SIZE-1; nbytes 225 net/atm/mpoa_proc.c for (p = page, len = 0; len < nbytes; p++, len++) { nbytes 531 net/batman-adv/tp_meter.c u8 *buf, size_t nbytes) nbytes 540 net/batman-adv/tp_meter.c tp_vars->prerandom_offset += nbytes; nbytes 544 net/batman-adv/tp_meter.c while (nbytes) { nbytes 547 net/batman-adv/tp_meter.c to_copy = min(nbytes, bytes_inbuf); nbytes 551 net/batman-adv/tp_meter.c nbytes -= to_copy; nbytes 1717 net/can/j1939/transport.c int nbytes; nbytes 1762 net/can/j1939/transport.c nbytes = se_skb->len - offset; nbytes 1763 net/can/j1939/transport.c if (nbytes > 7) nbytes 1764 net/can/j1939/transport.c nbytes = 7; nbytes 1765 net/can/j1939/transport.c if (nbytes <= 0 || (nbytes + 1) > skb->len) { nbytes 1767 net/can/j1939/transport.c __func__, session, nbytes, skb->len); nbytes 1772 net/can/j1939/transport.c memcpy(&tpdat[offset], &dat[1], nbytes); nbytes 196 net/core/netprio_cgroup.c char *buf, size_t nbytes, loff_t off) nbytes 218 net/core/netprio_cgroup.c return ret ?: nbytes; nbytes 1186 net/ipv4/tcp_ipv4.c const struct tcphdr *th, int nbytes) nbytes 1197 net/ipv4/tcp_ipv4.c bp->len = cpu_to_be16(nbytes); nbytes 596 net/ipv6/tcp_ipv6.c const struct tcphdr *th, int nbytes) nbytes 607 net/ipv6/tcp_ipv6.c bp->len = cpu_to_be32(nbytes); nbytes 424 net/rds/message.c unsigned long to_copy, nbytes; nbytes 452 net/rds/message.c nbytes = copy_page_from_iter(sg_page(sg), sg->offset + sg_off, nbytes 454 net/rds/message.c if (nbytes != to_copy) nbytes 743 net/sunrpc/auth_gss/gss_krb5_crypto.c int nblocks, nbytes; nbytes 803 net/sunrpc/auth_gss/gss_krb5_crypto.c nbytes = buf->len - offset - GSS_KRB5_TOK_HDR_LEN; nbytes 804 net/sunrpc/auth_gss/gss_krb5_crypto.c nblocks = (nbytes + blocksize - 1) / blocksize; nbytes 64 net/sunrpc/xdr.c __be32 *xdr_encode_opaque_fixed(__be32 *p, const void *ptr, unsigned int nbytes) nbytes 66 net/sunrpc/xdr.c if (likely(nbytes != 0)) { nbytes 67 net/sunrpc/xdr.c unsigned int quadlen = XDR_QUADLEN(nbytes); nbytes 68 net/sunrpc/xdr.c unsigned int padding = (quadlen << 2) - nbytes; nbytes 71 net/sunrpc/xdr.c memcpy(p, ptr, nbytes); nbytes 73 net/sunrpc/xdr.c memset((char *)p + nbytes, 0, padding); nbytes 88 net/sunrpc/xdr.c __be32 *xdr_encode_opaque(__be32 *p, const void *ptr, unsigned int nbytes) nbytes 90 net/sunrpc/xdr.c *p++ = cpu_to_be32(nbytes); nbytes 91 net/sunrpc/xdr.c return xdr_encode_opaque_fixed(p, ptr, nbytes); nbytes 577 net/sunrpc/xdr.c size_t nbytes) nbytes 583 net/sunrpc/xdr.c if (nbytes > PAGE_SIZE) nbytes 585 net/sunrpc/xdr.c if (xdr->buf->len + nbytes > xdr->buf->buflen) nbytes 588 net/sunrpc/xdr.c frag2bytes = nbytes - frag1bytes; nbytes 613 net/sunrpc/xdr.c xdr->buf->len += nbytes; nbytes 616 net/sunrpc/xdr.c trace_rpc_xdr_overflow(xdr, nbytes); nbytes 629 net/sunrpc/xdr.c __be32 * xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes) nbytes 636 net/sunrpc/xdr.c nbytes += 3; nbytes 637 net/sunrpc/xdr.c nbytes &= ~3; nbytes 638 net/sunrpc/xdr.c q = p + (nbytes >> 2); nbytes 640 net/sunrpc/xdr.c return xdr_get_next_encode_buffer(xdr, nbytes); nbytes 643 net/sunrpc/xdr.c xdr->iov->iov_len += nbytes; nbytes 645 net/sunrpc/xdr.c xdr->buf->page_len += nbytes; nbytes 646 net/sunrpc/xdr.c xdr->buf->len += nbytes; nbytes 897 net/sunrpc/xdr.c static __be32 * __xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes) nbytes 899 net/sunrpc/xdr.c unsigned int nwords = XDR_QUADLEN(nbytes); nbytes 928 net/sunrpc/xdr.c static __be32 *xdr_copy_to_scratch(struct xdr_stream *xdr, size_t nbytes) nbytes 934 net/sunrpc/xdr.c if (nbytes > xdr->scratch.iov_len) nbytes 943 net/sunrpc/xdr.c nbytes -= cplen; nbytes 944 net/sunrpc/xdr.c p = __xdr_inline_decode(xdr, nbytes); nbytes 947 net/sunrpc/xdr.c memcpy(cpdest, p, nbytes); nbytes 950 net/sunrpc/xdr.c trace_rpc_xdr_overflow(xdr, nbytes); nbytes 964 net/sunrpc/xdr.c __be32 * xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes) nbytes 968 net/sunrpc/xdr.c if (unlikely(nbytes == 0)) nbytes 972 net/sunrpc/xdr.c p = __xdr_inline_decode(xdr, nbytes); nbytes 975 net/sunrpc/xdr.c return xdr_copy_to_scratch(xdr, nbytes); nbytes 977 net/sunrpc/xdr.c trace_rpc_xdr_overflow(xdr, nbytes); nbytes 756 security/device_cgroup.c char *buf, size_t nbytes, loff_t off) nbytes 764 security/device_cgroup.c return retval ?: nbytes; nbytes 4179 sound/soc/codecs/wm_adsp.c int nwords, nbytes; nbytes 4198 sound/soc/codecs/wm_adsp.c nbytes = nwords * WM_ADSP_DATA_WORD_SIZE; nbytes 4200 sound/soc/codecs/wm_adsp.c compr_dbg(compr, "Read %d bytes\n", nbytes); nbytes 4202 sound/soc/codecs/wm_adsp.c if (copy_to_user(buf + ntotal, compr->raw_buf, nbytes)) { nbytes 4204 sound/soc/codecs/wm_adsp.c ntotal, nbytes); nbytes 4209 sound/soc/codecs/wm_adsp.c ntotal += nbytes; nbytes 20 tools/arch/x86/include/asm/insn.h unsigned char nbytes; nbytes 128 tools/arch/x86/include/asm/insn.h return (insn->vex_prefix.nbytes == 4); nbytes 140 tools/arch/x86/include/asm/insn.h if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */ nbytes 142 tools/arch/x86/include/asm/insn.h else if (insn->vex_prefix.nbytes == 3) /* 3 bytes VEX */ nbytes 150 tools/arch/x86/include/asm/insn.h if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */ nbytes 171 tools/arch/x86/include/asm/insn.h return insn->prefixes.nbytes; nbytes 175 tools/arch/x86/include/asm/insn.h return insn_offset_rex_prefix(insn) + insn->rex_prefix.nbytes; nbytes 179 tools/arch/x86/include/asm/insn.h return insn_offset_vex_prefix(insn) + insn->vex_prefix.nbytes; nbytes 183 tools/arch/x86/include/asm/insn.h return insn_offset_opcode(insn) + insn->opcode.nbytes; nbytes 187 tools/arch/x86/include/asm/insn.h return insn_offset_modrm(insn) + insn->modrm.nbytes; nbytes 191 tools/arch/x86/include/asm/insn.h return insn_offset_sib(insn) + insn->sib.nbytes; nbytes 195 tools/arch/x86/include/asm/insn.h return insn_offset_displacement(insn) + insn->displacement.nbytes; nbytes 103 tools/arch/x86/lib/insn.c prefixes->nbytes++; nbytes 127 tools/arch/x86/lib/insn.c insn->rex_prefix.nbytes = 1; nbytes 157 tools/arch/x86/lib/insn.c insn->vex_prefix.nbytes = 4; nbytes 165 tools/arch/x86/lib/insn.c insn->vex_prefix.nbytes = 3; nbytes 177 tools/arch/x86/lib/insn.c insn->vex_prefix.nbytes = 2; nbytes 213 tools/arch/x86/lib/insn.c opcode->nbytes = 1; nbytes 232 tools/arch/x86/lib/insn.c opcode->bytes[opcode->nbytes++] = op; nbytes 265 tools/arch/x86/lib/insn.c modrm->nbytes = 1; nbytes 303 tools/arch/x86/lib/insn.c return (modrm->nbytes && (modrm->value & 0xc7) == 0x5); nbytes 321 tools/arch/x86/lib/insn.c if (insn->modrm.nbytes) { nbytes 326 tools/arch/x86/lib/insn.c insn->sib.nbytes = 1; nbytes 352 tools/arch/x86/lib/insn.c if (insn->modrm.nbytes) { nbytes 377 tools/arch/x86/lib/insn.c insn->displacement.nbytes = 1; nbytes 382 tools/arch/x86/lib/insn.c insn->displacement.nbytes = 2; nbytes 388 tools/arch/x86/lib/insn.c insn->displacement.nbytes = 4; nbytes 405 tools/arch/x86/lib/insn.c insn->moffset1.nbytes = 2; nbytes 409 tools/arch/x86/lib/insn.c insn->moffset1.nbytes = 4; nbytes 413 tools/arch/x86/lib/insn.c insn->moffset1.nbytes = 4; nbytes 415 tools/arch/x86/lib/insn.c insn->moffset2.nbytes = 4; nbytes 434 tools/arch/x86/lib/insn.c insn->immediate.nbytes = 2; nbytes 439 tools/arch/x86/lib/insn.c insn->immediate.nbytes = 4; nbytes 457 tools/arch/x86/lib/insn.c insn->immediate1.nbytes = 2; nbytes 461 tools/arch/x86/lib/insn.c insn->immediate1.nbytes = 4; nbytes 465 tools/arch/x86/lib/insn.c insn->immediate1.nbytes = 4; nbytes 467 tools/arch/x86/lib/insn.c insn->immediate2.nbytes = 4; nbytes 485 tools/arch/x86/lib/insn.c insn->immediate1.nbytes = 2; nbytes 489 tools/arch/x86/lib/insn.c insn->immediate1.nbytes = 4; nbytes 498 tools/arch/x86/lib/insn.c insn->immediate2.nbytes = 2; nbytes 535 tools/arch/x86/lib/insn.c insn->immediate.nbytes = 1; nbytes 539 tools/arch/x86/lib/insn.c insn->immediate.nbytes = 2; nbytes 543 tools/arch/x86/lib/insn.c insn->immediate.nbytes = 4; nbytes 547 tools/arch/x86/lib/insn.c insn->immediate1.nbytes = 4; nbytes 549 tools/arch/x86/lib/insn.c insn->immediate2.nbytes = 4; nbytes 569 tools/arch/x86/lib/insn.c insn->immediate2.nbytes = 1; nbytes 127 tools/io_uring/liburing.h void *buf, unsigned nbytes, nbytes 130 tools/io_uring/liburing.h io_uring_prep_rw(IORING_OP_READ_FIXED, sqe, fd, buf, nbytes, offset); nbytes 141 tools/io_uring/liburing.h const void *buf, unsigned nbytes, nbytes 144 tools/io_uring/liburing.h io_uring_prep_rw(IORING_OP_WRITE_FIXED, sqe, fd, buf, nbytes, offset); nbytes 95 tools/objtool/arch/x86/decode.c if (insn.vex_prefix.nbytes) nbytes 101 tools/objtool/arch/x86/decode.c if (insn.rex_prefix.nbytes) { nbytes 109 tools/objtool/arch/x86/decode.c if (insn.modrm.nbytes) { nbytes 116 tools/objtool/arch/x86/decode.c if (insn.sib.nbytes) nbytes 478 tools/objtool/arch/x86/decode.c *immediate = insn.immediate.nbytes ? insn.immediate.value : 0; nbytes 37 tools/perf/arch/s390/util/header.c size_t nbytes; nbytes 131 tools/perf/arch/s390/util/header.c nbytes = snprintf(buffer, sz, "%s,%s,%s,%s,%s", nbytes 135 tools/perf/arch/s390/util/header.c nbytes = snprintf(buffer, sz, "%s,%s,%s", manufacturer, type, nbytes 137 tools/perf/arch/s390/util/header.c return (nbytes >= sz) ? ENOBUFS : 0; nbytes 136 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c switch (insn->immediate.nbytes) { nbytes 8 tools/perf/util/jit.h struct machine *machine, char *filename, pid_t pid, u64 *nbytes); nbytes 758 tools/perf/util/jitdump.c u64 *nbytes) nbytes 783 tools/perf/util/jitdump.c *nbytes = 0; nbytes 787 tools/perf/util/jitdump.c *nbytes = jd.bytes_written; nbytes 336 tools/usb/ffs-test.c static ssize_t read_wrap(struct thread *t, void *buf, size_t nbytes); nbytes 337 tools/usb/ffs-test.c static ssize_t write_wrap(struct thread *t, const void *buf, size_t nbytes); nbytes 338 tools/usb/ffs-test.c static ssize_t ep0_consume(struct thread *t, const void *buf, size_t nbytes); nbytes 339 tools/usb/ffs-test.c static ssize_t fill_in_buf(struct thread *t, void *buf, size_t nbytes); nbytes 340 tools/usb/ffs-test.c static ssize_t empty_out_buf(struct thread *t, const void *buf, size_t nbytes); nbytes 483 tools/usb/ffs-test.c static ssize_t read_wrap(struct thread *t, void *buf, size_t nbytes) nbytes 485 tools/usb/ffs-test.c return read(t->fd, buf, nbytes); nbytes 488 tools/usb/ffs-test.c static ssize_t write_wrap(struct thread *t, const void *buf, size_t nbytes) nbytes 490 tools/usb/ffs-test.c return write(t->fd, buf, nbytes); nbytes 501 tools/usb/ffs-test.c fill_in_buf(struct thread *ignore, void *buf, size_t nbytes) nbytes 510 tools/usb/ffs-test.c memset(buf, 0, nbytes); nbytes 514 tools/usb/ffs-test.c for (p = buf, i = 0; i < nbytes; ++i, ++p) nbytes 519 tools/usb/ffs-test.c return fread(buf, 1, nbytes, stdin); nbytes 522 tools/usb/ffs-test.c return nbytes; nbytes 526 tools/usb/ffs-test.c empty_out_buf(struct thread *ignore, const void *buf, size_t nbytes) nbytes 538 tools/usb/ffs-test.c for (p = buf, len = 0; len < nbytes; ++p, ++len) nbytes 544 tools/usb/ffs-test.c for (p = buf, len = 0; len < nbytes; ++p, ++len) nbytes 552 tools/usb/ffs-test.c ret = fwrite(buf, nbytes, 1, stdout); nbytes 560 tools/usb/ffs-test.c for (p = buf, len = 0; len < nbytes; ++p, ++len) { nbytes 588 tools/usb/ffs-test.c ep0_consume(struct thread *ignore, const void *buf, size_t nbytes) nbytes 605 tools/usb/ffs-test.c for (n = nbytes / sizeof *event; n; --n, ++event) nbytes 623 tools/usb/ffs-test.c return nbytes; nbytes 98 tools/usb/usbip/src/usbip_network.c ssize_t nbytes; nbytes 106 tools/usb/usbip/src/usbip_network.c nbytes = send(sockfd, buff, bufflen, 0); nbytes 108 tools/usb/usbip/src/usbip_network.c nbytes = recv(sockfd, buff, bufflen, MSG_WAITALL); nbytes 110 tools/usb/usbip/src/usbip_network.c if (nbytes <= 0) nbytes 113 tools/usb/usbip/src/usbip_network.c buff = (void *)((intptr_t) buff + nbytes); nbytes 114 tools/usb/usbip/src/usbip_network.c bufflen -= nbytes; nbytes 115 tools/usb/usbip/src/usbip_network.c total += nbytes;