函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\x2apic_uv_x.c Create Date:2022-07-27 09:33:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:uv_heartbeat_enable

函数原型:static int uv_heartbeat_enable(unsigned int cpu)

返回类型:int

参数:

类型参数名称
unsigned intcpu
1057  while (!( & ( & ( * ({
1057  cpu
1057  ({
1057  循环
1057  const void * __vpp_verify = NULL
1057  当0循环
1057  __uv_cpu_info的地址
1057  })
1057  })))->scir)->enabled)
1058  struct timer_list * timer = & ( & ( & ( * ({
1058  cpu
1058  ({
1058  循环
1058  const void * __vpp_verify = NULL
1058  当0循环
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等于jiffiesce per second
1063  add_timer_on(timer, cpu)
1064  ( & ( & ( * ({
1064  cpu
1064  ({
1064  循环
1064  const void * __vpp_verify = NULL
1064  当0循环
1064  __uv_cpu_info的地址
1064  })
1064  })))->scir)->enabled = 1
1067  cpu等于0
1069  返回:0
调用者
名称描述
uv_init_heartbeat