Lines Matching refs:slabs
2540 list_add_tail(&slab->allocq_entry, &scrubber->slabs); in register_slab_for_scrubbing()
2640 return list_first_entry_or_null(&scrubber->slabs, struct vdo_slab, in get_next_slab()
3022 struct vdo_slab **slabs = depot->slabs; in get_depot_slab_iterator() local
3025 .slabs = slabs, in get_depot_slab_iterator()
3026 .next = (((slabs == NULL) || (start < end)) ? NULL : slabs[start]), in get_depot_slab_iterator()
3052 iterator->next = iterator->slabs[slab->slab_number - iterator->stride]; in next_slab()
3538 slab = depot->slabs[current_slab_status.slab_number]; in vdo_prepare_slabs_for_allocation()
3787 if (depot->slabs != NULL) { in allocate_slabs()
3788 memcpy(depot->new_slabs, depot->slabs, in allocate_slabs()
3953 INIT_LIST_HEAD(&scrubber->slabs); in initialize_slab_scrubber()
4138 depot->slabs = depot->new_slabs; in allocate_components()
4239 if (depot->slabs != NULL) { in vdo_free_slab_depot()
4243 free_slab(vdo_forget(depot->slabs[i])); in vdo_free_slab_depot()
4246 vdo_free(vdo_forget(depot->slabs)); in vdo_free_slab_depot()
4353 return depot->slabs[slab_number]; in vdo_get_slab()
4399 (slab_block_number_from_pbn(depot->slabs[slab_number], pbn, &sbn) == in vdo_is_physical_data_block()
4711 vdo_free(depot->slabs); in finish_registration()
4712 depot->slabs = depot->new_slabs; in finish_registration()