Lines Matching +full:event +full:- +full:name

16 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
28 .Sh NAME
30 .Nd kernel event handling functions
33 .Fn EVENTHANDLER_DECLARE name type
34 .Fn EVENTHANDLER_DEFINE name func arg priority
35 .Fn EVENTHANDLER_INVOKE name ...
37 .Fn EVENTHANDLER_REGISTER name func arg priority
38 .Fn EVENTHANDLER_DEREGISTER name tag
39 .Fn EVENTHANDLER_DEREGISTER_NOWAIT name tag
40 .Fn EVENTHANDLER_LIST_DECLARE name
41 .Fn EVENTHANDLER_LIST_DEFINE name
42 .Fn EVENTHANDLER_DIRECT_INVOKE name
46 .Fa "const char *name"
62 .Fn eventhandler_find_list "const char *name"
74 associated with an event is given by argument
89 so that the event handlers can be invoked directly using
93 list of event handler lists.
94 .Bl -tag -width indent
96 This macro declares an event handler named by argument
97 .Fa name
105 with event handler
106 .Fa name .
118 with event handler
119 .Fa name .
135 from the event handler named by argument
136 .Fa name .
137 It waits until no threads are running handlers for this event before
143 from the event handler named by argument
144 .Fa name .
150 This macro is used to invoke all the callbacks associated with event
152 .Fa name .
155 .Fa name
159 This macro defines a reference to an event handler list named by
161 .Fa name .
166 This macro declares an event handler list named by argument
167 .Fa name .
172 This macro invokes the event handlers registered for the list named by
174 .Fa name .
182 .Bl -tag -width indent
186 function is used to register a callback with a given event.
188 .Bl -tag -width ".Fa priority"
190 A pointer to an existing event handler list, or
196 the event handler list corresponding to argument
197 .Fa name
199 .It Fa name
200 The name of the event handler list.
210 registered for this event.
229 from the event handler list pointed to by
235 all callback functions for the event are removed.
238 This function is not safe to call from inside an event handler callback.
244 from the event handler list pointed to by
246 This function is safe to call from inside an event handler
251 function returns a pointer to event handler list structure corresponding
252 to event
253 .Fa name .
257 function removes all deregistered callbacks from the event list
275 returns a pointer to an event handler list corresponding to parameter
276 .Fa name ,