Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/sfmmu/vm/
H A Dxhat_sfmmu.c49 xblk_cache_t *xblkcache = xhat->xhat_provider->xblkcache; in xhat_alloc_xhatblk() local
53 mutex_enter(&xblkcache->lock); in xhat_alloc_xhatblk()
54 if (xblkcache->free_blks) { in xhat_alloc_xhatblk()
56 sfmmu_hmetohblk(xblkcache->free_blks); in xhat_alloc_xhatblk()
62 xblkcache->free_blks = xblk->xblk_hme[0].hme_next; in xhat_alloc_xhatblk()
63 mutex_exit(&xblkcache->lock); in xhat_alloc_xhatblk()
65 mutex_exit(&xblkcache->lock); in xhat_alloc_xhatblk()
66 xblk = kmem_cache_alloc(xblkcache->cache, KM_SLEEP); in xhat_alloc_xhatblk()
80 xblk_cache_t *xblkcache = xblk->xhat_hme_blk_hat-> in xhat_free_xhatblk() local
81 xhat_provider->xblkcache; in xhat_free_xhatblk()
[all …]
/titanic_44/usr/src/uts/common/vm/
H A Dxhat.c70 provider->xblkcache->free_blks = NULL; in xhat_provider_register()
74 provider->xblkcache->cache = kmem_cache_create(cache_name, in xhat_provider_register()
76 provider->xblkcache->reclaim, in xhat_provider_register()
78 if (provider->xblkcache->cache == NULL) { in xhat_provider_register()
84 mutex_init(&provider->xblkcache->lock, NULL, MUTEX_DEFAULT, NULL); in xhat_provider_register()
125 provider->xblkcache->reclaim(provider); in xhat_provider_unregister()
127 kmem_cache_destroy(provider->xblkcache->cache); in xhat_provider_unregister()
H A Dxhat.h143 xblk_cache_t *xblkcache; member