hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/Documentation/core-api/timekeeping.rst
....@@ -65,7 +65,7 @@
6565 .. c:function:: u64 ktime_get_ns( void )
6666 u64 ktime_get_boottime_ns( void )
6767 u64 ktime_get_real_ns( void )
68
- u64 ktime_get_tai_ns( void )
68
+ u64 ktime_get_clocktai_ns( void )
6969 u64 ktime_get_raw_ns( void )
7070
7171 Same as the plain ktime_get functions, but returning a u64 number
....@@ -115,7 +115,7 @@
115115 void ktime_get_coarse_clocktai_ts64( struct timespec64 * )
116116
117117 These are quicker than the non-coarse versions, but less accurate,
118
- corresponding to CLOCK_MONONOTNIC_COARSE and CLOCK_REALTIME_COARSE
118
+ corresponding to CLOCK_MONOTONIC_COARSE and CLOCK_REALTIME_COARSE
119119 in user space, along with the equivalent boottime/tai/raw
120120 timebase not available in user space.
121121
....@@ -154,9 +154,9 @@
154154
155155 Use ktime_get() or ktime_get_ts64() instead.
156156
157
-.. c:function:: struct timeval do_gettimeofday( void )
158
- struct timespec getnstimeofday( void )
159
- struct timespec64 getnstimeofday64( void )
157
+.. c:function:: void do_gettimeofday( struct timeval * )
158
+ void getnstimeofday( struct timespec * )
159
+ void getnstimeofday64( struct timespec64 * )
160160 void ktime_get_real_ts( struct timespec * )
161161
162162 ktime_get_real_ts64() is a direct replacement, but consider using