Lines Matching refs:d_lock
109 spin_lock(&dentry->d_lock); in scan_positives()
116 spin_lock_nested(&d->d_lock, DENTRY_D_LOCK_NESTED); in scan_positives()
119 spin_unlock(&d->d_lock); in scan_positives()
127 spin_unlock(&dentry->d_lock); in scan_positives()
129 spin_lock(&dentry->d_lock); in scan_positives()
132 spin_unlock(&dentry->d_lock); in scan_positives()
160 spin_lock(&dentry->d_lock); in dcache_dir_lseek()
165 spin_unlock(&dentry->d_lock); in dcache_dir_lseek()
213 spin_lock(&dentry->d_lock); in dcache_readdir()
218 spin_unlock(&dentry->d_lock); in dcache_readdir()
251 spin_lock(&parent->d_lock); in find_next_child()
255 spin_lock_nested(&d->d_lock, DENTRY_D_LOCK_NESTED); in find_next_child()
258 spin_unlock(&d->d_lock); in find_next_child()
263 spin_unlock(&parent->d_lock); in find_next_child()
412 spin_lock(&dentry->d_lock); in simple_empty()
414 spin_lock_nested(&child->d_lock, DENTRY_D_LOCK_NESTED); in simple_empty()
416 spin_unlock(&child->d_lock); in simple_empty()
419 spin_unlock(&child->d_lock); in simple_empty()
423 spin_unlock(&dentry->d_lock); in simple_empty()