Home
last modified time | relevance | path

Searched refs:lock_sem (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/fs/cifs/
Dfile.c273 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 …]
Dsmb2file.c140 cifs_down_write(&cinode->lock_sem); in smb2_unlock_range()
201 up_write(&cinode->lock_sem); in smb2_unlock_range()
Dcifsglob.h1297 struct rw_semaphore lock_sem; /* protect the fields above */ member
Dcifsfs.c1255 init_rwsem(&cifsi->lock_sem); in cifs_init_once()