Lines Matching refs:counter_ptr
1320 vdo_refcount_t **counter_ptr) in get_reference_counter() argument
1328 *counter_ptr = &slab->counters[index]; in get_reference_counter()
1423 struct pbn_lock *lock, vdo_refcount_t *counter_ptr, in increment_for_data() argument
1428 *counter_ptr = 1; in increment_for_data()
1437 *counter_ptr = 1; in increment_for_data()
1442 if (*counter_ptr >= MAXIMUM_REFERENCE_COUNT) { in increment_for_data()
1447 (*counter_ptr)++; in increment_for_data()
1472 vdo_refcount_t *counter_ptr, bool adjust_block_count) in decrement_for_data() argument
1491 *counter_ptr = PROVISIONAL_REFERENCE_COUNT; in decrement_for_data()
1497 *counter_ptr = EMPTY_REFERENCE_COUNT; in decrement_for_data()
1507 (*counter_ptr)--; in decrement_for_data()
1535 vdo_refcount_t *counter_ptr, bool adjust_block_count) in increment_for_block_map() argument
1545 *counter_ptr = MAXIMUM_REFERENCE_COUNT; in increment_for_block_map()
1559 *counter_ptr = MAXIMUM_REFERENCE_COUNT; in increment_for_block_map()
1567 *counter_ptr, slab->slab_number, in increment_for_block_map()
1598 vdo_refcount_t *counter_ptr = &slab->counters[block_number]; in update_reference_count() local
1599 enum reference_status old_status = reference_count_to_status(*counter_ptr); in update_reference_count()
1604 updater, counter_ptr, adjust_block_count); in update_reference_count()
1612 updater->lock, counter_ptr, adjust_block_count); in update_reference_count()
1616 counter_ptr, adjust_block_count); in update_reference_count()
4368 vdo_refcount_t *counter_ptr = NULL; in vdo_get_increment_limit() local
4374 result = get_reference_counter(slab, pbn, &counter_ptr); in vdo_get_increment_limit()
4378 if (*counter_ptr == PROVISIONAL_REFERENCE_COUNT) in vdo_get_increment_limit()
4381 return (MAXIMUM_REFERENCE_COUNT - *counter_ptr); in vdo_get_increment_limit()