Home
last modified time | relevance | path

Searched refs:fileLock (Results 1 - 15 of 15) sorted by relevance

/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/test/
H A Dsecurity_manager_test.cpp134 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 Dsecurity_manager.cpp77 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 Dcloud_disk_inode.h93 std::shared_mutex fileLock; member
/foundation/filemanagement/dfs_service/utils/dentry/src/
H A Dmeta_file_clouddisk.cpp361 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 Dmeta_file.cpp339 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 Dfile_operations_helper.cpp112 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 Dfile_operations_cloud.cpp100 std::unique_lock<std::shared_mutex> wLock(data->fileLock, std::defer_lock); in InitFileAttr()
/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_xml_utils.cpp132 PreferencesFileLock fileLock(MakeFilePath(fileName, STR_LOCK), dataGroupId); in XmlReadFile()
328 PreferencesFileLock fileLock(MakeFilePath(fileName, STR_LOCK), dataGroupId); in XmlSaveFormatFileEnc()
H A Dpreferences_helper.cpp225 PreferencesFileLock fileLock(lockFilePath, dataGroupId); in DeletePreferences()
/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/mock/
H A Dfile_operations_helper_mock.cpp216 std::unique_lock<std::shared_mutex> wLock(data->fileLock, std::defer_lock); in PutCloudDiskFile()
H A Dfile_operations_cloud_mock.cpp77 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 Dtools_op_incremental_restore_async.cpp128 unique_lock<mutex> fileLock(ctx->fileCountLock_); in OnFileReady()
H A Dtools_op_restore_async.cpp122 unique_lock<mutex> fileLock(ctx->fileCountLock_); in OnFileReady()
H A Dtools_op_incremental_restore.cpp159 unique_lock<mutex> fileLock(ctx->fileCountLock_); in OnFileReady()
H A Dtools_op_restore.cpp137 unique_lock<mutex> fileLock(ctx->fileCountLock_); in OnFileReady()

Completed in 17 milliseconds