Lines Matching refs:fobj
357 struct fobj *fobj; member
365 struct mobj *mobj_with_fobj_alloc(struct fobj *fobj, struct file *file, in mobj_with_fobj_alloc() argument
372 if (!fobj) in mobj_with_fobj_alloc()
383 m->mobj.size = fobj->num_pages * SMALL_PAGE_SIZE; in mobj_with_fobj_alloc()
385 m->fobj = fobj_get(fobj); in mobj_with_fobj_alloc()
417 fobj_put(m->fobj); in mobj_with_fobj_free()
422 static struct fobj *mobj_with_fobj_get_fobj(struct mobj *mobj) in mobj_with_fobj_get_fobj()
424 return fobj_get(to_mobj_with_fobj(mobj)->fobj); in mobj_with_fobj_get_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()
484 !to_mobj_with_fobj(mobj)->fobj->ops->get_pa) in mobj_is_paged()