Searched refs:ldcssp (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | ldc.c | 129 extern void i_ldc_init_mapin(ldc_soft_state_t *ldcssp, uint64_t major, 143 ldc_soft_state_t *ldcssp; variable 406 ldcssp = kmem_zalloc(sizeof (ldc_soft_state_t), KM_SLEEP); 408 i_ldc_init_mapin(ldcssp, ldc_hsvc.hsvc_major, ldc_sup_minor); 413 kmem_free(ldcssp, sizeof (ldc_soft_state_t)); 418 mutex_init(&ldcssp->lock, NULL, MUTEX_DRIVER, NULL); 420 mutex_enter(&ldcssp->lock); 423 ldcssp->memhdl_cache = kmem_cache_create("ldc_memhdl_cache", 425 if (ldcssp->memhdl_cache == NULL) { 427 mutex_exit(&ldcssp [all...] |
H A D | ldc_shm.c | 51 extern ldc_soft_state_t *ldcssp; 155 i_ldc_init_mapin(ldc_soft_state_t *ldcssp, uint64_t major, uint64_t minor) argument 162 ldcssp->mapin_size = LDC_DIRECT_MAP_SIZE_DEFAULT; 180 ldcssp->mapin_size = sz; 216 mhdl = kmem_cache_alloc(ldcssp->memhdl_cache, KM_SLEEP); 284 kmem_cache_free(ldcssp->memhdl_cache, mhdl); 295 kmem_cache_free(ldcssp->memhdl_cache, mhdl); 489 kmem_cache_alloc(ldcssp->memseg_cache, KM_SLEEP); 808 kmem_cache_free(ldcssp->memseg_cache, memseg); 1326 kmem_cache_alloc(ldcssp [all...] |
Completed in 50 milliseconds