Home
last modified time | relevance | path

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

/xnu-11215.1.10/osfmk/vm/
H A Dvm_compressor_pager.c628 unsigned int chunk_idx; in compressor_pager_slot_lookup() local
650 chunk_idx = page_num / COMPRESSOR_SLOTS_PER_CHUNK; in compressor_pager_slot_lookup()
651 chunk = pager->cpgr_slots.cpgr_islots[chunk_idx]; in compressor_pager_slot_lookup()
659 if ((chunk = pager->cpgr_slots.cpgr_islots[chunk_idx]) == NULL) { in compressor_pager_slot_lookup()
671 chunk = pager->cpgr_slots.cpgr_islots[chunk_idx] = t_chunk; in compressor_pager_slot_lookup()
1067 unsigned int chunk_idx; in vm_compressor_pager_next_compressed() local
1104 for (chunk_idx = page_num / COMPRESSOR_SLOTS_PER_CHUNK, in vm_compressor_pager_next_compressed()
1106 chunk_idx < num_chunks; in vm_compressor_pager_next_compressed()
1107 chunk_idx++, in vm_compressor_pager_next_compressed()
1109 chunk = pager->cpgr_slots.cpgr_islots[chunk_idx]; in vm_compressor_pager_next_compressed()
[all …]
/xnu-11215.1.10/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_owner.c497 uint32_t chunk_idx, bit_pos; in flow_owner_flowadv_index_free() local
504 chunk_idx = fadv_idx / FO_FLOWADV_CHUNK; in flow_owner_flowadv_index_free()
506 ASSERT(!bit_test(bmap[chunk_idx], bit_pos)); in flow_owner_flowadv_index_free()
508 bit_set(bmap[chunk_idx], bit_pos); in flow_owner_flowadv_index_free()
/xnu-11215.1.10/tools/lldbmacros/
H A Dmemory.py4733 chunk_idx = unsigned(page_num // slots_per_chunk)
4734 chunk = pager.cpgr_slots.cpgr_islots[chunk_idx]
4737 slot_str = "islots[{:d}][{:d}]".format(chunk_idx, slot_idx)