Home
last modified time | relevance | path

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

/haiku/src/system/kernel/slab/
H A DObjectDepot.cpp25 uint16 current_round; member
54 return current_round == 0; in RANGE_MARKER_FUNCTION_BEGIN()
61 return current_round == round_count; in IsFull()
68 return rounds[--current_round]; in Pop()
78 rounds[current_round++] = object; in Push()
88 for (uint16 i = 0; i < current_round; i++) { in ContainsObject()
110 magazine->current_round = 0; in alloc_magazine()
128 for (uint16 i = 0; i < magazine->current_round; i++) in empty_magazine()
457 kprintf("current_round: %u\n", magazine->current_round); in dump_depot_magazine()
460 for (uint16 i = 0; i < magazine->current_round; i++) in dump_depot_magazine()
/haiku/src/tests/system/kernel/slab/
H A DSlab.cpp198 return magazine->current_round == 0; in _IsMagazineEmpty()
205 return magazine->current_round == magazine->round_count; in _IsMagazineFull()
212 return magazine->rounds[--magazine->current_round]; in _PopMagazine()
221 magazine->rounds[magazine->current_round++] = object; in _PushMagazine()
372 for (uint16_t i = 0; i < magazine->current_round; i++) in _EmptyMagazine()
385 magazine->current_round = 0; in _AllocMagazine()
H A DSlab.h482 uint16_t current_round, round_count; member