Home
last modified time | relevance | path

Searched refs:page (Results 1 – 7 of 7) sorted by relevance

/bionic/linker/
Dlinker_block_allocator.cpp90 LinkerBlockAllocatorPage* page = find_page(block); in free() local
92 if (page == nullptr) { in free()
96 ssize_t offset = reinterpret_cast<uint8_t*>(block) - page->bytes; in free()
115 for (LinkerBlockAllocatorPage* page = page_list_; page != nullptr; page = page->next) { in protect_all() local
116 if (mprotect(page, kAllocateSize, prot) == -1) { in protect_all()
126 LinkerBlockAllocatorPage* page = reinterpret_cast<LinkerBlockAllocatorPage*>( in create_new_page() local
129 if (page == MAP_FAILED) { in create_new_page()
133 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, page, kAllocateSize, "linker_alloc"); in create_new_page()
135 FreeBlockInfo* first_block = reinterpret_cast<FreeBlockInfo*>(page->bytes); in create_new_page()
137 first_block->num_free_blocks = sizeof(page->bytes) / block_size_; in create_new_page()
[all …]
/bionic/libc/bionic/
Dbionic_allocator.cpp117 small_object_page_info* page = page_list_; in alloc() local
118 CHECK(page->free_block_list != nullptr); in alloc()
120 small_object_block_record* const block_record = page->free_block_list; in alloc()
127 page->free_block_list = next_free; in alloc()
129 page->free_block_list = block_record->next; in alloc()
132 if (page->free_blocks_cnt == blocks_per_page_) { in alloc()
136 page->free_blocks_cnt--; in alloc()
140 if (page->free_blocks_cnt == 0) { in alloc()
143 remove_from_page_list(page); in alloc()
149 void BionicSmallObjectAllocator::free_page(small_object_page_info* page) { in free_page() argument
[all …]
/bionic/libc/private/
Dbionic_allocator.h91 void free_page(small_object_page_info* page);
92 void add_to_page_list(small_object_page_info* page);
93 void remove_from_page_list(small_object_page_info* page);
/bionic/tools/bionicbb/
DREADME.md33 The client secret file comes from the Gmail API page of the [Google Developers
49 The mail listener will direct your browser to an authentication page for the
/bionic/libc/kernel/uapi/linux/
Di2o-dev.h73 unsigned int page; member
/bionic/
Dandroid-changes-for-ndk-developers.md125 that you want to load directly from your APK must be page aligned
132 page-aligned and stored uncompressed for this to work.
347 dynamic linker what permissions to give the corresponding page in
/bionic/tests/
Dpthread_test.cpp2591 void* page = mmap(nullptr, kPageSize, prot, MAP_ANON|MAP_PRIVATE, -1, 0); in TEST() local
2592 if (page == MAP_FAILED) break; in TEST()
2593 pages.push_back(page); in TEST()