Home | History | Annotate | Download | only in src

Lines Matching refs:num_pages

758     Length num_pages = max<Length>(num_bytes >> kPageShift, 1);
760 num_pages) << kPageShift;
1012 static void ReportLargeAlloc(Length num_pages, void* result) {
1020 static_cast<uint64>(num_pages) << kPageShift,
1048 inline bool should_report_large(Length num_pages) {
1050 if (threshold > 0 && num_pages >= (threshold >> kPageShift)) {
1065 Length num_pages = tcmalloc::pages(size);
1066 size = num_pages << kPageShift;
1077 report_large = should_report_large(num_pages);
1080 Span* span = Static::pageheap()->New(num_pages);
1082 report_large = should_report_large(num_pages);
1086 ReportLargeAlloc(num_pages, result);