summaryrefslogtreecommitdiffstats
path: root/scripts/atomic/kerneldoc/and
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/atomic/kerneldoc/and')
-rw-r--r--scripts/atomic/kerneldoc/and13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/atomic/kerneldoc/and b/scripts/atomic/kerneldoc/and
new file mode 100644
index 0000000000..a923574351
--- /dev/null
+++ b/scripts/atomic/kerneldoc/and
@@ -0,0 +1,13 @@
+cat <<EOF
+/**
+ * ${class}${atomicname}() - atomic bitwise AND with ${desc_order} ordering
+ * @i: ${int} value
+ * @v: pointer to ${atomic}_t
+ *
+ * Atomically updates @v to (@v & @i) with ${desc_order} ordering.
+ *
+ * ${desc_noinstr}
+ *
+ * ${desc_return}
+ */
+EOF