Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:call_timer_fn

Proto:static void call_timer_fn(struct timer_list *timer, void (*fn)(struct timer_list *), unsigned long baseclk)

Type:void

Parameter:

TypeParameterName
struct timer_list *timer
void (*fn
unsigned longbaseclk
1382  count = We mask the PREEMPT_NEED_RESCHED bit so as not to confuse all current users* that think a non-zero value indicates we cannot preempt.
1401  lock_map_acquire( & lockdep_map)
1403  mer_expire_entry - called immediately before the timer callback*@timer: pointer to struct timer_list* Allows to determine the timer latency.
1404  fn(timer)
1405  mer_expire_exit - called immediately after the timer callback returns*@timer: pointer to struct timer_list* When used in combination with the timer_expire_entry tracepoint we can* determine the runtime of the timer callback function.
1407  lock_map_release( & lockdep_map)
1409  If count != We mask the PREEMPT_NEED_RESCHED bit so as not to confuse all current users* that think a non-zero value indicates we cannot preempt. Then
1410  WARN_ONCE(1, "timer: %pS preempt leak: %08x -> %08x\n", fn, count, We mask the PREEMPT_NEED_RESCHED bit so as not to confuse all current users* that think a non-zero value indicates we cannot preempt.)
1418  preempt_count_set(count)
Caller
NameDescribe
expire_timers