Home
last modified time | relevance | path

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

/freebsd/sys/dev/xen/gntdev/
H A Dgntdev.c1098 mmap_gmap(struct per_user_data *priv_user, struct gntdev_gmap *gmap_start, in mmap_gmap() argument
1109 if (gmap_start->map) { in mmap_gmap()
1110 vm_object_reference(gmap_start->map->mem); in mmap_gmap()
1111 *object = gmap_start->map->mem; in mmap_gmap()
1115 gmap_start->map = malloc(sizeof(*(gmap_start->map)), M_GNTDEV, in mmap_gmap()
1119 gmap_start->map->pseudo_phys_res_id = 0; in mmap_gmap()
1120 gmap_start->map->pseudo_phys_res = xenmem_alloc(gntdev_dev, in mmap_gmap()
1121 &gmap_start->map->pseudo_phys_res_id, size); in mmap_gmap()
1122 if (gmap_start->map->pseudo_phys_res == NULL) { in mmap_gmap()
1123 free(gmap_start->map, M_GNTDEV); in mmap_gmap()
[all …]