Searched refs:iterator (Results 1 – 1 of 1) sorted by relevance
287 struct bpool_iterator *iterator) in bpool_foreach_iterator_init() argument289 iterator->pool_idx = 0; in bpool_foreach_iterator_init()290 iterator->next_buf = BFH(ctx->pool[0].buf); in bpool_foreach_iterator_init()296 struct bfhead *b = iterator->next_buf; in bpool_foreach_pool()319 iterator->next_buf = BFH((uint8_t *)b + bs); in bpool_foreach_pool()324 struct bpool_iterator *iterator, void **buf) in bpool_foreach() argument336 if ((iterator->pool_idx + 1) >= ctx->pool_len) in bpool_foreach()339 iterator->pool_idx++; in bpool_foreach()340 iterator->next_buf = BFH(ctx->pool[iterator->pool_idx].buf); in bpool_foreach()345 #define BPOOL_FOREACH(ctx, iterator, bp) \ argument[all …]
Completed in 4 milliseconds