/linux-master/include/linux/ |
H A D | crc8.h | 80 * @nbytes: number of bytes in data buffer. 99 u8 crc8(const u8 table[CRC8_TABLE_SIZE], const u8 *pdata, size_t nbytes, u8 crc);
|
/linux-master/arch/arm64/crypto/ |
H A D | aes-glue.c | 189 while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) { 194 err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); 209 while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) { 214 err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); 227 while ((blocks = (walk->nbytes / AES_BLOCK_SIZE))) { 232 err = skcipher_walk_done(walk, walk->nbytes % AES_BLOCK_SIZE); 256 while ((blocks = (walk->nbytes / AES_BLOCK_SIZE))) { 261 err = skcipher_walk_done(walk, walk->nbytes % AES_BLOCK_SIZE); 328 ctx->key_enc, rounds, walk.nbytes, walk.iv); 385 ctx->key_dec, rounds, walk.nbytes, wal 463 unsigned int nbytes = walk.nbytes; local 508 unsigned int nbytes = walk.nbytes; local 577 int nbytes = walk.nbytes; local 649 int nbytes = walk.nbytes; local [all...] |
H A D | sm4-ce-glue.c | 25 #define BYTES2BLKS(nbytes) ((nbytes) >> 4) 37 u8 *iv, unsigned int nbytes); 39 u8 *iv, unsigned int nbytes); 43 u8 *tweak, unsigned int nbytes, 46 u8 *tweak, unsigned int nbytes, 112 unsigned int nbytes; local 117 while ((nbytes = walk.nbytes) > 0) { 124 nblks = BYTES2BLKS(nbytes); 158 unsigned int nbytes; local 283 unsigned int nbytes; local 331 unsigned int nbytes; local [all...] |
H A D | chacha-neon-glue.c | 115 while (walk.nbytes > 0) { 116 unsigned int nbytes = walk.nbytes; local 118 if (nbytes < walk.total) 119 nbytes = rounddown(nbytes, walk.stride); 124 walk.src.virt.addr, nbytes, 129 walk.src.virt.addr, nbytes, ctx->nrounds); 132 err = skcipher_walk_done(&walk, walk.nbytes - nbytes); [all...] |
/linux-master/drivers/crypto/ccree/ |
H A D | cc_buffer_mgr.h | 45 unsigned int ivsize, unsigned int nbytes, 57 struct scatterlist *src, unsigned int nbytes, 61 struct scatterlist *src, unsigned int nbytes,
|
/linux-master/fs/ |
H A D | sync.c | 228 int sync_file_range(struct file *file, loff_t offset, loff_t nbytes, argument 240 endbyte = offset + nbytes; 262 nbytes = 0; 266 if (nbytes == 0) 307 * a file in the range offset .. (offset+nbytes-1) inclusive. If nbytes is 355 int ksys_sync_file_range(int fd, loff_t offset, loff_t nbytes, argument 364 ret = sync_file_range(f.file, offset, nbytes, flags); 370 SYSCALL_DEFINE4(sync_file_range, int, fd, loff_t, offset, loff_t, nbytes, 373 return ksys_sync_file_range(fd, offset, nbytes, flag [all...] |
/linux-master/include/memory/ |
H A D | renesas-rpc-if.h | 30 u8 nbytes; member in struct:rpcif_op::__anon202 42 u8 nbytes; member in struct:rpcif_op::__anon204 50 unsigned int nbytes; member in struct:rpcif_op::__anon205
|
/linux-master/drivers/interconnect/qcom/ |
H A D | smd-rpm.c | 23 __le32 nbytes; member in struct:icc_rpm_smd_req 37 .nbytes = cpu_to_le32(sizeof(u32)), 50 .nbytes = cpu_to_le32(sizeof(u32)),
|
/linux-master/arch/s390/crypto/ |
H A D | des_s390.c | 94 unsigned int nbytes, n; local 98 while ((nbytes = walk.nbytes) != 0) { 100 n = nbytes & ~(DES_BLOCK_SIZE - 1); 103 ret = skcipher_walk_done(&walk, nbytes - n); 113 unsigned int nbytes, n; local 125 while ((nbytes = walk.nbytes) != 0) { 127 n = nbytes & ~(DES_BLOCK_SIZE - 1); 131 ret = skcipher_walk_done(&walk, nbytes 303 __ctrblk_init(u8 *ctrptr, u8 *iv, unsigned int nbytes) argument 324 unsigned int n, nbytes; local [all...] |
H A D | aes_s390.c | 69 unsigned int nbytes; member in struct:gcm_sg_walk 227 unsigned int nbytes, n; local 234 while ((nbytes = walk.nbytes) != 0) { 236 n = nbytes & ~(AES_BLOCK_SIZE - 1); 239 ret = skcipher_walk_done(&walk, nbytes - n); 323 unsigned int nbytes, n; local 338 while ((nbytes = walk.nbytes) != 0) { 340 n = nbytes 423 unsigned int offset, nbytes, n; local 550 __ctrblk_init(u8 *ctrptr, u8 *iv, unsigned int nbytes) argument 571 unsigned int n, nbytes; local 698 _gcm_sg_unmap_and_advance(struct gcm_sg_walk *gw, unsigned int nbytes) argument [all...] |
/linux-master/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_mux.c | 164 u32 nbytes; local 214 nbytes = m->mux_buf_offset - initial_offset; 218 return nbytes; 225 u32 nbytes = 0; local 236 nbytes += vidtv_ts_pcr_write_into(args); 237 m->mux_buf_offset += nbytes; 241 return nbytes; 287 u32 nbytes = 0; local 302 args.access_unit_len = au->nbytes; 318 nbytes 326 u32 nbytes = 0; local 358 u32 nbytes; local 396 u32 nbytes; local [all...] |
/linux-master/arch/sparc/crypto/ |
H A D | aes_glue.c | 224 unsigned int nbytes; local 232 while ((nbytes = walk.nbytes) != 0) { 235 round_down(nbytes, AES_BLOCK_SIZE)); 236 err = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE); 248 unsigned int nbytes; local 257 while ((nbytes = walk.nbytes) != 0) { 260 round_down(nbytes, AES_BLOCK_SIZE)); 261 err = skcipher_walk_done(&walk, nbytes 273 unsigned int nbytes; local 298 unsigned int nbytes; local 326 unsigned int nbytes = walk->nbytes; local 339 unsigned int nbytes; local [all...] |
/linux-master/arch/arm/crypto/ |
H A D | curve25519-glue.c | 70 int copied, nbytes; local 88 nbytes = min_t(size_t, CURVE25519_KEY_SIZE, req->dst_len); 90 nbytes), 91 buf, nbytes); 92 if (copied != nbytes)
|
/linux-master/arch/alpha/boot/ |
H A D | main.c | 155 int nbytes; local 178 nbytes = callback_getenv(ENV_BOOTED_OSFLAGS, envval, sizeof(envval)); 179 if (nbytes < 0) { 180 nbytes = 0; 182 envval[nbytes] = '\0';
|
/linux-master/fs/coda/ |
H A D | psdev.c | 92 size_t nbytes, loff_t *off) 103 if (nbytes < (2 * sizeof(u_int32_t))) 114 if ( nbytes < sizeof(struct coda_out_hdr) ) { 117 count = nbytes; 120 if ( nbytes > size ) { 123 nbytes = size; 126 dcbuf = vmemdup_user(buf, nbytes); 133 error = coda_downcall(vcp, hdr.opcode, dcbuf, nbytes); 142 count = nbytes; 166 if (req->uc_outSize < nbytes) { 91 coda_psdev_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *off) argument 204 coda_psdev_read(struct file * file, char __user * buf, size_t nbytes, loff_t *off) argument [all...] |
/linux-master/arch/powerpc/crypto/ |
H A D | aes_cbc.c | 76 unsigned int nbytes; local 89 while ((nbytes = walk.nbytes) != 0) { 95 round_down(nbytes, AES_BLOCK_SIZE), 102 ret = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE);
|
H A D | chacha-p10-glue.c | 100 while (walk.nbytes > 0) { 101 unsigned int nbytes = walk.nbytes; local 103 if (nbytes < walk.total) 104 nbytes = rounddown(nbytes, walk.stride); 108 walk.src.virt.addr, nbytes, 113 walk.src.virt.addr, nbytes, ctx->nrounds); 116 err = skcipher_walk_done(&walk, walk.nbytes - nbytes); [all...] |
/linux-master/drivers/spi/ |
H A D | spi-amd.c | 368 op->data.buswidth > 1 || op->data.nbytes > AMD_SPI_MAX_DATA) 376 op->data.nbytes = clamp_val(op->data.nbytes, 0, AMD_SPI_MAX_DATA); 383 u8 nbytes = op->addr.nbytes; local 387 base_addr = AMD_SPI_FIFO_BASE + nbytes; 389 for (i = 0; i < nbytes; i++) { 399 int base_addr = AMD_SPI_FIFO_BASE + op->addr.nbytes; 401 u32 nbytes = op->data.nbytes; local 421 u32 nbytes = op->data.nbytes; local [all...] |
/linux-master/crypto/ |
H A D | ahash.c | 51 int nbytes; local 53 for (nbytes = crypto_hash_walk_first(req, &walk); nbytes > 0; 54 nbytes = crypto_hash_walk_done(&walk, nbytes)) 55 nbytes = crypto_shash_update(desc, walk.data, nbytes); 57 return nbytes; 64 int nbytes; local 66 nbytes 84 unsigned int nbytes = req->nbytes; local 143 unsigned int nbytes = min(walk->entrylen, local [all...] |
H A D | ecdh.c | 62 size_t copied, nbytes, public_key_sz; local 65 nbytes = ctx->ndigits << ECC_DIGITS_TO_BYTES_SHIFT; 67 public_key_sz = 2 * nbytes; 74 shared_secret = kmalloc(nbytes, GFP_KERNEL); 101 nbytes = public_key_sz; 108 nbytes = min_t(size_t, nbytes, req->dst_len); 110 nbytes), 111 buf, nbytes); 112 if (copied != nbytes) [all...] |
H A D | ctr.c | 38 unsigned int nbytes = walk->nbytes; local 41 crypto_xor_cpy(dst, keystream, src, nbytes); 55 unsigned int nbytes = walk->nbytes; local 67 } while ((nbytes -= bsize) >= bsize); 69 return nbytes; 79 unsigned int nbytes = walk->nbytes; local 94 } while ((nbytes 105 unsigned int nbytes; local [all...] |
/linux-master/drivers/accessibility/speakup/ |
H A D | devsynth.c | 15 size_t nbytes, loff_t *ppos) 17 size_t count = nbytes; 35 return (ssize_t)nbytes; 40 size_t nbytes, loff_t *ppos) 42 size_t count = nbytes, consumed, want; 94 return (ssize_t)(nbytes - count); 98 size_t nbytes, loff_t *ppos) 14 speakup_file_write(struct file *fp, const char __user *buffer, size_t nbytes, loff_t *ppos) argument 39 speakup_file_writeu(struct file *fp, const char __user *buffer, size_t nbytes, loff_t *ppos) argument 97 speakup_file_read(struct file *fp, char __user *buf, size_t nbytes, loff_t *ppos) argument
|
/linux-master/arch/x86/crypto/ |
H A D | aesni-intel_glue.c | 292 unsigned int nbytes; local 297 while ((nbytes = walk.nbytes)) { 300 nbytes & AES_BLOCK_MASK); 302 nbytes &= AES_BLOCK_SIZE - 1; 303 err = skcipher_walk_done(&walk, nbytes); 314 unsigned int nbytes; local 319 while ((nbytes = walk.nbytes)) { 322 nbytes 336 unsigned int nbytes; local 358 unsigned int nbytes; local 511 unsigned int nbytes; local 560 unsigned int nbytes; local [all...] |
/linux-master/drivers/crypto/ |
H A D | padlock-aes.c | 349 unsigned int nbytes; local 356 while ((nbytes = walk.nbytes) != 0) { 359 nbytes / AES_BLOCK_SIZE); 360 nbytes &= AES_BLOCK_SIZE - 1; 361 err = skcipher_walk_done(&walk, nbytes); 374 unsigned int nbytes; local 381 while ((nbytes = walk.nbytes) != 0) { 384 nbytes / AES_BLOCK_SIZ 414 unsigned int nbytes; local 441 unsigned int nbytes; local [all...] |
/linux-master/drivers/char/hw_random/ |
H A D | s390-trng.c | 57 size_t nbytes, loff_t *ppos) 70 if (nbytes > sizeof(buf)) { 76 while (nbytes) { 85 n = nbytes > PAGE_SIZE ? PAGE_SIZE : nbytes; 92 nbytes -= n; 56 trng_read(struct file *file, char __user *ubuf, size_t nbytes, loff_t *ppos) argument
|