函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:irqsafe1_hard_rlock_21

函数原型:static void irqsafe1_hard_rlock_21(void)

返回类型:void

参数:

746  lock for reading
746  lease a read lock
746  循环
746  arch_local_irq_disable()
746  当0循环
746  循环
746  account_irq_enter_time(get_current())
746  增加抢占计数
746  循环
746  当0循环
746  当0循环
746  ({
746  __ret_warn_on等于非非非抢占计数值按位与1UL左移4位的值减1左移0加8加8位的值
746  __builtin_expect(!!(__ret_warn_on), 0)
746  })
746  lock for reading
746  lease a read lock
746  循环
746  循环
746  当0循环
746  account_irq_exit_time(get_current())
746  减少抢占计数
746  当0循环
746  循环
746  arch_local_irq_enable()
746  当0循环