Searched refs:pte_t (Results 76 - 100 of 438) sorted by relevance

1234567891011>>

/linux-master/arch/powerpc/include/asm/
H A Dpgtable.h46 void set_ptes(struct mm_struct *mm, unsigned long addr, pte_t *ptep,
47 pte_t pte, unsigned int nr);
60 static inline unsigned long pte_pfn(pte_t pte)
68 static inline pgprot_t pte_pgprot(pte_t pte)
109 pte_t *early_pte_alloc_kernel(pmd_t *pmdp, unsigned long va);
119 pte_t *ptep, pte_t entry, int dirty);
132 void __update_mmu_cache(struct vm_area_struct *vma, unsigned long address, pte_t *ptep);
145 pte_t *ptep, unsigned int nr)
/linux-master/arch/powerpc/include/asm/book3s/64/
H A Dhash.h161 pte_t *ptep, unsigned long pte, int huge);
166 pte_t *ptep, unsigned long clr,
199 static inline void hash__ptep_set_access_flags(pte_t *ptep, pte_t entry)
220 static inline int hash__pte_same(pte_t pte_a, pte_t pte_b)
225 static inline int hash__pte_none(pte_t pte)
239 pte_t *ptep, pte_t pte, int percpu)
/linux-master/arch/powerpc/mm/
H A Dpgtable-frag.c33 static pte_t *get_pte_from_cache(struct mm_struct *mm)
52 return (pte_t *)ret;
55 static pte_t *__alloc_for_ptecache(struct mm_struct *mm, int kernel)
95 return (pte_t *)ret;
98 pte_t *pte_fragment_alloc(struct mm_struct *mm, int kernel)
100 pte_t *pte;
/linux-master/arch/m68k/mm/
H A Dsun3mmu.c39 pte_t * pg_table;
57 size = num_pages * sizeof(pte_t);
70 pg_table = (pte_t *) __pa (next_pgtable);
71 next_pgtable += PTRS_PER_PTE * sizeof (pte_t);
76 pg_table = (pte_t *) __va ((unsigned long) pg_table);
78 pte_t pte = pfn_pte(virt_to_pfn((void *)address), PAGE_INIT);
/linux-master/arch/s390/mm/
H A Dhugetlbpage.c25 static inline unsigned long __pte_to_rste(pte_t pte)
74 static inline pte_t __rste_to_pte(unsigned long rste)
146 pte_t *ptep, pte_t pte)
167 pte_t *ptep, pte_t pte, unsigned long sz)
172 pte_t huge_ptep_get(pte_t *ptep)
177 pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
178 unsigned long addr, pte_t *pte
[all...]
H A Dpgtable.c48 pte_t *ptep, int nodat)
68 pte_t *ptep, int nodat)
87 static inline pte_t ptep_flush_direct(struct mm_struct *mm,
88 unsigned long addr, pte_t *ptep,
91 pte_t old;
106 static inline pte_t ptep_flush_lazy(struct mm_struct *mm,
107 unsigned long addr, pte_t *ptep,
110 pte_t old;
126 static inline pgste_t pgste_get_lock(pte_t *ptep)
140 static inline void pgste_set_unlock(pte_t *pte
[all...]
/linux-master/mm/damon/
H A Dops-common.h12 void damon_ptep_mkold(pte_t *pte, struct vm_area_struct *vma, unsigned long addr);
/linux-master/arch/parisc/mm/
H A Dfixmap.c20 pte_t *pte;
30 pte_t *pte = virt_to_kpte(vaddr);
/linux-master/arch/mips/include/asm/
H A Dpage.h110 typedef struct { unsigned long pte_low, pte_high; } pte_t; typedef in typeref:struct:__anon25
112 #define __pte(x) ({ pte_t __pte = {(x), ((unsigned long long)(x)) >> 32}; __pte; })
114 typedef struct { unsigned long long pte; } pte_t; typedef in typeref:struct:__anon26
116 #define __pte(x) ((pte_t) { (x) } )
119 typedef struct { unsigned long pte; } pte_t; typedef in typeref:struct:__anon27
121 #define __pte(x) ((pte_t) { (x) } )
152 #define ptep_buddy(x) ((pte_t *)((unsigned long)(x) ^ sizeof(pte_t)))
H A Dpgtable-32.h30 * 4MB virtual address region (pointing to a 4KB PTE page of 1,024 32-bit pte_t
89 # define PTRS_PER_PTE (PAGE_SIZE / sizeof(pte_t) / 2)
91 # define PTRS_PER_PTE (PAGE_SIZE / sizeof(pte_t))
119 extern pte_t invalid_pte_table[PTRS_PER_PTE];
157 static inline pte_t
160 pte_t pte;
174 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot)
176 pte_t pte;
215 #define __swp_entry_to_pte(x) ((pte_t) { (x).val })
243 #define __swp_entry_to_pte(x) ((pte_t) {
[all...]
/linux-master/arch/x86/include/asm/
H A Dpgtable-3level.h36 static inline void native_set_pte(pte_t *ptep, pte_t pte)
43 static inline void native_set_pte_atomic(pte_t *ptep, pte_t pte)
67 pte_t *ptep)
103 static inline pte_t native_ptep_get_and_clear(pte_t *ptep)
190 #define __swp_entry_to_pte(x) ((pte_t){ .pte = \
H A Dpgtable_64.h26 extern pte_t level1_fixmap_pgt[512 * FIXMAP_PMD_NUM];
62 void set_pte_vaddr_p4d(p4d_t *p4d_page, unsigned long vaddr, pte_t new_pte);
63 void set_pte_vaddr_pud(pud_t *pud_page, unsigned long vaddr, pte_t new_pte);
65 static inline void native_set_pte(pte_t *ptep, pte_t pte)
71 pte_t *ptep)
76 static inline void native_set_pte_atomic(pte_t *ptep, pte_t pte)
91 static inline pte_t native_ptep_get_and_clear(pte_t *x
[all...]
/linux-master/arch/nios2/include/asm/
H A Dtlbflush.h42 pte_t pte);
/linux-master/arch/sparc/include/asm/
H A Dpgalloc_32.h33 set_pte((pte_t *)pudp, __pte((SRMMU_ET_PTD | (pa >> 4))));
55 void pmd_set(pmd_t *pmdp, pte_t *ptep);
60 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm)
67 static inline void free_pte_fast(pte_t *pte)
/linux-master/arch/parisc/include/asm/
H A Dkfence.h24 pte_t *pte = virt_to_kpte(addr);
/linux-master/arch/xtensa/mm/
H A Dmmu.c27 pte_t *pte;
35 pte = memblock_alloc_low(n_pages * sizeof(pte_t), PAGE_SIZE);
38 __func__, n_pages * sizeof(pte_t), PAGE_SIZE);
44 pte_t *cur_pte = pte + i;
/linux-master/arch/riscv/include/asm/
H A Dkfence.h18 pte_t *pte = virt_to_kpte(addr);
/linux-master/arch/csky/include/asm/
H A Dpage.h55 typedef struct { unsigned long pte_low; } pte_t; typedef in typeref:struct:__anon7
65 #define ptep_buddy(x) ((pte_t *)((unsigned long)(x) ^ sizeof(pte_t)))
67 #define __pte(x) ((pte_t) { (x) })
/linux-master/arch/arm/include/asm/
H A Dpgtable-3level-types.h24 typedef struct { pteval_t pte; } pte_t; typedef in typeref:struct:__anon46
34 #define __pte(x) ((pte_t) { (x) } )
41 typedef pteval_t pte_t; typedef
H A Dpgalloc.h50 static inline void clean_pte_table(pte_t *pte)
77 static inline pte_t *
80 pte_t *pte = __pte_alloc_one_kernel(mm);
113 pmdp[1] = __pmd(pmdval + 256 * sizeof(pte_t));
125 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmdp, pte_t *ptep)
/linux-master/arch/m68k/include/asm/
H A Dmotorola_pgalloc.h27 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm)
32 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte)
82 static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte)
/linux-master/arch/powerpc/include/asm/nohash/64/
H A Dpgtable-4k.h18 #define PTE_TABLE_SIZE (sizeof(pte_t) << PTE_INDEX_SIZE)
72 static inline pte_t p4d_pte(p4d_t p4d)
77 static inline p4d_t pte_p4d(pte_t pte)
/linux-master/arch/powerpc/mm/book3s64/
H A Dradix_hugetlbpage.c46 unsigned long addr, pte_t *ptep,
47 pte_t old_pte, pte_t pte)
/linux-master/arch/arm64/kernel/pi/
H A Dmap_range.c30 int level, pte_t *tbl, bool may_use_cont, u64 va_offset)
61 *pte += PTRS_PER_PTE * sizeof(pte_t);
64 (pte_t *)(__pte_to_phys(*tbl) + va_offset),
100 text_prot, IDMAP_ROOT_LEVEL, (pte_t *)pg_dir, false, 0);
102 data_prot, IDMAP_ROOT_LEVEL, (pte_t *)pg_dir, false, 0);
/linux-master/arch/x86/power/
H A Dhibernate_32.c59 static pte_t *resume_one_page_table_init(pmd_t *pmd)
62 pte_t *page_table = (pte_t *)get_safe_page(GFP_ATOMIC);
86 pte_t *pte;
113 pte_t *max_pte;
149 pte_t *pte;

Completed in 422 milliseconds

1234567891011>>