Searched refs:validate_lock (Results 1 – 6 of 6) sorted by relevance
39 down_write(&dvnode->validate_lock); in afs_silly_rename_edit_dir()47 up_write(&dvnode->validate_lock); in afs_silly_rename_edit_dir()171 down_write(&dvnode->validate_lock); in afs_silly_unlink_edit_dir()176 up_write(&dvnode->validate_lock); in afs_silly_unlink_edit_dir()
213 __acquires(&dvnode->validate_lock) in afs_read_dir()296 if (down_read_killable(&dvnode->validate_lock) < 0) in afs_read_dir()302 up_read(&dvnode->validate_lock); in afs_read_dir()303 if (down_write_killable(&dvnode->validate_lock) < 0) in afs_read_dir()327 downgrade_write(&dvnode->validate_lock); in afs_read_dir()332 up_write(&dvnode->validate_lock); in afs_read_dir()339 up_write(&dvnode->validate_lock); in afs_read_dir()504 up_read(&dvnode->validate_lock); in afs_dir_iterate()1297 down_write(&dvnode->validate_lock); in afs_create_edit_dir()1302 up_write(&dvnode->validate_lock); in afs_create_edit_dir()[all …]
694 down_write(&vnode->validate_lock); in afs_validate()723 up_write(&vnode->validate_lock); in afs_validate()729 up_write(&vnode->validate_lock); in afs_validate()894 down_write(&vnode->validate_lock); in afs_setattr()918 up_write(&vnode->validate_lock); in afs_setattr()
759 down_read(&vnode->validate_lock); in afs_writepages()760 else if (!down_read_trylock(&vnode->validate_lock)) in afs_writepages()782 up_read(&vnode->validate_lock); in afs_writepages()
663 init_rwsem(&vnode->validate_lock); in afs_i_init_once()
627 struct rw_semaphore validate_lock; /* lock for validating this vnode */ member