/kernel/linux/linux-6.6/mm/ |
H A D | page_vma_mapped.c | 16 static bool map_pte(struct page_vma_mapped_walk *pvmw, spinlock_t **ptlp) in map_pte() argument 24 *ptlp = pvmw->ptl; in map_pte() 36 pvmw->address, ptlp); in map_pte() 70 pvmw->ptl = *ptlp; in map_pte()
|
H A D | pgtable-generic.c | 307 unsigned long addr, spinlock_t **ptlp) in pte_offset_map_nolock() 314 *ptlp = pte_lockptr(mm, &pmdval); in pte_offset_map_nolock() 319 * pte_offset_map_lock(mm, pmd, addr, ptlp), and its internal implementation 329 * modification by software, with a pointer to that spinlock in ptlp (in some 333 * But it is unsuccessful, returning NULL with *ptlp unchanged, if there is no 348 * pte_offset_map_nolock(mm, pmd, addr, ptlp), above, is like pte_offset_map(); 349 * but when successful, it also outputs a pointer to the spinlock in ptlp - as 363 unsigned long addr, spinlock_t **ptlp) in __pte_offset_map_lock() 375 *ptlp = ptl; in __pte_offset_map_lock() 306 pte_offset_map_nolock(struct mm_struct *mm, pmd_t *pmd, unsigned long addr, spinlock_t **ptlp) pte_offset_map_nolock() argument 362 __pte_offset_map_lock(struct mm_struct *mm, pmd_t *pmd, unsigned long addr, spinlock_t **ptlp) __pte_offset_map_lock() argument
|
H A D | memory.c | 5611 * @ptlp: location to store the lock for the PTE 5614 * the corresponding lock is taken and its location is stored in @ptlp. 5615 * The contents of the PTE are only stable until @ptlp is released; 5628 pte_t **ptepp, spinlock_t **ptlp) in follow_pte() 5651 ptep = pte_offset_map_lock(mm, pmd, address, ptlp); in follow_pte() 5659 pte_unmap_unlock(ptep, *ptlp); in follow_pte() 5627 follow_pte(struct mm_struct *mm, unsigned long address, pte_t **ptepp, spinlock_t **ptlp) follow_pte() argument
|
/kernel/linux/linux-5.10/arch/arm/lib/ |
H A D | uaccess_with_memcpy.c | 23 pin_page_for_write(const void __user *_addr, pte_t **ptep, spinlock_t **ptlp) in pin_page_for_write() argument 69 *ptlp = ptl; in pin_page_for_write() 84 *ptlp = ptl; in pin_page_for_write()
|
/kernel/linux/linux-6.6/arch/arm/lib/ |
H A D | uaccess_with_memcpy.c | 23 pin_page_for_write(const void __user *_addr, pte_t **ptep, spinlock_t **ptlp) in pin_page_for_write() argument 69 *ptlp = ptl; in pin_page_for_write() 87 *ptlp = ptl; in pin_page_for_write()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | mm.h | 2379 pte_t **ptepp, spinlock_t **ptlp); 2959 unsigned long addr, spinlock_t **ptlp); 2961 unsigned long addr, spinlock_t **ptlp) in pte_offset_map_lock() 2965 __cond_lock(*ptlp, pte = __pte_offset_map_lock(mm, pmd, addr, ptlp)); in pte_offset_map_lock() 2970 unsigned long addr, spinlock_t **ptlp); 2982 #define pte_alloc_map_lock(mm, pmd, address, ptlp) \ 2984 NULL : pte_offset_map_lock(mm, pmd, address, ptlp)) 2960 pte_offset_map_lock(struct mm_struct *mm, pmd_t *pmd, unsigned long addr, spinlock_t **ptlp) pte_offset_map_lock() argument
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | mm.h | 1706 pmd_t **pmdpp, spinlock_t **ptlp); 1708 pte_t **ptepp, spinlock_t **ptlp); 2279 #define pte_offset_map_lock(mm, pmd, address, ptlp) \ 2283 *(ptlp) = __ptl; \ 2298 #define pte_alloc_map_lock(mm, pmd, address, ptlp) \ 2300 NULL : pte_offset_map_lock(mm, pmd, address, ptlp))
|
/kernel/linux/linux-5.10/mm/ |
H A D | memory.c | 4875 pmd_t **pmdpp, spinlock_t **ptlp) in follow_invalidate_pte() 4908 *ptlp = pmd_lock(mm, pmd); in follow_invalidate_pte() 4913 spin_unlock(*ptlp); in follow_invalidate_pte() 4927 ptep = pte_offset_map_lock(mm, pmd, address, ptlp); in follow_invalidate_pte() 4933 pte_unmap_unlock(ptep, *ptlp); in follow_invalidate_pte() 4945 * @ptlp: location to store the lock for the PTE 4948 * the corresponding lock is taken and its location is stored in @ptlp. 4949 * The contents of the PTE are only stable until @ptlp is released; 4962 pte_t **ptepp, spinlock_t **ptlp) in follow_pte() 4964 return follow_invalidate_pte(mm, address, NULL, ptepp, NULL, ptlp); in follow_pte() 4873 follow_invalidate_pte(struct mm_struct *mm, unsigned long address, struct mmu_notifier_range *range, pte_t **ptepp, pmd_t **pmdpp, spinlock_t **ptlp) follow_invalidate_pte() argument 4961 follow_pte(struct mm_struct *mm, unsigned long address, pte_t **ptepp, spinlock_t **ptlp) follow_pte() argument [all...] |