/linux-2.4.37.9/include/asm-m68k/ |
D | pgtable.h | 149 #define SWP_OFFSET(x) (((x).val) >> 7) macro 158 #define SWP_OFFSET(x) ((x).val >> 12) macro
|
/linux-2.4.37.9/mm/ |
D | swapfile.c | 160 offset = SWP_OFFSET(entry); in swap_info_get() 220 swap_entry_free(p, SWP_OFFSET(entry)); in swap_free() 239 if (p->swap_map[SWP_OFFSET(entry)] == 1) { in exclusive_swap_page() 307 if (p->swap_map[SWP_OFFSET(entry)] == 1) { in remove_exclusive_swap_page() 339 if (swap_entry_free(p, SWP_OFFSET(entry)) == 1) in free_swap_and_cache() 1035 maxpages = SWP_OFFSET(SWP_ENTRY(0,~0UL)) - 1; in sys_swapon() 1173 offset = SWP_OFFSET(entry); in swap_duplicate() 1212 *offset = SWP_OFFSET(entry); in get_swaphandle_info() 1248 toff = (SWP_OFFSET(entry) >> page_cluster) << page_cluster; in valid_swaphandles()
|
/linux-2.4.37.9/include/asm-mips/ |
D | pgtable.h | 278 #define SWP_OFFSET(x) ((x).val >> 10) macro 283 #define SWP_OFFSET(x) ((x).val >> 8) macro
|
/linux-2.4.37.9/include/asm-arm/ |
D | pgtable.h | 152 #define SWP_OFFSET(x) ((x).val >> 9) macro
|
/linux-2.4.37.9/include/asm-s390/ |
D | pgtable.h | 486 #define SWP_OFFSET(entry) (((entry).val >> 12) & 0x7FFFF ) macro
|
/linux-2.4.37.9/include/asm-sh/ |
D | pgtable.h | 286 #define SWP_OFFSET(x) ((x).val >> 10) macro
|
/linux-2.4.37.9/include/asm-i386/ |
D | pgtable.h | 353 #define SWP_OFFSET(x) ((x).val >> 8) macro
|
/linux-2.4.37.9/include/asm-cris/ |
D | pgtable.h | 515 #define SWP_OFFSET(x) ((x).val >> 12) macro
|
/linux-2.4.37.9/include/asm-s390x/ |
D | pgtable.h | 544 #define SWP_OFFSET(entry) ((entry).val >> 12) macro
|
/linux-2.4.37.9/include/asm-sparc64/ |
D | pgtable.h | 309 #define SWP_OFFSET(entry) ((entry).val >> (PAGE_SHIFT + 8UL)) macro
|
/linux-2.4.37.9/include/asm-alpha/ |
D | pgtable.h | 333 #define SWP_OFFSET(x) ((x).val >> 40) macro
|
/linux-2.4.37.9/include/asm-ppc64/ |
D | pgtable.h | 414 #define SWP_OFFSET(entry) ((entry).val >> 8) macro
|
/linux-2.4.37.9/include/asm-ia64/ |
D | pgtable.h | 414 #define SWP_OFFSET(entry) (((entry).val << 1) >> 10) macro
|
/linux-2.4.37.9/include/asm-parisc/ |
D | pgtable.h | 359 #define SWP_OFFSET(x) ( (((x).val >> 5) & 0xf) | \ macro
|
/linux-2.4.37.9/include/asm-mips64/ |
D | pgtable.h | 492 #define SWP_OFFSET(x) ((x).val >> 40) macro
|
/linux-2.4.37.9/include/asm-ppc/ |
D | pgtable.h | 633 #define SWP_OFFSET(entry) ((entry).val >> 6) macro
|
/linux-2.4.37.9/include/asm-sh64/ |
D | pgtable.h | 492 #define SWP_OFFSET(x) ((x).val >> 8) macro
|
/linux-2.4.37.9/include/asm-sparc/ |
D | pgtable.h | 377 #define SWP_OFFSET(x) (((x).val >> 9) & 0x3ffff) macro
|
/linux-2.4.37.9/include/asm-x86_64/ |
D | pgtable.h | 418 #define SWP_OFFSET(x) ((x).val >> 8) macro
|