Home
last modified time | relevance | path

Searched refs:hdata (Results 1 – 16 of 16) sorted by relevance

/freebsd-13.1/sys/sys/
H A Dmodule_khelp.h75 #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 Dhhook.h78 void *ctx_data, void *hdata, struct osd *hosd);
/freebsd-13.1/sys/kern/
H A Dkern_khelp.c154 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 Dkern_hhook.c99 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 Dh_example.c61 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 Dh_ertt.c74 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 Dstatem_lib.c169 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 Dextensions.c1573 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 Ds3_enc.c380 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 Dtls13_enc.c515 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 Dng_vlan.c65 #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 Dif_enc.c243 void *hdata, struct osd *hosd) in enc_hhook() argument
H A Dif_infiniband.c191 ah = (struct arphdr *)req->hdata; in infiniband_requestencap()
H A Dif_var.h178 char *hdata; /* Upper layer header data (rw) */ member
H A Dif_ethersubr.c169 ah = (struct arphdr *)req->hdata; in ether_requestencap()
/freebsd-13.1/sys/netinet/
H A Dif_ether.c332 ereq.hdata = (u_char *)ah; in arp_fillheader()