Home
last modified time | relevance | path

Searched refs:bufsize (Results 1 – 15 of 15) sorted by relevance

/optee_os-3.20.0/lib/libutils/isoc/
A Dbget.h31 typedef long bufsize; typedef
34 void bpool _((void *buffer, bufsize len, struct bpoolset *poolset));
35 void *bget _((bufsize align, bufsize hdr_size, bufsize size, struct bpoolset *poolset));
36 void *bgetz _((bufsize align, bufsize hdr_size, bufsize size, struct bpoolset *poolset));
37 void *bgetr _((void *buffer, bufsize align, bufsize hdr_size, bufsize newsize,
40 void bectl _((int (*compact)(bufsize sizereq, int sequence),
41 void *(*acquire)(bufsize size),
42 void (*release)(void *buf), bufsize pool_incr,
44 void bstats _((bufsize *curalloc, bufsize *totfree, bufsize *maxfree,
46 void bstatse _((bufsize *pool_incr, long *npool, long *npget,
A Dbget.c579 static bufsize buf_get_pos(struct bfhead *bf, bufsize align, bufsize hdr_size, in buf_get_pos()
615 bufsize pos;
844 bufsize align; in bgetz()
846 bufsize size;
853 bufsize rsize;
878 bufsize align;
880 bufsize size;
1102 bufsize len;
1461 bufsize bsize; in bcompact()
1508 bufsize size; in bexpand()
[all …]
A Dbget.doc168 void bpool(void *buffer, bufsize len);
174 void *bget(bufsize size);
180 void *bgetz(bufsize size);
186 void *bgetr(void *buffer, bufsize newsize);
198 void bectl(int (*compact)(bufsize sizereq, int sequence),
199 void *(*acquire)(bufsize size),
201 bufsize pool_incr);
247 void bstats(bufsize *curalloc, bufsize *totfree,
248 bufsize *maxfree, long *nget, long *nrel);
259 void bstatse(bufsize *pool_incr, long *npool,
A Dbget_malloc.c191 static __maybe_unused bufsize bget_buf_size(void *buf) in bget_buf_size()
193 bufsize osize; /* Old size of buffer */ in bget_buf_size()
368 bufsize bs = b->bh.bsize; in bpool_foreach_pool()
424 bufsize s; in raw_memalign()
466 bufsize s; in raw_calloc()
489 bufsize s; in raw_realloc()
507 bufsize old_sz = bget_buf_size(old_ptr); in raw_realloc()
/optee_os-3.20.0/core/lib/libfdt/
A Dfdt_empty_tree.c13 int fdt_create_empty_tree(void *buf, int bufsize) in fdt_create_empty_tree() argument
17 err = fdt_create(buf, bufsize); in fdt_create_empty_tree()
37 return fdt_open_into(buf, buf, bufsize); in fdt_create_empty_tree()
A Dfdt_sw.c105 int fdt_create_with_flags(void *buf, int bufsize, uint32_t flags) in fdt_create_with_flags() argument
111 if (bufsize < hdrsize) in fdt_create_with_flags()
117 memset(buf, 0, bufsize); in fdt_create_with_flags()
130 fdt_set_totalsize(fdt, bufsize); in fdt_create_with_flags()
139 int fdt_create(void *buf, int bufsize) in fdt_create() argument
141 return fdt_create_with_flags(buf, bufsize, 0); in fdt_create()
144 int fdt_resize(void *fdt, void *buf, int bufsize) in fdt_resize() argument
157 if ((headsize + tailsize) > bufsize) in fdt_resize()
161 newtail = (char *)buf + bufsize - tailsize; in fdt_resize()
173 fdt_set_totalsize(buf, bufsize); in fdt_resize()
[all …]
A Dfdt_rw.c400 int fdt_open_into(const void *fdt, void *buf, int bufsize) in fdt_open_into() argument
426 err = fdt_move(fdt, buf, bufsize); in fdt_open_into()
431 fdt_set_totalsize(buf, bufsize); in fdt_open_into()
439 if (bufsize < newsize) in fdt_open_into()
448 if ((tmp + newsize) > ((char *)buf + bufsize)) in fdt_open_into()
456 fdt_set_totalsize(buf, bufsize); in fdt_open_into()
A Dfdt.c282 int fdt_move(const void *fdt, void *buf, int bufsize) in fdt_move() argument
286 if (fdt_totalsize(fdt) > bufsize) in fdt_move()
A Dfdt_ro.c837 int fdt_check_full(const void *fdt, size_t bufsize) in fdt_check_full() argument
847 if (bufsize < FDT_V1_SIZE) in fdt_check_full()
852 if (bufsize < fdt_totalsize(fdt)) in fdt_check_full()
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/ssh/
A Dssh_decode_sequence_multi.c30 unsigned long *bufsize; in ssh_decode_sequence_multi() local
122 bufsize = va_arg(args, unsigned long*); in ssh_decode_sequence_multi()
123 if (bufsize == NULL) { in ssh_decode_sequence_multi()
127 if (size + 1 >= *bufsize) { in ssh_decode_sequence_multi()
135 *bufsize = size; in ssh_decode_sequence_multi()
/optee_os-3.20.0/core/lib/libfdt/include/
A Dlibfdt.h313 int fdt_move(const void *fdt, void *buf, int bufsize);
319 int fdt_check_full(const void *fdt, size_t bufsize);
1415 int fdt_create_with_flags(void *buf, int bufsize, uint32_t flags);
1428 int fdt_create(void *buf, int bufsize);
1430 int fdt_resize(void *fdt, void *buf, int bufsize);
1477 int fdt_create_empty_tree(void *buf, int bufsize);
1478 int fdt_open_into(const void *fdt, void *buf, int bufsize);
/optee_os-3.20.0/lib/libutee/arch/arm/gprof/
A Dgprof.c131 size_t bufsize; in __utee_gprof_init() local
171 bufsize = p->kcountsize + p->fromssize + p->tossize; in __utee_gprof_init()
175 __text_end - __text_start, bufsize); in __utee_gprof_init()
177 cp = gprof_alloc(bufsize); in __utee_gprof_init()
/optee_os-3.20.0/core/pta/
A Dattestation.c99 static size_t bufsize(size_t e_sz, size_t d_sz, size_t n_sz) in bufsize() function
126 needed_sz = bufsize(e_sz, d_sz, n_sz); in serialize_key()
334 size = bufsize(3, MAX_KEY_SIZE / 8, MAX_KEY_SIZE / 8); in init_key()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dbignum.c2078 size_t bufsize, nbits; in mbedtls_mpi_exp_mod() local
2214 bufsize = 0; in mbedtls_mpi_exp_mod()
2221 if( bufsize == 0 ) in mbedtls_mpi_exp_mod()
2228 bufsize = sizeof( mbedtls_mpi_uint ) << 3; in mbedtls_mpi_exp_mod()
2231 bufsize--; in mbedtls_mpi_exp_mod()
2233 ei = (E->p[nblimbs] >> bufsize) & 1; in mbedtls_mpi_exp_mod()
/optee_os-3.20.0/scripts/
A Dsymbolize.py145 bufsize=1)

Completed in 34 milliseconds