Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__hrtimer_init_sleeper

Proto:static void __hrtimer_init_sleeper(struct hrtimer_sleeper *sl, clockid_t clock_id, enum hrtimer_mode mode)

Type:void

Parameter:

TypeParameterName
struct hrtimer_sleeper *sl
clockid_tclock_id
enum hrtimer_modemode
1821  If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_PREEMPT_RT) Then
1822  If task_is_realtime(current process) && Not (mode & Timer callback function will be executed in) Then mode |= Timer callback function will be executed in
1826  __hrtimer_init( & timer, clock_id, mode)
1827  function = Sleep related functions:
1828  task = current process
Caller
NameDescribe
hrtimer_init_sleeperhrtimer_init_sleeper - initialize sleeper to the given clock*@sl: sleeper to be initialized*@clock_id: the clock to be used*@mode: timer mode abs/rel