函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\migrate.c Create Date:2022-07-27 17:32:41
Last Modify:2022-05-20 09:53:13 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:copy_huge_page

函数原型:static void copy_huge_page(struct page *dst, struct page *src)

返回类型:void

参数:

类型参数名称
struct page *dst
struct page *src
570  如果PageHuge() only returns true for hugetlbfs pages, but not for normal or* transparent huge pages. See the PageTransHuge() documentation for more* details.
572  h等于page_hstate(src)
573  nr_pages等于pages_per_huge_page(h)
577  返回
579  否则
581  BUG_ON(!PageHuge() only returns true for hugetlbfs pages, but not for* normal or transparent huge pages.* PageTransHuge() returns true for both transparent huge and* hugetlbfs pages, but not normal pages. PageTransHuge() can only be)
582  nr_pages等于hpage_nr_pages(src)
585 i小于nr_pages循环
586  cond_resched()
587  copy_highpage(dst + i, src + i)
调用者
名称描述
migrate_page_copy