Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\locking-selftest.c Create Date:2022-07-28 06:51:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:irqsafe4_soft_rlock_231

Proto:static void irqsafe4_soft_rlock_231(void)

Type:void

Parameter:Nothing

922  lock for reading
922  lease a read lock
922  local_bh_disable()
922  Do
922  arch_local_irq_disable()
922  When 0 cycle
922  Do
922  When 0 cycle
922  ({
922  __ret_warn_on = Not Not Not (We mask the PREEMPT_NEED_RESCHED bit so as not to confuse all current users* that think a non-zero value indicates we cannot preempt. & (1UL << 8) - 1 << 0 + 8 )
922  __builtin_expect(!!(__ret_warn_on), 0)
922  })
922  lock for reading
922  lease a read lock
922  Do
922  When 0 cycle
922  Do
922  arch_local_irq_enable()
922  When 0 cycle
922  local_bh_enable()
922  local_bh_disable()
922  lock for reading
922  lock for reading
922  lease a read lock
922  lease a read lock
922  local_bh_enable()