1__SET_BIT(9) Basic C Library Functions __SET_BIT(9)
23
4
NAME
6__set_bit - Set a bit in memory
7
SYNOPSIS
9void __set_bit(int nr, volatile unsigned long * addr);
10
ARGUMENTS
12nr
13the bit to set
1415
addr
16the address to start counting from
17
DESCRIPTION
19Unlike set_bit, this function is non-atomic and may be reordered. If
20it's called on the same region of memory simultaneously, the effect may
21be that only one operation succeeds.
22
COPYRIGHT
24Kernel Hackers Manual 3.10 June 2019 __SET_BIT(9)