Searched refs:hhh (Results 1 – 3 of 3) sorted by relevance
| /f-stack/freebsd/kern/ |
| H A D | kern_hhook.c | 86 #define HHH_LOCK_DESTROY(hhh) rm_destroy(&(hhh)->hhh_lock) argument 87 #define HHH_WLOCK(hhh) rm_wlock(&(hhh)->hhh_lock) argument 88 #define HHH_WUNLOCK(hhh) rm_wunlock(&(hhh)->hhh_lock) argument 89 #define HHH_RLOCK(hhh, rmpt) rm_rlock(&(hhh)->hhh_lock, (rmpt)) argument 123 hhk->hhk_func(hhh->hhh_type, hhh->hhh_id, hhk->hhk_udata, in hhook_run_hooks() 140 if (hhh == NULL) in hhook_add_hook() 153 HHH_WLOCK(hhh); in hhook_add_hook() 255 HHH_WLOCK(hhh); in hhook_remove_hook() 336 *hhh = tmphhh; in hhook_head_register() 431 return (hhh); in hhook_head_get() [all …]
|
| H A D | kern_khelp.c | 63 void khelp_new_hhook_registered(struct hhook_head *hhh, uint32_t flags); 291 khelp_new_hhook_registered(struct hhook_head *hhh, uint32_t flags) in khelp_new_hhook_registered() argument 299 if (hhh->hhh_type != h->h_hooks[i].hook_type || in khelp_new_hhook_registered() 300 hhh->hhh_id != h->h_hooks[i].hook_id) in khelp_new_hhook_registered() 302 error = hhook_add_hook(hhh, &h->h_hooks[i], flags); in khelp_new_hhook_registered()
|
| /f-stack/freebsd/sys/ |
| H A D | hhook.h | 110 void hhook_run_hooks(struct hhook_head *hhh, void *ctx_data, struct osd *hosd); 112 int hhook_add_hook(struct hhook_head *hhh, struct hookinfo *hki, 117 int hhook_remove_hook(struct hhook_head *hhh, struct hookinfo *hki); 122 struct hhook_head **hhh, uint32_t flags); 124 int hhook_head_deregister(struct hhook_head *hhh); 130 void hhook_head_release(struct hhook_head *hhh); 132 uint32_t hhook_head_is_virtualised(struct hhook_head *hhh); 140 #define HHOOKS_RUN_IF(hhh, ctx_data, hosd) do { \ argument 141 if (hhh != NULL && hhh->hhh_nhooks > 0) \ 142 hhook_run_hooks(hhh, ctx_data, hosd); \
|