Home
last modified time | relevance | path

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

/xnu-8020.101.4/osfmk/vm/
H A Dvm_compressor_pager.c659 int chunk_idx; in compressor_pager_slot_lookup() local
680 chunk_idx = page_num / COMPRESSOR_SLOTS_PER_CHUNK; in compressor_pager_slot_lookup()
681 chunk = pager->cpgr_slots.cpgr_islots[chunk_idx]; in compressor_pager_slot_lookup()
689 if ((chunk = pager->cpgr_slots.cpgr_islots[chunk_idx]) == NULL) { in compressor_pager_slot_lookup()
701 chunk = pager->cpgr_slots.cpgr_islots[chunk_idx] = t_chunk; in compressor_pager_slot_lookup()
1096 uint32_t chunk_idx; in vm_compressor_pager_next_compressed() local
1135 for (chunk_idx = page_num / COMPRESSOR_SLOTS_PER_CHUNK, in vm_compressor_pager_next_compressed()
1137 chunk_idx < num_chunks; in vm_compressor_pager_next_compressed()
1138 chunk_idx++, in vm_compressor_pager_next_compressed()
1140 chunk = pager->cpgr_slots.cpgr_islots[chunk_idx]; in vm_compressor_pager_next_compressed()
[all …]
/xnu-8020.101.4/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_owner.c498 uint32_t chunk_idx, bit_pos; in flow_owner_flowadv_index_free() local
505 chunk_idx = fadv_idx / FO_FLOWADV_CHUNK; in flow_owner_flowadv_index_free()
507 ASSERT(!bit_test(bmap[chunk_idx], bit_pos)); in flow_owner_flowadv_index_free()
509 bit_set(bmap[chunk_idx], bit_pos); in flow_owner_flowadv_index_free()
/xnu-8020.101.4/tools/lldbmacros/
H A Dmemory.py4304 chunk_idx = unsigned(page_num // slots_per_chunk)
4305 chunk = pager.cpgr_slots.cpgr_islots[chunk_idx]
4308 slot_str = "islots[{:d}][{:d}]".format(chunk_idx, slot_idx)