Home
last modified time | relevance | path

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

/Linux-v6.1/fs/btrfs/
Dscrub.c640 struct full_stripe_lock *fstripe_lock; in unlock_full_stripe() local
661 fstripe_lock = search_full_stripe_lock(locks_root, fstripe_start); in unlock_full_stripe()
663 if (!fstripe_lock) { in unlock_full_stripe()
670 if (fstripe_lock->refs == 0) { in unlock_full_stripe()
673 fstripe_lock->logical); in unlock_full_stripe()
675 fstripe_lock->refs--; in unlock_full_stripe()
678 if (fstripe_lock->refs == 0) { in unlock_full_stripe()
679 rb_erase(&fstripe_lock->node, &locks_root->root); in unlock_full_stripe()
684 mutex_unlock(&fstripe_lock->mutex); in unlock_full_stripe()
686 kfree(fstripe_lock); in unlock_full_stripe()