Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\asm-generic\bitops\instrumented-non-atomic.h Create Date:2022-07-28 05:34:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__test_and_clear_bit - Clear a bit and return its old value*@nr: Bit to clear*@addr: Address to count from* This operation is non-atomic. If two instances of this operation race, one* can appear to succeed but actually fail.

Proto:static inline bool __test_and_clear_bit(long nr, volatile unsigned long *addr)

Type:bool

Parameter:

TypeParameterName
longnr
volatile unsigned long *addr
85  kasan_check_write(addr + BIT_WORD(nr), sizeof(long))
86  Return Note: the operation is performed atomically with respect to* the local CPU, but not other CPUs
Caller
NameDescribe
node_clear_markrns true if the bit was set
kasan_bitops
kgdb_nmi_handler
kvm_guest_apic_eoi_write
__collect_expired_timers
vm_unlock_anon_vma
__test_and_clear_bit_le