Lines Matching refs:lock_sem
271 down_read(&cinode->lock_sem); in cifs_has_mand_locks()
278 up_read(&cinode->lock_sem); in cifs_has_mand_locks()
340 cifs_down_write(&cinode->lock_sem); in cifs_new_fileinfo()
342 up_write(&cinode->lock_sem); in cifs_new_fileinfo()
391 cifs_down_write(&cifsi->lock_sem); in cifsFileInfo_put_final()
399 up_write(&cifsi->lock_sem); in cifsFileInfo_put_final()
656 down_read_nested(&cinode->lock_sem, SINGLE_DEPTH_NESTING); in cifs_relock_file()
659 up_read(&cinode->lock_sem); in cifs_relock_file()
670 up_read(&cinode->lock_sem); in cifs_relock_file()
1042 down_read(&cinode->lock_sem); in cifs_lock_test()
1060 up_read(&cinode->lock_sem); in cifs_lock_test()
1068 cifs_down_write(&cinode->lock_sem); in cifs_lock_add()
1070 up_write(&cinode->lock_sem); in cifs_lock_add()
1090 cifs_down_write(&cinode->lock_sem); in cifs_lock_add_if()
1097 up_write(&cinode->lock_sem); in cifs_lock_add_if()
1107 up_write(&cinode->lock_sem); in cifs_lock_add_if()
1113 cifs_down_write(&cinode->lock_sem); in cifs_lock_add_if()
1117 up_write(&cinode->lock_sem); in cifs_lock_add_if()
1138 down_read(&cinode->lock_sem); in cifs_posix_lock_test()
1146 up_read(&cinode->lock_sem); in cifs_posix_lock_test()
1166 cifs_down_write(&cinode->lock_sem); in cifs_posix_lock_set()
1168 up_write(&cinode->lock_sem); in cifs_posix_lock_set()
1173 up_write(&cinode->lock_sem); in cifs_posix_lock_set()
1366 cifs_down_write(&cinode->lock_sem); in cifs_push_locks()
1368 up_write(&cinode->lock_sem); in cifs_push_locks()
1380 up_write(&cinode->lock_sem); in cifs_push_locks()
1557 cifs_down_write(&cinode->lock_sem); in cifs_unlock_range()
1627 up_write(&cinode->lock_sem); in cifs_unlock_range()
3246 down_read(&cinode->lock_sem); in cifs_writev()
3259 up_read(&cinode->lock_sem); in cifs_writev()
3994 down_read(&cinode->lock_sem); in cifs_strict_readv()
3999 up_read(&cinode->lock_sem); in cifs_strict_readv()