函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\bitops.h Create Date:2022-07-27 06:38:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:arch_set_bit

函数原型:static __always_inline void arch_set_bit(long nr, volatile unsigned long *addr)

返回类型:void

参数:

类型参数名称
longnr
volatile unsigned long *addr
54  如果__builtin_constant_p(nr)则
55  asm volatile
59  否则
60  asm volatile
调用者
名称描述
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