函数逻辑报告 |
Source Code:kernel\time\posix-cpu-timers.c |
Create Date:2022-07-27 11:47:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Clean up a CPU-clock timer that is about to be destroyed.* This is called from timer deletion with the timer already locked.* If we return TIMER_RETRY, it's necessary to release the timer's lock* and try again
函数原型:static int posix_cpu_timer_del(struct k_itimer *timer)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct k_itimer * | timer |
| 412 | ret等于0 |
| 414 | 如果WARN_ON_ONCE(!p)则返回:负EINVAL |
| 421 | sighand等于lock_task_sighand(p, & flags) |
| 422 | 如果此条件成立可能性小(为编译器优化)(sighand == NULL)则 |
| 427 | WARN_ON_ONCE(head || timerqueue_node_queued( & node)) |
| 428 | 否则 |
| 431 | 否则cpu_timer_dequeue(ctmr) |
| 434 | unlock_task_sighand(p, & flags) |
| 437 | 如果非ret则put_task_struct(p) |
| 440 | 返回:ret |
| 名称 | 描述 |
|---|---|
| do_cpu_nanosleep |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |