Lines Matching refs:d_lock
87 spin_lock(&root->d_lock); in get_next_positive_subdir()
98 spin_unlock(&root->d_lock); in get_next_positive_subdir()
106 spin_lock_nested(&q->d_lock, DENTRY_D_LOCK_NESTED); in get_next_positive_subdir()
109 spin_unlock(&q->d_lock); in get_next_positive_subdir()
114 spin_unlock(&q->d_lock); in get_next_positive_subdir()
115 spin_unlock(&root->d_lock); in get_next_positive_subdir()
139 spin_lock(&p->d_lock); in get_next_positive_dentry()
147 spin_unlock(&p->d_lock); in get_next_positive_dentry()
154 if (!spin_trylock(&parent->d_lock)) { in get_next_positive_dentry()
155 spin_unlock(&p->d_lock); in get_next_positive_dentry()
159 spin_unlock(&p->d_lock); in get_next_positive_dentry()
168 spin_lock_nested(&ret->d_lock, DENTRY_D_LOCK_NESTED); in get_next_positive_dentry()
171 spin_unlock(&p->d_lock); in get_next_positive_dentry()
172 lock_set_subclass(&ret->d_lock.dep_map, 0, _RET_IP_); in get_next_positive_dentry()
177 spin_unlock(&ret->d_lock); in get_next_positive_dentry()
178 spin_unlock(&p->d_lock); in get_next_positive_dentry()