Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
173 down_write(&dvnode->validate_lock); in afs_silly_unlink_edit_dir()
178 up_write(&dvnode->validate_lock); in afs_silly_unlink_edit_dir()
Ddir.c212 __acquires(&dvnode->validate_lock) in afs_read_dir()
295 if (down_read_killable(&dvnode->validate_lock) < 0) in afs_read_dir()
301 up_read(&dvnode->validate_lock); in afs_read_dir()
302 if (down_write_killable(&dvnode->validate_lock) < 0) in afs_read_dir()
326 downgrade_write(&dvnode->validate_lock); in afs_read_dir()
331 up_write(&dvnode->validate_lock); in afs_read_dir()
338 up_write(&dvnode->validate_lock); in afs_read_dir()
506 up_read(&dvnode->validate_lock); in afs_dir_iterate()
1267 down_write(&dvnode->validate_lock); in afs_create_edit_dir()
1272 up_write(&dvnode->validate_lock); in afs_create_edit_dir()
[all …]
Dinode.c684 down_write(&vnode->validate_lock); in afs_validate()
713 up_write(&vnode->validate_lock); in afs_validate()
719 up_write(&vnode->validate_lock); in afs_validate()
897 down_write(&vnode->validate_lock); in afs_setattr()
922 up_write(&vnode->validate_lock); in afs_setattr()
Dwrite.c760 down_read(&vnode->validate_lock); in afs_writepages()
761 else if (!down_read_trylock(&vnode->validate_lock)) in afs_writepages()
783 up_read(&vnode->validate_lock); in afs_writepages()
Dsuper.c663 init_rwsem(&vnode->validate_lock); in afs_i_init_once()
Dinternal.h626 struct rw_semaphore validate_lock; /* lock for validating this vnode */ member