函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:`inline' is required to avoid gcc 4.1.2 build error

函数原型:static inline vm_fault_t wp_huge_pmd(struct vm_fault *vmf, pmd_t orig_pmd)

返回类型:vm_fault_t

参数:

类型参数名称
struct vm_fault *vmf
pmd_torig_pmd
3916  如果vma_is_anonymous(Target VMA )则返回:do_huge_pmd_wp_page(vmf, orig_pmd)
3918  如果huge_fault则返回:huge_fault(vmf, PE_SIZE_PMD)
3922  VM_BUG_ON_VMA(Flags, see mm.h. & VM_SHARED, Target VMA )
3923  __split_huge_pmd(Target VMA , Pointer to pmd entry matching* the 'address' , Faulting virtual address , TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., NULL)
3925  返回:VM_FAULT_FALLBACK
调用者
名称描述
__handle_mm_faultBy the time we get here, we already hold the mm semaphore* The mmap_sem may have been released depending on flags and our* return value. See filemap_fault() and __lock_page_or_retry().