Home
last modified time | relevance | path

Searched refs:num_pages (Results 1 – 7 of 7) 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
118 void *a = sys_mmap(NULL, page_size_ * num_pages, PROT_READ | PROT_WRITE, in GetNPages()
121 void *a = sys_mmap2(NULL, page_size_ * num_pages, PROT_READ | PROT_WRITE, in GetNPages()
130 __msan_unpoison(a, page_size_ * num_pages); in GetNPages()
135 header->num_pages = num_pages; in GetNPages()
146 sys_munmap(cur, cur->num_pages * page_size_); in FreeAll()
152 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.h41 __le32 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/squashfs-tools/squashfs-tools/
Dmksquashfs.c5029 long long num_pages = sysconf(_SC_PHYS_PAGES); in get_physical_memory() local
5031 int phys_mem = num_pages * page_size >> 20; in get_physical_memory()
5033 if(num_pages == -1 || page_size == -1) in get_physical_memory()
/external/valgrind/coregrind/m_debuginfo/
Dreadpdb.c329 unsigned int num_pages; member