| /freebsd-13.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-13.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-13.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-13.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-13.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 | 1573 void *hdata; in tls_psk_do_binder() local 1576 BIO_get_mem_data(s->s3->handshake_buffer, &hdata); in tls_psk_do_binder() 1591 if (!PACKET_buf_init(&hashprefix, hdata, hdatalen) in tls_psk_do_binder() 1603 if (EVP_DigestUpdate(mctx, hdata, hdatalen) <= 0) { in tls_psk_do_binder()
|
| /freebsd-13.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 | 515 void *hdata; in tls13_change_cipher_state() local 524 handlen = BIO_get_mem_data(s->s3->handshake_buffer, &hdata); in tls13_change_cipher_state() 570 || !EVP_DigestUpdate(mdctx, hdata, handlen) in tls13_change_cipher_state()
|
| /freebsd-13.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-13.1/sys/net/ |
| H A D | if_enc.c | 243 void *hdata, struct osd *hosd) in enc_hhook() argument
|
| H A D | if_infiniband.c | 191 ah = (struct arphdr *)req->hdata; in infiniband_requestencap()
|
| H A D | if_var.h | 178 char *hdata; /* Upper layer header data (rw) */ member
|
| H A D | if_ethersubr.c | 169 ah = (struct arphdr *)req->hdata; in ether_requestencap()
|
| /freebsd-13.1/sys/netinet/ |
| H A D | if_ether.c | 332 ereq.hdata = (u_char *)ah; in arp_fillheader()
|