Home
last modified time | relevance | path

Searched refs:hardLimit (Results 1 – 1 of 1) sorted by relevance

/hardware/google/gfxstream/host/
DFrameBuffer.cpp231 const auto hardLimit = nofileLimits.rlim_max; in MaybeIncreaseFileDescriptorSoftLimit() local
236 if (softLimit == hardLimit) { in MaybeIncreaseFileDescriptorSoftLimit()
241 if (kDesiredNofileSoftLimit > hardLimit) { in MaybeIncreaseFileDescriptorSoftLimit()
243 static_cast<int>(kDesiredNofileSoftLimit), static_cast<int>(hardLimit)); in MaybeIncreaseFileDescriptorSoftLimit()
246 const rlim_t requestedSoftLimit = std::min(kDesiredNofileSoftLimit, hardLimit); in MaybeIncreaseFileDescriptorSoftLimit()
250 .rlim_max = hardLimit, in MaybeIncreaseFileDescriptorSoftLimit()