Home
last modified time | relevance | path

Searched refs:SWP_OFFSET (Results 1 – 19 of 19) sorted by relevance

/linux-2.4.37.9/include/asm-m68k/
Dpgtable.h149 #define SWP_OFFSET(x) (((x).val) >> 7) macro
158 #define SWP_OFFSET(x) ((x).val >> 12) macro
/linux-2.4.37.9/mm/
Dswapfile.c160 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/
Dpgtable.h278 #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/
Dpgtable.h152 #define SWP_OFFSET(x) ((x).val >> 9) macro
/linux-2.4.37.9/include/asm-s390/
Dpgtable.h486 #define SWP_OFFSET(entry) (((entry).val >> 12) & 0x7FFFF ) macro
/linux-2.4.37.9/include/asm-sh/
Dpgtable.h286 #define SWP_OFFSET(x) ((x).val >> 10) macro
/linux-2.4.37.9/include/asm-i386/
Dpgtable.h353 #define SWP_OFFSET(x) ((x).val >> 8) macro
/linux-2.4.37.9/include/asm-cris/
Dpgtable.h515 #define SWP_OFFSET(x) ((x).val >> 12) macro
/linux-2.4.37.9/include/asm-s390x/
Dpgtable.h544 #define SWP_OFFSET(entry) ((entry).val >> 12) macro
/linux-2.4.37.9/include/asm-sparc64/
Dpgtable.h309 #define SWP_OFFSET(entry) ((entry).val >> (PAGE_SHIFT + 8UL)) macro
/linux-2.4.37.9/include/asm-alpha/
Dpgtable.h333 #define SWP_OFFSET(x) ((x).val >> 40) macro
/linux-2.4.37.9/include/asm-ppc64/
Dpgtable.h414 #define SWP_OFFSET(entry) ((entry).val >> 8) macro
/linux-2.4.37.9/include/asm-ia64/
Dpgtable.h414 #define SWP_OFFSET(entry) (((entry).val << 1) >> 10) macro
/linux-2.4.37.9/include/asm-parisc/
Dpgtable.h359 #define SWP_OFFSET(x) ( (((x).val >> 5) & 0xf) | \ macro
/linux-2.4.37.9/include/asm-mips64/
Dpgtable.h492 #define SWP_OFFSET(x) ((x).val >> 40) macro
/linux-2.4.37.9/include/asm-ppc/
Dpgtable.h633 #define SWP_OFFSET(entry) ((entry).val >> 6) macro
/linux-2.4.37.9/include/asm-sh64/
Dpgtable.h492 #define SWP_OFFSET(x) ((x).val >> 8) macro
/linux-2.4.37.9/include/asm-sparc/
Dpgtable.h377 #define SWP_OFFSET(x) (((x).val >> 9) & 0x3ffff) macro
/linux-2.4.37.9/include/asm-x86_64/
Dpgtable.h418 #define SWP_OFFSET(x) ((x).val >> 8) macro