函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\softirq.c Create Date:2022-07-27 10:04:02
Last Modify:2022-05-22 11:04:38 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:This one is for softirq.c-internal use,* where hardirqs are disabled legitimately:

函数原型:static void __local_bh_enable(unsigned int cnt)

返回类型:void

参数:

类型参数名称
unsigned intcnt
144  lockdep_assert_irqs_disabled()
146  如果抢占计数值恒等于cntUse defines instead of static inlines because some arches will make code out* of the CALLER_ADDR, when we really want these to be a real nop.(CALLER_ADDR0, get_lock_parent_ip())
149  如果softirq_count()恒等于cnt按位与SOFTIRQ_MASK的值则trace_softirqs_on(_RET_IP_)
152  减少抢占计数
调用者
名称描述
_local_bh_enableSpecial-case - softirqs can safely be enabled by __do_softirq(),* without processing still-pending softirqs:
__do_softirq