Lines Matching refs:src_table
417 static uint64_t *dup_table(uint64_t *src_table, unsigned int level) in dup_table() argument
427 table_index(src_table), src_table, in dup_table()
438 if (!is_free_desc(src_table[i]) && !is_table_desc(src_table[i], level)) { in dup_table()
439 src_table[i] |= PTE_BLOCK_DESC_NG; in dup_table()
442 dst_table[i] = src_table[i]; in dup_table()
455 static int privatize_table(uint64_t *dst_table, uint64_t *src_table, in privatize_table() argument
470 !is_table_desc(src_table[i], level)) { in privatize_table()
476 uint64_t *src_subtable = pte_desc_table(src_table[i]); in privatize_table()
548 static int globalize_table(uint64_t *dst_table, uint64_t *src_table, in globalize_table() argument
562 if (dst_table[i] == src_table[i]) { in globalize_table()
567 if (is_free_desc(src_table[i]) && in globalize_table()
583 __ASSERT(is_table_desc(src_table[i], level), in globalize_table()
592 pte_desc_table(src_table[i]), in globalize_table()
608 if (is_free_desc(src_table[i])) { in globalize_table()
611 if (is_table_desc(src_table[i], level)) { in globalize_table()
612 inc_table_ref(pte_desc_table(src_table[i])); in globalize_table()
614 dst_table[i] = src_table[i]; in globalize_table()