Home
last modified time | relevance | path

Searched refs:cb_type (Results 1 – 23 of 23) sorted by relevance

/freebsd-14.2/sys/opencrypto/
H A Dcriov.c305 cc->cc_type = cb->cb_type; in crypto_cursor_init()
326 panic("%s: invalid buffer type %d", __func__, cb->cb_type); in crypto_cursor_init()
680 if (crp->crp_obuf.cb_type != CRYPTO_BUF_NONE) in crypto_copyback()
684 switch (cb->cb_type) { in crypto_copyback()
707 panic("invalid crp buf type %d", cb->cb_type); in crypto_copyback()
717 switch (crp->crp_buf.cb_type) { in crypto_copydata()
740 panic("invalid crp buf type %d", crp->crp_buf.cb_type); in crypto_copydata()
752 switch (cb->cb_type) { in crypto_apply_buf()
773 panic("invalid crypto buf type %d", cb->cb_type); in crypto_apply_buf()
831 switch (cb->cb_type) { in crypto_buffer_contiguous_subsegment()
[all …]
H A Dcryptodev.h390 enum crypto_buffer_type cb_type; member
486 cb->cb_type = CRYPTO_BUF_CONTIG; in _crypto_use_buf()
493 cb->cb_type = CRYPTO_BUF_MBUF; in _crypto_use_mbuf()
500 cb->cb_type = CRYPTO_BUF_SINGLE_MBUF; in _crypto_use_single_mbuf()
510 cb->cb_type = CRYPTO_BUF_VMPAGE; in _crypto_use_vmpage()
517 cb->cb_type = CRYPTO_BUF_UIO; in _crypto_use_uio()
582 ((crp)->crp_obuf.cb_type != CRYPTO_BUF_NONE)
H A Dcrypto.c1215 switch (cb->cb_type) { in crypto_buffer_len()
1238 KASSERT(cb->cb_type > CRYPTO_BUF_NONE && cb->cb_type <= CRYPTO_BUF_LAST, in cb_sanity()
1240 switch (cb->cb_type) { in cb_sanity()
1269 KASSERT(crp->crp_obuf.cb_type >= CRYPTO_BUF_NONE && in crp_sanity()
1270 crp->crp_obuf.cb_type <= CRYPTO_BUF_LAST, in crp_sanity()
1282 if (crp->crp_obuf.cb_type != CRYPTO_BUF_NONE) { in crp_sanity()
1288 KASSERT(crp->crp_obuf.cb_type == CRYPTO_BUF_NONE, in crp_sanity()
H A Dcryptosoft.c1229 switch (crp->crp_buf.cb_type) { in swcr_compdec()
/freebsd-14.2/sys/kern/
H A Dsubr_taskqueue.c188 enum taskqueue_callback_type cb_type, taskqueue_callback_fn callback, in taskqueue_set_callback() argument
192 KASSERT(((cb_type >= TASKQUEUE_CALLBACK_TYPE_MIN) && in taskqueue_set_callback()
193 (cb_type <= TASKQUEUE_CALLBACK_TYPE_MAX)), in taskqueue_set_callback()
194 ("Callback type %d not valid, must be %d-%d", cb_type, in taskqueue_set_callback()
196 KASSERT((queue->tq_callbacks[cb_type] == NULL), in taskqueue_set_callback()
199 queue->tq_callbacks[cb_type] = callback; in taskqueue_set_callback()
200 queue->tq_cb_contexts[cb_type] = context; in taskqueue_set_callback()
809 enum taskqueue_callback_type cb_type) in taskqueue_run_callback() argument
814 tq_callback = tq->tq_callbacks[cb_type]; in taskqueue_run_callback()
816 tq_callback(tq->tq_cb_contexts[cb_type]); in taskqueue_run_callback()
H A Dsubr_gtaskqueue.c524 enum taskqueue_callback_type cb_type) in gtaskqueue_run_callback() argument
529 tq_callback = tq->tq_callbacks[cb_type]; in gtaskqueue_run_callback()
531 tq_callback(tq->tq_cb_contexts[cb_type]); in gtaskqueue_run_callback()
H A Dsubr_bus_dma.c544 switch (cb->cb_type) { in bus_dmamap_load_crp_buffer()
/freebsd-14.2/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_import.c242 const char *cb_type; member
257 if (nvlist_lookup_nvlist_array(nvroot, cbp->cb_type, in find_aux()
396 cb.cb_type = ZPOOL_CONFIG_SPARES; in zpool_in_use()
412 cb.cb_type = ZPOOL_CONFIG_L2CACHE; in zpool_in_use()
H A Dlibzfs_util.c1411 zprop_print_headers(cbp, cbp->cb_type); in zprop_print_one_property()
H A Dlibzfs.abi7543 <var-decl name='cb_type' type-id='2e45de5d' visibility='default'/>
/freebsd-14.2/sys/sys/
H A Dtaskqueue.h102 enum taskqueue_callback_type cb_type,
/freebsd-14.2/crypto/heimdal/lib/krb5/
H A Ddigest.c94 digest->init.channel->cb_type = strdup(type); in krb5_digest_set_server_cb()
95 if (digest->init.channel->cb_type == NULL) in krb5_digest_set_server_cb()
104 free(digest->init.channel->cb_type); in krb5_digest_set_server_cb()
801 *type = strdup(digest->response.channel->cb_type); in krb5_digest_get_client_binding()
/freebsd-14.2/sys/net/altq/
H A Daltq_cdnr.h250 int cb_type; /* cdnr block type */ member
/freebsd-14.2/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c7537 int cb_type; member
7617 cb.cb_type = POOL_SCAN_SCRUB; in zpool_do_scrub()
7657 cb.cb_type = POOL_SCAN_NONE; in zpool_do_scrub()
7701 cb.cb_type = POOL_SCAN_RESILVER; in zpool_do_resilver()
10575 cb.cb_type = ZFS_TYPE_POOL; in zpool_do_get()
10577 current_prop_type = cb.cb_type; in zpool_do_get()
10673 cb.cb_type = ZFS_TYPE_VDEV; in zpool_do_get()
10694 cb.cb_type) != 0) { in zpool_do_get()
10724 zfs_type_t cb_type; member
10845 cb.cb_type = ZFS_TYPE_POOL; in zpool_do_set()
[all …]
/freebsd-14.2/sys/crypto/ccp/
H A Dccp.c98 switch (cb->cb_type) { in ccp_populate_sglist()
/freebsd-14.2/sys/dev/hifn/
H A Dhifn7751.c1821 } else if (crp->crp_buf.cb_type == CRYPTO_BUF_MBUF) { in hifn_crypto()
2070 if (crp->crp_buf.cb_type == CRYPTO_BUF_MBUF) { in hifn_crypto()
2612 if (crp->crp_buf.cb_type == CRYPTO_BUF_MBUF) { in hifn_callback()
/freebsd-14.2/sys/contrib/openzfs/include/
H A Dlibzfs.h659 zfs_type_t cb_type; member
/freebsd-14.2/sys/net/
H A Dif_ovpn.c1499 MPASS(crp->crp_buf.cb_type == CRYPTO_BUF_MBUF); in ovpn_encrypt_tx_cb()
1614 MPASS(crp->crp_buf.cb_type == CRYPTO_BUF_MBUF); in ovpn_decrypt_rx_cb()
/freebsd-14.2/sys/dev/sec/
H A Dsec.c841 switch (crp->crp_buf.cb_type) { in sec_desc_map_dma()
/freebsd-14.2/crypto/heimdal/kdc/
H A Ddigest.c411 ireq.u.init.channel->cb_type, in _kdc_do_digest()
/freebsd-14.2/sys/dev/safe/
H A Dsafe.c1046 } else if (crp->crp_buf.cb_type == CRYPTO_BUF_MBUF) { in safe_process()
/freebsd-14.2/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c282 switch (cb->cb_type) { in ccr_populate_sglist()
/freebsd-14.2/sys/contrib/openzfs/cmd/zfs/
H A Dzfs_main.c2041 cb.cb_type = ZFS_TYPE_DATASET; in zfs_do_get()