Searched refs:blocks_alloced (Results 1 – 1 of 1) sorted by relevance
211 size_t blocks_alloced; member237 if (sr->blocks_alloced == 0) { in rand_alloc_choice()239 } else if (sr->blocks_alloced >= sr->nblocks) { in rand_alloc_choice()289 return rand32() % sr->blocks_alloced; in rand_free_choice()328 sr.blocks[sr.blocks_alloced].ptr = p; in sys_heap_stress()329 sr.blocks[sr.blocks_alloced].sz = sz; in sys_heap_stress()330 sr.blocks_alloced++; in sys_heap_stress()339 sr.blocks[b] = sr.blocks[sr.blocks_alloced - 1]; in sys_heap_stress()340 sr.blocks_alloced--; in sys_heap_stress()