函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tick_install_replacement

函数原型:void tick_install_replacement(struct clock_event_device *newdev)

返回类型:void

参数:

类型参数名称
struct clock_event_device *newdev
276  td等于this_cpu_ptr( & Tick devices)
277  cpu等于当前cpu ID()
279  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.
280  Setup the tick device
281  如果features按位与CLOCK_EVT_FEAT_ONESHOTtick_oneshot_notify()
调用者
名称描述
clockevents_replaceTry to install a replacement clock event device