Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\wait_bit.h Create Date:2022-07-28 05:41:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lear_and_wake_up_bit - clear a bit and wake up anyone waiting on that bit*@bit: the bit of the word being waited on*@word: the word being waited on, a kernel virtual address* You can use this helper if bitflags are manipulated atomically rather than

Proto:static inline void clear_and_wake_up_bit(int bit, void *word)

Type:void

Parameter:

TypeParameterName
intbit
void *word
332  lear_bit_unlock - Clear a bit in memory, for unlock*@nr: the bit to set*@addr: the address to start counting from* This operation is atomic and provides release barrier semantics.
334  smp_mb__after_atomic()
335  wake_up_bit(word, bit)