Searched refs:lock_sem (Results 1 – 4 of 4) sorted by relevance
272 down_read(&cinode->lock_sem); in cifs_has_mand_locks()279 up_read(&cinode->lock_sem); in cifs_has_mand_locks()341 cifs_down_write(&cinode->lock_sem); in cifs_new_fileinfo()343 up_write(&cinode->lock_sem); in cifs_new_fileinfo()392 cifs_down_write(&cifsi->lock_sem); in cifsFileInfo_put_final()400 up_write(&cifsi->lock_sem); in cifsFileInfo_put_final()657 down_read_nested(&cinode->lock_sem, SINGLE_DEPTH_NESTING); in cifs_relock_file()660 up_read(&cinode->lock_sem); in cifs_relock_file()671 up_read(&cinode->lock_sem); in cifs_relock_file()1043 down_read(&cinode->lock_sem); in cifs_lock_test()[all …]
148 cifs_down_write(&cinode->lock_sem); in smb2_unlock_range()214 up_write(&cinode->lock_sem); in smb2_unlock_range()
1466 struct rw_semaphore lock_sem; /* protect the fields above */ member
1367 init_rwsem(&cifsi->lock_sem); in cifs_init_once()