| 3531 | } |
| 3532 | |
| 3533 | JEMALLOC_ALWAYS_INLINE size_t |
| 3534 | inallocx(tsdn_t *tsdn, size_t size, int flags) { |
| 3535 | check_entry_exit_locking(tsdn); |
| 3536 | |
| 3537 | size_t usize; |
| 3538 | if (likely((flags & MALLOCX_LG_ALIGN_MASK) == 0)) { |
| 3539 | usize = sz_s2u(size); |
| 3540 | } else { |
| 3541 | usize = sz_sa2u(size, MALLOCX_ALIGN_GET_SPECIFIED(flags)); |
| 3542 | } |
| 3543 | check_entry_exit_locking(tsdn); |
| 3544 | return usize; |
| 3545 | } |
| 3546 | |
| 3547 | JEMALLOC_NOINLINE void |
| 3548 | sdallocx_default(void *ptr, size_t size, int flags) { |
no test coverage detected