]> git.samba.org - sfrench/cifs-2.6.git/blob - scripts/atomic/kerneldoc/add_unless
zonefs: convert zonefs to use the new mount api
[sfrench/cifs-2.6.git] / scripts / atomic / kerneldoc / add_unless
1 if [ -z "${pfx}" ]; then
2         desc_return="Return: @true if @v was updated, @false otherwise."
3 fi
4
5 cat <<EOF
6 /**
7  * ${class}${atomicname}() - atomic add unless value with ${desc_order} ordering
8  * @v: pointer to ${atomic}_t
9  * @a: ${int} value to add
10  * @u: ${int} value to compare with
11  *
12  * If (@v != @u), atomically updates @v to (@v + @a) with ${desc_order} ordering.
13  *
14  * ${desc_noinstr}
15  *
16  * ${desc_return}
17  */
18 EOF