Lines Matching defs:address
49 #define update_mmu_cache(vma, address, ptep) do { } while (0)
51 #define update_mmu_cache_pmd(vma, address, ptep) do { } while (0)
115 * I Page-Invalid Bit: Page is not available for address-translation
124 * I Segment-Invalid Bit: Segment is not available for address-translation
134 * I Segment-Invalid Bit: Segment is not available for address-translation
232 /* Bits in the segment/region table address-space-control-element */
264 #define _REGION3_ENTRY_ORIGIN_LARGE ~0x7fffffffUL /* large page address */
283 #define _SEGMENT_ENTRY_ORIGIN_LARGE ~0xfffffUL /* large page address */
584 unsigned long address = (unsigned long)ptr | 1;
587 " csp %[r1],%[address]"
589 : [address] "d" (address)
596 unsigned long address = (unsigned long)ptr | 1;
599 " cspg %[r1],%[address]"
601 : [address] "d" (address)
613 unsigned long address, unsigned long asce)
616 union register_pair r2 = { .even = __pa(table) | dtt, .odd = address, };
901 * usable for kernel address space mappings where fault driven dirty and
1071 static __always_inline void __ptep_ipte(unsigned long address, pte_t *ptep,
1081 : "+m" (*ptep) : [r1] "a" (pto), [r2] "a" (address),
1090 : [r2] "+a" (address), [r3] "+a" (opt)
1094 static __always_inline void __ptep_ipte_range(unsigned long address, int nr,
1103 : [r2] "+a" (address), [r3] "+a" (nr)
1136 unsigned long address, pte_t *ptep)
1138 return ptep_test_and_clear_young(vma, address, ptep);
1238 unsigned long address,
1252 __ptep_rdp(address, ptep, 0, 0, 1);
1290 bool ptep_test_and_clear_uc(struct mm_struct *mm, unsigned long address,
1371 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))
1372 #define p4d_index(address) (((address) >> P4D_SHIFT) & (PTRS_PER_P4D-1))
1373 #define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
1374 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1))
1420 static inline pgd_t *pgd_offset_raw(pgd_t *pgd, unsigned long address)
1429 return pgd + ((address >> shift) & (PTRS_PER_PGD - 1));
1432 #define pgd_offset(mm, address) pgd_offset_raw(READ_ONCE((mm)->pgd), address)
1434 static inline p4d_t *p4d_offset_lockless(pgd_t *pgdp, pgd_t pgd, unsigned long address)
1437 return (p4d_t *) pgd_deref(pgd) + p4d_index(address);
1442 static inline p4d_t *p4d_offset(pgd_t *pgdp, unsigned long address)
1444 return p4d_offset_lockless(pgdp, *pgdp, address);
1447 static inline pud_t *pud_offset_lockless(p4d_t *p4dp, p4d_t p4d, unsigned long address)
1450 return (pud_t *) p4d_deref(p4d) + pud_index(address);
1455 static inline pud_t *pud_offset(p4d_t *p4dp, unsigned long address)
1457 return pud_offset_lockless(p4dp, *p4dp, address);
1461 static inline pmd_t *pmd_offset_lockless(pud_t *pudp, pud_t pud, unsigned long address)
1464 return (pmd_t *) pud_deref(pud) + pmd_index(address);
1469 static inline pmd_t *pmd_offset(pud_t *pudp, unsigned long address)
1471 return pmd_offset_lockless(pudp, *pudp, address);
1783 unsigned long address,
1786 return pmdp_huge_get_and_clear(vma->vm_mm, address, pmdp);