/arch/powerpc/kernel/ |
H A D | suspend.c | 17 * 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);
|
/arch/arm/kernel/ |
H A D | crash_dump.c | 23 * @pfn: page frame number to be copied 33 ssize_t copy_oldmem_page(unsigned long pfn, char *buf, argument 42 vaddr = ioremap(pfn << PAGE_SHIFT, PAGE_SIZE);
|
/arch/ia64/include/asm/ |
H A D | mmzone.h | 20 static inline int pfn_to_nid(unsigned long pfn) argument 23 int nid = paddr_to_nid(pfn << PAGE_SHIFT);
|
/arch/ia64/kernel/ |
H A D | crash_dump.c | 18 * @pfn: page frame number to be copied 22 * @offset: offset in bytes into the page (based on pfn) to begin the copy 34 copy_oldmem_page(unsigned long pfn, char *buf, argument 41 vaddr = __va(pfn<<PAGE_SHIFT);
|
/arch/sh/kernel/ |
H A D | crash_dump.c | 14 * @pfn: page frame number to be copied 18 * @offset: offset in bytes into the page (based on pfn) to begin the copy 25 ssize_t copy_oldmem_page(unsigned long pfn, char *buf, argument 33 vaddr = ioremap(pfn << PAGE_SHIFT, PAGE_SIZE);
|
H A D | swsusp.c | 22 int pfn_is_nosave(unsigned long pfn) argument 27 return (pfn >= begin_pfn) && (pfn < end_pfn);
|
/arch/tile/include/asm/ |
H A D | mmzone.h | 38 static inline int pfn_to_nid(unsigned long pfn) argument 40 return highbits_to_node[__pfn_to_highbits(pfn)]; 45 static inline int pfn_valid(int pfn) argument 47 int nid = pfn_to_nid(pfn); 50 return (pfn < node_end_pfn(nid));
|
/arch/x86/kernel/ |
H A D | crash_dump_64.c | 15 * @pfn: page frame number to be copied 19 * @offset: offset in bytes into the page (based on pfn) to begin the copy 26 ssize_t copy_oldmem_page(unsigned long pfn, char *buf, argument 34 vaddr = ioremap_cache(pfn << PAGE_SHIFT, PAGE_SIZE);
|
H A D | crash_dump_32.c | 17 static inline bool is_crashed_pfn_valid(unsigned long pfn) argument 24 * test checks high 12 bits for being zero (pfn will be shifted left 27 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; 35 * @pfn: page frame number to be copied 39 * @offset: offset in bytes into the page (based on pfn) to begin the copy 50 ssize_t copy_oldmem_page(unsigned long pfn, char *buf, argument 58 if (!is_crashed_pfn_valid(pfn)) 61 vaddr = kmap_atomic_pfn(pfn);
|
/arch/m32r/include/asm/ |
H A D | mmzone.h | 16 #define node_localnr(pfn, nid) ((pfn) - NODE_DATA(nid)->node_start_pfn) 24 * ( pfn_to_pgdat(pfn) && ((pfn) < node_end_pfn(pfn_to_nid(pfn))) ) 27 #define pfn_valid(pfn) (1) 29 #define pfn_valid(pfn) ((pfn) < num_physpages) 36 static __inline__ int pfn_to_nid(unsigned long pfn) argument 41 if (pfn > 47 pfn_to_pgdat(unsigned long pfn) argument [all...] |
/arch/mips/power/ |
H A D | cpu.c | 37 int pfn_is_nosave(unsigned long pfn) argument 42 return (pfn >= nosave_begin_pfn) && (pfn < nosave_end_pfn);
|
/arch/sh/include/asm/ |
H A D | mmzone.h | 12 static inline int pfn_to_nid(unsigned long pfn) argument 17 if (pfn >= node_start_pfn(nid) && pfn <= node_end_pfn(nid)) 23 static inline struct pglist_data *pfn_to_pgdat(unsigned long pfn) argument 25 return NODE_DATA(pfn_to_nid(pfn));
|
/arch/arm/include/asm/mach/ |
H A D | map.h | 16 unsigned long pfn; member in struct:map_desc
|
/arch/arm/mm/ |
H A D | highmem.c | 111 void *kmap_atomic_pfn(unsigned long pfn) argument 124 set_top_pte(vaddr, pfn_pte(pfn, kmap_prot));
|
/arch/ia64/include/asm/xen/ |
H A D | page.h | 33 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
|
/arch/ia64/mm/ |
H A D | numa.c | 61 int __meminit __early_pfn_to_nid(unsigned long pfn) argument 63 int i, section = pfn >> PFN_SECTION_SHIFT, ssec, esec;
|
/arch/parisc/include/asm/ |
H A D | mmzone.h | 24 * an index table for pfn to nid lookup; each entry in pfnnid_map 32 #define pfn_is_io(pfn) ((pfn & (0xf0000000UL >> PAGE_SHIFT)) == (0xf0000000UL >> PAGE_SHIFT)) 35 #define pfn_is_io(pfn) ((pfn & (0xf000000000000000UL >> PAGE_SHIFT)) == (0xf000000000000000UL >> PAGE_SHIFT)) 38 static inline int pfn_to_nid(unsigned long pfn) argument 43 if (unlikely(pfn_is_io(pfn))) 46 i = pfn >> PFNNID_SHIFT; 54 static inline int pfn_valid(int pfn) argument 56 int nid = pfn_to_nid(pfn); [all...] |
/arch/sparc/mm/ |
H A D | tlb.c | 58 unsigned long paddr, pfn = pte_pfn(orig); local 62 if (!pfn_valid(pfn)) 65 page = pfn_to_page(pfn);
|
/arch/x86/include/asm/ |
H A D | mmzone_32.h | 42 static inline int pfn_to_nid(unsigned long pfn) argument 45 return((int) physnode_map[(pfn) / PAGES_PER_SECTION]); 51 static inline int pfn_valid(int pfn) argument 53 int nid = pfn_to_nid(pfn); 56 return (pfn < node_end_pfn(nid)); 60 #define early_pfn_valid(pfn) pfn_valid((pfn))
|
/arch/x86/mm/ |
H A D | iomap_32.c | 57 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) argument 67 set_pte(kmap_pte - idx, pfn_pte(pfn, prot)); 74 * Map 'pfn' using protections 'prot' 77 iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) argument 88 return (void __force __iomem *) kmap_atomic_prot_pfn(pfn, prot);
|
H A D | pgtable_32.c | 64 * and protection flags for that frame. pfn is for the base of the page, 68 void set_pmd_pfn(unsigned long vaddr, unsigned long pfn, pgprot_t flags) argument 78 if (pfn & (PTRS_PER_PTE-1)) { /* pfn is misaligned */ 79 printk(KERN_WARNING "set_pmd_pfn: pfn misaligned\n"); 89 set_pmd(pmd, pfn_pmd(pfn, flags));
|
/arch/mips/loongson/common/ |
H A D | mem.c | 71 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, argument 74 unsigned long offset = pfn << PAGE_SHIFT;
|
/arch/mips/mm/ |
H A D | highmem.c | 101 void *kmap_atomic_pfn(unsigned long pfn) argument 111 set_pte(kmap_pte-idx, pfn_pte(pfn, PAGE_KERNEL));
|
/arch/arm/mach-footbridge/ |
H A D | common.c | 141 .pfn = __phys_to_pfn(DC21285_ARMCSR_BASE), 146 .pfn = __phys_to_pfn(0x40000000), 160 .pfn = __phys_to_pfn(DC21285_PCI_MEM), 165 .pfn = __phys_to_pfn(DC21285_PCI_TYPE_0_CONFIG), 170 .pfn = __phys_to_pfn(DC21285_PCI_TYPE_1_CONFIG), 175 .pfn = __phys_to_pfn(DC21285_PCI_IACK), 180 .pfn = __phys_to_pfn(DC21285_PCI_IO), 260 unsigned long __pfn_to_bus(unsigned long pfn) argument 262 return __pfn_to_phys(pfn) + (fb_bus_sdram_offset() - PHYS_OFFSET);
|
/arch/frv/mm/ |
H A D | init.c | 120 unsigned long loop, pfn; local 134 for (pfn = num_physpages - 1; pfn >= num_mappedpages; pfn--) { 135 struct page *page = &mem_map[pfn];
|