• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/include/barrelfish/

Lines Matching refs:vregion

49 struct vregion {
50 struct vspace *vspace; ///< A vregion is always associated with one vspace
51 struct memobj *memobj; ///< A vregion is always associated with one memobj
53 genvaddr_t size; ///< Size of the vregion
54 genvaddr_t base; ///< Base address of the vregion
56 struct vregion *next; ///< Pointer for the list in vspace
60 * \brief Get the vspace associated with the vregion
62 * \param vregion The vregion
64 static inline struct vspace *vregion_get_vspace(struct vregion *vregion)
66 return vregion->vspace;
72 * \param vregion The region
74 static inline struct memobj* vregion_get_memobj(struct vregion *vregion)
76 return vregion->memobj;
84 static inline genvaddr_t vregion_get_base_addr(struct vregion *vregion)
86 return vregion->base;
90 * \brief Get the offset into the memory object the vregion has
92 * \param vregion The region
94 static inline size_t vregion_get_offset(struct vregion *vregion)
96 return vregion->offset;
102 * \param vregion The region
104 static inline size_t vregion_get_size(struct vregion *vregion)
106 return vregion->size;
112 * \param vregion The region
114 static inline vregion_flags_t vregion_get_flags(struct vregion *vregion)
116 return vregion->flags;
119 errval_t vregion_map(struct vregion* point, struct vspace* vspace, struct memobj* memobj,
121 errval_t vregion_map_aligned(struct vregion* point, struct vspace* vspace,
124 errval_t vregion_map_fixed(struct vregion* point, struct vspace* vspace, struct memobj* memobj,
127 errval_t vregion_destroy(struct vregion* region);
128 errval_t vregion_pagefault_handler(struct vregion* region, genvaddr_t addr,