Lines Matching defs:memobj
21 * \param memobj The memory object
24 static errval_t map_region(struct memobj *memobj, struct vregion *vregion)
26 struct memobj_one_frame_lazy *lazy = (struct memobj_one_frame_lazy*)memobj;
44 * \param memobj The memory object
47 static errval_t unmap_region(struct memobj *memobj, struct vregion *vregion)
57 * \param memobj The memory object
63 static errval_t protect(struct memobj *memobj, struct vregion *vregion,
73 * \param memobj The memory object
78 static errval_t pin(struct memobj *memobj, struct vregion *vregion,
88 * \param memobj The memory object
93 static errval_t unpin(struct memobj *memobj, struct vregion *vregion,
103 * \param memobj The memory object
108 static errval_t pagefault(struct memobj *memobj, struct vregion *vregion,
112 struct memobj_one_frame_lazy *lazy = (struct memobj_one_frame_lazy*)memobj;
144 * \param memobj The memory object
151 static errval_t pager_free(struct memobj *memobj, size_t size,
161 * \param memobj The memory object
170 struct memobj *memobj = &lazy->m;
172 memobj->f.map_region = map_region;
173 memobj->f.unmap_region = unmap_region;
174 memobj->f.protect = protect;
175 memobj->f.pin = pin;
176 memobj->f.unpin = unpin;
177 memobj->f.pagefault = pagefault;
178 memobj->f.pager_free = pager_free;
180 memobj->size = size;
181 memobj->flags = flags;
183 memobj->type = ONE_FRAME_LAZY;