Searched refs:PKMAP_NR (Results 1 – 13 of 13) sorted by relevance
155 int i = PKMAP_NR(addr); in kmap_to_page()287 pkmap_count[PKMAP_NR(vaddr)]++; in kmap_high()288 BUG_ON(pkmap_count[PKMAP_NR(vaddr)] < 2); in kmap_high()313 BUG_ON(pkmap_count[PKMAP_NR(vaddr)] < 1); in kmap_high_get()314 pkmap_count[PKMAP_NR(vaddr)]++; in kmap_high_get()340 nr = PKMAP_NR(vaddr); in kunmap_high()452 pam = &page_address_maps[PKMAP_NR((unsigned long)virtual)]; in set_page_address()
30 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) macro
58 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) macro
32 #define PKMAP_NR(virt) (((virt) - (PKMAP_BASE)) >> PAGE_SHIFT) macro
50 #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) macro
46 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) macro
26 #define PKMAP_NR(virt) (((virt) - PKMAP_BASE) >> PAGE_SHIFT) macro
49 #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) macro
10 #define PKMAP_NR(virt) (((virt) - PKMAP_BASE) >> PAGE_SHIFT) macro
86 #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) macro
25 #define PKMAP_NR(virt) (((virt) - PKMAP_BASE) >> PAGE_SHIFT) macro
96 kunmap_high(pte_page(pkmap_page_table[PKMAP_NR(vaddr)])); in kunmap_atomic_high()