Home
last modified time | relevance | path

Searched defs:hook (Results 1 – 25 of 120) sorted by relevance

12345

/freebsd/sys/netgraph/
H A Dnetgraph.h146 #define _NG_HOOK_REF(hook) refcount_acquire(&(hook)->hk_refs) argument
147 #define _NG_HOOK_NAME(hook) ((hook)->hk_name) argument
148 #define _NG_HOOK_UNREF(hook) ng_unref_hook(hook) argument
149 #define _NG_HOOK_SET_PRIVATE(hook, val) do {(hook)->hk_private = val;} while (0) argument
150 #define _NG_HOOK_SET_RCVMSG(hook, val) do {(hook)->hk_rcvmsg = val;} while (0) argument
151 #define _NG_HOOK_SET_RCVDATA(hook, val) do {(hook)->hk_rcvdata = val;} while (0) argument
152 #define _NG_HOOK_PRIVATE(hook) ((hook)->hk_private) argument
153 #define _NG_HOOK_NOT_VALID(hook) ((hook)->hk_flags & HK_INVALID) argument
154 #define _NG_HOOK_IS_VALID(hook) (!((hook)->hk_flags & HK_INVALID)) argument
155 #define _NG_HOOK_NODE(hook) ((hook)->hk_node) /* only rvalue! */ argument
[all …]
H A Dng_bpf.c86 hook_p hook; member
242 ng_bpf_addrefs(hook_p hook, void* arg) in ng_bpf_addrefs()
255 ng_bpf_remrefs(hook_p hook, void* arg) in ng_bpf_remrefs()
271 ng_bpf_newhook(node_p node, hook_p hook, const char *name) in ng_bpf_newhook()
316 hook_p hook; in ng_bpf_rcvmsg() local
337 hook_p hook; in ng_bpf_rcvmsg() local
364 hook_p hook; in ng_bpf_rcvmsg() local
412 ng_bpf_rcvdata(hook_p hook, item_p item) in ng_bpf_rcvdata()
520 ng_bpf_disconnect(hook_p hook) in ng_bpf_disconnect()
551 ng_bpf_setprog(hook_p hook, const struct ng_bpf_hookprog *hp0) in ng_bpf_setprog()
H A Dng_ipfw.c96 hook_p hook; member
152 ng_ipfw_newhook(node_p node, hook_p hook, const char *name) in ng_ipfw_newhook()
191 ng_ipfw_connect(hook_p hook) in ng_ipfw_connect()
214 hook_p hook; in ng_ipfw_findhook1() local
227 ng_ipfw_rcvdata(hook_p hook, item_p item) in ng_ipfw_rcvdata()
287 hook_p hook; in ng_ipfw_input() local
349 ng_ipfw_disconnect(hook_p hook) in ng_ipfw_disconnect()
H A Dng_tag.c300 ng_tag_newhook(node_p node, hook_p hook, const char *name) in ng_tag_newhook()
361 hook_p hook; in ng_tag_rcvmsg() local
382 hook_p hook; in ng_tag_rcvmsg() local
402 hook_p hook; in ng_tag_rcvmsg() local
426 hook_p hook; in ng_tag_rcvmsg() local
453 hook_p hook; in ng_tag_rcvmsg() local
501 ng_tag_rcvdata(hook_p hook, item_p item) in ng_tag_rcvdata()
608 ng_tag_disconnect(hook_p hook) in ng_tag_disconnect()
644 ng_tag_setdata_in(hook_p hook, const struct ng_tag_hookin *hp0) in ng_tag_setdata_in()
694 ng_tag_setdata_out(hook_p hook, const struct ng_tag_hookout *hp0) in ng_tag_setdata_out()
H A Dng_hole.c128 ngh_newhook(node_p node, hook_p hook, const char *name) in ngh_newhook()
150 hook_p hook; in ngh_rcvmsg() local
203 ngh_rcvdata(hook_p hook, item_p item) in ngh_rcvdata()
217 ngh_disconnect(hook_p hook) in ngh_disconnect()
H A Dng_base.c262 #define _NG_ALLOC_HOOK(hook) \ argument
296 hook_p hook; in ng_alloc_hook() local
347 #define NG_ALLOC_HOOK(hook) do { (hook) = ng_alloc_hook(); } while (0) argument
350 #define NG_FREE_HOOK(hook) \ argument
368 #define NG_ALLOC_HOOK(hook) _NG_ALLOC_HOOK(hook) argument
371 #define NG_FREE_HOOK(hook) do { free((hook), M_NETGRAPH_HOOK); } while (0) argument
717 hook_p hook; in ng_rmnode() local
1050 ng_unref_hook(hook_p hook) in ng_unref_hook()
1070 hook_p hook; in ng_add_hook() local
1131 hook_p hook; in ng_findhook() local
[all …]
H A Dng_sample.c124 hook_p hook; member
180 ng_xxx_newhook(node_p node, hook_p hook, const char *name) in ng_xxx_newhook()
323 ng_xxx_rcvdata(hook_p hook, item_p item ) in ng_xxx_rcvdata()
436 ng_xxx_connect(hook_p hook)
476 ng_xxx_disconnect(hook_p hook)
H A Dng_ip_input.c118 ngipi_rcvdata(hook_p hook, item_p item) in ngipi_rcvdata()
140 ngipi_disconnect(hook_p hook) in ngipi_disconnect()
H A Dng_split.c101 ng_split_newhook(node_p node, hook_p hook, const char *name) in ng_split_newhook()
127 ng_split_rcvdata(hook_p hook, item_p item) in ng_split_rcvdata()
164 ng_split_disconnect(hook_p hook) in ng_split_disconnect()
H A Dng_etf.c130 hook_p hook; member
197 ng_etf_newhook(node_p node, hook_p hook, const char *name) in ng_etf_newhook()
282 hook_p hook; in ng_etf_rcvmsg() local
362 ng_etf_rcvdata(hook_p hook, item_p item ) in ng_etf_rcvdata()
448 ng_etf_disconnect(hook_p hook) in ng_etf_disconnect()
H A Dng_tee.c71 hook_p hook; member
170 ng_tee_newhook(node_p node, hook_p hook, const char *name) in ng_tee_newhook()
294 ng_tee_rcvdata(hook_p hook, item_p item) in ng_tee_rcvdata()
370 ng_tee_disconnect(hook_p hook) in ng_tee_disconnect()
H A Dng_echo.c99 nge_rcvdata(hook_p hook, item_p item) in nge_rcvdata()
111 nge_disconnect(hook_p hook) in nge_disconnect()
H A Dng_gif_demux.c186 get_iffam_from_hook(priv_p priv, hook_p hook) in get_iffam_from_hook()
249 ng_gif_demux_newhook(node_p node, hook_p hook, const char *name) in ng_gif_demux_newhook()
304 ng_gif_demux_rcvdata(hook_p hook, item_p item) in ng_gif_demux_rcvdata()
381 ng_gif_demux_disconnect(hook_p hook) in ng_gif_demux_disconnect()
H A Dng_tcpmss.c164 ng_tcpmss_newhook(node_p node, hook_p hook, const char *name) in ng_tcpmss_newhook()
196 hook_p hook; in ng_tcpmss_rcvmsg() local
271 ng_tcpmss_rcvdata(hook_p hook, item_p item) in ng_tcpmss_rcvdata()
368 ng_tcpmss_disconnect(hook_p hook) in ng_tcpmss_disconnect()
/freebsd/sys/netgraph/bluetooth/hci/
H A Dng_hci_main.c198 ng_hci_newhook(node_p node, hook_p hook, char const *name) in ng_hci_newhook()
227 ng_hci_connect(hook_p hook) in ng_hci_connect()
255 ng_hci_disconnect(hook_p hook) in ng_hci_disconnect()
706 ng_hci_drv_rcvdata(hook_p hook, item_p item) in ng_hci_drv_rcvdata()
789 ng_hci_acl_rcvdata(hook_p hook, item_p item) in ng_hci_acl_rcvdata()
906 ng_hci_sco_rcvdata(hook_p hook, item_p item) in ng_hci_sco_rcvdata()
1025 ng_hci_raw_rcvdata(hook_p hook, item_p item) in ng_hci_raw_rcvdata()
H A Dng_hci_ulpi.c67 ng_hci_lp_con_req(ng_hci_unit_p unit, item_p item, hook_p hook) in ng_hci_lp_con_req()
122 ng_hci_lp_acl_con_req(ng_hci_unit_p unit, item_p item, hook_p hook) in ng_hci_lp_acl_con_req()
322 ng_hci_lp_sco_con_req(ng_hci_unit_p unit, item_p item, hook_p hook) in ng_hci_lp_sco_con_req()
486 ng_hci_lp_le_con_req(ng_hci_unit_p unit, item_p item, hook_p hook, int link_type) in ng_hci_lp_le_con_req()
664 ng_hci_lp_discon_req(ng_hci_unit_p unit, item_p item, hook_p hook) in ng_hci_lp_discon_req()
857 hook_p hook = NULL; in ng_hci_lp_con_ind() local
898 ng_hci_lp_con_rsp(ng_hci_unit_p unit, item_p item, hook_p hook) in ng_hci_lp_con_rsp()
1150 ng_hci_lp_qos_req(ng_hci_unit_p unit, item_p item, hook_p hook) in ng_hci_lp_qos_req()
1368 ng_hci_process_con_timeout(node_p node, hook_p hook, void *arg1, int con_handle) in ng_hci_process_con_timeout()
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_fuchsia.cpp117 static void ThreadCreateHook(void *hook, bool aborted) { in ThreadCreateHook()
133 static void ThreadStartHook(void *hook, thrd_t self) { in ThreadStartHook()
152 static void ThreadExitHook(void *hook, thrd_t self) { in ThreadExitHook()
223 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) { in __sanitizer_thread_create_hook()
227 void __sanitizer_thread_start_hook(void *hook, thrd_t self) { in __sanitizer_thread_start_hook()
231 void __sanitizer_thread_exit_hook(void *hook, thrd_t self) { in __sanitizer_thread_exit_hook()
/freebsd/sys/kern/
H A Dsubr_autoconf.c183 config_intrhook_establish(struct intr_config_hook *hook) in config_intrhook_establish()
230 config_intrhook_disestablish_locked(struct intr_config_hook *hook) in config_intrhook_disestablish_locked()
252 config_intrhook_disestablish(struct intr_config_hook *hook) in config_intrhook_disestablish()
260 config_intrhook_drain(struct intr_config_hook *hook) in config_intrhook_drain()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_fuchsia.cpp194 static void ThreadCreateHook(void *hook, bool aborted) { in ThreadCreateHook()
210 static void ThreadStartHook(void *hook, uptr os_id) { in ThreadStartHook()
222 static void ThreadExitHook(void *hook, uptr os_id) { in ThreadExitHook()
262 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) { in __sanitizer_thread_create_hook()
266 void __sanitizer_thread_start_hook(void *hook, thrd_t self) { in __sanitizer_thread_start_hook()
270 void __sanitizer_thread_exit_hook(void *hook, thrd_t self) { in __sanitizer_thread_exit_hook()
/freebsd/contrib/jemalloc/src/
H A Dhook.c77 char *hook = (char *)opaque; in hook_remove() local
158 hooks_internal_t hook; in hook_invoke_alloc() local
172 hooks_internal_t hook; in hook_invoke_dalloc() local
186 hooks_internal_t hook; in hook_invoke_expand() local
/freebsd/tests/sys/netgraph/
H A Dutil.c59 char const *hook; member
102 _ng_rmhook(char const *path, char const *hook, in _ng_rmhook()
137 ng_register_data(char const *hook, ng_data_handler_t proc) in ng_register_data()
148 _ng_send_data(char const *hook, in _ng_send_data()
178 char hook[NG_HOOKSIZ]; in handle_data() local
/freebsd/usr.sbin/ctladm/
H A Dutil.c64 iget(void *hook, char *name) in iget()
87 cget(void *hook, char *name) in cget()
/freebsd/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_sco.c260 ng_btsocket_sco_node_newhook(node_p node, hook_p hook, char const *name) in ng_btsocket_sco_node_newhook()
270 ng_btsocket_sco_node_connect(hook_p hook) in ng_btsocket_sco_node_connect()
288 ng_btsocket_sco_node_disconnect(hook_p hook) in ng_btsocket_sco_node_disconnect()
311 ng_btsocket_sco_node_rcvmsg(node_p node, item_p item, hook_p hook) in ng_btsocket_sco_node_rcvmsg()
348 ng_btsocket_sco_node_rcvdata(hook_p hook, item_p item) in ng_btsocket_sco_node_rcvdata()
697 ng_btsocket_sco_data_input(struct mbuf *m, hook_p hook) in ng_btsocket_sco_data_input()
811 ng_btsocket_sco_default_msg_input(struct ng_mesg *msg, hook_p hook) in ng_btsocket_sco_default_msg_input()
930 ng_btsocket_sco_lp_msg_input(struct ng_mesg *msg, hook_p hook) in ng_btsocket_sco_lp_msg_input()
979 hook_p hook = NULL; in ng_btsocket_sco_input() local
H A Dng_btsocket_l2cap_raw.c233 ng_btsocket_l2cap_raw_node_newhook(node_p node, hook_p hook, char const *name) in ng_btsocket_l2cap_raw_node_newhook()
243 ng_btsocket_l2cap_raw_node_connect(hook_p hook) in ng_btsocket_l2cap_raw_node_connect()
256 ng_btsocket_l2cap_raw_node_disconnect(hook_p hook) in ng_btsocket_l2cap_raw_node_disconnect()
279 ng_btsocket_l2cap_raw_node_rcvmsg(node_p node, item_p item, hook_p hook) in ng_btsocket_l2cap_raw_node_rcvmsg()
330 ng_btsocket_l2cap_raw_node_rcvdata(hook_p hook, item_p item) in ng_btsocket_l2cap_raw_node_rcvdata()
351 hook_p hook = NULL; in ng_btsocket_l2cap_raw_input() local
1294 ng_btsocket_l2cap_raw_send_ngmsg(hook_p hook, int cmd, void *arg, int arglen) in ng_btsocket_l2cap_raw_send_ngmsg()
/freebsd/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_main.c165 ng_l2cap_newhook(node_p node, hook_p hook, char const *name) in ng_l2cap_newhook()
192 ng_l2cap_connect(hook_p hook) in ng_l2cap_connect()
223 ng_l2cap_disconnect(hook_p hook) in ng_l2cap_disconnect()
704 ng_l2cap_rcvdata(hook_p hook, item_p item) in ng_l2cap_rcvdata()

12345