Allocate memory or panic. * '*usable' is set to the usable size if non NULL. */
| 190 | /* Allocate memory or panic. |
| 191 | * '*usable' is set to the usable size if non NULL. */ |
| 192 | void *zcalloc_usable(size_t size, size_t *usable) { |
| 193 | void *ptr = ztrycalloc_usable(size, usable); |
| 194 | if (!ptr) zmalloc_oom_handler(size); |
| 195 | return ptr; |
| 196 | } |
| 197 | |
| 198 | /* Try reallocating memory, and return NULL if failed. |
| 199 | * '*usable' is set to the usable size if non NULL. */ |
nothing calls this directly
no test coverage detected