Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:irqsafe1_hard_spin_12

Proto:static void irqsafe1_hard_spin_12(void)

Type:void

Parameter:Nothing

743  Do
743  arch_local_irq_disable()
743  When 0 cycle
743  Do
743  account_irq_enter_time(get_current())
743  The various preempt_count add/sub methods
743  Do
743  When 0 cycle
743  When 0 cycle
743  ({
743  __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 << 4) - 1 << 0 + 8 + 8 )
743  __builtin_expect(!!(__ret_warn_on), 0)
743  })
743  lock for reading
743  lease a read lock
743  Do
743  Do
743  When 0 cycle
743  account_irq_exit_time(get_current())
743  __preempt_count_sub((1UL << ((0 + 8) + 8)))
743  When 0 cycle
743  Do
743  arch_local_irq_enable()
743  When 0 cycle
743  lock for reading
743  lease a read lock