Lines Matching defs:vspace
5 * A vregion is backed by a memory object and a vspace.
26 * \param vspace The vspace to associate with the vregion
33 errval_t vregion_map_aligned(struct vregion *vregion, struct vspace* vspace,
38 struct pmap *pmap = vspace_get_pmap(vspace);
48 vregion->vspace = vspace;
55 // Add to the vspace
56 err = vspace_add_vregion(vspace, vregion);
78 * \param vspace The vspace to associate with the vregion
84 errval_t vregion_map(struct vregion *vregion, struct vspace *vspace,
88 return vregion_map_aligned(vregion, vspace, memobj, offset, size, flags, 0);
95 * \param vspace The vspace to associate with the region
102 errval_t vregion_map_fixed(struct vregion *vregion, struct vspace *vspace,
114 vregion->vspace = vspace;
121 // Add to vspace
122 err = vspace_add_vregion(vspace, vregion);
151 struct vspace *vspace = vregion_get_vspace(vregion);
152 if (vspace != NULL) {
153 err = vspace_remove_vregion(vspace, vregion);