/linux/arch/mips/include/asm/ |
H A D | pgtable-32.h | 214 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) macro 242 #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_high }) macro 271 #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_high }) macro 295 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) macro
|
H A D | pgtable-64.h | 346 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) macro
|
/linux/arch/x86/include/asm/ |
H A D | pgtable-2level.h | 108 #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_low }) macro
|
H A D | pgtable-3level.h | 193 * Analogically, __pte_to_swp_entry() doesn't just extract the arch-dependent 201 #define __pte_to_swp_entry(pte) (__swp_entry(__pteval_swp_type(pte), \ macro
|
H A D | pgtable_64.h | 237 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val((pte)) }) macro
|
/linux/arch/powerpc/include/asm/nohash/32/ |
H A D | pgtable.h | 196 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 3 }) macro
|
/linux/arch/arc/include/asm/ |
H A D | pgtable-bits-arcv2.h | 130 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) macro
|
/linux/arch/sh/include/asm/ |
H A D | pgtable_32.h | 449 #define __pte_to_swp_entry(pte) ((swp_entry_t){ (pte).pte_high }) macro 466 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 1 }) macro
|
/linux/arch/m68k/include/asm/ |
H A D | sun3_pgtable.h | 169 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) macro
|
H A D | motorola_pgtable.h | 185 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) macro
|
H A D | mcf_pgtable.h | 268 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) macro
|
/linux/arch/hexagon/include/asm/ |
H A D | pgtable.h | 332 /* __pte_to_swp_entry - extract swap entry from PTE */ 333 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) macro
|
/linux/arch/csky/include/asm/ |
H A D | pgtable.h | 42 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) macro
|
/linux/arch/nios2/include/asm/ |
H A D | pgtable.h | 260 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) macro
|
/linux/arch/s390/mm/ |
H A D | hugetlbpage.c | 74 arch_entry = __pte_to_swp_entry(pte); in __pte_to_rste()
|
/linux/arch/alpha/include/asm/ |
H A D | pgtable.h | 327 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) macro
|
/linux/arch/arm/include/asm/ |
H A D | pgtable.h | 301 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) macro
|
/linux/arch/microblaze/include/asm/ |
H A D | pgtable.h | 398 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 2 }) macro
|
/linux/arch/xtensa/include/asm/ |
H A D | pgtable.h | 349 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) macro
|
/linux/arch/sparc/include/asm/ |
H A D | pgtable_32.h | 348 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) macro
|
/linux/include/linux/ |
H A D | swapops.h | 138 arch_entry = __pte_to_swp_entry(pte); in pte_to_swp_entry()
|
/linux/arch/powerpc/include/asm/book3s/32/ |
H A D | pgtable.h | 365 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 3 }) macro
|
/linux/Documentation/mm/ |
H A D | arch_pgtable_helpers.rst | 239 | __pte_to_swp_entry | Creates a swp_entry_t (arch) from a swap PTE |
|
/linux/arch/powerpc/include/asm/book3s/64/ |
H A D | pgtable.h | 642 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val((pte)) & ~_PAGE_PTE }) macro 644 #define __pmd_to_swp_entry(pmd) (__pte_to_swp_entry(pmd_pte(pmd)))
|
/linux/arch/loongarch/include/asm/ |
H A D | pgtable.h | 299 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) macro
|