Lines Matching refs:refs
57 refcount_t refs; member
72 atomic_t refs; member
105 refcount_t refs; /* free mem on transition to zero */ member
135 refcount_t refs; member
190 refcount_t refs; member
205 u64 refs; member
266 refcount_inc(&sctx->refs); in scrub_pending_bio_inc()
339 entry->refs++; in insert_full_stripe_lock()
351 ret->refs = 1; in insert_full_stripe_lock()
505 if (fstripe_lock->refs == 0) { in unlock_full_stripe()
510 fstripe_lock->refs--; in unlock_full_stripe()
513 if (fstripe_lock->refs == 0) { in unlock_full_stripe()
571 if (refcount_dec_and_test(&sctx->refs)) in scrub_put_ctx()
584 refcount_set(&sctx->refs, 1); in scrub_setup_ctx()
801 refcount_inc(&recover->refs); in scrub_get_recover()
807 if (refcount_dec_and_test(&recover->refs)) { in scrub_put_recover()
1318 refcount_set(&recover->refs, 1); in scrub_setup_recheck_block()
1989 refcount_inc(&sblock->refs); in scrub_block_get()
1994 if (refcount_dec_and_test(&sblock->refs)) { in scrub_block_put()
2008 atomic_inc(&spage->refs); in scrub_page_get()
2013 if (atomic_dec_and_test(&spage->refs)) { in scrub_page_put()
2239 refcount_set(&sblock->refs, 1); in scrub_pages()
2544 refcount_set(&sblock->refs, 1); in scrub_pages_for_parity()
2807 refcount_inc(&sparity->refs); in scrub_parity_get()
2812 if (!refcount_dec_and_test(&sparity->refs)) in scrub_parity_put()
2864 refcount_set(&sparity->refs, 1); in scrub_raid56_parity()