Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\ring_buffer.c Create Date:2022-07-28 11:53:06
Last Modify:2020-03-17 19:30:04 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_wake_up_waiters - wake up tasks waiting for ring buffer input* Schedules a delayed work to wake up any task that is blocked on the* ring buffer waiters queue.

Proto:static void rb_wake_up_waiters(struct irq_work *work)

Type:void

Parameter:

TypeParameterName
struct irq_work *work
557  rbwork = 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.(work, structrb_irq_work, work)
559  wake_up_all( & waiters)
560  If wakeup_full Then
561  wakeup_full = false
562  wake_up_all( & full_waiters)