Home
last modified time | relevance | path

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

/hardware/google/gfxstream/host/
DFrameBuffer.cpp233 constexpr const rlim_t kDesiredNofileSoftLimit = 4096; in MaybeIncreaseFileDescriptorSoftLimit() local
235 if (softLimit < kDesiredNofileSoftLimit) { 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()