Home
last modified time | relevance | path

Searched refs:bsize (Results 1 – 6 of 6) sorted by relevance

/optee_os/lib/libutils/isoc/
H A Dbget.c511 bufsize bsize; /* Buffer size: positive if free, member
586 if (bf->bh.bsize < size) in buf_get_pos()
593 buf = (unsigned long)bf + bf->bh.bsize - size + sizeof(struct bhead) + in buf_get_pos()
613 bs = b->bh.bsize; in get_free2_sum()
720 (b->bh.bsize < best->bh.bsize)) {
733 struct bhead *b_next = BH((char *)b + b->bh.bsize);
734 bufsize rem_sz = b->bh.bsize;
737 assert(b_next->prevfree == b->bh.bsize);
757 b->bh.bsize = -b->bh.bsize;
763 b_alloc->bsize = -(b->bh.bsize - pos);
[all …]
H A Dbget_malloc.c198 osize = -b->bsize; in bget_buf_size()
377 bufsize bs = b->bh.bsize; in bpool_foreach_pool()
/optee_os/core/drivers/crypto/hisilicon/
H A Dhpre_main.c86 uint32_t bsize, uint32_t dsize) in hpre_bin_from_crypto_bin() argument
88 if (!src || !dst || !dsize || !bsize) { in hpre_bin_from_crypto_bin()
93 if (bsize < dsize) { in hpre_bin_from_crypto_bin()
98 if (src == dst && bsize == dsize) in hpre_bin_from_crypto_bin()
105 memmove(dst + bsize - dsize, src, dsize); in hpre_bin_from_crypto_bin()
106 memset(dst, 0, bsize - dsize); in hpre_bin_from_crypto_bin()
112 uint32_t bsize, uint32_t dsize) in hpre_bin_to_crypto_bin() argument
114 if (!dst || !src || !bsize || !dsize) { in hpre_bin_to_crypto_bin()
119 if (bsize < dsize) { in hpre_bin_to_crypto_bin()
124 if (src == dst && bsize == dsize) in hpre_bin_to_crypto_bin()
[all …]
H A Dhpre_main.h91 uint32_t bsize, uint32_t dsize);
93 uint32_t bsize, uint32_t dsize);
H A Dhpre_montgomery.c179 uint32_t bsize = msg->key_bytes; in hpre_montgomery_params_pretreatment() local
186 uint32_t offset = bsize - dsize; in hpre_montgomery_params_pretreatment()
/optee_os/core/lib/zlib/
H A Dzutil.c221 ulg bsize = (ulg)items*size; in zcalloc() local
228 if (bsize < 65520L) { in zcalloc()
229 buf = farmalloc(bsize); in zcalloc()
232 buf = farmalloc(bsize + 16L); in zcalloc()