Searched refs:max_allocs (Results 1 – 3 of 3) sorted by relevance
40 size_t max_allocs = 0; in GetMaxAllocs() local66 if (num_allocs > max_allocs) { in GetMaxAllocs()67 max_allocs = num_allocs; in GetMaxAllocs()70 return max_allocs; in GetMaxAllocs()77 size_t max_allocs = GetMaxAllocs(entries, num_entries); in ProcessDump() local78 Pointers pointers(max_allocs); in ProcessDump()82 NativePrintf("Maximum allocations in dump: %zu\n", max_allocs); in ProcessDump()
29 Pointers::Pointers(size_t max_allocs) { in Pointers() argument33 pointers_size_ = (max_allocs * 4 * sizeof(pointer_data) + pagesize - 1) & ~(pagesize - 1); in Pointers()38 err(1, "Unable to allocate data for pointer hash: %zu total_allocs\n", max_allocs); in Pointers()
29 explicit Pointers(size_t max_allocs);