Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Event handler for periodic broadcast ticks

Proto:static void tick_handle_periodic_broadcast(struct clock_event_device *dev)

Type:void

Parameter:

TypeParameterName
struct clock_event_device *dev
320  td = this_cpu_ptr( & Tick devices)
323  raw_spin_lock( & tick_broadcast_lock)
326  If clockevent_state_shutdown(evtdev) Then
327  raw_spin_unlock( & tick_broadcast_lock)
328  Return
331  bc_local = Periodic broadcast:* - invoke the broadcast handlers
333  If clockevent_state_oneshot(dev) Then
334  next = Add two ktime_t variables. res = lhs + rhs: (next_event, tick_period)
336  lockevents_program_event - Reprogram the clock event device.*@dev: device to program*@expires: absolute expiry time (monotonic clock)*@force: program minimum delay if expires can not be set* Returns 0 on success, -ETIME when the event is in the past.
338  raw_spin_unlock( & tick_broadcast_lock)
345  If bc_local Then event_handler(evtdev)