函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\ring_buffer.c Create Date:2022-07-27 12:58:26
Last Modify:2020-03-17 19:30:04 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:_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.

函数原型:static void rb_wake_up_waiters(struct irq_work *work)

返回类型:void

参数:

类型参数名称
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  如果wakeup_full
561  wakeup_full = false
562  wake_up_all( & full_waiters)