Searched refs:pfn (Results 1 - 25 of 521) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/mm/
H A Dpage_isolation.c11 __first_valid_page(unsigned long pfn, unsigned long nr_pages) argument
15 if (pfn_valid_within(pfn + i))
19 return pfn_to_page(pfn + i);
38 unsigned long pfn; local
45 for (pfn = start_pfn;
46 pfn < end_pfn;
47 pfn += pageblock_nr_pages) {
48 page = __first_valid_page(pfn, pageblock_nr_pages);
50 undo_pfn = pfn;
56 for (pfn
70 unsigned long pfn; local
92 __test_page_isolated_in_pageblock(unsigned long pfn, unsigned long end_pfn) argument
117 unsigned long pfn, flags; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/include/asm/
H A Dmmzone.h13 #define pfn_to_nid(pfn) pa_to_nid((pfn) << PAGE_SHIFT)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/parisc/include/asm/
H A Dmmzone.h26 * an index table for pfn to nid lookup; each entry in pfnnid_map
34 #define pfn_is_io(pfn) ((pfn & (0xf0000000UL >> PAGE_SHIFT)) == (0xf0000000UL >> PAGE_SHIFT))
37 #define pfn_is_io(pfn) ((pfn & (0xf000000000000000UL >> PAGE_SHIFT)) == (0xf000000000000000UL >> PAGE_SHIFT))
40 static inline int pfn_to_nid(unsigned long pfn) argument
45 if (unlikely(pfn_is_io(pfn)))
48 i = pfn >> PFNNID_SHIFT;
56 static inline int pfn_valid(int pfn) argument
58 int nid = pfn_to_nid(pfn);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m32r/include/asm/
H A Dmmzone.h16 #define node_localnr(pfn, nid) ((pfn) - NODE_DATA(nid)->node_start_pfn)
30 * ( pfn_to_pgdat(pfn) && ((pfn) < node_end_pfn(pfn_to_nid(pfn))) )
32 #define pfn_valid(pfn) (1)
38 static __inline__ int pfn_to_nid(unsigned long pfn) argument
43 if (pfn >= node_start_pfn(node) && pfn <= node_end_pfn(node))
49 static __inline__ struct pglist_data *pfn_to_pgdat(unsigned long pfn) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/asm-generic/
H A Dmemory_model.h15 #define arch_pfn_to_nid(pfn) pfn_to_nid(pfn)
19 #define arch_local_page_offset(pfn, nid) \
20 ((pfn) - NODE_DATA(nid)->node_start_pfn)
30 #define __pfn_to_page(pfn) (mem_map + ((pfn) - ARCH_PFN_OFFSET))
35 #define __pfn_to_page(pfn) \
36 ({ unsigned long __pfn = (pfn); \
51 #define __pfn_to_page(pfn) (vmemmap + (pfn))
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/kernel/
H A Dsuspend.c17 * pfn_is_nosave - check if given pfn is in the 'nosave' section
20 int pfn_is_nosave(unsigned long pfn) argument
24 return (pfn >= nosave_begin_pfn) && (pfn < nosave_end_pfn);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/tile/include/asm/
H A Dmmzone.h38 static inline int pfn_to_nid(unsigned long pfn) argument
40 return highbits_to_node[__pfn_to_highbits(pfn)];
56 static inline int pfn_valid(int pfn) argument
58 int nid = pfn_to_nid(pfn);
61 return (pfn < node_end_pfn(nid));
H A Dsetup.h22 #include <linux/pfn.h>
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/s390/kernel/
H A Dsuspend.c9 #include <linux/pfn.h>
17 int pfn_is_nosave(unsigned long pfn) argument
23 if (pfn <= LC_PAGES)
25 if (pfn >= nosave_begin_pfn && pfn < nosave_end_pfn)
28 if (tprot(PFN_PHYS(pfn)))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/kernel/
H A Dswsusp.c22 int pfn_is_nosave(unsigned long pfn) argument
27 return (pfn >= begin_pfn) && (pfn < end_pfn);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/ia64/include/asm/xen/
H A Dpage.h33 static inline unsigned long pfn_to_mfn(unsigned long pfn) argument
35 return pfn;
56 static inline void set_phys_to_machine(unsigned long pfn, unsigned long mfn) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/include/asm/xen/
H A Dpage.h7 #include <linux/pfn.h>
39 extern unsigned long get_phys_to_machine(unsigned long pfn);
40 extern void set_phys_to_machine(unsigned long pfn, unsigned long mfn);
42 static inline unsigned long pfn_to_mfn(unsigned long pfn) argument
45 return pfn;
47 return get_phys_to_machine(pfn) & ~FOREIGN_FRAME_BIT;
50 static inline int phys_to_machine_mapping_valid(unsigned long pfn) argument
55 return get_phys_to_machine(pfn) != INVALID_P2M_ENTRY;
60 unsigned long pfn; local
66 pfn
111 unsigned long pfn = mfn_to_pfn(mfn); local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-gemini/
H A Dmm.c23 .pfn =__phys_to_pfn(GEMINI_GLOBAL_BASE),
28 .pfn = __phys_to_pfn(GEMINI_UART_BASE),
33 .pfn = __phys_to_pfn(GEMINI_TIMER_BASE),
38 .pfn = __phys_to_pfn(GEMINI_INTERRUPT_BASE),
43 .pfn = __phys_to_pfn(GEMINI_POWER_CTRL_BASE),
48 .pfn = __phys_to_pfn(GEMINI_GPIO_BASE(0)),
53 .pfn = __phys_to_pfn(GEMINI_GPIO_BASE(1)),
58 .pfn = __phys_to_pfn(GEMINI_GPIO_BASE(2)),
63 .pfn = __phys_to_pfn(GEMINI_FLASH_CTRL_BASE),
68 .pfn
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/alpha/include/asm/
H A Dmmzone.h34 #define node_localnr(pfn, nid) ((pfn) - NODE_DATA(nid)->node_start_pfn)
73 unsigned long pfn; \
75 pfn = page_to_pfn(page) << 32; \
76 pte_val(pte) = pfn | pgprot_val(pgprot); \
95 #define pfn_to_nid(pfn) pa_to_nid(((u64)(pfn) << PAGE_SHIFT))
96 #define pfn_valid(pfn) \
97 (((pfn) - node_start_pfn(pfn_to_nid(pfn))) < \
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/ia64/include/asm/
H A Dmmzone.h20 static inline int pfn_to_nid(unsigned long pfn) argument
23 int nid = paddr_to_nid(pfn << PAGE_SHIFT);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-mxc91231/
H A Dmm.c33 .pfn = __phys_to_pfn(MXC91231_L2CC_BASE_ADDR),
38 .pfn = __phys_to_pfn(MXC91231_X_MEMC_BASE_ADDR),
43 .pfn = __phys_to_pfn(MXC91231_ROMP_BASE_ADDR),
48 .pfn = __phys_to_pfn(MXC91231_AVIC_BASE_ADDR),
53 .pfn = __phys_to_pfn(MXC91231_AIPS1_BASE_ADDR),
58 .pfn = __phys_to_pfn(MXC91231_SPBA0_BASE_ADDR),
63 .pfn = __phys_to_pfn(MXC91231_SPBA1_BASE_ADDR),
68 .pfn = __phys_to_pfn(MXC91231_AIPS2_BASE_ADDR),
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/include/asm/
H A Dmmzone.h16 static inline int pfn_to_nid(unsigned long pfn) argument
21 if (pfn >= node_start_pfn(nid) && pfn <= node_end_pfn(nid))
27 static inline struct pglist_data *pfn_to_pgdat(unsigned long pfn) argument
29 return NODE_DATA(pfn_to_nid(pfn));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/include/asm/
H A Dmmzone_32.h62 static inline int pfn_to_nid(unsigned long pfn) argument
65 return((int) physnode_map[(pfn) / PAGES_PER_ELEMENT]);
82 static inline int pfn_valid(int pfn) argument
84 int nid = pfn_to_nid(pfn);
87 return (pfn < node_end_pfn(nid));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/power/
H A Dcpu.c37 int pfn_is_nosave(unsigned long pfn) argument
42 return (pfn >= nosave_begin_pfn) && (pfn < nosave_end_pfn);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/power/
H A Dhibernate_32.c86 unsigned long pfn; local
94 pfn = 0;
101 if (pfn >= max_low_pfn)
105 if (pfn >= max_low_pfn)
113 set_pmd(pmd, pfn_pmd(pfn, PAGE_KERNEL_LARGE_EXEC));
114 pfn += PTRS_PER_PTE;
123 for (; pte < max_pte; pte++, pfn++) {
124 if (pfn >= max_low_pfn)
127 set_pte(pte, pfn_pte(pfn, PAGE_KERNEL_EXEC));
169 * pfn_is_nosave - check if given pfn i
172 pfn_is_nosave(unsigned long pfn) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-omap2/
H A Dio.c58 .pfn = __phys_to_pfn(L3_24XX_PHYS),
64 .pfn = __phys_to_pfn(L4_24XX_PHYS),
74 .pfn = __phys_to_pfn(DSP_MEM_2420_PHYS),
80 .pfn = __phys_to_pfn(DSP_IPI_2420_PHYS),
86 .pfn = __phys_to_pfn(DSP_MMU_2420_PHYS),
98 .pfn = __phys_to_pfn(L4_WK_243X_PHYS),
104 .pfn = __phys_to_pfn(OMAP243X_GPMC_PHYS),
110 .pfn = __phys_to_pfn(OMAP243X_SDRC_PHYS),
116 .pfn = __phys_to_pfn(OMAP243X_SMS_PHYS),
128 .pfn
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/include/asm/
H A Dpgtable-2level.h41 #define pfn_pte(pfn, prot) __pte(pfn_to_phys(pfn) | pgprot_val(prot))
42 #define pfn_pmd(pfn, prot) __pmd(pfn_to_phys(pfn) | pgprot_val(prot))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/avr32/include/asm/
H A Dpgtable-2level.h42 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
43 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-clps711x/
H A Dedb7211-mm.c55 .pfn = __phys_to_pfn(EP7211_PHYS_EXTKBD),
60 .pfn = __phys_to_pfn(EP7211_PHYS_CS8900A),
65 .pfn = __phys_to_pfn(EP7211_PHYS_FLASH1),
70 .pfn = __phys_to_pfn(EP7211_PHYS_FLASH2),
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/frv/include/asm/
H A Dpage.h43 #define devmem_is_allowed(pfn) 1
48 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
55 #define pfn_valid(pfn) ((pfn) < max_mapnr)
58 #define pfn_valid(pfn) ((pfn) >= min_low_pfn && (pfn) < max_low_pfn)

Completed in 418 milliseconds

1234567891011>>