函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq_work.c Create Date:2022-07-27 13:58:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Claim the entry so that no one else will poke at it.

函数原型:static bool irq_work_claim(struct irq_work *work)

返回类型:bool

参数:

类型参数名称
struct irq_work *work
34  oflags等于atomic_fetch_or(IRQ_WORK_CLAIMED, & flags)
40  如果oflags按位与An entry can be in one of four states:* free NULL, 0 -> {claimed} : free to be used* claimed NULL, 3 -> {pending} : claimed to be enqueued* pending next, 3 -> {busy} : queued, pending callback* busy NULL, 2 -> {free, claimed} : callback in progress, can 则返回:false
42  返回:true
调用者
名称描述
irq_work_queueEnqueue the irq work @work on the current CPU