Home
last modified time | relevance | path

Searched refs:nbytes (Results 1 – 25 of 35) sorted by relevance

12

/include/crypto/
Dctr.h36 while (walk.nbytes > 0) { in crypto_ctr_encrypt_walk()
39 int nbytes = walk.nbytes; in crypto_ctr_encrypt_walk() local
42 if (nbytes < walk.total) { in crypto_ctr_encrypt_walk()
43 tail = walk.nbytes & (blocksize - 1); in crypto_ctr_encrypt_walk()
44 nbytes -= tail; in crypto_ctr_encrypt_walk()
48 int bsize = min(nbytes, blocksize); in crypto_ctr_encrypt_walk()
57 nbytes -= bsize; in crypto_ctr_encrypt_walk()
58 } while (nbytes > 0); in crypto_ctr_encrypt_walk()
Dscatterwalk.h37 unsigned int nbytes) in scatterwalk_clamp() argument
40 return nbytes > len_this_page ? len_this_page : nbytes; in scatterwalk_clamp()
44 unsigned int nbytes) in scatterwalk_advance() argument
46 walk->offset += nbytes; in scatterwalk_advance()
95 size_t nbytes, int out);
98 unsigned int start, unsigned int nbytes, int out);
Dpoly1305.h75 unsigned int nbytes);
77 unsigned int nbytes);
80 const u8 *src, unsigned int nbytes) in poly1305_update() argument
83 poly1305_update_arch(desc, src, nbytes); in poly1305_update()
85 poly1305_update_generic(desc, src, nbytes); in poly1305_update()
Dhash.h54 unsigned int nbytes; member
661 unsigned int nbytes) in ahash_request_set_crypt() argument
664 req->nbytes = nbytes; in ahash_request_set_crypt()
/include/linux/
Donce.h80 #define get_random_once(buf, nbytes) \ argument
81 DO_ONCE(get_random_bytes, (buf), (nbytes))
83 #define get_random_sleepable_once(buf, nbytes) \ argument
84 DO_ONCE_SLEEPABLE(get_random_bytes, (buf), (nbytes))
Dbase64.h11 #define BASE64_CHARS(nbytes) DIV_ROUND_UP((nbytes) * 4, 3) argument
Dmpi.h52 MPI mpi_read_raw_data(const void *xbuffer, size_t nbytes);
55 void *mpi_get_buffer(MPI a, unsigned *nbytes, int *sign);
56 int mpi_read_buffer(MPI a, uint8_t *buf, unsigned buf_len, unsigned *nbytes,
58 int mpi_write_to_sgl(MPI a, struct scatterlist *sg, unsigned nbytes,
Dadb.h13 int nbytes; member
56 int flags, int nbytes, ...);
Dcuda.h17 void (*done)(struct adb_request *), int nbytes, ...);
Dcrc8.h99 u8 crc8(const u8 table[CRC8_TABLE_SIZE], const u8 *pdata, size_t nbytes, u8 crc);
Dstring.h33 size_t nbytes; in memdup_array_user() local
35 if (check_mul_overflow(n, size, &nbytes)) in memdup_array_user()
38 return memdup_user(src, nbytes); in memdup_array_user()
53 size_t nbytes; in vmemdup_array_user() local
55 if (check_mul_overflow(n, size, &nbytes)) in vmemdup_array_user()
58 return vmemdup_user(src, nbytes); in vmemdup_array_user()
Dpmu.h19 void (*done)(struct adb_request *), int nbytes, ...);
Drandom.h126 static inline int get_random_bytes_wait(void *buf, size_t nbytes) in get_random_bytes_wait() argument
129 get_random_bytes(buf, nbytes); in get_random_bytes_wait()
Dprandom.h20 void prandom_bytes_state(struct rnd_state *state, void *buf, size_t nbytes);
Dnet.h313 #define net_get_random_once(buf, nbytes) \ argument
314 get_random_once((buf), (nbytes))
Dbio.h137 static inline void bio_advance(struct bio *bio, unsigned int nbytes) in bio_advance() argument
139 if (nbytes == bio->bi_iter.bi_size) { in bio_advance()
143 __bio_advance(bio, nbytes); in bio_advance()
/include/linux/spi/
Dspi-mem.h20 .nbytes = 1, \
25 .nbytes = __nbytes, \
34 .nbytes = __nbytes, \
43 .nbytes = __nbytes, \
51 .nbytes = __nbytes, \
101 u8 nbytes; member
109 u8 nbytes; member
117 u8 nbytes; member
129 unsigned int nbytes; member
/include/memory/
Drenesas-rpc-if.h30 u8 nbytes; member
42 u8 nbytes; member
50 unsigned int nbytes; member
/include/linux/qed/
Deth_common.h355 __le16 nbytes; member
362 __le16 nbytes; member
385 __le16 nbytes; member
408 __le16 nbytes; /* Number of bytes in this BD */ member
428 __le16 nbytes; member
/include/linux/soc/qcom/
Dsmd-rpm.h59 __le32 nbytes; member
/include/crypto/internal/
Decc.h70 void ecc_digits_from_bytes(const u8 *in, unsigned int nbytes,
Dskcipher.h72 unsigned int nbytes; member
/include/linux/mtd/
Dmtd.h437 const u8 *oobbuf, int start, int nbytes);
439 u8 *oobbuf, int start, int nbytes);
443 const u8 *oobbuf, int start, int nbytes);
445 u8 *oobbuf, int start, int nbytes);
/include/linux/comedi/
Dcomedidev.h825 unsigned int nbytes) in comedi_bytes_to_samples() argument
827 return nbytes >> comedi_sample_shift(s); in comedi_bytes_to_samples()
/include/linux/sunrpc/
Dxdr.h247 extern __be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes);
248 extern int xdr_reserve_space_vec(struct xdr_stream *xdr, size_t nbytes);
262 extern __be32 *xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes);

12