函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:SYSCALL_DEFINE3

函数原型:SYSCALL_DEFINE3(mlock2, unsigned long, start, size_t, len, int, flags)

返回类型:

参数:

725  vm_flags等于VM_LOCKED
727  如果flags按位与Lock pages in range after they are faulted in, do not prefault 的反则返回:负EINVAL
730  如果flags按位与Lock pages in range after they are faulted in, do not prefault vm_flags或等于Lock the pages covered when they are faulted in
733  返回:do_mlock(start, len, vm_flags)