函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__local_bh_enable_ip

函数原型:void __local_bh_enable_ip(unsigned long ip, unsigned int cnt)

返回类型:void

参数:

类型参数名称
unsigned longip
unsigned intcnt
168  WARN_ON_ONCE(Are we doing bottom half or hardware interrupt processing?* in_irq() - We're in (hard) IRQ context* in_softirq() - We have BH disabled, or are processing softirqs* in_interrupt() - We're in NMI,IRQ,SoftIRQ context or have BH disabled* in_serving_softirq() ())
169  lockdep_assert_irqs_enabled()
176  如果softirq_count()恒等于SOFTIRQ_DISABLE_OFFSETtrace_softirqs_on(ip)
182  preempt_count_sub(cnt - 1)
184  如果此条件成立可能性小(为编译器优化)(!in_interrupt() && local_softirq_pending())则
189  do_softirq()
192  preempt_count_dec()
196  preempt_check_resched()
调用者
名称描述
local_bh_enable_ip
local_bh_enable