Lines Matching refs:attr
66 mm->size, mm->attr); in print_mmap()
74 size_t size, unsigned int attr) in mmap_add_region() argument
170 mm->attr = attr; in mmap_add_region()
182 while ((mm_cursor->size != 0U) || (mm_cursor->attr != 0U)) { in mmap_add()
184 mm_cursor->size, mm_cursor->attr); in mmap_add()
189 static uint64_t mmap_desc(unsigned int attr, unsigned long long addr_pa, in mmap_desc() argument
204 desc |= ((attr & MT_NS) != 0U) ? LOWER_ATTRS(NS) : 0U; in mmap_desc()
205 desc |= ((attr & MT_RW) != 0U) ? LOWER_ATTRS(AP_RW) : LOWER_ATTRS(AP_RO); in mmap_desc()
223 mem_type = MT_TYPE(attr); in mmap_desc()
250 if (((attr & MT_RW) != 0U) || ((attr & MT_EXECUTE_NEVER) != 0U)) { in mmap_desc()
264 debug_print(((attr & MT_RW) != 0U) ? "-RW" : "-RO"); in mmap_desc()
265 debug_print(((attr & MT_NS) != 0U) ? "-NS" : "-S"); in mmap_desc()
266 debug_print(((attr & MT_EXECUTE_NEVER) != 0U) ? "-XN" : "-EXEC"); in mmap_desc()
280 size_t size, unsigned int *attr) in mmap_region_attr() argument
311 if ((ret == 0U) && (mm->attr == *attr)) in mmap_region_attr()
318 *attr = mm->attr; in mmap_region_attr()
365 unsigned int attr; in init_xlation_table_inner() local
367 level_size, &attr); in init_xlation_table_inner()
370 desc = mmap_desc(attr, in init_xlation_table_inner()