函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Conditionally install/replace broadcast device

函数原型:void tick_install_broadcast_device(struct clock_event_device *dev)

返回类型:void

参数:

类型参数名称
struct clock_event_device *dev
96  cur等于evtdev
98  如果非Check, if the device can be utilized as broadcast device:则返回
101  如果非判断模块是否处于活动状态则返回
104  lockevents_exchange_device - release and request clock devices*@old: device to release (can be NULL)*@new: device to request (can be NULL)* Called from various tick functions with clockevents_lock held and* interrupts disabled.
105  如果curevent_handler等于Noop handler when we shut down an event device
107  evtdev等于dev
108  如果非pumask_empty - *srcp == 0*@srcp: the cpumask to that all cpus < nr_cpu_ids are clear.Start the device in periodic mode
118  如果features按位与CLOCK_EVT_FEAT_ONESHOTtick_clock_notify()
调用者
名称描述
tick_check_new_deviceCheck, if the new registered device should be used. Called with* clockevents_lock held and interrupts disabled.