Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:void clockevents_exchange_device(struct clock_event_device *old, struct clock_event_device *new)

Type:void

Parameter:

TypeParameterName
struct clock_event_device *old
struct clock_event_device *new
576  If old Then
577  module_put(owner)
578  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 !
579  deletes entry from list
580  list_add - add a new entry*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head.* This is good for implementing stacks.
583  If new Then
584  BUG_ON(!clockevent_state_detached(new))
585  lockevents_shutdown - shutdown the device and clear next_event*@dev: device to shutdown
Caller
NameDescribe
tick_install_replacement
tick_check_new_deviceCheck, if the new registered device should be used. Called with* clockevents_lock held and interrupts disabled.
tick_install_broadcast_deviceConditionally install/replace broadcast device