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

Lines Matching refs:memobj

35  * \param memobj   The memory object
38 static errval_t map_region(struct memobj *memobj, struct vregion *vregion)
40 struct memobj_numa *mo_numa = (struct memobj_numa*) memobj;
43 assert(memobj->size >= (vregion->offset + vregion->size));
62 * \param memobj The memory object
65 static errval_t unmap_region(struct memobj *memobj, struct vregion *vregion)
67 struct memobj_numa *mo_numa = (struct memobj_numa*) memobj;
93 * \param memobj The memory object
99 static errval_t protect(struct memobj *memobj,
123 * \param memobj The memory object
128 static errval_t pin(struct memobj *memobj,
141 * \param memobj The memory object
146 static errval_t unpin(struct memobj *memobj,
157 * \brief Set a frame for an offset into the memobj
159 * \param memobj The memory object
166 static errval_t fill(struct memobj *memobj,
171 struct memobj_numa *mo_numa = (struct memobj_numa*) memobj;
194 if ((1UL << fid.bits) < memobj->size / mo_numa->node_count) {\
206 * \brief Unmap/remove one frame from the end of the memobj
208 * \param memobj The memory object
213 static errval_t unfill(struct memobj *memobj,
218 struct memobj_numa *mo_numa = (struct memobj_numa*) memobj;
242 * \param memobj The memory object
250 static errval_t pagefault(struct memobj *memobj,
257 struct memobj_numa *mo_numa = (struct memobj_numa*) memobj;
261 size_t size = memobj->size;
326 * \param memobj The memory object
333 static errval_t pager_free(struct memobj *memobj,
346 * \param memobj The memory object
359 struct memobj *memobj = &mo_numa->m;
364 memobj->f.map_region = map_region;
365 memobj->f.unmap_region = unmap_region;
366 memobj->f.protect = protect;
367 memobj->f.pin = pin;
368 memobj->f.unpin = unpin;
369 memobj->f.fill = fill;
370 memobj->f.unfill = unfill;
371 memobj->f.pagefault = pagefault;
372 memobj->f.pager_free = pager_free;
374 memobj->size = size;
375 memobj->flags = flags;
376 memobj->type = MEMOBJ_NUMA;
395 errval_t memobj_destroy_numa(struct memobj *memobj)
397 struct memobj_numa *mo_numa = (struct memobj_numa *) memobj;