Searched refs:requested_buffer_size_kb (Results 1 – 2 of 2) sorted by relevance
423 size_t ComputeCpuBufferSizeInPages(size_t requested_buffer_size_kb) { in ComputeCpuBufferSizeInPages() argument424 if (requested_buffer_size_kb == 0) in ComputeCpuBufferSizeInPages()425 requested_buffer_size_kb = kDefaultPerCpuBufferSizeKb; in ComputeCpuBufferSizeInPages()426 if (requested_buffer_size_kb > kMaxPerCpuBufferSizeKb) { in ComputeCpuBufferSizeInPages()429 requested_buffer_size_kb, kMaxPerCpuBufferSizeKb); in ComputeCpuBufferSizeInPages()430 requested_buffer_size_kb = kMaxPerCpuBufferSizeKb; in ComputeCpuBufferSizeInPages()433 size_t pages = requested_buffer_size_kb / (base::kPageSize / 1024); in ComputeCpuBufferSizeInPages()
171 size_t ComputeCpuBufferSizeInPages(size_t requested_buffer_size_kb);