Home
last modified time | relevance | path

Searched refs:pfn (Results 1 – 22 of 22) sorted by relevance

/include/asm-generic/
Dmemory_model.h15 #define arch_pfn_to_nid(pfn) pfn_to_nid(pfn) argument
19 #define arch_local_page_offset(pfn, nid) \ argument
20 ((pfn) - NODE_DATA(nid)->node_start_pfn)
30 #define __pfn_to_page(pfn) (mem_map + ((pfn) - ARCH_PFN_OFFSET)) argument
35 #define __pfn_to_page(pfn) \ argument
36 ({ unsigned long __pfn = (pfn); \
51 #define __pfn_to_page(pfn) (vmemmap + (pfn)) argument
65 #define __pfn_to_page(pfn) \ argument
66 ({ unsigned long __pfn = (pfn); \
Dpage.h84 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) argument
93 #define pfn_valid(pfn) ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr) argument
Dpgtable.h211 #define page_test_and_clear_young(pfn) (0) argument
411 unsigned long pfn, unsigned long addr, in track_pfn_remap() argument
422 unsigned long pfn) in track_pfn_insert() argument
442 unsigned long pfn, unsigned long size) in untrack_pfn() argument
447 unsigned long pfn, unsigned long addr,
450 unsigned long pfn);
452 extern void untrack_pfn(struct vm_area_struct *vma, unsigned long pfn,
457 static inline int is_zero_pfn(unsigned long pfn) in is_zero_pfn() argument
460 unsigned long offset_from_zero_pfn = pfn - zero_pfn; in is_zero_pfn()
467 static inline int is_zero_pfn(unsigned long pfn) in is_zero_pfn() argument
[all …]
Dcacheflush.h15 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
/include/linux/
Dmmzone.h535 static inline bool zone_spans_pfn(const struct zone *zone, unsigned long pfn) in zone_spans_pfn() argument
537 return zone->zone_start_pfn <= pfn && pfn < zone_end_pfn(zone); in zone_spans_pfn()
1048 static inline unsigned long early_pfn_to_nid(unsigned long pfn) in early_pfn_to_nid() argument
1055 #define pfn_to_nid(pfn) (0) argument
1081 #define pfn_to_section_nr(pfn) ((pfn) >> PFN_SECTION_SHIFT) argument
1084 #define SECTION_ALIGN_UP(pfn) (((pfn) + PAGES_PER_SECTION - 1) & PAGE_SECTION_MASK) argument
1085 #define SECTION_ALIGN_DOWN(pfn) ((pfn) & PAGE_SECTION_MASK) argument
1179 static inline struct mem_section *__pfn_to_section(unsigned long pfn) in __pfn_to_section() argument
1181 return __nr_to_section(pfn_to_section_nr(pfn)); in __pfn_to_section()
1185 static inline int pfn_valid(unsigned long pfn) in pfn_valid() argument
[all …]
Diova.h39 void free_iova(struct iova_domain *iovad, unsigned long pfn);
48 struct iova *find_iova(struct iova_domain *iovad, unsigned long pfn);
Dio-mapping.h88 unsigned long pfn; in io_mapping_map_atomic_wc() local
92 pfn = (unsigned long) (phys_addr >> PAGE_SHIFT); in io_mapping_map_atomic_wc()
93 return iomap_atomic_prot_pfn(pfn, mapping->prot); in io_mapping_map_atomic_wc()
Dlguest_launcher.h54 __u32 pfn; member
Dsuspend.h443 void page_key_read(unsigned long *pfn);
444 void page_key_memorize(unsigned long *pfn);
460 static inline void page_key_read(unsigned long *pfn) {} in page_key_read() argument
461 static inline void page_key_memorize(unsigned long *pfn) {} in page_key_memorize() argument
Dcrash_dump.h72 extern int register_oldmem_pfn_is_ram(int (*fn)(unsigned long pfn));
Dkvm_host.h67 static inline bool is_error_pfn(pfn_t pfn) in is_error_pfn() argument
69 return !!(pfn & KVM_PFN_ERR_MASK); in is_error_pfn()
77 static inline bool is_error_noslot_pfn(pfn_t pfn) in is_error_noslot_pfn() argument
79 return !!(pfn & KVM_PFN_ERR_NOSLOT_MASK); in is_error_noslot_pfn()
83 static inline bool is_noslot_pfn(pfn_t pfn) in is_noslot_pfn() argument
85 return pfn == KVM_PFN_NOSLOT; in is_noslot_pfn()
536 void kvm_release_pfn_dirty(pfn_t pfn);
537 void kvm_release_pfn_clean(pfn_t pfn);
538 void kvm_set_pfn_dirty(pfn_t pfn);
539 void kvm_set_pfn_accessed(pfn_t pfn);
[all …]
Dmemory_hotplug.h83 extern int add_one_highpage(struct page *page, int pfn, int bad_ppro);
235 extern int is_mem_section_removable(unsigned long pfn, unsigned long nr_pages);
239 static inline int is_mem_section_removable(unsigned long pfn, in is_mem_section_removable() argument
Dhighmem.h78 #define kmap_atomic_pfn(pfn) kmap_atomic(pfn_to_page(pfn)) argument
Dmm.h307 extern int page_is_ram(unsigned long pfn);
758 unsigned long node, unsigned long pfn) in set_page_links() argument
763 set_page_section(page, pfn_to_section_nr(pfn)); in set_page_links()
994 unsigned long *pfn);
1396 static inline int __early_pfn_to_nid(unsigned long pfn) in __early_pfn_to_nid() argument
1402 extern int __meminit early_pfn_to_nid(unsigned long pfn);
1405 extern int __meminit __early_pfn_to_nid(unsigned long pfn);
1688 unsigned long pfn, unsigned long size, pgprot_t);
1691 unsigned long pfn);
1693 unsigned long pfn);
[all …]
Dgfp.h410 extern void free_contig_range(unsigned long pfn, unsigned nr_pages);
Dhyperv.h355 u64 pfn; member
853 u64 pfn[0]; member
Dblkdev.h946 extern void blk_queue_prep_rq(struct request_queue *, prep_rq_fn *pfn);
/include/trace/events/
Dxen.h328 TP_PROTO(struct mm_struct *mm, unsigned long pfn, unsigned level, bool pinned),
329 TP_ARGS(mm, pfn, level, pinned),
332 __field(unsigned long, pfn)
337 __entry->pfn = pfn;
341 __entry->mm, __entry->pfn, __entry->level,
346 TP_PROTO(unsigned long pfn, unsigned level, bool pinned),
347 TP_ARGS(pfn, level, pinned),
349 __field(unsigned long, pfn)
353 TP_fast_assign(__entry->pfn = pfn;
357 __entry->pfn, __entry->level,
Dkvm.h304 __field(pfn_t, pfn)
310 __entry->pfn = page ? page_to_pfn(page) : 0;
315 __entry->address, __entry->pfn)
/include/xen/interface/hvm/
Dhvm_op.h61 uint64_t pfn; member
/include/xen/
Dgrant_table.h102 int gnttab_grant_foreign_transfer(domid_t domid, unsigned long pfn);
140 unsigned long pfn);
/include/linux/mlx4/
Ddevice.h540 unsigned long pfn; member