Lines Matching refs:cur_block
782 uint32_t cur_block = cur_chunk > 3 ? in dump_cp_mem_pool() local
791 printf("\tblock %x\n", cur_block); in dump_cp_mem_pool()
792 if (cur_block >= num_blocks) { in dump_cp_mem_pool()
793 fprintf(stderr, "block %x too large\n", cur_block); in dump_cp_mem_pool()
797 while (cur_block != last_block || cur_chunk != last_chunk) { in dump_cp_mem_pool()
799 uint32_t *chunk_ptr = &mempool[cur_block * 0x20 + cur_chunk * 4]; in dump_cp_mem_pool()
804 4 * (cur_block * 0x20 + cur_chunk + 4), in dump_cp_mem_pool()
809 cur_block = next_pointers[cur_block]; in dump_cp_mem_pool()
811 printf("\tblock %x\n", cur_block); in dump_cp_mem_pool()
812 if (cur_block >= num_blocks) { in dump_cp_mem_pool()
813 fprintf(stderr, "block %x too large\n", cur_block); in dump_cp_mem_pool()