EVENTHANDLER.9 (9c946dc3797eb99b45c6b359fec9203ecdf13e75) EVENTHANDLER.9 (b092fd6c973dab0ffaca8144f435c91a2588aa21)
1.\" Copyright (c) 2004 Joseph Koshy
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 9 unchanged lines hidden (view full) ---

18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\" $FreeBSD$
25.\"
1.\" Copyright (c) 2004 Joseph Koshy
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 9 unchanged lines hidden (view full) ---

18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\" $FreeBSD$
25.\"
26.Dd October 21, 2018
26.Dd September 17, 2020
27.Dt EVENTHANDLER 9
28.Os
29.Sh NAME
30.Nm EVENTHANDLER
31.Nd kernel event handling functions
32.Sh SYNOPSIS
33.In sys/eventhandler.h
34.Fn EVENTHANDLER_DECLARE name type

--- 349 unchanged lines hidden (view full) ---

384.It Vt vfs_unmounted
385Callback invoked when a file system is unmounted.
386.It Vt vlan_config
387Callback invoked when the vlan configuration has changed.
388.It Vt vlan_unconfig
389Callback invoked when a vlan is destroyed.
390.It Vt vm_lowmem
391Callbacks invoked when virtual memory is low.
27.Dt EVENTHANDLER 9
28.Os
29.Sh NAME
30.Nm EVENTHANDLER
31.Nd kernel event handling functions
32.Sh SYNOPSIS
33.In sys/eventhandler.h
34.Fn EVENTHANDLER_DECLARE name type

--- 349 unchanged lines hidden (view full) ---

384.It Vt vfs_unmounted
385Callback invoked when a file system is unmounted.
386.It Vt vlan_config
387Callback invoked when the vlan configuration has changed.
388.It Vt vlan_unconfig
389Callback invoked when a vlan is destroyed.
390.It Vt vm_lowmem
391Callbacks invoked when virtual memory is low.
392.It Vt vxlan_start
393Callback invoked when a vxlan interface starts.
394.It Vt vxlan_stop
395Callback invoked when a vxlan interface stops.
392.It Vt watchdog_list
393Callbacks invoked when the system watchdog timer is reinitialized.
394.El
395.Sh RETURN VALUES
396The macro
397.Fn EVENTHANDLER_REGISTER
398and function
399.Fn eventhandler_register

--- 25 unchanged lines hidden ---
396.It Vt watchdog_list
397Callbacks invoked when the system watchdog timer is reinitialized.
398.El
399.Sh RETURN VALUES
400The macro
401.Fn EVENTHANDLER_REGISTER
402and function
403.Fn eventhandler_register

--- 25 unchanged lines hidden ---