Searched refs:pfn_cnt (Results 1 – 1 of 1) sorted by relevance
782 static int pfn_covered(unsigned long start_pfn, unsigned long pfn_cnt) in pfn_covered() argument822 if ((start_pfn + pfn_cnt) > has->end_pfn) { in pfn_covered()823 residual = (start_pfn + pfn_cnt - has->end_pfn); in pfn_covered()846 unsigned long pfn_cnt = pg_count; in handle_pg_range() local874 if (pgs_ol > pfn_cnt) in handle_pg_range()875 pgs_ol = pfn_cnt; in handle_pg_range()878 pfn_cnt -= pgs_ol; in handle_pg_range()893 if ((has->ha_end_pfn < has->end_pfn) && (pfn_cnt > 0)) { in handle_pg_range()902 if (pfn_cnt <= size) { in handle_pg_range()903 size = ((pfn_cnt / HA_CHUNK) * HA_CHUNK); in handle_pg_range()[all …]