Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\asm-generic\bitops\instrumented-lock.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:lear_bit_unlock_is_negative_byte - Clear a bit in memory and test if bottom* byte is negative, for unlock

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

Type:bool

Parameter:

TypeParameterName
longnr
volatile unsigned long *addr
74  kasan_check_write(addr + BIT_WORD(nr), sizeof(long))
75  Return arch_clear_bit_unlock_is_negative_byte(nr, addr)
Caller
NameDescribe
kasan_bitops
unlock_pagelock_page - unlock a locked page*@page: the page* Unlocks the page and wakes up sleepers in ___wait_on_page_locked().* Also wakes sleepers in wait_on_page_writeback() because the wakeup* mechanism between PageLocked pages and PageWriteback pages is shared.