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

Lines Matching refs:memobj

32  * \param memobj   The memory object
35 static errval_t map_region(struct memobj *memobj, struct vregion *vregion)
37 struct memobj_fixed *fixed = (struct memobj_fixed*) memobj;
40 assert(memobj->size >= (vregion->offset + vregion->size));
59 * \param memobj The memory object
62 static errval_t unmap_region(struct memobj *memobj, struct vregion *vregion)
64 struct memobj_fixed *fixed = (struct memobj_fixed*) memobj;
91 * \param memobj The memory object
97 static errval_t protect(struct memobj *memobj,
121 * \param memobj The memory object
126 static errval_t pin(struct memobj *memobj,
137 * \param memobj The memory object
142 static errval_t unpin(struct memobj *memobj,
151 * \brief Set a frame for an offset into the memobj
153 * \param memobj The memory object
160 static errval_t fill(struct memobj *memobj,
165 struct memobj_fixed *fixed = (struct memobj_fixed*) memobj;
187 * \brief Unmap/remove one frame from the end of the memobj
189 * \param memobj The memory object
194 static errval_t unfill(struct memobj *memobj,
200 struct memobj_fixed *fixed = (struct memobj_fixed*) memobj;
240 * \param memobj The memory object
248 static errval_t pagefault(struct memobj *memobj,
254 struct memobj_fixed *fixed = (struct memobj_fixed*) memobj;
288 * \param memobj The memory object
295 static errval_t pager_free(struct memobj *memobj,
306 * \param memobj The memory object
319 struct memobj *memobj = &fixed->m;
322 memobj->f.map_region = map_region;
323 memobj->f.unmap_region = unmap_region;
324 memobj->f.protect = protect;
325 memobj->f.pin = pin;
326 memobj->f.unpin = unpin;
327 memobj->f.fill = fill;
328 memobj->f.unfill = unfill;
329 memobj->f.pagefault = pagefault;
330 memobj->f.pager_free = pager_free;
335 memobj->size = size;
336 memobj->flags = flags;
338 memobj->type = MEMOBJ_FIXED;
364 errval_t memobj_destroy_fixed(struct memobj *memobj)
366 struct memobj_fixed *m = (struct memobj_fixed *) memobj;