Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Functions related to boot-time initialization:

Proto:int hrtimers_prepare_cpu(unsigned int cpu)

Type:int

Parameter:

TypeParameterName
unsigned intcpu
1990  cpu_base = per_cpu(The timer bases:* There are more clockids than hrtimer bases. Thus, we index* into the timer bases by the hrtimer_base_type enum. When trying* to reach a base using a clockid, hrtimer_clockid_to_base(), cpu)
1993  When i < HRTIMER_MAX_CLOCK_BASES cycle
1994  cpu_base = cpu_base
1995  timerqueue_init_head( & active)
1998  cpu = cpu
1999  active_bases = 0
2000  hres_active = 0
2001  hang_detected = 0
2002  next_timer = NULL
2003  softirq_next_timer = NULL
2004  expires_next = KTIME_MAX
2005  softirq_expires_next = KTIME_MAX
2006  hrtimer_cpu_base_init_expiry_lock(cpu_base)
2007  Return 0
Caller
NameDescribe
hrtimers_init