Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mlock.c Create Date:2022-07-28 14:45:56
Last Modify:2022-05-23 14:12:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:SYSCALL_DEFINE2

Proto:SYSCALL_DEFINE2(munlock, unsigned long, start, size_t, len)

Type:

Parameter:Nothing

740  start = Architectures that support memory tagging (assigning tags to memory regions,* embedding these tags into addresses that point to these memory regions, and* checking that the memory and the pointer tags match on memory accesses)(start)
742  len = align the pointer to the (next) page boundary (len + (offset_in_page(start)))
743  start &= PAGE_MASK
745  If lock for writing Then Return -EINTR
747  ret = apply_vma_lock_flags(start, len, 0)
748  lease a write lock
750  Return ret