Home
last modified time | relevance | path

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

/arch/x86/mm/pat/
Dset_memory.c535 unsigned long pfn, unsigned long npg, in static_protections() argument
549 end = start + npg * PAGE_SIZE - 1; in static_protections()
561 if (lpsize != (npg * PAGE_SIZE) || (start & (lpsize - 1))) { in static_protections()
568 res = protect_pci_bios(pfn, pfn + npg - 1); in static_protections()
572 res = protect_rodata(pfn, pfn + npg - 1); in static_protections()
935 unsigned int npg = PFN_DOWN(size); in split_set_pte() local
946 prot = static_protections(ref_prot, address, pfn, npg, 0, CPA_PROTECT); in split_set_pte()
/arch/x86/include/asm/
Dpgtable.h825 static inline unsigned long pages_to_mb(unsigned long npg) in pages_to_mb() argument
827 return npg >> (20 - PAGE_SHIFT); in pages_to_mb()