| 1971 | /******************************************************************************/ |
| 1972 | |
| 1973 | static int |
| 1974 | tcache_create_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, |
| 1975 | void *oldp, size_t *oldlenp, void *newp, size_t newlen) { |
| 1976 | int ret; |
| 1977 | unsigned tcache_ind; |
| 1978 | |
| 1979 | READONLY(); |
| 1980 | if (tcaches_create(tsd, &tcache_ind)) { |
| 1981 | ret = EFAULT; |
| 1982 | goto label_return; |
| 1983 | } |
| 1984 | READ(tcache_ind, unsigned); |
| 1985 | |
| 1986 | ret = 0; |
| 1987 | label_return: |
| 1988 | return ret; |
| 1989 | } |
| 1990 | |
| 1991 | static int |
| 1992 | tcache_flush_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, |
nothing calls this directly
no test coverage detected