Searched refs:lock_sem (Results 1 – 4 of 4) sorted by relevance
261 down_read(&cinode->lock_sem); in cifs_has_mand_locks()268 up_read(&cinode->lock_sem); in cifs_has_mand_locks()332 cifs_down_write(&cinode->lock_sem); in cifs_new_fileinfo()334 up_write(&cinode->lock_sem); in cifs_new_fileinfo()383 cifs_down_write(&cifsi->lock_sem); in cifsFileInfo_put_final()391 up_write(&cifsi->lock_sem); in cifsFileInfo_put_final()681 down_read_nested(&cinode->lock_sem, SINGLE_DEPTH_NESTING); in cifs_relock_file()684 up_read(&cinode->lock_sem); in cifs_relock_file()695 up_read(&cinode->lock_sem); in cifs_relock_file()1120 down_read(&cinode->lock_sem); in cifs_lock_test()[all …]
134 cifs_down_write(&cinode->lock_sem); in smb2_unlock_range()200 up_write(&cinode->lock_sem); in smb2_unlock_range()
1555 struct rw_semaphore lock_sem; /* protect the fields above */ member
1422 init_rwsem(&cifsi->lock_sem); in cifs_init_once()