Home
last modified time | relevance | path

Searched refs:npg (Results 1 – 2 of 2) sorted by relevance

/arch/x86/mm/
Dpageattr.c519 unsigned long pfn, unsigned long npg, in static_protections() argument
533 end = start + npg * PAGE_SIZE - 1; in static_protections()
545 if (lpsize != (npg * PAGE_SIZE) || (start & (lpsize - 1))) { in static_protections()
552 res = protect_pci_bios(pfn, pfn + npg - 1); in static_protections()
556 res = protect_rodata(pfn, pfn + npg - 1); in static_protections()
908 unsigned int npg = PFN_DOWN(size); in split_set_pte() local
919 prot = static_protections(ref_prot, address, pfn, npg, 0, CPA_PROTECT); in split_set_pte()
/arch/x86/include/asm/
Dpgtable.h848 static inline unsigned long pages_to_mb(unsigned long npg) in pages_to_mb() argument
850 return npg >> (20 - PAGE_SHIFT); in pages_to_mb()