Lines Matching defs:prot
569 * Internal interface to reserve a range of physical memory with prot.
571 * this func also keeps identity mapping (if any) in sync with this new prot.
658 * If the vma has a linear pfn mapping for the entire range, we get the prot
664 unsigned long prot;
673 if (follow_phys(vma, vma->vm_start, 0, &prot, &paddr)) {
677 pgprot = __pgprot(prot);
688 * prot is passed in as a parameter for the new mapping. If the vma has a
692 int track_pfn_vma_new(struct vm_area_struct *vma, pgprot_t *prot,
702 return reserve_pfn_range(paddr, vma_size, prot, 0);
708 /* for vm_insert_pfn and friends, we set prot based on lookup */
710 *prot = __pgprot((pgprot_val(vma->vm_page_prot) & (~_PAGE_CACHE_MASK)) |
735 pgprot_t pgprot_writecombine(pgprot_t prot)
738 return __pgprot(pgprot_val(prot) | _PAGE_CACHE_WC);
740 return pgprot_noncached(prot);