函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:k_program_event

函数原型:int tick_program_event(ktime_t expires, int force)

返回类型:int

参数:

类型参数名称
ktime_texpires
intforce
25  dev等于Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(evtdev)
27  如果此条件成立可能性小(为编译器优化)(expires == KTIME_MAX)则
31  lockevents_switch_state - set the operating state of a clock event device*@dev: device to modify*@state: new state* Must be called with interrupts disabled !
32  next_event等于KTIME_MAX
33  返回:0
36  如果此条件成立可能性小(为编译器优化)(clockevent_state_oneshot_stopped(dev))则
41  lockevents_switch_state - set the operating state of a clock event device*@dev: device to modify*@state: new state* Must be called with interrupts disabled !
44  返回:设置下一次触发时间
调用者
名称描述
hrtimer_reprogramWhen a timer is enqueued and expires earlier than the already enqueued* timers, we have to check, whether it expires earlier than the timer for* which the clock event device was armed.* Called with interrupts disabled and base->cpu_base.lock held