Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cleanup_timerqueue

Proto:static void cleanup_timerqueue(struct timerqueue_head *head)

Type:void

Parameter:

TypeParameterName
struct timerqueue_head *head
448  When node = merqueue_getnext - Returns the timer with the earliest expiration time*@head: head of timerqueue* Returns a pointer to the timer node that has the earliest expiration time. cycle
449  merqueue_del - Removes a timer from the timerqueue.*@head: head of timerqueue*@node: timer node to be removed* Removes the timer node from the timerqueue. Returns true if the queue is* not empty after the remove.
450  ctmr = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(node, structcpu_timer, node)
451  head = NULL
Caller
NameDescribe
cleanup_timersClean out CPU timers which are still armed when a thread exits. The* timers are only removed from the list. No other updates are done. The* corresponding posix timers are still accessible, but cannot be rearmed.* This must be called with the siglock held.