diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2017-09-30 18:43:53 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2017-10-07 19:45:21 +0300 |
commit | 68e51252224d06e14457de98960a4622993350ab (patch) | |
tree | 8f8ae7f2cba742078979a88973421edf23714a62 /Documentation | |
parent | 341e9a323af95ac141b4df41e2697d626da14e3f (diff) | |
download | linux-68e51252224d06e14457de98960a4622993350ab.tar.xz |
Documentation: add kernel-api section on Math functions
Add a kernel-api section on Math Functions.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/core-api/kernel-api.rst | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/core-api/kernel-api.rst b/Documentation/core-api/kernel-api.rst index 657a89a219b2..9c6902ba6e67 100644 --- a/Documentation/core-api/kernel-api.rst +++ b/Documentation/core-api/kernel-api.rst @@ -103,6 +103,30 @@ idr/ida Functions .. kernel-doc:: lib/idr.c :export: +Math Functions in Linux +======================= + +Base 2 log and power Functions +------------------------------ + +.. kernel-doc:: include/linux/log2.h + :internal: + +Division Functions +------------------ + +.. kernel-doc:: include/asm-generic/div64.h + :functions: do_div + +.. kernel-doc:: include/linux/math64.h + :internal: + +.. kernel-doc:: lib/div64.c + :functions: div_s64_rem div64_u64_rem div64_u64 div64_s64 + +.. kernel-doc:: lib/gcd.c + :export: + Memory Management in Linux ========================== |