Searched refs:iterator (Results 1 – 1 of 1) sorted by relevance
358 struct bpool_iterator *iterator) in bpool_foreach_iterator_init() argument360 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() argument407 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