Home
last modified time | relevance | path

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

/xnu-11417.101.15/osfmk/vm/
H A Dvm_compressor_pager.c629 unsigned int chunk_idx; in compressor_pager_slot_lookup() local
651 chunk_idx = page_num / COMPRESSOR_SLOTS_PER_CHUNK; in compressor_pager_slot_lookup()
652 chunk = pager->cpgr_slots.cpgr_islots[chunk_idx]; in compressor_pager_slot_lookup()
660 if ((chunk = pager->cpgr_slots.cpgr_islots[chunk_idx]) == NULL) { in compressor_pager_slot_lookup()
672 chunk = pager->cpgr_slots.cpgr_islots[chunk_idx] = t_chunk; in compressor_pager_slot_lookup()
1068 unsigned int chunk_idx; in vm_compressor_pager_next_compressed() local
1105 for (chunk_idx = page_num / COMPRESSOR_SLOTS_PER_CHUNK, in vm_compressor_pager_next_compressed()
1107 chunk_idx < num_chunks; in vm_compressor_pager_next_compressed()
1108 chunk_idx++, in vm_compressor_pager_next_compressed()
1110 chunk = pager->cpgr_slots.cpgr_islots[chunk_idx]; in vm_compressor_pager_next_compressed()
[all …]
/xnu-11417.101.15/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-11417.101.15/tools/lldbmacros/
H A Dmemory.py4897 chunk_idx = unsigned(page_num // slots_per_chunk)
4898 chunk = pager.cpgr_slots.cpgr_islots[chunk_idx]
4901 slot_str = "islots[{:d}][{:d}]".format(chunk_idx, slot_idx)