函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:void clockevents_exchange_device(struct clock_event_device *old, struct clock_event_device *new)

返回类型:void

参数:

类型参数名称
struct clock_event_device *old
struct clock_event_device *new
576  如果old
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  删除链表项
580  添加链表项
583  如果new
584  BUG_ON(!clockevent_state_detached(new))
585  lockevents_shutdown - shutdown the device and clear next_event*@dev: device to shutdown
调用者
名称描述
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