函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:set_huge_pte_at

函数原型:static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pte)

返回类型:void

参数:

类型参数名称
struct mm_struct *mm
unsigned longaddr
pte_t *ptep
pte_tpte
56  set_pte_at(mm, addr, ptep, pte)
调用者
名称描述
copy_hugetlb_page_range
hugetlb_cowHugetlb_cow() should be called with page lock of the original hugepage held.* Called with hugetlb_instantiation_mutex held and pte_page locked so we* cannot race with other handlers or page migration.
hugetlb_no_page
hugetlb_mcopy_atomic_pteUsed by userfaultfd UFFDIO_COPY. Based on mcopy_atomic_pte with* modifications for huge pages.
remove_migration_pteRestore a potential migration pte to a working pte entry
set_huge_swap_pte_at
huge_ptep_modify_prot_commit