Home
last modified time | relevance | path

Searched refs:prjId (Results 1 - 4 of 4) sorted by relevance

/foundation/filemanagement/storage_service/services/storage_daemon/include/quota/
H A Dquota_manager.h51 int32_t SetQuotaPrjId(const std::string &path, int32_t prjId, bool inherit);
/foundation/filemanagement/storage_service/services/storage_daemon/quota/
H A Dquota_manager.cpp158 static int64_t GetOccupiedSpaceForPrjId(int32_t prjId, int64_t &size) in GetOccupiedSpaceForPrjId() argument
173 if (quotactl(QCMD(Q_GETQUOTA, PRJQUOTA), device.c_str(), prjId, reinterpret_cast<char*>(&dq)) != 0) { in GetOccupiedSpaceForPrjId()
248 int32_t QuotaManager::SetQuotaPrjId(const std::string &path, int32_t prjId, bool inherit) in SetQuotaPrjId() argument
272 if (fsx.fsx_projid == static_cast<uint32_t>(prjId)) { in SetQuotaPrjId()
276 fsx.fsx_projid = static_cast<uint32_t>(prjId); in SetQuotaPrjId()
/foundation/filemanagement/storage_service/services/storage_manager/storage/src/
H A Dstorage_status_service.cpp146 int32_t prjId = userId * USER_ID_BASE + UID_FILE_MANAGER; in GetFileStorageStats() local
149 err = sdCommunication->GetOccupiedSpace(StorageDaemon::USRID, prjId, storageStats.file_); in GetFileStorageStats()
/foundation/filemanagement/storage_service/services/storage_daemon/user/src/
H A Dmount_manager.cpp1256 int32_t prjId = 0; in SetFafQuotaProId() local
1258 QuotaManager::GetInstance()->SetQuotaPrjId(StringPrintf(dir.path.c_str(), userId), prjId, true); in SetFafQuotaProId() local
1260 QuotaManager::GetInstance()->SetQuotaPrjId(StringPrintf(SHARE_PATH.c_str(), userId), prjId, true); in SetFafQuotaProId() local

Completed in 5 milliseconds