函数逻辑报告 |
Source Code:kernel\time\hrtimer.c |
Create Date:2022-07-27 11:41:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:hrtimer_nanosleep
函数原型:long hrtimer_nanosleep(const struct timespec64 *rqtp, const enum hrtimer_mode mode, const clockid_t clockid)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct timespec64 * | rqtp | |
const enum hrtimer_mode | mode | |
const clockid_t | clockid |
1918 | ret等于0 |
1921 | slack等于timer_slack_ns |
1925 | hrtimer_init_sleeper_on_stack( & t, clockid, mode) |
1927 | ret等于do_nanosleep( & t, mode) |
1928 | 如果ret不等于负start by calling sys_restart_syscall 则转到:out |
1932 | 如果mode恒等于 Time value is absolute则 |
1933 | ret等于负start if no handler.. |
1934 | 转到:out |
1937 | restart等于restart_block |
1938 | fn等于hrtimer_nanosleep_restart |
1940 | expires等于hrtimer_get_expires_tv64( & timer) |
1941 | out : |
1942 | destroy_hrtimer_on_stack( & timer) |
1943 | 返回:ret |
名称 | 描述 |
---|---|
common_nsleep | anosleep for monotonic and realtime clocks |
SYSCALL_DEFINE4 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |