Lines Matching refs:ext_obj

77     struct ext_mem_obj* ext_obj = ext_mem_obj_from_vmm_obj(obj);  in ext_mem_obj_set_match_tag()  local
79 ext_obj->match_tag = match_tag; in ext_mem_obj_set_match_tag()
83 struct ext_mem_obj* ext_obj = ext_mem_obj_from_vmm_obj(obj); in ext_mem_obj_check_flags() local
86 ext_obj->id, ext_obj->arch_mmu_flags, *arch_mmu_flags); in ext_mem_obj_check_flags()
88 if (ext_obj->match_tag != ext_obj->tag) { in ext_mem_obj_check_flags()
90 ext_obj->match_tag, ext_obj->tag); in ext_mem_obj_check_flags()
95 (ext_obj->arch_mmu_flags & ARCH_MMU_FLAG_PERM_RO)) { in ext_mem_obj_check_flags()
97 *arch_mmu_flags, ext_obj->arch_mmu_flags); in ext_mem_obj_check_flags()
102 (ext_obj->arch_mmu_flags & ARCH_MMU_FLAG_PERM_NO_EXECUTE)) { in ext_mem_obj_check_flags()
104 *arch_mmu_flags, ext_obj->arch_mmu_flags); in ext_mem_obj_check_flags()
122 *arch_mmu_flags |= ext_obj->arch_mmu_flags; in ext_mem_obj_check_flags()
131 struct ext_mem_obj* ext_obj = ext_mem_obj_from_vmm_obj(obj); in ext_mem_obj_get_page() local
135 LTRACEF("offset %zd page_run_count %zd\n", offset, ext_obj->page_run_count); in ext_mem_obj_get_page()
139 while (index < ext_obj->page_run_count && in ext_mem_obj_get_page()
140 ext_obj->page_runs[index].size <= page_offset) { in ext_mem_obj_get_page()
141 page_offset -= ext_obj->page_runs[index].size; in ext_mem_obj_get_page()
145 if (index >= ext_obj->page_run_count) { in ext_mem_obj_get_page()
147 ext_obj->page_run_count); in ext_mem_obj_get_page()
151 *paddr = ext_obj->page_runs[index].paddr + page_offset; in ext_mem_obj_get_page()
152 *paddr_size = ext_obj->page_runs[index].size - page_offset; in ext_mem_obj_get_page()
154 offset, index, ext_obj->page_run_count, *paddr, *paddr_size); in ext_mem_obj_get_page()