Searched refs:fileLock (Results 1 - 15 of 15) sorted by relevance
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/test/ |
H A D | security_manager_test.cpp | 134 SecurityManager::KeyFilesAutoLock fileLock(keyFiles); in HWTEST_F() 137 SecurityManager::KeyFilesAutoLock fileLock(keyFiles); in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | security_manager.cpp | 77 KeyFilesAutoLock fileLock(keyFiles); in GetDBPassword() 103 KeyFilesAutoLock fileLock(keyFiles); in SaveDBPassword() 113 KeyFilesAutoLock fileLock(keyFiles); in DelDBPassword() 116 fileLock.UnLockAndDestroy(); in DelDBPassword()
|
/foundation/filemanagement/dfs_service/services/cloudfiledaemon/include/cloud_disk/ |
H A D | cloud_disk_inode.h | 93 std::shared_mutex fileLock; member
|
/foundation/filemanagement/dfs_service/utils/dentry/src/ |
H A D | meta_file_clouddisk.cpp | 361 FileRangeLock fileLock(fd_, 0, 0); in DoCreate() 506 FileRangeLock fileLock(fd_, 0, 0); in DoRemove() 539 FileRangeLock fileLock(fd_, 0, 0); in DoLookup() 567 FileRangeLock fileLock(fd_, 0, 0); in DoUpdate() 648 FileRangeLock fileLock(fd_, 0, 0); in LoadChildren()
|
H A D | meta_file.cpp | 339 FileRangeLock fileLock(fd_, 0, 0); in DoCreate() 506 FileRangeLock fileLock(fd_, 0, 0); in DoRemove() 539 FileRangeLock fileLock(fd_, 0, 0); in DoLookup() 565 FileRangeLock fileLock(fd_, 0, 0); in DoUpdate() 648 FileRangeLock fileLock(fd_, 0, 0); in LoadChildren()
|
/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/cloud_disk/ |
H A D | file_operations_helper.cpp | 112 shared_lock<shared_mutex> rLock(data->fileLock, std::defer_lock); in FindCloudDiskFile() 223 std::unique_lock<std::shared_mutex> wLock(data->fileLock, std::defer_lock); in PutCloudDiskFile()
|
H A D | file_operations_cloud.cpp | 100 std::unique_lock<std::shared_mutex> wLock(data->fileLock, std::defer_lock); in InitFileAttr()
|
/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_xml_utils.cpp | 132 PreferencesFileLock fileLock(MakeFilePath(fileName, STR_LOCK), dataGroupId); in XmlReadFile() 328 PreferencesFileLock fileLock(MakeFilePath(fileName, STR_LOCK), dataGroupId); in XmlSaveFormatFileEnc()
|
H A D | preferences_helper.cpp | 225 PreferencesFileLock fileLock(lockFilePath, dataGroupId); in DeletePreferences()
|
/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/mock/ |
H A D | file_operations_helper_mock.cpp | 216 std::unique_lock<std::shared_mutex> wLock(data->fileLock, std::defer_lock); in PutCloudDiskFile()
|
H A D | file_operations_cloud_mock.cpp | 77 std::unique_lock<std::shared_mutex> wLock(data->fileLock, std::defer_lock); in InitFileAttr()
|
/foundation/filemanagement/app_file_service/tools/backup_tool/src/ |
H A D | tools_op_incremental_restore_async.cpp | 128 unique_lock<mutex> fileLock(ctx->fileCountLock_); in OnFileReady()
|
H A D | tools_op_restore_async.cpp | 122 unique_lock<mutex> fileLock(ctx->fileCountLock_); in OnFileReady()
|
H A D | tools_op_incremental_restore.cpp | 159 unique_lock<mutex> fileLock(ctx->fileCountLock_); in OnFileReady()
|
H A D | tools_op_restore.cpp | 137 unique_lock<mutex> fileLock(ctx->fileCountLock_); in OnFileReady()
|
Completed in 17 milliseconds