Lines Matching refs:d_lock
84 spin_lock(&root->d_lock); in get_next_positive_subdir()
95 spin_unlock(&root->d_lock); in get_next_positive_subdir()
103 spin_lock_nested(&q->d_lock, DENTRY_D_LOCK_NESTED); in get_next_positive_subdir()
106 spin_unlock(&q->d_lock); in get_next_positive_subdir()
111 spin_unlock(&q->d_lock); in get_next_positive_subdir()
112 spin_unlock(&root->d_lock); in get_next_positive_subdir()
136 spin_lock(&p->d_lock); in get_next_positive_dentry()
144 spin_unlock(&p->d_lock); in get_next_positive_dentry()
151 if (!spin_trylock(&parent->d_lock)) { in get_next_positive_dentry()
152 spin_unlock(&p->d_lock); in get_next_positive_dentry()
156 spin_unlock(&p->d_lock); in get_next_positive_dentry()
165 spin_lock_nested(&ret->d_lock, DENTRY_D_LOCK_NESTED); in get_next_positive_dentry()
168 spin_unlock(&p->d_lock); in get_next_positive_dentry()
169 lock_set_subclass(&ret->d_lock.dep_map, 0, _RET_IP_); in get_next_positive_dentry()
174 spin_unlock(&ret->d_lock); in get_next_positive_dentry()
175 spin_unlock(&p->d_lock); in get_next_positive_dentry()
481 spin_lock(&expired->d_parent->d_lock); in autofs4_expire_indirect()
482 spin_lock_nested(&expired->d_lock, DENTRY_D_LOCK_NESTED); in autofs4_expire_indirect()
484 spin_unlock(&expired->d_lock); in autofs4_expire_indirect()
485 spin_unlock(&expired->d_parent->d_lock); in autofs4_expire_indirect()