Home
last modified time | relevance | path

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

/Linux-v5.10/fs/afs/
Ddir_silly.c39 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()
Ddir.c213 __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 …]
Dinode.c694 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()
Dwrite.c759 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()
Dsuper.c663 init_rwsem(&vnode->validate_lock); in afs_i_init_once()
Dinternal.h627 struct rw_semaphore validate_lock; /* lock for validating this vnode */ member