Home
last modified time | relevance | path

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

/f-stack/freebsd/net/
H A Diflib_clone.c248 iflib_clone_register(if_shared_ctx_t sctx) in iflib_clone_register() argument
252 if (sctx->isc_name == NULL) { in iflib_clone_register()
256 if (iflib_ip_lookup(sctx->isc_name) != NULL) { in iflib_clone_register()
258 sctx->isc_name); in iflib_clone_register()
262 ip->ip_sctx = sctx; in iflib_clone_register()
263 ip->ip_dc = devclass_create(sctx->isc_name); in iflib_clone_register()
267 ip->ip_ifc = if_clone_simple(sctx->isc_name, iflib_clone_create, iflib_clone_destroy, 0); in iflib_clone_register()
269 printf("clone_simple failed -- cloned %s devices will not be available\n", sctx->isc_name); in iflib_clone_register()
H A Diflib.c3392 if_shared_ctx_t sctx; in iflib_encap() local
3404 sctx = ctx->ifc_sctx; in iflib_encap()
4494 if_shared_ctx_t sctx; in iflib_device_probe() local
4498 if ((sctx = DEVICE_REGISTER(dev)) == NULL || sctx->isc_magic != IFLIB_MAGIC) in iflib_device_probe()
4729 ctx->ifc_sctx = sctx; in iflib_device_register()
4973 ctx->ifc_sctx = sctx; in iflib_pseudo_register()
5187 if_shared_ctx_t sctx; in iflib_device_attach() local
5440 MPASS(sctx->isc_nrxqs >= 1 && sctx->isc_nrxqs <= 8); in _iflib_assert()
5450 MPASS(sctx->isc_ntxqs >= 1 && sctx->isc_ntxqs <= 8); in _iflib_assert()
5485 _iflib_assert(sctx); in iflib_register()
[all …]
H A Diflib_private.h61 int iflib_pseudo_register(device_t dev, if_shared_ctx_t sctx, if_ctx_t *ctxp,
H A Diflib.h453 int iflib_device_register(device_t dev, void *softc, if_shared_ctx_t sctx, if_ctx_t *ctxp);
/f-stack/freebsd/crypto/aesni/
H A Daesni.c836 } sctx; in aesni_cipher_mac() local
851 ses->hash_init(&sctx); in aesni_cipher_mac()
859 ses->hash_update(&sctx, crp->crp_aad, in aesni_cipher_mac()
869 ses->hash_update, &sctx); in aesni_cipher_mac()
877 ses->hash_finalize(res, &sctx); in aesni_cipher_mac()
880 ses->hash_init(&sctx); in aesni_cipher_mac()
887 ses->hash_finalize(res, &sctx); in aesni_cipher_mac()
890 ses->hash_init(&sctx); in aesni_cipher_mac()
903 ses->hash_update, &sctx); in aesni_cipher_mac()
907 ses->hash_update, &sctx); in aesni_cipher_mac()
[all …]
/f-stack/freebsd/arm/mv/armada/
H A Dthermal.c158 struct sysctl_ctx_list *sctx; in armada_thermal_attach() local
212 sctx = device_get_sysctl_ctx(dev); in armada_thermal_attach()
214 SYSCTL_ADD_LONG(sctx, schildren, OID_AUTO, "temperature", in armada_thermal_attach()
/f-stack/freebsd/crypto/via/
H A Dpadlock_hash.c230 padlock_copy_ctx(struct auth_hash *axf, void *sctx, void *dctx) in padlock_copy_ctx() argument
236 struct padlock_sha_ctx *spctx = sctx, *dpctx = dctx; in padlock_copy_ctx()
243 bcopy(sctx, dctx, axf->ctxsize); in padlock_copy_ctx()
/f-stack/freebsd/kern/
H A Dsubr_stats.c2038 sctx = ctx->usrctx;
2039 buf = sctx->buf;
2040 tpl_mb = sctx->tpl ? sctx->tpl->mb : NULL;
2100 sctx = ctx->usrctx;
2101 buf = sctx->buf;
2102 tpl_mb = sctx->tpl ? sctx->tpl->mb : NULL;
2205 sctx = ctx->usrctx;
2232 sctx.buf = buf;
2233 sctx.fmt = fmt;
2238 &sctx.tpl))
[all …]