Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-iocost.c Create Date:2022-07-28 17:47:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:iocg_waitq_timer_fn

Proto:static enum hrtimer_restart iocg_waitq_timer_fn(struct hrtimer *timer)

Type:enum hrtimer_restart

Parameter:

TypeParameterName
struct hrtimer *timer
1202  iocg = 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.(timer, structioc_gq, waitq_timer)
1206  ake a snapshot of the current [v]time and vrate
1208  spin_lock_irqsave( & lock, flags)
1209  iocg_kick_waitq(iocg, & now)
1210  spin_unlock_irqrestore( & lock, flags)
1212  Return Timer is not restarted