函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kcmp.c Create Date:2022-07-27 11:36:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:0 - equal, i.e. v1 = v2* 1 - less than, i.e. v1 < v2* 2 - greater than, i.e. v1 > v2* 3 - not equal but ordering unavailable (reserved for future)

函数原型:static int kcmp_ptr(void *v1, void *v2, enum kcmp_type type)

返回类型:int

参数:

类型参数名称
void *v1
void *v2
enum kcmp_typetype
54  t1等于kptr_obfuscate((long)v1, type)
55  t2等于kptr_obfuscate((long)v2, type)
57  返回:t1小于t2按位或t1大于t2的值左移1位
调用者
名称描述
kcmp_epoll_target
SYSCALL_DEFINE5