• Home
  • Raw
  • Download

Lines Matching refs:pgsize

104 			   pte_t *ptep, size_t *pgsize)  in find_num_contig()  argument
111 *pgsize = PAGE_SIZE; in find_num_contig()
116 *pgsize = PMD_SIZE; in find_num_contig()
122 static inline int num_contig_ptes(unsigned long size, size_t *pgsize) in num_contig_ptes() argument
126 *pgsize = size; in num_contig_ptes()
136 *pgsize = PMD_SIZE; in num_contig_ptes()
140 *pgsize = PAGE_SIZE; in num_contig_ptes()
159 unsigned long pgsize, in get_clear_flush() argument
166 for (i = 0; i < ncontig; i++, addr += pgsize, ptep++) { in get_clear_flush()
200 unsigned long pgsize, in clear_flush() argument
206 for (i = 0; i < ncontig; i++, addr += pgsize, ptep++) in clear_flush()
215 size_t pgsize; in set_huge_pte_at() local
232 ncontig = find_num_contig(mm, addr, ptep, &pgsize); in set_huge_pte_at()
234 dpfn = pgsize >> PAGE_SHIFT; in set_huge_pte_at()
237 clear_flush(mm, addr, ptep, pgsize, ncontig); in set_huge_pte_at()
239 for (i = 0; i < ncontig; i++, ptep++, addr += pgsize, pfn += dpfn) in set_huge_pte_at()
247 size_t pgsize; in set_huge_swap_pte_at() local
249 ncontig = num_contig_ptes(sz, &pgsize); in set_huge_swap_pte_at()
363 size_t pgsize; in huge_pte_clear() local
365 ncontig = num_contig_ptes(sz, &pgsize); in huge_pte_clear()
367 for (i = 0; i < ncontig; i++, addr += pgsize, ptep++) in huge_pte_clear()
375 size_t pgsize; in huge_ptep_get_and_clear() local
381 ncontig = find_num_contig(mm, addr, ptep, &pgsize); in huge_ptep_get_and_clear()
383 return get_clear_flush(mm, addr, ptep, pgsize, ncontig); in huge_ptep_get_and_clear()
420 size_t pgsize = 0; in huge_ptep_set_access_flags() local
428 ncontig = find_num_contig(vma->vm_mm, addr, ptep, &pgsize); in huge_ptep_set_access_flags()
429 dpfn = pgsize >> PAGE_SHIFT; in huge_ptep_set_access_flags()
434 orig_pte = get_clear_flush(vma->vm_mm, addr, ptep, pgsize, ncontig); in huge_ptep_set_access_flags()
444 for (i = 0; i < ncontig; i++, ptep++, addr += pgsize, pfn += dpfn) in huge_ptep_set_access_flags()
456 size_t pgsize; in huge_ptep_set_wrprotect() local
464 ncontig = find_num_contig(mm, addr, ptep, &pgsize); in huge_ptep_set_wrprotect()
465 dpfn = pgsize >> PAGE_SHIFT; in huge_ptep_set_wrprotect()
467 pte = get_clear_flush(mm, addr, ptep, pgsize, ncontig); in huge_ptep_set_wrprotect()
473 for (i = 0; i < ncontig; i++, ptep++, addr += pgsize, pfn += dpfn) in huge_ptep_set_wrprotect()
480 size_t pgsize; in huge_ptep_clear_flush() local
488 ncontig = find_num_contig(vma->vm_mm, addr, ptep, &pgsize); in huge_ptep_clear_flush()
489 clear_flush(vma->vm_mm, addr, ptep, pgsize, ncontig); in huge_ptep_clear_flush()