Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_timer_cpu_base

Proto:static inline struct timer_base *get_timer_cpu_base(unsigned int tflags, unsigned int cpu)

Type:struct timer_base

Parameter:

TypeParameterName
unsigned inttflags
unsigned intcpu
838  base = per_cpu_ptr( & timer_bases[BASE_STD], cpu)
844  If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_NO_HZ_COMMON) && tflags & TIMER_DEFERRABLE Then base = per_cpu_ptr( & timer_bases[BASE_DEF], cpu)
846  Return base
Caller
NameDescribe
get_timer_base
add_timer_onadd_timer_on - start a timer on a particular CPU*@timer: the timer to be added*@cpu: the CPU to start it on* This is not very scalable on SMP. Double adds are not possible.