Searched refs:npg (Results 1 – 2 of 2) sorted by relevance
535 unsigned long pfn, unsigned long npg, in static_protections() argument549 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() local946 prot = static_protections(ref_prot, address, pfn, npg, 0, CPA_PROTECT); in split_set_pte()
825 static inline unsigned long pages_to_mb(unsigned long npg) in pages_to_mb() argument827 return npg >> (20 - PAGE_SHIFT); in pages_to_mb()