Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libutils/isoc/
A Dbget_malloc.c358 struct bpool_iterator *iterator) in bpool_foreach_iterator_init() argument
360 iterator->pool_idx = 0; in bpool_foreach_iterator_init()
361 iterator->next_buf = BFH(ctx->pool[0].buf); in bpool_foreach_iterator_init()
367 struct bfhead *b = iterator->next_buf; in bpool_foreach_pool()
390 iterator->next_buf = BFH((uint8_t *)b + bs); in bpool_foreach_pool()
395 struct bpool_iterator *iterator, void **buf) in bpool_foreach() argument
407 if ((iterator->pool_idx + 1) >= ctx->pool_len) in bpool_foreach()
410 iterator->pool_idx++; in bpool_foreach()
411 iterator->next_buf = BFH(ctx->pool[iterator->pool_idx].buf); in bpool_foreach()
416 #define BPOOL_FOREACH(ctx, iterator, bp) \ argument
[all …]

Completed in 5 milliseconds