函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\highmem.h Create Date:2022-07-27 06:45:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:copy_user_highpage

函数原型:static inline void copy_user_highpage(struct page *to, struct page *from, unsigned long vaddr, struct vm_area_struct *vma)

返回类型:void

参数:

类型参数名称
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)
调用者
名称描述
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