Allocate memory or panic. * '*usable' is set to the usable size if non NULL. */
| 202 | /* Allocate memory or panic. |
| 203 | * '*usable' is set to the usable size if non NULL. */ |
| 204 | void *zcalloc_usable(size_t size, size_t *usable) { |
| 205 | void *ptr = ztrycalloc_usable(size, usable); |
| 206 | if (!ptr) zmalloc_oom_handler(size); |
| 207 | return ptr; |
| 208 | } |
| 209 | |
| 210 | /* Try reallocating memory, and return NULL if failed. |
| 211 | * '*usable' is set to the usable size if non NULL. */ |
nothing calls this directly
no test coverage detected