callout(9): adopt old references to timeout(9)

timeout(9) was removed a couple of years ago; all consumers now use the
callout(9) interface.

Explicitly do not bump .Dd anywhere, as this is not a content or
semantic change.

Reviewed by:	markj, jhb, Pau Amma <pauamma@gundo.com>
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D39136
This commit is contained in:
Mitchell Horne 2023-03-20 17:00:24 -03:00
parent f6f8cbda8e
commit 8965b3033e
7 changed files with 13 additions and 13 deletions

View File

@ -251,11 +251,11 @@ will fail if:
Timeout expired.
.El
.Sh SEE ALSO
.Xr callout 9 ,
.Xr locking 9 ,
.Xr mtx_pool 9 ,
.Xr mutex 9 ,
.Xr rwlock 9 ,
.Xr sema 9 ,
.Xr sleep 9 ,
.Xr sx 9 ,
.Xr timeout 9
.Xr sx 9

View File

@ -267,14 +267,14 @@ The
.Nm
kernel programming interface is under development and is subject to change.
.Sh SEE ALSO
.Xr callout 9 ,
.Xr locking 9 ,
.Xr mtx_pool 9 ,
.Xr mutex 9 ,
.Xr rwlock 9 ,
.Xr sema 9 ,
.Xr sleep 9 ,
.Xr sx 9 ,
.Xr timeout 9
.Xr sx 9
.Sh HISTORY
The
.Nm

View File

@ -422,6 +422,7 @@ At this time this is a rather easy to remember table.
.Xr witness 4 ,
.Xr atomic 9 ,
.Xr BUS_SETUP_INTR 9 ,
.Xr callout 9 ,
.Xr condvar 9 ,
.Xr epoch 9 ,
.Xr lock 9 ,
@ -433,7 +434,6 @@ At this time this is a rather easy to remember table.
.Xr sema 9 ,
.Xr sleep 9 ,
.Xr smr 9 ,
.Xr sx 9 ,
.Xr timeout 9
.Xr sx 9
.Sh BUGS
There are too many locking primitives to choose from.

View File

@ -366,13 +366,13 @@ A non-zero timeout was specified and the timeout expired.
.El
.Sh SEE ALSO
.Xr ps 1 ,
.Xr callout 9 ,
.Xr locking 9 ,
.Xr malloc 9 ,
.Xr mi_switch 9 ,
.Xr mtx_sleep 9 ,
.Xr rw_sleep 9 ,
.Xr sx_sleep 9 ,
.Xr timeout 9
.Xr sx_sleep 9
.Sh HISTORY
The functions
.Fn sleep

View File

@ -383,8 +383,8 @@ interfaces.
Almost all other code in the kernel should use one of those interfaces rather
than manipulating sleep queues directly.
.Sh SEE ALSO
.Xr callout 9 ,
.Xr condvar 9 ,
.Xr runqueue 9 ,
.Xr scheduler 9 ,
.Xr sleep 9 ,
.Xr timeout 9
.Xr sleep 9

View File

@ -45,9 +45,9 @@ of system ticks that would elapse.
Returns the integral number of system ticks expected to elapse in the given
interval, including the current tick.
.Sh SEE ALSO
.Xr callout 9 ,
.Xr microtime 9 ,
.Xr microuptime 9 ,
.Xr timeout 9
.Xr microuptime 9
.Sh HISTORY
The
.Nm

View File

@ -728,7 +728,7 @@ softclock_call_cc(struct callout *c, struct callout_cpu *cc,
if (lastfunc != c_func || sbt2 > maxdt * 2) {
ts2 = sbttots(sbt2);
printf(
"Expensive timeout(9) function: %p(%p) %jd.%09ld s\n",
"Expensive callout(9) function: %p(%p) %jd.%09ld s\n",
c_func, c_arg, (intmax_t)ts2.tv_sec, ts2.tv_nsec);
}
maxdt = sbt2;