Home
last modified time | relevance | path

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

/Linux-v5.4/fs/btrfs/
Dscrub.c475 struct full_stripe_lock *fstripe_lock; in unlock_full_stripe() local
496 fstripe_lock = search_full_stripe_lock(locks_root, fstripe_start); in unlock_full_stripe()
498 if (!fstripe_lock) { in unlock_full_stripe()
505 if (fstripe_lock->refs == 0) { in unlock_full_stripe()
508 fstripe_lock->logical); in unlock_full_stripe()
510 fstripe_lock->refs--; in unlock_full_stripe()
513 if (fstripe_lock->refs == 0) { in unlock_full_stripe()
514 rb_erase(&fstripe_lock->node, &locks_root->root); in unlock_full_stripe()
519 mutex_unlock(&fstripe_lock->mutex); in unlock_full_stripe()
521 kfree(fstripe_lock); in unlock_full_stripe()