Get the span size class from page count
| 425 | |
| 426 | //! Get the span size class from page count |
| 427 | static size_t |
| 428 | _span_class_from_page_count(size_t page_count) { |
| 429 | assert((page_count > 0) && (page_count <= 16)); |
| 430 | return ((page_count + SPAN_CLASS_GRANULARITY - 1) / SPAN_CLASS_GRANULARITY) - 1; |
| 431 | } |
| 432 | |
| 433 | //! Increase an allocation counter |
| 434 | static void |
no test coverage detected