Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\x2apic_uv_x.c Create Date:2022-07-28 08:34:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:uv_heartbeat_enable

Proto:static int uv_heartbeat_enable(unsigned int cpu)

Type:int

Parameter:

TypeParameterName
unsigned intcpu
1057  while (!( & ( & ( * ({
1057  cpu
1057  ({
1057  Do
1057  const void * __vpp_verify = NULL
1057  When 0 cycle
1057  &__uv_cpu_info
1057  })
1057  })))->scir)->enabled)
1058  struct timer_list * timer = & ( & ( & ( * ({
1058  cpu
1058  ({
1058  Do
1058  const void * __vpp_verify = NULL
1058  When 0 cycle
1058  &__uv_cpu_info
1058  })
1058  })))->scir)->timer
1060  uv_set_cpu_scir_bits(cpu, imer interrupt | idle )
1061  imer_setup - prepare a timer for first use*@timer: the timer in question*@callback: the function to call when timer expires*@flags: any TIMER_* flags* Regular timer initialization should use either DEFINE_TIMER() above,* or timer_setup()(timer, percpu heartbeat timer, TIMER_PINNED)
1062  expires = jiffies + ce per second
1063  add_timer_on(timer, cpu)
1064  ( & ( & ( * ({
1064  cpu
1064  ({
1064  Do
1064  const void * __vpp_verify = NULL
1064  When 0 cycle
1064  &__uv_cpu_info
1064  })
1064  })))->scir)->enabled = 1
1067  cpu = 0
1069  Return 0
Caller
NameDescribe
uv_init_heartbeat