• Home
  • Raw
  • Download

Lines Matching defs:pmd

130 #define pmd_access_permitted(pmd, write) \  argument
210 static inline pmd_t pmd_mkcont(pmd_t pmd) in pmd_mkcont()
303 static inline pte_t pmd_pte(pmd_t pmd) in pmd_pte()
327 static inline int pmd_protnone(pmd_t pmd) in pmd_protnone()
338 #define pmd_trans_huge(pmd) (pmd_val(pmd) && !(pmd_val(pmd) & PMD_TABLE_BIT)) argument
341 #define pmd_present(pmd) pte_present(pmd_pte(pmd)) argument
342 #define pmd_dirty(pmd) pte_dirty(pmd_pte(pmd)) argument
343 #define pmd_young(pmd) pte_young(pmd_pte(pmd)) argument
344 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd))) argument
345 #define pmd_mkold(pmd) pte_pmd(pte_mkold(pmd_pte(pmd))) argument
346 #define pmd_mkwrite(pmd) pte_pmd(pte_mkwrite(pmd_pte(pmd))) argument
347 #define pmd_mkclean(pmd) pte_pmd(pte_mkclean(pmd_pte(pmd))) argument
348 #define pmd_mkdirty(pmd) pte_pmd(pte_mkdirty(pmd_pte(pmd))) argument
349 #define pmd_mkyoung(pmd) pte_pmd(pte_mkyoung(pmd_pte(pmd))) argument
350 #define pmd_mknotpresent(pmd) (__pmd(pmd_val(pmd) & ~PMD_SECT_VALID)) argument
352 #define pmd_thp_or_huge(pmd) (pmd_huge(pmd) || pmd_trans_huge(pmd)) argument
354 #define pmd_write(pmd) pte_write(pmd_pte(pmd)) argument
356 #define pmd_mkhuge(pmd) (__pmd(pmd_val(pmd) & ~PMD_TABLE_BIT)) argument
358 #define __pmd_to_phys(pmd) __pte_to_phys(pmd_pte(pmd)) argument
360 #define pmd_pfn(pmd) ((__pmd_to_phys(pmd) & PMD_MASK) >> PAGE_SHIFT) argument
371 #define set_pmd_at(mm, addr, pmdp, pmd) set_pte_at(mm, addr, (pte_t *)pmdp, pmd_pte(pmd)) argument
393 #define pmd_none(pmd) (!pmd_val(pmd)) argument
395 #define pmd_bad(pmd) (!(pmd_val(pmd) & PMD_TABLE_BIT)) argument
397 #define pmd_table(pmd) ((pmd_val(pmd) & PMD_TYPE_MASK) == \ argument
399 #define pmd_sect(pmd) ((pmd_val(pmd) & PMD_TYPE_MASK) == \ argument
412 static inline void set_pmd(pmd_t *pmdp, pmd_t pmd) in set_pmd()
424 static inline phys_addr_t pmd_page_paddr(pmd_t pmd) in pmd_page_paddr()
442 #define pte_set_fixmap_offset(pmd, addr) pte_set_fixmap(pte_offset_phys(pmd, addr)) argument
445 #define pmd_page(pmd) pfn_to_page(__phys_to_pfn(__pmd_to_phys(pmd))) argument
458 #define pmd_ERROR(pmd) __pmd_error(__FILE__, __LINE__, pmd_val(pmd)) argument
587 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()
692 static inline pmd_t pmdp_establish(struct vm_area_struct *vma, in pmdp_establish()
751 #define update_mmu_cache_pmd(vma, address, pmd) do { } while (0) argument