Allocate memory or panic. * '*usable' is set to the usable size if non NULL. */
| 130 | /* Allocate memory or panic. |
| 131 | * '*usable' is set to the usable size if non NULL. */ |
| 132 | void *zmalloc_usable(size_t size, size_t *usable) { |
| 133 | void *ptr = ztrymalloc_usable(size, usable); |
| 134 | if (!ptr) zmalloc_oom_handler(size); |
| 135 | return ptr; |
| 136 | } |
| 137 | |
| 138 | /* Allocation and free functions that bypass the thread cache |
| 139 | * and go straight to the allocator arena bins. |
nothing calls this directly
no test coverage detected