Lines Matching refs:READ_ONCE
161 pte_t old_pte = READ_ONCE(*ptep); in init_pte()
170 READ_ONCE(pte_val(*ptep)))); in init_pte()
185 pmd_t pmd = READ_ONCE(*pmdp); in alloc_init_cont_pte()
193 pmd = READ_ONCE(*pmdp); in alloc_init_cont_pte()
222 pmd_t old_pmd = READ_ONCE(*pmdp); in init_pmd()
236 READ_ONCE(pmd_val(*pmdp)))); in init_pmd()
242 pmd_val(old_pmd) != READ_ONCE(pmd_val(*pmdp))); in init_pmd()
256 pud_t pud = READ_ONCE(*pudp); in alloc_init_cont_pmd()
267 pud = READ_ONCE(*pudp); in alloc_init_cont_pmd()
307 p4d_t p4d = READ_ONCE(*p4dp); in alloc_init_pud()
314 p4d = READ_ONCE(*p4dp); in alloc_init_pud()
326 pud_t old_pud = READ_ONCE(*pudp); in alloc_init_pud()
342 READ_ONCE(pud_val(*pudp)))); in alloc_init_pud()
348 pud_val(old_pud) != READ_ONCE(pud_val(*pudp))); in alloc_init_pud()
719 if (!READ_ONCE(pgd_val(*pgd_offset_pgd(pgdp, FIXADDR_START)))) { in map_kernel()
726 READ_ONCE(*pgd_offset_k(FIXADDR_START))); in map_kernel()
784 if (pgd_none(READ_ONCE(*pgdp))) in kern_addr_valid()
788 if (p4d_none(READ_ONCE(*p4dp))) in kern_addr_valid()
792 pud = READ_ONCE(*pudp); in kern_addr_valid()
800 pmd = READ_ONCE(*pmdp); in kern_addr_valid()
808 pte = READ_ONCE(*ptep); in kern_addr_valid()
859 pte = READ_ONCE(*ptep); in unmap_hotplug_pte_range()
882 pmd = READ_ONCE(*pmdp); in unmap_hotplug_pmd_range()
915 pud = READ_ONCE(*pudp); in unmap_hotplug_pud_range()
948 p4d = READ_ONCE(*p4dp); in unmap_hotplug_p4d_range()
974 pgd = READ_ONCE(*pgdp); in unmap_hotplug_range()
992 pte = READ_ONCE(*ptep); in free_empty_pte_table()
1011 if (!pte_none(READ_ONCE(ptep[i]))) in free_empty_pte_table()
1030 pmd = READ_ONCE(*pmdp); in free_empty_pmd_table()
1051 if (!pmd_none(READ_ONCE(pmdp[i]))) in free_empty_pmd_table()
1070 pud = READ_ONCE(*pudp); in free_empty_pud_table()
1091 if (!pud_none(READ_ONCE(pudp[i]))) in free_empty_pud_table()
1110 p4d = READ_ONCE(*p4dp); in free_empty_p4d_table()
1128 pgd = READ_ONCE(*pgdp); in free_empty_tables()
1172 if (pmd_none(READ_ONCE(*pmdp))) { in vmemmap_populate()
1203 p4d_t p4d = READ_ONCE(*p4dp); in fixmap_pud()
1213 pud_t pud = READ_ONCE(*pudp); in fixmap_pmd()
1241 p4d = READ_ONCE(*p4dp); in early_fixmap_init()
1256 if (pud_none(READ_ONCE(*pudp))) in early_fixmap_init()
1385 if (!pgattr_change_is_safe(READ_ONCE(pud_val(*pudp)), in pud_set_huge()
1399 if (!pgattr_change_is_safe(READ_ONCE(pmd_val(*pmdp)), in pmd_set_huge()
1410 if (!pud_sect(READ_ONCE(*pudp))) in pud_clear_huge()
1418 if (!pmd_sect(READ_ONCE(*pmdp))) in pmd_clear_huge()
1429 pmd = READ_ONCE(*pmdp); in pmd_free_pte_page()
1450 pud = READ_ONCE(*pudp); in pud_free_pmd_page()