| 2458 | /******************************************************************************/ |
| 2459 | |
| 2460 | static int |
| 2461 | tcache_create_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, |
| 2462 | void *oldp, size_t *oldlenp, void *newp, size_t newlen) { |
| 2463 | int ret; |
| 2464 | unsigned tcache_ind; |
| 2465 | |
| 2466 | READONLY(); |
| 2467 | VERIFY_READ(unsigned); |
| 2468 | if (tcaches_create(tsd, b0get(), &tcache_ind)) { |
| 2469 | ret = EFAULT; |
| 2470 | goto label_return; |
| 2471 | } |
| 2472 | READ(tcache_ind, unsigned); |
| 2473 | |
| 2474 | ret = 0; |
| 2475 | label_return: |
| 2476 | return ret; |
| 2477 | } |
| 2478 | |
| 2479 | static int |
| 2480 | tcache_flush_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, |
nothing calls this directly
no test coverage detected