| /freebsd-12.1/sys/sys/ |
| H A D | module_khelp.h | 75 #define KHELP_DECLARE_MOD_UMA(hname, hdata, hhooks, version, size, ctor, dtor) \ argument 78 .helper = hdata, \ 93 #define KHELP_DECLARE_MOD(hname, hdata, hhooks, version) \ argument 94 KHELP_DECLARE_MOD_UMA(hname, hdata, hhooks, version, 0, NULL, NULL)
|
| H A D | hhook.h | 78 void *ctx_data, void *hdata, struct osd *hosd);
|
| /freebsd-12.1/sys/kern/ |
| H A D | kern_khelp.c | 154 void *hdata; in khelp_init_osd() local 165 hdata = uma_zalloc(h->h_zone, M_NOWAIT); in khelp_init_osd() 166 if (hdata == NULL) { in khelp_init_osd() 170 osd_set(OSD_KHELP, hosd, h->h_id, hdata); in khelp_init_osd() 214 void *hdata; in khelp_remove_osd() local 222 hdata = osd_get(OSD_KHELP, hosd, h->h_id); in khelp_remove_osd() 223 if (hdata != NULL) { in khelp_remove_osd() 224 uma_zfree(h->h_zone, hdata); in khelp_remove_osd()
|
| H A D | kern_hhook.c | 99 void *hdata; in hhook_run_hooks() local 108 hdata = osd_get(OSD_KHELP, hosd, hhk->hhk_helper->h_id); in hhook_run_hooks() 109 if (hdata == NULL) in hhook_run_hooks() 112 hdata = NULL; in hhook_run_hooks() 124 ctx_data, hdata, hosd); in hhook_run_hooks()
|
| /freebsd-12.1/sys/netinet/khelp/ |
| H A D | h_ertt.c | 74 void *udata, void *ctx_data, void *hdata, struct osd *hosd); 76 void *udata, void *ctx_data, void *hdata, struct osd *hosd); 198 void *ctx_data, void *hdata, struct osd *hosd) in ertt_packet_measurement_hook() argument 211 KASSERT(hdata != NULL, ("%s: hdata is NULL!", __func__)); in ertt_packet_measurement_hook() 213 e_t = (struct ertt *)hdata; in ertt_packet_measurement_hook() 433 void *ctx_data, void *hdata, struct osd *hosd) in ertt_add_tx_segment_info_hook() argument 445 KASSERT(hdata != NULL, ("%s: hdata is NULL!", __func__)); in ertt_add_tx_segment_info_hook() 447 e_t = (struct ertt *)hdata; in ertt_add_tx_segment_info_hook()
|
| /freebsd-12.1/share/examples/kld/khelp/ |
| H A D | h_example.c | 61 void *ctx_data, void *hdata, struct osd *hosd); 134 void *hdata, struct osd *hosd) in example_hook() argument 138 data = hdata; in example_hook()
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | value-prof.c | 649 for (i = 0; i < histogram->hdata.intvl.steps; i++) in tree_mod_subtract_transform() 663 for (i = 0; i < histogram->hdata.intvl.steps; i++) in tree_mod_subtract_transform() 669 if (i == histogram->hdata.intvl.steps) in tree_mod_subtract_transform() 761 hist->hdata.intvl.int_start = 0; in tree_divmod_values_to_profile() 762 hist->hdata.intvl.steps = 2; in tree_divmod_values_to_profile() 806 hist->hdata.intvl.int_start, in tree_find_values_to_profile() 807 (hist->hdata.intvl.int_start in tree_find_values_to_profile() 808 + hist->hdata.intvl.steps - 1)); in tree_find_values_to_profile() 810 hist->n_counters = hist->hdata.intvl.steps + 2; in tree_find_values_to_profile()
|
| H A D | tree-profile.c | 142 tree start = build_int_cst_type (integer_type_node, value->hdata.intvl.int_start); in tree_gen_interval_profiler() 143 tree steps = build_int_cst_type (unsigned_type_node, value->hdata.intvl.steps); in tree_gen_interval_profiler()
|
| H A D | value-prof.h | 59 } hdata; /* Profiled information specific data. */ member
|
| /freebsd-12.1/crypto/openssl/ssl/statem/ |
| H A D | statem_lib.c | 169 void **hdata, size_t *hdatalen) in get_cert_verify_tbs_data() argument 212 *hdata = tls13tbs; in get_cert_verify_tbs_data() 218 retlen = retlen_l = BIO_get_mem_data(s->s3->handshake_buffer, hdata); in get_cert_verify_tbs_data() 237 void *hdata; in tls_construct_cert_verify() local 263 if (!get_cert_verify_tbs_data(s, tls13tbs, &hdata, &hdatalen)) { in tls_construct_cert_verify() 297 if (EVP_DigestSignUpdate(mctx, hdata, hdatalen) <= 0 in tls_construct_cert_verify() 307 } else if (EVP_DigestSign(mctx, sig, &siglen, hdata, hdatalen) <= 0) { in tls_construct_cert_verify() 358 void *hdata; in tls_process_cert_verify() local 447 if (!get_cert_verify_tbs_data(s, tls13tbs, &hdata, &hdatalen)) { in tls_process_cert_verify() 488 if (EVP_DigestVerifyUpdate(mctx, hdata, hdatalen) <= 0 in tls_process_cert_verify() [all …]
|
| H A D | extensions.c | 1545 void *hdata; in tls_psk_do_binder() local 1548 BIO_get_mem_data(s->s3->handshake_buffer, &hdata); in tls_psk_do_binder() 1563 if (!PACKET_buf_init(&hashprefix, hdata, hdatalen) in tls_psk_do_binder() 1575 if (EVP_DigestUpdate(mctx, hdata, hdatalen) <= 0) { in tls_psk_do_binder()
|
| /freebsd-12.1/crypto/openssl/ssl/ |
| H A D | s3_enc.c | 380 void *hdata; in ssl3_digest_cached_records() local 383 hdatalen = BIO_get_mem_data(s->s3->handshake_buffer, &hdata); in ssl3_digest_cached_records() 399 || !EVP_DigestUpdate(s->s3->handshake_dgst, hdata, hdatalen)) { in ssl3_digest_cached_records()
|
| H A D | tls13_enc.c | 504 void *hdata; in tls13_change_cipher_state() local 513 handlen = BIO_get_mem_data(s->s3->handshake_buffer, &hdata); in tls13_change_cipher_state() 559 || !EVP_DigestUpdate(mdctx, hdata, handlen) in tls13_change_cipher_state()
|
| /freebsd-12.1/sys/netgraph/ |
| H A D | ng_vlan.c | 65 #define IS_HOOK_VLAN_SET(hdata) \ argument 66 ((((uintptr_t)hdata) & HOOK_VLAN_TAG_SET_MASK) == HOOK_VLAN_TAG_SET_MASK)
|
| /freebsd-12.1/sys/net/ |
| H A D | if_enc.c | 239 void *hdata, struct osd *hosd) in enc_hhook() argument
|
| H A D | if_var.h | 179 char *hdata; /* Upper layer header data (rw) */ member
|
| H A D | if_ethersubr.c | 173 ah = (struct arphdr *)req->hdata; in ether_requestencap()
|
| /freebsd-12.1/sys/netinet/ |
| H A D | if_ether.c | 327 ereq.hdata = (u_char *)ah; in arp_fillheader()
|