Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/fs/zfs/
H A Dzfs_znode.c101 static kmem_cache_t *znode_cache = NULL; variable
357 ASSERT(znode_cache == NULL); in zfs_znode_init()
358 znode_cache = kmem_cache_create("zfs_znode_cache", in zfs_znode_init()
361 kmem_cache_set_move(znode_cache, zfs_znode_move); in zfs_znode_init()
375 if (znode_cache) in zfs_znode_fini()
376 kmem_cache_destroy(znode_cache); in zfs_znode_fini()
377 znode_cache = NULL; in zfs_znode_fini()
489 sharezp = kmem_cache_alloc(znode_cache, KM_SLEEP); in zfs_create_share_dir()
514 kmem_cache_free(znode_cache, sharezp); in zfs_create_share_dir()
636 zp = kmem_cache_alloc(znode_cache, KM_SLEEP); in zfs_znode_alloc()
[all …]