函数逻辑报告 |
Source Code:kernel\time\time.c |
Create Date:2022-07-27 11:38:23 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Add two timespec64 values and do a safety check for overflow.* It's assumed that both values are valid (>= 0).* And, each timespec64 is in normalized form.
函数原型:struct timespec64 timespec64_add_safe(const struct timespec64 lhs, const struct timespec64 rhs)
返回类型:struct timespec64
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const struct timespec64 | lhs | |
| const struct timespec64 | rhs |
| 864 | 如果此条件成立可能性小(为编译器优化)( seconds < seconds || seconds < seconds )则 |
| 866 | nanoseconds 等于0 |
| 869 | 返回:res |
| 名称 | 描述 |
|---|---|
| ep_set_mstimeout | |
| poll_select_set_timeout | poll_select_set_timeout - helper function to setup the timeout value*@to: pointer to timespec64 variable for the final timeout*@sec: seconds (from user space)*@nsec: nanoseconds (from user space)* Note, we do not use a timespec for the user space value |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |