/linux-2.6.39/arch/arm/mm/ |
D | fault-armv.c | 75 static inline void do_pte_lock(spinlock_t *ptl) in do_pte_lock() argument 81 spin_lock_nested(ptl, SINGLE_DEPTH_NESTING); in do_pte_lock() 84 static inline void do_pte_unlock(spinlock_t *ptl) in do_pte_unlock() argument 86 spin_unlock(ptl); in do_pte_unlock() 89 static inline void do_pte_lock(spinlock_t *ptl) {} in do_pte_lock() argument 90 static inline void do_pte_unlock(spinlock_t *ptl) {} in do_pte_unlock() argument 96 spinlock_t *ptl; in adjust_pte() local 120 ptl = pte_lockptr(vma->vm_mm, pmd); in adjust_pte() 122 do_pte_lock(ptl); in adjust_pte() 126 do_pte_unlock(ptl); in adjust_pte()
|
/linux-2.6.39/arch/arm/lib/ |
D | uaccess_with_memcpy.c | 31 spinlock_t *ptl; in pin_page_for_write() local 45 pte = pte_offset_map_lock(current->mm, pmd, addr, &ptl); in pin_page_for_write() 48 pte_unmap_unlock(pte, ptl); in pin_page_for_write() 53 *ptlp = ptl; in pin_page_for_write() 75 spinlock_t *ptl; in __copy_to_user_memcpy() local 78 while (!pin_page_for_write(to, &pte, &ptl)) { in __copy_to_user_memcpy() 96 pte_unmap_unlock(pte, ptl); in __copy_to_user_memcpy() 131 spinlock_t *ptl; in __clear_user_memset() local 134 while (!pin_page_for_write(addr, &pte, &ptl)) { in __clear_user_memset() 149 pte_unmap_unlock(pte, ptl); in __clear_user_memset()
|
/linux-2.6.39/mm/ |
D | memory.c | 916 spinlock_t *ptl; in zap_pte_range() local 921 pte = pte_offset_map_lock(mm, pmd, addr, &ptl); in zap_pte_range() 1002 pte_unmap_unlock(pte - 1, ptl); in zap_pte_range() 1275 spinlock_t *ptl; in follow_page() local 1333 ptep = pte_offset_map_lock(mm, pmd, address, &ptl); in follow_page() 1385 pte_unmap_unlock(ptep, ptl); in follow_page() 1390 pte_unmap_unlock(ptep, ptl); in follow_page() 1394 pte_unmap_unlock(ptep, ptl); in follow_page() 1751 spinlock_t **ptl) in __get_locked_pte() argument 1759 return pte_alloc_map_lock(mm, pmd, addr, ptl); in __get_locked_pte() [all …]
|
D | rmap.c | 428 spinlock_t *ptl; in __page_check_address() local 432 ptl = &mm->page_table_lock; in __page_check_address() 457 ptl = pte_lockptr(mm, pmd); in __page_check_address() 459 spin_lock(ptl); in __page_check_address() 461 *ptlp = ptl; in __page_check_address() 464 pte_unmap_unlock(pte, ptl); in __page_check_address() 481 spinlock_t *ptl; in page_mapped_in_vma() local 486 pte = page_check_address(page, vma->vm_mm, address, &ptl, 1); in page_mapped_in_vma() 489 pte_unmap_unlock(pte, ptl); in page_mapped_in_vma() 533 spinlock_t *ptl; in page_referenced_one() local [all …]
|
D | fremap.c | 61 spinlock_t *ptl; in install_file_pte() local 63 pte = get_locked_pte(mm, addr, &ptl); in install_file_pte() 78 pte_unmap_unlock(pte, ptl); in install_file_pte()
|
D | migrate.c | 99 spinlock_t *ptl; in remove_migration_pte() local 105 ptl = &mm->page_table_lock; in remove_migration_pte() 128 ptl = pte_lockptr(mm, pmd); in remove_migration_pte() 131 spin_lock(ptl); in remove_migration_pte() 166 pte_unmap_unlock(ptep, ptl); in remove_migration_pte() 191 spinlock_t *ptl; in migration_entry_wait() local 195 ptep = pte_offset_map_lock(mm, pmd, address, &ptl); in migration_entry_wait() 215 pte_unmap_unlock(ptep, ptl); in migration_entry_wait() 220 pte_unmap_unlock(ptep, ptl); in migration_entry_wait()
|
D | mincore.c | 110 spinlock_t *ptl; in mincore_pte_range() local 113 ptep = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); in mincore_pte_range() 144 pte_unmap_unlock(ptep - 1, ptl); in mincore_pte_range()
|
D | mprotect.c | 43 spinlock_t *ptl; in change_pte_range() local 45 pte = pte_offset_map_lock(mm, pmd, addr, &ptl); in change_pte_range() 78 pte_unmap_unlock(pte - 1, ptl); in change_pte_range()
|
D | filemap_xip.c | 174 spinlock_t *ptl; in __xip_unmap() local 192 pte = page_check_address(page, mm, address, &ptl, 1); in __xip_unmap() 200 pte_unmap_unlock(pte, ptl); in __xip_unmap()
|
D | huge_memory.c | 1719 spinlock_t *ptl) in __collapse_huge_page_copy() argument 1740 spin_lock(ptl); in __collapse_huge_page_copy() 1747 spin_unlock(ptl); in __collapse_huge_page_copy() 1768 spinlock_t *ptl; in collapse_huge_page() local 1856 ptl = pte_lockptr(mm, pmd); in collapse_huge_page() 1868 spin_lock(ptl); in collapse_huge_page() 1870 spin_unlock(ptl); in collapse_huge_page() 1888 __collapse_huge_page_copy(pte, new_page, vma, address, ptl); in collapse_huge_page() 1943 spinlock_t *ptl; in khugepaged_scan_pmd() local 1960 pte = pte_offset_map_lock(mm, pmd, address, &ptl); in khugepaged_scan_pmd() [all …]
|
D | ksm.c | 704 spinlock_t *ptl; in write_protect_page() local 713 ptep = page_check_address(page, mm, addr, &ptl, 0); in write_protect_page() 749 pte_unmap_unlock(ptep, ptl); in write_protect_page() 771 spinlock_t *ptl; in replace_page() local 792 ptep = pte_offset_map_lock(mm, pmd, addr, &ptl); in replace_page() 794 pte_unmap_unlock(ptep, ptl); in replace_page() 810 pte_unmap_unlock(ptep, ptl); in replace_page()
|
D | memcontrol.c | 4846 spinlock_t *ptl; in mem_cgroup_count_precharge_pte_range() local 4850 pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); in mem_cgroup_count_precharge_pte_range() 4854 pte_unmap_unlock(pte - 1, ptl); in mem_cgroup_count_precharge_pte_range() 5009 spinlock_t *ptl; in mem_cgroup_move_charge_pte_range() local 5013 pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); in mem_cgroup_move_charge_pte_range() 5055 pte_unmap_unlock(pte - 1, ptl); in mem_cgroup_move_charge_pte_range()
|
D | swapfile.c | 851 spinlock_t *ptl; in unuse_pte() local 860 pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); in unuse_pte() 882 pte_unmap_unlock(pte, ptl); in unuse_pte()
|
D | mempolicy.c | 472 spinlock_t *ptl; in check_pte_range() local 474 orig_pte = pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); in check_pte_range() 502 pte_unmap_unlock(orig_pte, ptl); in check_pte_range()
|
/linux-2.6.39/arch/m68k/kernel/ |
D | sys_m68k_mm.c | 495 spinlock_t *ptl; in sys_atomic_cmpxchg_32() local 505 pte = pte_offset_map_lock(mm, pmd, (unsigned long)mem, &ptl); in sys_atomic_cmpxchg_32() 508 pte_unmap_unlock(pte, ptl); in sys_atomic_cmpxchg_32() 516 pte_unmap_unlock(pte, ptl); in sys_atomic_cmpxchg_32()
|
/linux-2.6.39/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()
|
/linux-2.6.39/arch/x86/xen/ |
D | mmu.c | 894 spinlock_t *ptl = NULL; in xen_pte_lock() local 897 ptl = __pte_lockptr(page); in xen_pte_lock() 898 spin_lock_nest_lock(ptl, &mm->page_table_lock); in xen_pte_lock() 901 return ptl; in xen_pte_lock() 906 spinlock_t *ptl = v; in xen_pte_unlock() local 907 spin_unlock(ptl); in xen_pte_unlock() 938 spinlock_t *ptl; in xen_pin_page() local 962 ptl = NULL; in xen_pin_page() 964 ptl = xen_pte_lock(page, mm); in xen_pin_page() 970 if (ptl) { in xen_pin_page() [all …]
|
/linux-2.6.39/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()
|
/linux-2.6.39/fs/proc/ |
D | task_mmu.c | 393 spinlock_t *ptl; in smaps_pte_range() local 415 pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); in smaps_pte_range() 418 pte_unmap_unlock(pte - 1, ptl); in smaps_pte_range() 504 spinlock_t *ptl; in clear_refs_pte_range() local 509 pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); in clear_refs_pte_range() 523 pte_unmap_unlock(pte - 1, ptl); in clear_refs_pte_range()
|
/linux-2.6.39/arch/arm/kernel/ |
D | traps.c | 556 spinlock_t *ptl; in arm_syscall() local 566 pte = pte_offset_map_lock(mm, pmd, addr, &ptl); in arm_syscall() 568 pte_unmap_unlock(pte, ptl); in arm_syscall() 577 pte_unmap_unlock(pte, ptl); in arm_syscall()
|
/linux-2.6.39/include/linux/ |
D | mm.h | 1195 spinlock_t **ptl); 1197 spinlock_t **ptl) in get_locked_pte() argument 1200 __cond_lock(*ptl, ptep = __get_locked_pte(mm, addr, ptl)); in get_locked_pte() 1253 #define __pte_lockptr(page) &((page)->ptl) 1289 #define pte_unmap_unlock(pte, ptl) do { \ argument 1290 spin_unlock(ptl); \
|
D | mm_types.h | 66 spinlock_t ptl; member
|
/linux-2.6.39/arch/x86/kernel/ |
D | vm86_32.c | 172 spinlock_t *ptl; in mark_screen_rdonly() local 185 pte = pte_offset_map_lock(mm, pmd, 0xA0000, &ptl); in mark_screen_rdonly() 191 pte_unmap_unlock(pte, ptl); in mark_screen_rdonly()
|
/linux-2.6.39/drivers/platform/x86/ |
D | intel_ips.c | 1151 u16 ptl; 1153 ptl = thm_readw(THM_PTL); 1154 dev_dbg(&ips->dev->dev, "Processor temp limit: %d\n", ptl);
|