Lines Matching refs:ops
131 assert(mobj->ops == &mobj_phys_ops); in to_mobj_phys()
171 moph->mobj.ops = &mobj_phys_ops; in mobj_phys_init()
225 assert(mobj->ops == &mobj_virt_ops); in mobj_virt_assert_type()
228 struct mobj mobj_virt = { .ops = &mobj_virt_ops, .size = SIZE_MAX };
331 assert(mobj->ops == &mobj_shm_ops); in to_mobj_shm()
347 m->mobj.ops = &mobj_shm_ops; in mobj_shm_alloc()
381 m->mobj.ops = &mobj_with_fobj_ops; in mobj_with_fobj_alloc()
394 assert(mobj && mobj->ops == &mobj_with_fobj_ops); in to_mobj_with_fobj()
446 if (!f->fobj->ops->get_pa) { in mobj_with_fobj_get_pa()
451 p = f->fobj->ops->get_pa(f->fobj, offs / SMALL_PAGE_SIZE) + in mobj_with_fobj_get_pa()
483 if (mobj->ops == &mobj_with_fobj_ops && in mobj_is_paged()
484 !to_mobj_with_fobj(mobj)->fobj->ops->get_pa) in mobj_is_paged()