函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Setup the device for a periodic tick

函数原型:void tick_setup_periodic(struct clock_event_device *dev, int broadcast)

返回类型:void

参数:

类型参数名称
struct clock_event_device *dev
intbroadcast
150  Set the periodic handler depending on broadcast on/off
153  如果非tick_device_is_functional(dev)则返回
156  如果features按位与CLOCK_EVT_FEAT_PERIODIC且非tick_broadcast_oneshot_active()则
158  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 !
159  否则
163  循环
166 read_seqretry( & jiffies_lock, seq)循环
168  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 !
170  循环
171  如果非设置下一次触发时间则返回
调用者
名称描述
tick_setup_deviceSetup the tick device
tick_resume_localk_resume_local - Resume the local tick device* Called from the local CPU for unfreeze or XEN resume magic.* No locks required. Nothing can change the per cpu device.
tick_broadcast_start_periodicStart the device in periodic mode
tick_broadcast_controlk_broadcast_control - Enable/disable or force broadcast mode*@mode: The selected broadcast mode* Called when the system enters a state where affected tick devices* might stop. Note: TICK_BROADCAST_FORCE cannot be undone.