Home
last modified time | relevance | path

Searched refs:sctx (Results 1 – 25 of 112) sorted by relevance

12345

/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_aes_ccm_hw_s390x.inc20 PROV_AES_CCM_CTX *sctx = (PROV_AES_CCM_CTX *)ctx;
22 sctx->ccm.s390x.fc = S390X_AES_FC(keylen);
23 memcpy(&sctx->ccm.s390x.kmac.k, key, keylen);
25 sctx->ccm.s390x.nonce.b[0] = ((ctx->l - 1) & 0x7)
27 memset(sctx->ccm.s390x.nonce.b + 1, 0, sizeof(sctx->ccm.s390x.nonce.b));
28 sctx->ccm.s390x.blocks = 0;
37 PROV_AES_CCM_CTX *sctx = (PROV_AES_CCM_CTX *)ctx;
39 sctx->ccm.s390x.nonce.b[0] &= ~S390X_CCM_AAD_FLAG;
40 sctx->ccm.s390x.nonce.g[1] = mlen;
41 memcpy(sctx->ccm.s390x.nonce.b + 1, nonce, 15 - ctx->l);
[all …]
H A Dcipher_aes_cbc_hmac_sha256_hw.c52 PROV_AES_HMAC_SHA256_CTX *sctx = (PROV_AES_HMAC_SHA256_CTX *)vctx; in aesni_cbc_hmac_sha256_init_key() local
59 SHA256_Init(&sctx->head); /* handy when benchmarking */ in aesni_cbc_hmac_sha256_init_key()
60 sctx->tail = sctx->head; in aesni_cbc_hmac_sha256_init_key()
61 sctx->md = sctx->head; in aesni_cbc_hmac_sha256_init_key()
131 PROV_AES_HMAC_SHA256_CTX *sctx = (PROV_AES_HMAC_SHA256_CTX *)vctx; in tls1_multi_block_encrypt() local
182 memcpy(blocks[0].c, sctx->md.data, 8); in tls1_multi_block_encrypt()
192 mctx->A[i] = sctx->md.h[0]; in tls1_multi_block_encrypt()
193 mctx->B[i] = sctx->md.h[1]; in tls1_multi_block_encrypt()
194 mctx->C[i] = sctx->md.h[2]; in tls1_multi_block_encrypt()
195 mctx->D[i] = sctx->md.h[3]; in tls1_multi_block_encrypt()
[all …]
H A Dcipher_aes_cbc_hmac_sha1_hw.c50 PROV_AES_HMAC_SHA1_CTX *sctx = (PROV_AES_HMAC_SHA1_CTX *)vctx; in aesni_cbc_hmac_sha1_init_key() local
57 SHA1_Init(&sctx->head); /* handy when benchmarking */ in aesni_cbc_hmac_sha1_init_key()
58 sctx->tail = sctx->head; in aesni_cbc_hmac_sha1_init_key()
59 sctx->md = sctx->head; in aesni_cbc_hmac_sha1_init_key()
127 PROV_AES_HMAC_SHA1_CTX *sctx = (PROV_AES_HMAC_SHA1_CTX *)vctx; in tls1_multi_block_encrypt() local
178 memcpy(blocks[0].c, sctx->md.data, 8); in tls1_multi_block_encrypt()
187 mctx->A[i] = sctx->md.h0; in tls1_multi_block_encrypt()
188 mctx->B[i] = sctx->md.h1; in tls1_multi_block_encrypt()
189 mctx->C[i] = sctx->md.h2; in tls1_multi_block_encrypt()
190 mctx->D[i] = sctx->md.h3; in tls1_multi_block_encrypt()
[all …]
H A Dcipher_aes_siv_hw.c23 SIV128_CONTEXT *sctx = &ctx->siv; in aes_siv_initkey() local
55 return ossl_siv128_init(sctx, key, klen, ctx->cbc, ctx->ctr, libctx, in aes_siv_initkey()
84 SIV128_CONTEXT *sctx = &ctx->siv; in aes_siv_settag() local
86 return ossl_siv128_set_tag(sctx, tag, tagl); in aes_siv_settag()
92 SIV128_CONTEXT *sctx = &ctx->siv; in aes_siv_setspeed() local
94 ossl_siv128_speed(sctx, (int)speed); in aes_siv_setspeed()
100 SIV128_CONTEXT *sctx = &ctx->siv; in aes_siv_cleanup() local
102 ossl_siv128_cleanup(sctx); in aes_siv_cleanup()
111 SIV128_CONTEXT *sctx = &ctx->siv; in aes_siv_cipher() local
115 return ossl_siv128_finish(sctx) == 0; in aes_siv_cipher()
[all …]
/freebsd/crypto/openssl/crypto/ct/
H A Dct_sct_ctx.c25 SCT_CTX *sctx = OPENSSL_zalloc(sizeof(*sctx)); in SCT_CTX_new() local
27 if (sctx == NULL) in SCT_CTX_new()
30 sctx->libctx = libctx; in SCT_CTX_new()
32 sctx->propq = OPENSSL_strdup(propq); in SCT_CTX_new()
33 if (sctx->propq == NULL) { in SCT_CTX_new()
34 OPENSSL_free(sctx); in SCT_CTX_new()
39 return sctx; in SCT_CTX_new()
42 void SCT_CTX_free(SCT_CTX *sctx) in SCT_CTX_free() argument
44 if (sctx == NULL) in SCT_CTX_free()
46 EVP_PKEY_free(sctx->pkey); in SCT_CTX_free()
[all …]
H A Dct_vfy.c29 static int sct_ctx_update(EVP_MD_CTX *ctx, const SCT_CTX *sctx, const SCT *sct) in sct_ctx_update() argument
49 if (sct->entry_type == CT_LOG_ENTRY_TYPE_PRECERT && sctx->ihash == NULL) in sct_ctx_update()
62 der = sctx->certder; in sct_ctx_update()
63 derlen = sctx->certderlen; in sct_ctx_update()
65 if (!EVP_DigestUpdate(ctx, sctx->ihash, sctx->ihashlen)) in sct_ctx_update()
67 der = sctx->preder; in sct_ctx_update()
68 derlen = sctx->prederlen; in sct_ctx_update()
96 int SCT_CTX_verify(const SCT_CTX *sctx, const SCT *sct) in SCT_CTX_verify() argument
101 …mplete(sct) || sctx->pkey == NULL || sct->entry_type == CT_LOG_ENTRY_TYPE_NOT_SET || (sct->entry_t… in SCT_CTX_verify()
109 …if (sct->log_id_len != sctx->pkeyhashlen || memcmp(sct->log_id, sctx->pkeyhash, sctx->pkeyhashlen)… in SCT_CTX_verify()
[all …]
H A Dct_local.h128 void SCT_CTX_free(SCT_CTX *sctx);
139 __owur int SCT_CTX_set1_cert(SCT_CTX *sctx, X509 *cert, X509 *presigner);
148 __owur int SCT_CTX_set1_issuer(SCT_CTX *sctx, const X509 *issuer);
156 __owur int SCT_CTX_set1_issuer_pubkey(SCT_CTX *sctx, X509_PUBKEY *pubkey);
162 __owur int SCT_CTX_set1_pubkey(SCT_CTX *sctx, X509_PUBKEY *pubkey);
171 void SCT_CTX_set_time(SCT_CTX *sctx, uint64_t time_in_ms);
178 __owur int SCT_CTX_verify(const SCT_CTX *sctx, const SCT *sct);
H A Dct_sct.c283 SCT_CTX *sctx = NULL; in SCT_validate() local
305 sctx = SCT_CTX_new(ctx->libctx, ctx->propq); in SCT_validate()
306 if (sctx == NULL) in SCT_validate()
311 if (SCT_CTX_set1_pubkey(sctx, log_pkey) != 1) in SCT_validate()
326 if (SCT_CTX_set1_issuer_pubkey(sctx, pub) != 1) in SCT_validate()
330 SCT_CTX_set_time(sctx, ctx->epoch_time_in_ms); in SCT_validate()
350 if (SCT_CTX_set1_cert(sctx, ctx->cert, NULL) != 1) in SCT_validate()
353 …sct->validation_status = SCT_CTX_verify(sctx, sct) == 1 ? SCT_VALIDATION_STATUS_VALID : SCT_VALIDA… in SCT_validate()
360 SCT_CTX_free(sctx); in SCT_validate()
/freebsd/contrib/libucl/src/
H A Ducl_emitter_streamline.c68 struct ucl_emitter_context_streamline *sctx; in ucl_object_emit_streamline_new() local
75 sctx = calloc (1, sizeof (*sctx)); in ucl_object_emit_streamline_new()
76 if (sctx == NULL) { in ucl_object_emit_streamline_new()
80 memcpy (sctx, ctx, sizeof (*ctx)); in ucl_object_emit_streamline_new()
81 sctx->func = emitter; in ucl_object_emit_streamline_new()
82 sctx->top = obj; in ucl_object_emit_streamline_new()
84 ucl_object_emit_streamline_start_container ((struct ucl_emitter_context *)sctx, in ucl_object_emit_streamline_new()
87 return (struct ucl_emitter_context *)sctx; in ucl_object_emit_streamline_new()
94 struct ucl_emitter_context_streamline *sctx = TO_STREAMLINE(ctx); in ucl_object_emit_streamline_start_container() local
99 if (sctx->top == NULL) { in ucl_object_emit_streamline_start_container()
[all …]
/freebsd/crypto/openssl/test/
H A Ddtlstest.c72 SSL_CTX *sctx = NULL, *cctx = NULL; in test_dtls_unprocessed() local
82 &sctx, &cctx, cert, privkey))) in test_dtls_unprocessed()
90 if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "AES128-SHA:@SECLEVEL=0")) in test_dtls_unprocessed()
101 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl1, &clientssl1, in test_dtls_unprocessed()
139 SSL_CTX_free(sctx); in test_dtls_unprocessed()
188 SSL_CTX *sctx = NULL, *cctx = NULL; in test_dtls_drop_records() local
200 &sctx, &cctx, cert, privkey))) in test_dtls_drop_records()
205 if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0")) in test_dtls_drop_records()
211 if (!TEST_true(SSL_CTX_set_dh_auto(sctx, 1))) in test_dtls_drop_records()
214 SSL_CTX_set_options(sctx, SSL_OP_COOKIE_EXCHANGE); in test_dtls_drop_records()
[all …]
H A Dsslapitest.c360 SSL_CTX *cctx = NULL, *sctx = NULL; in test_keylog() local
376 &sctx, &cctx, cert, privkey))) in test_keylog()
381 SSL_CTX_set_options(sctx, SSL_OP_NO_TLSv1_3); in test_keylog()
388 || !TEST_true(SSL_CTX_get_keylog_callback(sctx) == NULL)) in test_keylog()
394 SSL_CTX_set_keylog_callback(sctx, server_keylog_callback); in test_keylog()
395 if (!TEST_true(SSL_CTX_get_keylog_callback(sctx) in test_keylog()
400 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, in test_keylog()
431 SSL_CTX_free(sctx); in test_keylog()
441 SSL_CTX *cctx = NULL, *sctx = NULL; in test_keylog_no_master_key() local
459 &sctx, &cctx, cert, privkey)) in test_keylog_no_master_key()
[all …]
H A Dossl_store_test.c42 OSSL_STORE_CTX *sctx = NULL; in test_store_open() local
50 && TEST_ptr(sctx = OSSL_STORE_open_ex(input, NULL, NULL, ui_method, in test_store_open()
52 && TEST_false(OSSL_STORE_find(sctx, NULL)) in test_store_open()
53 && TEST_true(OSSL_STORE_find(sctx, search)); in test_store_open()
56 OSSL_STORE_close(sctx); in test_store_open()
101 OSSL_STORE_CTX *sctx = NULL; in test_store_open_winstore() local
116 && TEST_ptr(sctx = OSSL_STORE_open_ex("org.openssl.winstore:", NULL, in test_store_open_winstore()
119 && TEST_true(OSSL_STORE_find(sctx, search)) in test_store_open_winstore()
120 && TEST_ptr(info = OSSL_STORE_load(sctx)); in test_store_open_winstore()
124 OSSL_STORE_close(sctx); in test_store_open_winstore()
H A Dfatalerrtest.c21 SSL_CTX *sctx = NULL, *cctx = NULL; in test_fatalerr() local
33 &sctx, &cctx, cert, privkey))) in test_fatalerr()
40 if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "AES128-SHA")) in test_fatalerr()
42 || !TEST_true(SSL_CTX_set_ciphersuites(sctx, in test_fatalerr()
46 || !TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, NULL, in test_fatalerr()
79 SSL_CTX_free(sctx); in test_fatalerr()
H A Dslh_dsa_test.c247 EVP_PKEY_CTX *sctx = NULL; in slh_dsa_sign_verify_test() local
273 if (!TEST_ptr(sctx = EVP_PKEY_CTX_new_from_pkey(lib_ctx, pkey, NULL))) in slh_dsa_sign_verify_test()
277 if (!TEST_int_eq(EVP_PKEY_sign_message_init(sctx, sig_alg, params), 1) in slh_dsa_sign_verify_test()
278 || !TEST_int_eq(EVP_PKEY_sign(sctx, NULL, &psig_len, in slh_dsa_sign_verify_test()
285 || !TEST_int_eq(EVP_PKEY_sign(sctx, psig, &psig_len, in slh_dsa_sign_verify_test()
301 EVP_PKEY_CTX_free(sctx); in slh_dsa_sign_verify_test()
376 EVP_PKEY_CTX *gctx = NULL, *sctx = NULL, *vctx = NULL; in slh_dsa_usage_test() local
402 || !TEST_ptr(sctx = EVP_PKEY_CTX_new_from_pkey(lib_ctx, priv, NULL)) in slh_dsa_usage_test()
404 || !TEST_int_eq(EVP_PKEY_sign_message_init(sctx, sig_alg, NULL), 1)) in slh_dsa_usage_test()
407 if (!TEST_int_eq(EVP_PKEY_sign(sctx, NULL, &sig_len, msg, msg_len), 1) in slh_dsa_usage_test()
[all …]
H A Dcert_comp_test.c125 SSL_CTX *cctx = NULL, *sctx = NULL; in test_ssl_cert_comp() local
165 &sctx, &cctx, cert, privkey))) in test_ssl_cert_comp()
171 if (!TEST_true(SSL_CTX_set1_cert_comp_preference(sctx, server_pref, 2))) in test_ssl_cert_comp()
177 … if (!TEST_true(SSL_CTX_set1_cert_comp_preference(sctx, server_pref, OSSL_NELEM(server_pref)))) in test_ssl_cert_comp()
185 SSL_CTX_set_verify(sctx, SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT, verify_cb); in test_ssl_cert_comp()
189 if (!TEST_true(SSL_CTX_compress_certs(sctx, expected_server))) in test_ssl_cert_comp()
193 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_ssl_cert_comp()
242 SSL_CTX_free(sctx); in test_ssl_cert_comp()
H A Drpktest.c101 SSL_CTX *cctx = NULL, *sctx = NULL; in test_rpk() local
230 &sctx, &cctx, NULL, NULL))) in test_rpk()
234 if (!TEST_true(SSL_CTX_set1_server_cert_type(sctx, cert_type_rpk, sizeof(cert_type_rpk)))) in test_rpk()
237 if (!TEST_true(SSL_CTX_set1_client_cert_type(sctx, cert_type_rpk, sizeof(cert_type_rpk)))) in test_rpk()
245 if (!TEST_true(SSL_CTX_set_session_id_context(sctx, SID_CTX, sizeof(SID_CTX)))) in test_rpk()
250 if (!TEST_int_gt(SSL_CTX_dane_enable(sctx), 0)) in test_rpk()
258 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_rpk()
562 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_rpk()
659 SSL_CTX_free(sctx); in test_rpk()
677 SSL_CTX *cctx = NULL, *sctx = NULL; in test_rpk_api() local
[all …]
H A Dtls13ccstest.c247 SSL_CTX *sctx = NULL, *cctx = NULL; in test_tls13ccs() local
261 &sctx, &cctx, cert, privkey)) in test_tls13ccs()
262 || !TEST_true(SSL_CTX_set_max_early_data(sctx, in test_tls13ccs()
296 SSL_CTX_clear_options(sctx, SSL_OP_ENABLE_MIDDLEBOX_COMPAT); in test_tls13ccs()
305 if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, NULL, NULL)) in test_tls13ccs()
322 if (!TEST_true(SSL_CTX_set1_groups_list(sctx, "ffdhe3072"))) in test_tls13ccs()
326 if (!TEST_true(SSL_CTX_set1_groups_list(sctx, "P-384"))) in test_tls13ccs()
341 if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, s_to_c_fbio, in test_tls13ccs()
483 SSL_CTX_free(sctx); in test_tls13ccs()
H A Drecordlentest.c82 SSL_CTX *cctx = NULL, *sctx = NULL; in test_record_overflow() local
107 &sctx, &cctx, cert, privkey))) in test_record_overflow()
116 SSL_CTX_set_max_proto_version(sctx, TLS1_2_VERSION); in test_record_overflow()
122 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_record_overflow()
179 SSL_CTX_free(sctx); in test_record_overflow()
/freebsd/crypto/heimdal/lib/gssapi/
H A Dtest_context.c114 gss_ctx_id_t *sctx, gss_ctx_id_t *cctx, in loop() argument
191 sctx, in loop()
246 wrapunwrap(gss_ctx_id_t cctx, gss_ctx_id_t sctx, int flags, gss_OID mechoid) in wrapunwrap() argument
262 maj_stat = gss_unwrap(&min_stat, sctx, &output_token, in wrapunwrap()
283 wrapunwrap_iov(gss_ctx_id_t cctx, gss_ctx_id_t sctx, int flags, gss_OID mechoid) in wrapunwrap_iov() argument
394 maj_stat = gss_unwrap(&min_stat, sctx, &input, in wrapunwrap_iov()
403 maj_stat = gss_unwrap_iov(&min_stat, sctx, &conf_state2, &qop_state, in wrapunwrap_iov()
419 getverifymic(gss_ctx_id_t cctx, gss_ctx_id_t sctx, gss_OID mechoid) in getverifymic() argument
434 maj_stat = gss_verify_mic(&min_stat, sctx, &input_token, in getverifymic()
506 gss_ctx_id_t cctx, sctx; in main() local
[all …]
/freebsd/crypto/openssl/crypto/dh/
H A Ddh_pmeth.c85 DH_PKEY_CTX *dctx, *sctx; in pkey_dh_copy() local
89 sctx = src->data; in pkey_dh_copy()
91 dctx->prime_len = sctx->prime_len; in pkey_dh_copy()
92 dctx->subprime_len = sctx->subprime_len; in pkey_dh_copy()
93 dctx->generator = sctx->generator; in pkey_dh_copy()
94 dctx->paramgen_type = sctx->paramgen_type; in pkey_dh_copy()
95 dctx->pad = sctx->pad; in pkey_dh_copy()
96 dctx->md = sctx->md; in pkey_dh_copy()
97 dctx->param_nid = sctx->param_nid; in pkey_dh_copy()
99 dctx->kdf_type = sctx->kdf_type; in pkey_dh_copy()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Dec_pmeth.c62 EC_PKEY_CTX *dctx, *sctx; in pkey_ec_copy() local
65 sctx = src->data; in pkey_ec_copy()
67 if (sctx->gen_group) { in pkey_ec_copy()
68 dctx->gen_group = EC_GROUP_dup(sctx->gen_group); in pkey_ec_copy()
72 dctx->md = sctx->md; in pkey_ec_copy()
74 if (sctx->co_key) { in pkey_ec_copy()
75 dctx->co_key = EC_KEY_dup(sctx->co_key); in pkey_ec_copy()
79 dctx->kdf_type = sctx->kdf_type; in pkey_ec_copy()
80 dctx->kdf_md = sctx->kdf_md; in pkey_ec_copy()
81 dctx->kdf_outlen = sctx->kdf_outlen; in pkey_ec_copy()
[all …]
/freebsd/sys/crypto/aesni/
H A Daesni.c777 } sctx; in aesni_cipher_mac() local
794 ses->hash_init(&sctx); in aesni_cipher_mac()
799 ses->hash_update(&sctx, hmac_key, sizeof(hmac_key)); in aesni_cipher_mac()
802 ses->hash_update(&sctx, crp->crp_aad, in aesni_cipher_mac()
806 crp->crp_aad_length, ses->hash_update, &sctx); in aesni_cipher_mac()
812 ses->hash_update, &sctx); in aesni_cipher_mac()
815 crp->crp_payload_length, ses->hash_update, &sctx); in aesni_cipher_mac()
818 ses->hash_update(&sctx, crp->crp_esn, 4); in aesni_cipher_mac()
820 ses->hash_finalize(res, &sctx); in aesni_cipher_mac()
823 ses->hash_init(&sctx); in aesni_cipher_mac()
[all …]
/freebsd/usr.sbin/pkg/
H A Decc.c54 struct pkgsign_ctx sctx; member
63 #define ECC_CCTX(c) (__containerof(c, const struct ecc_sign_ctx, sctx))
64 #define ECC_CTX(c) (__containerof(c, struct ecc_sign_ctx, sctx))
459 const struct pkgsign_ctx *sctx; member
473 const struct ecc_sign_ctx *keyinfo = ECC_CCTX(cbdata->sctx); in ecc_verify_internal()
521 ecc_verify_data(const struct pkgsign_ctx *sctx, in ecc_verify_data() argument
543 cbdata.sctx = sctx; in ecc_verify_data()
556 ecc_verify_cert(const struct pkgsign_ctx *sctx, int fd, in ecc_verify_cert() argument
570 ret = ecc_verify_data(sctx, sha256, strlen(sha256), sigfile, key, in ecc_verify_cert()
579 ecc_new(const char *name __unused, struct pkgsign_ctx *sctx) in ecc_new() argument
[all …]
/freebsd/crypto/openssl/crypto/hmac/
H A Dhmac_s390x.c294 int s390x_HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx) in s390x_HMAC_CTX_copy() argument
296 dctx->plat.s390x.fc = sctx->plat.s390x.fc; in s390x_HMAC_CTX_copy()
297 dctx->plat.s390x.blk_size = sctx->plat.s390x.blk_size; in s390x_HMAC_CTX_copy()
298 dctx->plat.s390x.ikp = sctx->plat.s390x.ikp; in s390x_HMAC_CTX_copy()
299 dctx->plat.s390x.iimp = sctx->plat.s390x.iimp; in s390x_HMAC_CTX_copy()
301 memcpy(&dctx->plat.s390x.param, &sctx->plat.s390x.param, in s390x_HMAC_CTX_copy()
306 if (sctx->plat.s390x.buf != NULL) { in s390x_HMAC_CTX_copy()
307 dctx->plat.s390x.buf = OPENSSL_memdup(sctx->plat.s390x.buf, in s390x_HMAC_CTX_copy()
308 sctx->plat.s390x.size); in s390x_HMAC_CTX_copy()
313 dctx->plat.s390x.size = sctx->plat.s390x.size; in s390x_HMAC_CTX_copy()
[all …]
/freebsd/sys/net/
H A Diflib.c724 if_shared_ctx_t sctx = ctx->ifc_sctx; in iflib_num_rx_descs() local
725 uint16_t first_rxq = (sctx->isc_flags & IFLIB_HAS_RXCQ) ? 1 : 0; in iflib_num_rx_descs()
734 if_shared_ctx_t sctx = ctx->ifc_sctx; in iflib_num_tx_descs() local
735 uint16_t first_txq = (sctx->isc_flags & IFLIB_HAS_TXCQ) ? 1 : 0; in iflib_num_tx_descs()
1158 if_shared_ctx_t sctx = ctx->ifc_sctx; in iflib_netmap_rxsync() local
1191 bool have_rxcq = sctx->isc_flags & IFLIB_HAS_RXCQ; in iflib_netmap_rxsync()
1491 if_shared_ctx_t sctx = ctx->ifc_sctx; in iflib_dma_alloc() local
1493 KASSERT(sctx->isc_q_align != 0, ("alignment value not initialized")); in iflib_dma_alloc()
1495 return (iflib_dma_alloc_align(ctx, size, sctx->isc_q_align, dma, mapflags)); in iflib_dma_alloc()
1686 if_shared_ctx_t sctx in iflib_txsd_alloc() local
1904 if_shared_ctx_t sctx = ctx->ifc_sctx; iflib_txq_setup() local
1944 if_shared_ctx_t sctx = ctx->ifc_sctx; iflib_rxsd_alloc() local
2398 if_softc_ctx_t sctx = &ctx->ifc_softc_ctx; iflib_timer() local
2459 if_softc_ctx_t sctx = &ctx->ifc_softc_ctx; iflib_calc_rx_mbuf_sz() local
2586 if_shared_ctx_t sctx = ctx->ifc_sctx; iflib_stop() local
2899 if_shared_ctx_t sctx = ctx->ifc_sctx; iflib_rxeof() local
3269 if_shared_ctx_t sctx = txq->ift_ctx->ifc_sctx; iflib_parse_header() local
3482 if_shared_ctx_t sctx; iflib_encap() local
4084 if_softc_ctx_t sctx = &ctx->ifc_softc_ctx; _task_fn_admin() local
4633 if_shared_ctx_t sctx; iflib_device_probe() local
4690 if_shared_ctx_t sctx = ctx->ifc_sctx; iflib_reset_qvalues() local
5024 iflib_device_register(device_t dev,void * sc,if_shared_ctx_t sctx,if_ctx_t * ctxp) iflib_device_register() argument
5305 if_shared_ctx_t sctx; iflib_device_attach() local
5546 _iflib_assert(if_shared_ctx_t sctx) _iflib_assert() argument
5594 if_shared_ctx_t sctx = ctx->ifc_sctx; iflib_register() local
5681 if_shared_ctx_t sctx = ctx->ifc_sctx; iflib_queues_alloc() local
5916 if_shared_ctx_t sctx = ctx->ifc_sctx; iflib_tx_structures_free() local
5980 if_shared_ctx_t sctx = ctx->ifc_sctx; iflib_rx_structures_free() local
6439 if_shared_ctx_t sctx = ctx->ifc_sctx; iflib_msix_init() local
6840 if_shared_ctx_t sctx = ctx->ifc_sctx; iflib_add_device_sysctl_post() local
[all...]

12345