Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\tick-broadcast.c Create Date:2022-07-28 10:50:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Conditionally install/replace broadcast device

Proto:void tick_install_broadcast_device(struct clock_event_device *dev)

Type:void

Parameter:

TypeParameterName
struct clock_event_device *dev
96  cur = evtdev
98  If Not Check, if the device can be utilized as broadcast device: Then Return
101  If Not try_module_get(owner) Then Return
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  If cur Then event_handler = Noop handler when we shut down an event device
107  evtdev = dev
108  If Not pumask_empty - *srcp == 0*@srcp: the cpumask to that all cpus < nr_cpu_ids are clear. Then Start the device in periodic mode
118  If features & CLOCK_EVT_FEAT_ONESHOT Then tick_clock_notify()
Caller
NameDescribe
tick_check_new_deviceCheck, if the new registered device should be used. Called with* clockevents_lock held and interrupts disabled.