kernel
This commit is contained in:
parent
b59f84ee36
commit
cfab1d3ce7
83468 changed files with 37938688 additions and 0 deletions
linux-6.8.1/scripts/atomic/kerneldoc
13
linux-6.8.1/scripts/atomic/kerneldoc/sub_and_test
Normal file
13
linux-6.8.1/scripts/atomic/kerneldoc/sub_and_test
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
cat <<EOF
|
||||
/**
|
||||
* ${class}${atomicname}() - atomic subtract and test if zero with ${desc_order} ordering
|
||||
* @i: ${int} value to add
|
||||
* @v: pointer to ${atomic}_t
|
||||
*
|
||||
* Atomically updates @v to (@v - @i) with ${desc_order} ordering.
|
||||
*
|
||||
* ${desc_noinstr}
|
||||
*
|
||||
* Return: @true if the resulting value of @v is zero, @false otherwise.
|
||||
*/
|
||||
EOF
|
||||
Loading…
Add table
Add a link
Reference in a new issue