函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mmget_not_zero

函数原型:static inline bool mmget_not_zero(struct mm_struct *mm)

返回类型:bool

参数:

类型参数名称
struct mm_struct *mm
100  返回:atomic_inc_not_zero - increment unless the number is zero*@v: pointer of type atomic_t* Atomically increments @v by 1, if @v is non-zero.* Returns true if the increment was done.
调用者
名称描述
build_map_info
try_to_unuseIf the boolean frontswap is true, only unuse pages_to_unuse pages;* pages_to_unuse==0 means all pages; ignored if frontswap is false
userfaultfd_release
userfaultfd_register
userfaultfd_unregister
userfaultfd_copy
userfaultfd_zeropage
io_submit_sqes
io_worker_handle_work