| 3145 | } |
| 3146 | |
| 3147 | static int |
| 3148 | experimental_hooks_remove_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, |
| 3149 | void *oldp, size_t *oldlenp, void *newp, size_t newlen) { |
| 3150 | int ret; |
| 3151 | WRITEONLY(); |
| 3152 | void *handle = NULL; |
| 3153 | WRITE(handle, void *); |
| 3154 | if (handle == NULL) { |
| 3155 | ret = EINVAL; |
| 3156 | goto label_return; |
| 3157 | } |
| 3158 | hook_remove(tsd_tsdn(tsd), handle); |
| 3159 | ret = 0; |
| 3160 | label_return: |
| 3161 | return ret; |
| 3162 | } |
| 3163 | |
| 3164 | /* |
| 3165 | * Output six memory utilization entries for an input pointer, the first one of |
nothing calls this directly
no test coverage detected