函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mlock.c Create Date:2022-07-27 16:13:37
Last Modify:2022-05-23 14:12:58 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:SYSCALL_DEFINE2

函数原型:SYSCALL_DEFINE2(munlock, unsigned long, start, size_t, len)

返回类型:

参数:

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  如果lock for writing则返回:负EINTR
747  ret等于apply_vma_lock_flags(start, len, 0)
748  lease a write lock
750  返回:ret