Searched refs:vmh (Results 1 – 1 of 1) sorted by relevance
239 struct contigmem_vm_handle *vmh = handle; in contigmem_cdev_pager_ctor() local242 buf = &contigmem_buffers[vmh->buffer_index]; in contigmem_cdev_pager_ctor()258 struct contigmem_vm_handle *vmh = handle; in contigmem_cdev_pager_dtor() local261 buf = &contigmem_buffers[vmh->buffer_index]; in contigmem_cdev_pager_dtor()267 free(vmh, M_CONTIGMEM); in contigmem_cdev_pager_dtor()336 struct contigmem_vm_handle *vmh; in contigmem_mmap_single() local351 vmh = malloc(sizeof(*vmh), M_CONTIGMEM, M_NOWAIT | M_ZERO); in contigmem_mmap_single()352 if (vmh == NULL) in contigmem_mmap_single()354 vmh->buffer_index = buffer_index; in contigmem_mmap_single()357 *obj = cdev_pager_allocate(vmh, OBJT_DEVICE, &contigmem_cdev_pager_ops, in contigmem_mmap_single()