Function report |
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 activity | Download SCCT | Chinese |
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:
| Type | Parameter | Name |
|---|---|---|
| long | nr | |
| 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 |
| Name | Describe |
|---|---|
| node_clear_mark | rns 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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |