函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memory.c Create Date:2022-07-27 16:11:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:copy_user_gigantic_page

函数原型:static void copy_user_gigantic_page(struct page *dst, struct page *src, unsigned long addr, struct vm_area_struct *vma, unsigned int pages_per_huge_page)

返回类型:void

参数:

类型参数名称
struct page *dst
struct page *src
unsigned longaddr
struct vm_area_struct *vma
unsigned intpages_per_huge_page
4715  dst_base等于dst
4716  src_base等于src
4718 i小于pages_per_huge_page循环
4719  cond_resched()
4720  copy_user_highpage(dst, src, addr + i * PAGE_SIZE, vma)
4722  i自加
4723  dst等于Iterator over all subpages within the maximally aligned gigantic* page 'base'. Handle any discontiguity in the mem_map.
4724  src等于Iterator over all subpages within the maximally aligned gigantic* page 'base'. Handle any discontiguity in the mem_map.
调用者
名称描述
copy_user_huge_page