Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\highmem.h Create Date:2022-07-28 05:44:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:copy_user_highpage

Proto:static inline void copy_user_highpage(struct page *to, struct page *from, unsigned long vaddr, struct vm_area_struct *vma)

Type:void

Parameter:

TypeParameterName
struct page *to
struct page *from
unsigned longvaddr
struct vm_area_struct *vma
255  vfrom = kmap_atomic(from)
256  vto = kmap_atomic(to)
257  copy_user_page(vto, vfrom, vaddr, to)
258  Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(vto)
259  Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(vfrom)
Caller
NameDescribe
cow_user_page
do_cow_fault
copy_user_gigantic_page
copy_subpage
ksm_might_need_to_copy
do_huge_pmd_wp_page_fallback
__collapse_huge_page_copy