Searched refs:chunk_idx (Results 1 – 3 of 3) sorted by relevance
628 unsigned int chunk_idx; in compressor_pager_slot_lookup() local650 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() local1104 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 …]
497 uint32_t chunk_idx, bit_pos; in flow_owner_flowadv_index_free() local504 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()
4733 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)