Home
last modified time | relevance | path

Searched refs:zio_buf_cache (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzio.c60 kmem_cache_t *zio_buf_cache[SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT]; variable
150 zio_buf_cache[c] = kmem_cache_create(name, size, in zio_init()
166 ASSERT(zio_buf_cache[c] != NULL); in zio_init()
167 if (zio_buf_cache[c - 1] == NULL) in zio_init()
168 zio_buf_cache[c - 1] = zio_buf_cache[c]; in zio_init()
186 if (zio_buf_cache[c] != last_cache) { in zio_fini()
187 last_cache = zio_buf_cache[c]; in zio_fini()
188 kmem_cache_destroy(zio_buf_cache[c]); in zio_fini()
190 zio_buf_cache[c] = NULL; in zio_fini()
224 return (kmem_cache_alloc(zio_buf_cache[c], KM_PUSHPAGE)); in zio_buf_alloc()
[all …]
H A Darc.c3644 extern kmem_cache_t *zio_buf_cache[]; in arc_kmem_reap_now()
3665 if (zio_buf_cache[i] != prev_cache) { in arc_kmem_reap_now()
3666 prev_cache = zio_buf_cache[i]; in arc_kmem_reap_now()
3667 kmem_cache_reap_now(zio_buf_cache[i]); in arc_kmem_reap_now()