函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hugetlb_vm_op_close

函数原型:static void hugetlb_vm_op_close(struct vm_area_struct *vma)

返回类型:void

参数:

类型参数名称
struct vm_area_struct *vma
3178  h等于hstate_vma(vma)
3179  resv等于vma_resv_map(vma)
3180  spool等于subpool_vma(vma)
3184  如果非resv或非is_vma_resv_set(vma, Flags for MAP_PRIVATE reservations. These are stored in the bottom* bits of the reservation map pointer, which are always clear due to* alignment.)则返回
3187  start等于Convert the address within this vma to the page offset within* the mapping, in pagecache page units; huge pages here.
3188  end等于Convert the address within this vma to the page offset within* the mapping, in pagecache page units; huge pages here.
3190  reserve等于endstartCount and return the number of huge pages in the reserve map* that intersect with the range [f, t).
3192  kref_put - decrement refcount for object.*@kref: object.*@release: pointer to the function that will clean up the object when the* last reference to the object is released.* This pointer is required, and it is not acceptable to pass kfree
3194  如果reserve
3199  gbl_reserve等于Subpool accounting for freeing and unreserving pages.* Return the number of global page reservations that must be dropped.* The return value may only be different than the passed value (delta)* in the case where a subpool minimum size must be maintained.
3200  Forward declaration