Allocate memory or panic. * '*usable' is set to the usable size if non NULL. */
| 142 | /* Allocate memory or panic. |
| 143 | * '*usable' is set to the usable size if non NULL. */ |
| 144 | void *zmalloc_usable(size_t size, size_t *usable) { |
| 145 | void *ptr = ztrymalloc_usable(size, usable); |
| 146 | if (!ptr) zmalloc_oom_handler(size); |
| 147 | return ptr; |
| 148 | } |
| 149 | |
| 150 | /* Allocation and free functions that bypass the thread cache |
| 151 | * and go straight to the allocator arena bins. |
nothing calls this directly
no test coverage detected