Home
last modified time | relevance | path

Searched refs:ptl (Results 1 – 13 of 13) sorted by relevance

/arch/arm/lib/
A Duaccess_with_memcpy.c31 spinlock_t *ptl; in pin_page_for_write() local
61 spin_lock(ptl); in pin_page_for_write()
64 spin_unlock(ptl); in pin_page_for_write()
69 *ptlp = ptl; in pin_page_for_write()
82 pte_unmap_unlock(pte, ptl); in pin_page_for_write()
87 *ptlp = ptl; in pin_page_for_write()
105 spinlock_t *ptl; in __copy_to_user_memcpy() local
129 pte_unmap_unlock(pte, ptl); in __copy_to_user_memcpy()
131 spin_unlock(ptl); in __copy_to_user_memcpy()
169 spinlock_t *ptl; in __clear_user_memset() local
[all …]
/arch/s390/mm/
A Dpgtable.c796 spinlock_t *ptl; in set_guest_storage_key() local
816 spin_unlock(ptl); in set_guest_storage_key()
828 spin_unlock(ptl); in set_guest_storage_key()
831 spin_unlock(ptl); in set_guest_storage_key()
905 spinlock_t *ptl; in reset_guest_reference_bit() local
938 spin_unlock(ptl); in reset_guest_reference_bit()
969 spinlock_t *ptl; in get_guest_storage_key() local
1002 spin_unlock(ptl); in get_guest_storage_key()
1037 spinlock_t *ptl; in pgste_perform_essa() local
1142 spinlock_t *ptl; in set_pgste_bits() local
[all …]
A Dgmap_helpers.c49 spinlock_t *ptl; in gmap_helper_zap_one_page() local
60 ptep = get_locked_pte(mm, vmaddr, &ptl); in gmap_helper_zap_one_page()
65 pte_unmap_unlock(ptep, ptl); in gmap_helper_zap_one_page()
A Dgmap.c533 spinlock_t *ptl; in __gmap_link() local
589 ptl = pmd_lock(mm, pmd); in __gmap_link()
613 spin_unlock(ptl); in __gmap_link()
762 spinlock_t **ptl) in gmap_pte_op_walk() argument
810 pte_unmap_unlock(ptep, ptl); in gmap_pte_op_end()
921 spinlock_t *ptl; in gmap_protect_pte() local
935 gmap_pte_op_end(ptep, ptl); in gmap_protect_pte()
998 spinlock_t *ptl; in gmap_read_table() local
1084 spinlock_t *ptl; in gmap_protect_rmap() local
1810 spinlock_t *ptl; in gmap_shadow_page() local
[all …]
/arch/arm/mm/
A Dfault-armv.c67 spinlock_t *ptl; in adjust_pte() local
98 pte = pte_offset_map_rw_nolock(vma->vm_mm, pmd, address, &pmdval, &ptl); in adjust_pte()
107 spin_lock_nested(ptl, SINGLE_DEPTH_NESTING); in adjust_pte()
109 pte_unmap_unlock(pte, ptl); in adjust_pte()
117 spin_unlock(ptl); in adjust_pte()
/arch/powerpc/lib/
A Dcode-patching.c156 spinlock_t *ptl; in text_area_cpu_up_mm() local
177 pte = get_locked_pte(mm, addr, &ptl); in text_area_cpu_up_mm()
180 pte_unmap_unlock(pte, ptl); in text_area_cpu_up_mm()
290 spinlock_t *ptl; in __do_patch_mem_mm() local
296 pte = get_locked_pte(patching_mm, text_poke_addr, &ptl); in __do_patch_mem_mm()
322 pte_unmap_unlock(pte, ptl); in __do_patch_mem_mm()
473 spinlock_t *ptl; in __do_patch_instructions_mm() local
482 pte = get_locked_pte(patching_mm, text_poke_addr, &ptl); in __do_patch_instructions_mm()
510 pte_unmap_unlock(pte, ptl); in __do_patch_instructions_mm()
/arch/x86/kernel/
A Dldt.c292 spinlock_t *ptl; in map_ldt_struct() local
326 ptep = get_locked_pte(mm, va, &ptl); in map_ldt_struct()
339 pte_unmap_unlock(ptep, ptl); in map_ldt_struct()
365 spinlock_t *ptl; in unmap_ldt_struct() local
369 ptep = get_locked_pte(mm, va, &ptl); in unmap_ldt_struct()
372 pte_unmap_unlock(ptep, ptl); in unmap_ldt_struct()
A Dalternative.c2433 spinlock_t *ptl; in __text_poke() local
2467 ptep = get_locked_pte(text_poke_mm, text_poke_mm_addr, &ptl); in __text_poke()
2528 pte_unmap_unlock(ptep, ptl); in __text_poke()
/arch/m68k/kernel/
A Dsys_m68k.c474 spinlock_t *ptl; in sys_atomic_cmpxchg_32() local
490 pte = pte_offset_map_lock(mm, pmd, (unsigned long)mem, &ptl); in sys_atomic_cmpxchg_32()
495 pte_unmap_unlock(pte, ptl); in sys_atomic_cmpxchg_32()
507 pte_unmap_unlock(pte, ptl); in sys_atomic_cmpxchg_32()
/arch/powerpc/mm/book3s64/
A Dsubpage_prot.c61 spinlock_t *ptl; in hpte_flush_range() local
73 pte = pte_offset_map_lock(mm, pmd, addr, &ptl); in hpte_flush_range()
83 pte_unmap_unlock(pte - 1, ptl); in hpte_flush_range()
/arch/x86/xen/
A Dmmu_pv.c709 spinlock_t *ptl = NULL; in xen_pte_lock() local
716 return ptl; in xen_pte_lock()
721 spinlock_t *ptl = v; in xen_pte_unlock() local
722 spin_unlock(ptl); in xen_pte_unlock()
744 spinlock_t *ptl; in xen_pin_page() local
766 ptl = NULL; in xen_pin_page()
768 ptl = xen_pte_lock(page, mm); in xen_pin_page()
774 if (ptl) { in xen_pin_page()
873 spinlock_t *ptl = NULL; in xen_unpin_page() local
886 if (ptl) in xen_unpin_page()
[all …]
/arch/powerpc/mm/
A Dpgtable.c382 spinlock_t *ptl; in assert_pte_locked() local
401 pte = pte_offset_map_ro_nolock(mm, pmd, addr, &ptl); in assert_pte_locked()
403 assert_spin_locked(ptl); in assert_pte_locked()
/arch/x86/mm/
A Dinit.c821 spinlock_t *ptl; in poking_init() local
850 ptep = get_locked_pte(text_poke_mm, text_poke_mm_addr, &ptl); in poking_init()
852 pte_unmap_unlock(ptep, ptl); in poking_init()

Completed in 38 milliseconds