Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/ib/clients/iser/
H A Diser_resource.c371 iser_vmem_destroy(iser_vmem_mr_pool_t *vmr_pool) in iser_vmem_destroy() argument
375 mutex_enter(&vmr_pool->ivmp_mutex); in iser_vmem_destroy()
376 vmem_destroy(vmr_pool->ivmp_vmem); in iser_vmem_destroy()
378 for (chunk = avl_first(&vmr_pool->ivmp_mr_list); chunk != NULL; in iser_vmem_destroy()
380 next_chunk = AVL_NEXT(&vmr_pool->ivmp_mr_list, chunk); in iser_vmem_destroy()
381 avl_remove(&vmr_pool->ivmp_mr_list, chunk); in iser_vmem_destroy()
382 iser_vmem_chunk_free(vmr_pool->ivmp_hca, chunk); in iser_vmem_destroy()
384 mutex_exit(&vmr_pool->ivmp_mutex); in iser_vmem_destroy()
386 avl_destroy(&vmr_pool->ivmp_mr_list); in iser_vmem_destroy()
387 mutex_destroy(&vmr_pool->ivmp_mutex); in iser_vmem_destroy()
[all …]
/illumos-gate/usr/src/uts/common/sys/ib/clients/iser/
H A Diser_resource.h103 void iser_vmem_destroy(iser_vmem_mr_pool_t *vmr_pool);
104 void *iser_vmem_alloc(iser_vmem_mr_pool_t *vmr_pool, size_t size);
105 void iser_vmem_free(iser_vmem_mr_pool_t *vmr_pool, void *vaddr, size_t size);
106 idm_status_t iser_vmem_mr(iser_vmem_mr_pool_t *vmr_pool,