Home
last modified time | relevance | path

Searched refs:num_pages (Results 1 – 10 of 10) sorted by relevance

/external/google-breakpad/src/common/
Dmemory.h108 if ((p >= current) && (p < current + header->num_pages * page_size_)) in OwnsPointer()
116 uint8_t *GetNPages(size_t num_pages) { in GetNPages() argument
119 void *a = sys_mmap(NULL, page_size_ * num_pages, PROT_READ | PROT_WRITE, in GetNPages()
122 void *a = sys_mmap2(NULL, page_size_ * num_pages, PROT_READ | PROT_WRITE, in GetNPages()
131 __msan_unpoison(a, page_size_ * num_pages); in GetNPages()
136 header->num_pages = num_pages; in GetNPages()
147 sys_munmap(cur, cur->num_pages * page_size_); in FreeAll()
153 size_t num_pages; // the number of pages in this set. member
/external/mesa3d/src/gallium/auxiliary/util/
Du_slab.c74 pool->num_pages++; in util_slab_add_new_page()
77 fprintf(stderr, "New page! Num of pages: %i\n", pool->num_pages); in util_slab_add_new_page()
144 pool->num_pages = 0; in util_slab_create()
Du_slab.h68 unsigned num_pages; member
/external/kernel-headers/original/uapi/linux/
Dvirtio_balloon.h43 __u32 num_pages; member
/external/lldb/source/Target/
DMemory.cpp390 const size_t num_pages = (byte_size + page_size - 1) / page_size; in AllocatePage() local
391 const size_t page_byte_size = num_pages * page_size; in AllocatePage()
/external/v8/src/heap/
Dspaces.cc1758 const int num_pages = current_capacity_ / Page::kPageSize; in AllocateChunk() local
1759 for (int pages_added = 0; pages_added < num_pages; pages_added++) { in AllocateChunk()
1836 void SemiSpace::RewindPages(Page* start, int num_pages) { in AllocateChunk() argument
1839 while (num_pages > 0) { in AllocateChunk()
1845 num_pages--; in AllocateChunk()
Dmark-compact.cc3717 int num_pages = job.NumberOfPages(); in UpdatePointersInParallel() local
3718 int num_tasks = NumberOfPointerUpdateTasks(num_pages); in UpdatePointersInParallel()
Dspaces.h2570 void RewindPages(Page* start, int num_pages);
/external/squashfs-tools/squashfs-tools/
Dmksquashfs.c5155 long long num_pages = sysconf(_SC_PHYS_PAGES); in get_physical_memory() local
5157 phys_mem = num_pages * page_size >> 20; in get_physical_memory()
5158 if(num_pages == -1 || page_size == -1) in get_physical_memory()
/external/valgrind/coregrind/m_debuginfo/
Dreadpdb.c329 unsigned int num_pages; member