Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\mm.h Create Date:2022-07-28 05:40:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mmget_not_zero

Proto:static inline bool mmget_not_zero(struct mm_struct *mm)

Type:bool

Parameter:

TypeParameterName
struct mm_struct *mm
100  Return 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.
Caller
NameDescribe
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