Searched refs:page_end_of_index (Results 1 – 1 of 1) sorted by relevance
77 static size_t page_end_of_index(size_t idx) { return PAGE_END(idx * sizeof(AtexitEntry)); } in page_end_of_index() function in __anon0ca2bf2e0111::AtexitArray81 return page_end_of_index(size_ - extracted_count_) < page_end_of_index(size_); in needs_recompaction()138 size_t old_bytes = page_end_of_index(size_); in recompact()139 size_t new_bytes = page_end_of_index(dst); in recompact()156 const size_t stop_byte = page_end_of_index(start_idx + num_entries); in set_writable()174 if (__builtin_mul_overflow(page_end_of_index(capacity), 2, &num_bytes)) { in next_capacity()185 const size_t new_capacity_bytes = page_end_of_index(new_capacity); in expand_capacity()197 new_pages = mremap(array_, page_end_of_index(capacity_), new_capacity_bytes, MREMAP_MAYMOVE); in expand_capacity()