Searched refs:available_memory (Results 1 – 4 of 4) sorted by relevance
213 uint32_t available_memory = in CheckPlatformExploitability() local215 available_memory = available_memory > kDisassembleBytesBeyondPC ? in CheckPlatformExploitability()216 kDisassembleBytesBeyondPC : available_memory; in CheckPlatformExploitability()217 if (available_memory) { in CheckPlatformExploitability()221 available_memory, in CheckPlatformExploitability()
66 int64 total_memory, available_memory; in AvailableGPUMemory() local67 CHECK(se->DeviceMemoryUsage(&available_memory, &total_memory)); in AvailableGPUMemory()69 return available_memory; in AvailableGPUMemory()
849 int64 MinSystemMemory(int64 available_memory) { in MinSystemMemory() argument857 if (available_memory < (1LL << 31)) { in MinSystemMemory()863 std::max(int64{314572800}, static_cast<int64>(available_memory * 0.05)); in MinSystemMemory()891 int64 available_memory = 0; in SingleVirtualDeviceMemoryLimit() local894 if (!se->DeviceMemoryUsage(&available_memory, &total_memory)) { in SingleVirtualDeviceMemoryLimit()917 allocated_memory = available_memory; in SingleVirtualDeviceMemoryLimit()918 const int64 min_system_memory = MinSystemMemory(available_memory); in SingleVirtualDeviceMemoryLimit()
39 int64 total_memory, available_memory; in GetTotalGPUMemory() local40 CHECK(se->DeviceMemoryUsage(&available_memory, &total_memory)); in GetTotalGPUMemory()