函数逻辑报告 |
Source Code:kernel\locking\osq_lock.c |
Create Date:2022-07-27 10:51:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:We use the value 0 to represent "no CPU", thus the encoded value* will be the CPU number incremented by 1.
函数原型:static inline int encode_cpu(int cpu_nr)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | cpu_nr |
22 | 返回:cpu_nr加1 |
名称 | 描述 |
---|---|
osq_wait_next | Get a stable @node->next pointer, either for unlock() or unqueue() purposes.* Can return NULL in case we were the last queued and we updated @lock instead. |
osq_lock | |
osq_unlock |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |