Searched refs:ptl (Results 1 – 9 of 9) sorted by relevance
/arch/arm/mm/ |
D | fault-armv.c | 74 static inline void do_pte_lock(spinlock_t *ptl) in do_pte_lock() argument 80 spin_lock_nested(ptl, SINGLE_DEPTH_NESTING); in do_pte_lock() 83 static inline void do_pte_unlock(spinlock_t *ptl) in do_pte_unlock() argument 85 spin_unlock(ptl); in do_pte_unlock() 88 static inline void do_pte_lock(spinlock_t *ptl) {} in do_pte_lock() argument 89 static inline void do_pte_unlock(spinlock_t *ptl) {} in do_pte_unlock() argument 95 spinlock_t *ptl; in adjust_pte() local 119 ptl = pte_lockptr(vma->vm_mm, pmd); in adjust_pte() 121 do_pte_lock(ptl); in adjust_pte() 125 do_pte_unlock(ptl); in adjust_pte()
|
/arch/arm/lib/ |
D | uaccess_with_memcpy.c | 32 spinlock_t *ptl; in pin_page_for_write() local 46 pte = pte_offset_map_lock(current->mm, pmd, addr, &ptl); in pin_page_for_write() 49 pte_unmap_unlock(pte, ptl); in pin_page_for_write() 54 *ptlp = ptl; in pin_page_for_write() 76 spinlock_t *ptl; in __copy_to_user_memcpy() local 79 while (!pin_page_for_write(to, &pte, &ptl)) { in __copy_to_user_memcpy() 97 pte_unmap_unlock(pte, ptl); in __copy_to_user_memcpy() 132 spinlock_t *ptl; in __clear_user_memset() local 135 while (!pin_page_for_write(addr, &pte, &ptl)) { in __clear_user_memset() 150 pte_unmap_unlock(pte, ptl); in __clear_user_memset()
|
/arch/powerpc/mm/ |
D | subpage-prot.c | 67 spinlock_t *ptl; in hpte_flush_range() local 78 pte = pte_offset_map_lock(mm, pmd, addr, &ptl); in hpte_flush_range() 86 pte_unmap_unlock(pte - 1, ptl); in hpte_flush_range()
|
/arch/m68k/kernel/ |
D | sys_m68k.c | 465 spinlock_t *ptl; in sys_atomic_cmpxchg_32() local 475 pte = pte_offset_map_lock(mm, pmd, (unsigned long)mem, &ptl); in sys_atomic_cmpxchg_32() 478 pte_unmap_unlock(pte, ptl); in sys_atomic_cmpxchg_32() 490 pte_unmap_unlock(pte, ptl); in sys_atomic_cmpxchg_32()
|
/arch/x86/xen/ |
D | mmu.c | 797 spinlock_t *ptl = NULL; in xen_pte_lock() local 800 ptl = __pte_lockptr(page); in xen_pte_lock() 801 spin_lock_nest_lock(ptl, &mm->page_table_lock); in xen_pte_lock() 804 return ptl; in xen_pte_lock() 809 spinlock_t *ptl = v; in xen_pte_unlock() local 810 spin_unlock(ptl); in xen_pte_unlock() 839 spinlock_t *ptl; in xen_pin_page() local 863 ptl = NULL; in xen_pin_page() 865 ptl = xen_pte_lock(page, mm); in xen_pin_page() 871 if (ptl) { in xen_pin_page() [all …]
|
/arch/sh/mm/ |
D | cache-sh5.c | 390 spinlock_t *ptl; in sh64_dcache_purge_user_pages() local 408 pte = pte_offset_map_lock(mm, pmd, addr, &ptl); in sh64_dcache_purge_user_pages() 416 pte_unmap_unlock(pte - 1, ptl); in sh64_dcache_purge_user_pages()
|
/arch/arm/kernel/ |
D | traps.c | 619 spinlock_t *ptl; in arm_syscall() local 629 pte = pte_offset_map_lock(mm, pmd, addr, &ptl); in arm_syscall() 631 pte_unmap_unlock(pte, ptl); in arm_syscall() 640 pte_unmap_unlock(pte, ptl); in arm_syscall()
|
/arch/x86/kernel/ |
D | vm86_32.c | 174 spinlock_t *ptl; in mark_screen_rdonly() local 188 pte = pte_offset_map_lock(mm, pmd, 0xA0000, &ptl); in mark_screen_rdonly() 194 pte_unmap_unlock(pte, ptl); in mark_screen_rdonly()
|
/arch/s390/mm/ |
D | pgtable.c | 664 spinlock_t *ptl; in gmap_ipte_notify() local 685 ptep = get_locked_pte(gmap->mm, addr, &ptl); in gmap_ipte_notify() 697 spin_unlock(ptl); in gmap_ipte_notify()
|