Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:find first bit in word

Proto:static __always_inline void arch_set_bit(long nr, volatile unsigned long *addr)

Type:void

Parameter:

TypeParameterName
longnr
volatile unsigned long *addr
54  If __builtin_constant_p(nr) Then
55  asm volatile
59  Else
60  asm volatile
Caller
NameDescribe
set_bitset_bit - Atomically set a bit in memory*@nr: the bit to set*@addr: the address to start counting from* This is a relaxed atomic operation (no implied memory barriers).* Note that @nr may be almost arbitrarily large; this function is not