/arch/powerpc/include/asm/ |
H A D | pte-40x.h | 41 #define _PAGE_FILE 0x001 /* when !present: nonlinear file mapping */ macro
|
H A D | pte-44x.h | 71 * _PAGE_FILE 80 #define _PAGE_FILE 0x00000004 /* S: nonlinear file mapping */ macro
|
H A D | pte-8xx.h | 32 #define _PAGE_FILE 0x0002 /* when !present: nonlinear file mapping */ macro
|
H A D | pte-fsl-booke.h | 23 #define _PAGE_FILE 0x00002 /* S: when !present: nonlinear file mapping */ macro
|
H A D | pte-hash32.h | 21 #define _PAGE_FILE 0x004 /* when !present: nonlinear file mapping */ macro
|
H A D | pte-hash64.h | 19 #define _PAGE_FILE 0x0002 /* (!present only) software: pte holds file offset */ macro
|
H A D | pte-book3e.h | 13 #define _PAGE_FILE 0x000002 /* (!present only) software: pte holds file offset */ macro
|
/arch/score/include/asm/ |
H A D | pgtable-bits.h | 9 #define _PAGE_FILE (1<<10) macro
|
/arch/cris/include/arch-v10/arch/ |
H A D | mmu.h | 61 #define _PAGE_FILE (1<<5) /* set: pagecache, unset: swap (when !PRESENT) */ macro
|
/arch/mips/include/asm/ |
H A D | pgtable-bits.h | 42 #define _PAGE_FILE (1<<10) /* set:pagecache unset:swap */ macro 60 #define _PAGE_FILE (1<<4) /* set:pagecache unset:swap */ macro 95 #define _PAGE_FILE (_PAGE_MODIFIED) macro
|
/arch/cris/include/arch-v32/arch/ |
H A D | mmu.h | 56 #define _PAGE_FILE (1 << 6) /* 1=pagecache, 0=swap (when !present) */ macro
|
/arch/hexagon/include/asm/ |
H A D | pgtable.h | 65 * _PAGE_FILE is only meaningful if _PAGE_PRESENT is false, while 69 #define _PAGE_FILE _PAGE_DIRTY /* set: pagecache, unset = swap */ macro 464 * PTE is interpreted as swap information. Depending on the _PAGE_FILE 475 * bit 1: _PAGE_FILE (zero) 483 * bit 1: _PAGE_FILE (zero) 506 ((pte_val(pte) & (_PAGE_FILE | _PAGE_PRESENT)) == _PAGE_FILE) 513 | _PAGE_FILE) })
|
/arch/sh/include/asm/ |
H A D | pgtable_32.h | 29 * XXX: Leave the _PAGE_FILE and _PAGE_WT overhaul for a rainy day. 54 #define _PAGE_FILE _PAGE_WT /* software: pagecache or swap? */ macro 108 _PAGE_FILE | _PAGE_SZ1 | \ 113 _PAGE_FILE | _PAGE_PR_MASK | _PAGE_SZ_MASK) 115 #define _PAGE_CLEAR_FLAGS (_PAGE_PROTNONE | _PAGE_ACCESSED | _PAGE_FILE) 346 #define pte_file(pte) ((pte).pte_low & _PAGE_FILE) 448 * _PAGE_FILE at bit 0 478 #define pgoff_to_pte(off) ((pte_t) { _PAGE_FILE, (off) }) 494 #define pgoff_to_pte(off) ((pte_t) { ((off) << 1) | _PAGE_FILE })
|
H A D | pgtable_64.h | 113 #define _PAGE_FILE 0x004 /* software: only when !present */ macro 135 #define _PAGE_CLEAR_FLAGS (_PAGE_PRESENT | _PAGE_FILE | _PAGE_SHARED | \ 266 static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; } 313 #define pgoff_to_pte(off) ((pte_t) { (off) | _PAGE_FILE })
|
/arch/um/include/asm/ |
H A D | pgtable.h | 21 #define _PAGE_FILE 0x008 /* nonlinear file mapping, saved PTE; unset:swap */ macro 161 return pte_get_bits(pte, _PAGE_FILE);
|
/arch/alpha/include/asm/ |
H A D | pgtable.h | 76 #define _PAGE_FILE 0x80000 /* set:pagecache, unset:swap */ macro 271 extern inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; } 349 #define pgoff_to_pte(off) ((pte_t) { ((off) << 32) | _PAGE_FILE })
|
/arch/avr32/include/asm/ |
H A D | pgtable.h | 104 #define _PAGE_FILE (1 << _PAGE_BIT_FILE) macro 218 return pte_val(pte) & _PAGE_FILE; 332 * _PAGE_FILE at bit 0 351 * preserve _PAGE_FILE and _PAGE_PRESENT here. _PAGE_TYPE_* isn't 352 * necessary, since _PAGE_FILE implies !_PAGE_PROTNONE (?) 359 | _PAGE_FILE) })
|
/arch/m32r/include/asm/ |
H A D | pgtable.h | 96 #define _PAGE_FILE (1UL << _PAGE_BIT_FILE) macro 214 return pte_val(pte) & _PAGE_FILE;
|
/arch/m68k/include/asm/ |
H A D | motorola_pgtable.h | 31 #define _PAGE_FILE 0x008 /* pagecache or swap? */ macro 171 static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; } 278 pte_t pte = { (off << 4) + _PAGE_FILE };
|
/arch/microblaze/include/asm/ |
H A D | pgtable.h | 213 #define _PAGE_FILE 0x001 /* when !present: nonlinear file mapping */ macro 349 static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; } 514 #define pgoff_to_pte(off) ((pte_t) { ((off) << 3) | _PAGE_FILE })
|
/arch/openrisc/include/asm/ |
H A D | pgtable.h | 128 #define _PAGE_FILE 0x004 /* set: pagecache, unset: swap (when !PRESENT) */ macro 243 static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; } 445 #define pgoff_to_pte(x) __pte(((x) << 6) | _PAGE_FILE)
|
/arch/tile/include/asm/ |
H A D | pgtable.h | 285 #define _PAGE_FILE HV_PTE_CLIENT1 macro 289 #define pgoff_to_pte(off) ((pte_t) { (((long long)(off)) << 32) | _PAGE_FILE })
|
/arch/x86/include/asm/ |
H A D | pgtable_types.h | 64 #define _PAGE_FILE (_AT(pteval_t, 1) << _PAGE_BIT_FILE) macro
|
/arch/xtensa/include/asm/ |
H A D | pgtable.h | 93 #define _PAGE_FILE (1<<1) /* non-linear mapping, if !present */ macro 220 static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; } 343 * bit 1 page-file (must be one: _PAGE_FILE) 359 ((pte_t) { ((off) << 4) | _PAGE_INVALID | _PAGE_FILE })
|
/arch/frv/include/asm/ |
H A D | pgtable.h | 301 #define _PAGE_FILE 0x002 /* set:pagecache unset:swap */ macro 466 * bit 1: Type: 0 for swap, 1 for file (_PAGE_FILE) 479 return pte.pte & _PAGE_FILE; 485 #define pgoff_to_pte(off) __pte((off) << 2 | _PAGE_FILE)
|