aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tnum.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tnum.h')
-rw-r--r--include/linux/tnum.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/tnum.h b/include/linux/tnum.h
index 0d2d3da46139..c7dc2b5902c0 100644
--- a/include/linux/tnum.h
+++ b/include/linux/tnum.h
@@ -23,8 +23,10 @@ struct tnum tnum_range(u64 min, u64 max);
23/* Arithmetic and logical ops */ 23/* Arithmetic and logical ops */
24/* Shift a tnum left (by a fixed shift) */ 24/* Shift a tnum left (by a fixed shift) */
25struct tnum tnum_lshift(struct tnum a, u8 shift); 25struct tnum tnum_lshift(struct tnum a, u8 shift);
26/* Shift a tnum right (by a fixed shift) */ 26/* Shift (rsh) a tnum right (by a fixed shift) */
27struct tnum tnum_rshift(struct tnum a, u8 shift); 27struct tnum tnum_rshift(struct tnum a, u8 shift);
28/* Shift (arsh) a tnum right (by a fixed min_shift) */
29struct tnum tnum_arshift(struct tnum a, u8 min_shift);
28/* Add two tnums, return @a + @b */ 30/* Add two tnums, return @a + @b */
29struct tnum tnum_add(struct tnum a, struct tnum b); 31struct tnum tnum_add(struct tnum a, struct tnum b);
30/* Subtract two tnums, return @a - @b */ 32/* Subtract two tnums, return @a - @b */