函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Returns true if a given pud maps a thp, false otherwise.* Note that if it returns true, this routine returns without unlocking page* table lock. So callers must unlock it.

函数原型:spinlock_t *__pud_trans_huge_lock(pud_t *pud, struct vm_area_struct *vma)

返回类型:spinlock_t

参数:

类型参数名称
pud_t *pud
struct vm_area_struct *vma
2034  ptl等于pud_lock(The address space we belong to. , pud)
2035  如果此条件成立可能性大(为编译器优化)(pud_trans_huge( * pud) || pud_devmap( * pud))则返回:ptl
2037  自旋锁解锁
2038  返回:NULL
调用者
名称描述
pud_trans_huge_lock