Lines Matching refs:lock_sem
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()
1027 up_read(&cinode->lock_sem); in cifs_lock_test()
1035 cifs_down_write(&cinode->lock_sem); in cifs_lock_add()
1037 up_write(&cinode->lock_sem); in cifs_lock_add()
1057 cifs_down_write(&cinode->lock_sem); in cifs_lock_add_if()
1063 up_write(&cinode->lock_sem); in cifs_lock_add_if()
1073 up_write(&cinode->lock_sem); in cifs_lock_add_if()
1079 cifs_down_write(&cinode->lock_sem); in cifs_lock_add_if()
1083 up_write(&cinode->lock_sem); in cifs_lock_add_if()
1104 down_read(&cinode->lock_sem); in cifs_posix_lock_test()
1112 up_read(&cinode->lock_sem); in cifs_posix_lock_test()
1132 cifs_down_write(&cinode->lock_sem); in cifs_posix_lock_set()
1134 up_write(&cinode->lock_sem); in cifs_posix_lock_set()
1139 up_write(&cinode->lock_sem); in cifs_posix_lock_set()
1338 cifs_down_write(&cinode->lock_sem); in cifs_push_locks()
1340 up_write(&cinode->lock_sem); in cifs_push_locks()
1352 up_write(&cinode->lock_sem); in cifs_push_locks()
1529 cifs_down_write(&cinode->lock_sem); in cifs_unlock_range()
1599 up_write(&cinode->lock_sem); in cifs_unlock_range()
2892 down_read(&cinode->lock_sem); in cifs_writev()
2905 up_read(&cinode->lock_sem); in cifs_writev()
3471 down_read(&cinode->lock_sem); in cifs_strict_readv()
3476 up_read(&cinode->lock_sem); in cifs_strict_readv()