Home
last modified time | relevance | path

Searched refs:hhook_type (Results 1 – 4 of 4) sorted by relevance

/trueos/sys/sys/
HDhhook.h72 typedef int (*hhook_func_t)(int32_t hhook_type, int32_t hhook_id, void *udata,
116 int hhook_head_register(int32_t hhook_type, int32_t hhook_id,
121 int hhook_head_deregister_lookup(int32_t hhook_type, int32_t hhook_id);
123 struct hhook_head * hhook_head_get(int32_t hhook_type, int32_t hhook_id);
147 #define HHOOKS_RUN_LOOKUP_IF(hhook_type, hhook_id, ctx_data, hosd) do { \ argument
150 _hhh = hhook_head_get(hhook_type, hhook_id); \
/trueos/sys/kern/
HDkern_hhook.c291 hhook_head_register(int32_t hhook_type, int32_t hhook_id, struct hhook_head **hhh, in hhook_head_register() argument
296 tmphhh = hhook_head_get(hhook_type, hhook_id); in hhook_head_register()
310 tmphhh->hhh_type = hhook_type; in hhook_head_register()
388 hhook_head_deregister_lookup(int32_t hhook_type, int32_t hhook_id) in hhook_head_deregister_lookup() argument
393 hhh = hhook_head_get(hhook_type, hhook_id); in hhook_head_deregister_lookup()
407 hhook_head_get(int32_t hhook_type, int32_t hhook_id) in hhook_head_get() argument
413 if (hhh->hhh_type == hhook_type && hhh->hhh_id == hhook_id) { in hhook_head_get()
/trueos/share/examples/kld/khelp/
HDh_example.c58 static int example_hook(int hhook_type, int hhook_id, void *udata,
131 example_hook(int hhook_type, int hhook_id, void *udata, void *ctx_data, in example_hook() argument
/trueos/sys/netinet/khelp/
HDh_ertt.c71 static int ertt_packet_measurement_hook(int hhook_type, int hhook_id,
73 static int ertt_add_tx_segment_info_hook(int hhook_type, int hhook_id,
195 ertt_packet_measurement_hook(int hhook_type, int hhook_id, void *udata, in ertt_packet_measurement_hook() argument
429 ertt_add_tx_segment_info_hook(int hhook_type, int hhook_id, void *udata, in ertt_add_tx_segment_info_hook() argument