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()338 cifs_down_write(&cinode->lock_sem); in cifs_new_fileinfo()340 up_write(&cinode->lock_sem); in cifs_new_fileinfo()468 cifs_down_write(&cifsi->lock_sem); in _cifsFileInfo_put()476 up_write(&cifsi->lock_sem); in _cifsFileInfo_put()625 down_read_nested(&cinode->lock_sem, SINGLE_DEPTH_NESTING); in cifs_relock_file()628 up_read(&cinode->lock_sem); in cifs_relock_file()639 up_read(&cinode->lock_sem); in cifs_relock_file()1004 down_read(&cinode->lock_sem); in cifs_lock_test()[all …]
142 cifs_down_write(&cinode->lock_sem); in smb2_unlock_range()203 up_write(&cinode->lock_sem); in smb2_unlock_range()
1218 struct rw_semaphore lock_sem; /* protect the fields above */ member
1202 init_rwsem(&cifsi->lock_sem); in cifs_init_once()