Lines Matching refs:memobj
27 * \param memobj The memory object to associate with the region
34 struct memobj *memobj, size_t offset, size_t size,
42 err = pmap->f.determine_addr(pmap, memobj, alignment, &address);
49 vregion->memobj = memobj;
61 // Add to memobj
62 err = memobj->f.map_region(memobj, vregion);
64 // remove memobj from region if map fails, otherwise we'll get a
67 vregion->memobj = NULL;
79 * \param memobj The memory object to associate with the region
85 struct memobj *memobj, size_t offset, size_t size,
88 return vregion_map_aligned(vregion, vspace, memobj, offset, size, flags, 0);
96 * \param memobj The memory object to associate with the region
103 struct memobj *memobj, size_t offset, size_t size,
115 vregion->memobj = memobj;
127 // Add to memobj
128 err = memobj->f.map_region(memobj, vregion);
141 * \bug This only works if the memobj type is memobj_one_frame.
155 struct memobj *memobj = vregion_get_memobj(vregion);
156 if (memobj != NULL) {
157 err = memobj->f.unmap_region(memobj, vregion);
178 struct memobj *memobj = vregion->memobj;
181 return memobj->f.pagefault(memobj, vregion, offset, type);