Searched refs:requested_buffer_size_kb (Results 1 – 2 of 2) sorted by relevance
278 size_t ComputeCpuBufferSizeInPages(size_t requested_buffer_size_kb) { in ComputeCpuBufferSizeInPages() argument279 if (requested_buffer_size_kb == 0) in ComputeCpuBufferSizeInPages()280 requested_buffer_size_kb = kDefaultPerCpuBufferSizeKb; in ComputeCpuBufferSizeInPages()281 if (requested_buffer_size_kb > kMaxPerCpuBufferSizeKb) { in ComputeCpuBufferSizeInPages()284 requested_buffer_size_kb, kMaxPerCpuBufferSizeKb); in ComputeCpuBufferSizeInPages()285 requested_buffer_size_kb = kMaxPerCpuBufferSizeKb; in ComputeCpuBufferSizeInPages()288 size_t pages = requested_buffer_size_kb / (base::kPageSize / 1024); in ComputeCpuBufferSizeInPages()
131 size_t ComputeCpuBufferSizeInPages(size_t requested_buffer_size_kb);