Searched refs:lock_sem (Results 1 – 4 of 4) sorted by relevance
273 down_read(&cinode->lock_sem); in cifs_has_mand_locks()280 up_read(&cinode->lock_sem); in cifs_has_mand_locks()339 cifs_down_write(&cinode->lock_sem); in cifs_new_fileinfo()341 up_write(&cinode->lock_sem); in cifs_new_fileinfo()473 cifs_down_write(&cifsi->lock_sem); in _cifsFileInfo_put()481 up_write(&cifsi->lock_sem); in _cifsFileInfo_put()630 down_read_nested(&cinode->lock_sem, SINGLE_DEPTH_NESTING); in cifs_relock_file()633 up_read(&cinode->lock_sem); in cifs_relock_file()644 up_read(&cinode->lock_sem); in cifs_relock_file()1010 down_read(&cinode->lock_sem); in cifs_lock_test()[all …]
140 cifs_down_write(&cinode->lock_sem); in smb2_unlock_range()201 up_write(&cinode->lock_sem); in smb2_unlock_range()
1297 struct rw_semaphore lock_sem; /* protect the fields above */ member
1255 init_rwsem(&cifsi->lock_sem); in cifs_init_once()