• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2018 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef BASE_ALLOCATOR_PARTITION_ALLOCATOR_PAGE_ALLOCATOR_INTERNAL_H_
6 #define BASE_ALLOCATOR_PARTITION_ALLOCATOR_PAGE_ALLOCATOR_INTERNAL_H_
7 
8 #include <cstddef>
9 #include <cstdint>
10 
11 #include "base/allocator/partition_allocator/page_allocator.h"
12 
13 namespace partition_alloc::internal {
14 
15 uintptr_t SystemAllocPages(uintptr_t hint,
16                            size_t length,
17                            PageAccessibilityConfiguration accessibility,
18                            PageTag page_tag,
19                            int file_descriptor_for_shared_alloc = -1);
20 
21 }  // namespace partition_alloc::internal
22 
23 #endif  // BASE_ALLOCATOR_PARTITION_ALLOCATOR_PAGE_ALLOCATOR_INTERNAL_H_
24