Home
last modified time | relevance | path

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

/freebsd/sys/opencrypto/
H A Dcriov.c304 cc->cc_type = cb->cb_type; in crypto_cursor_init()
325 panic("%s: invalid buffer type %d", __func__, cb->cb_type); in crypto_cursor_init()
679 if (crp->crp_obuf.cb_type != CRYPTO_BUF_NONE) in crypto_copyback()
683 switch (cb->cb_type) { in crypto_copyback()
706 panic("invalid crp buf type %d", cb->cb_type); in crypto_copyback()
716 switch (crp->crp_buf.cb_type) { in crypto_copydata()
739 panic("invalid crp buf type %d", crp->crp_buf.cb_type); in crypto_copydata()
751 switch (cb->cb_type) { in crypto_apply_buf()
772 panic("invalid crypto buf type %d", cb->cb_type); in crypto_apply_buf()
830 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.c1208 switch (cb->cb_type) { in crypto_buffer_len()
1231 KASSERT(cb->cb_type > CRYPTO_BUF_NONE && cb->cb_type <= CRYPTO_BUF_LAST, in cb_sanity()
1233 switch (cb->cb_type) { in cb_sanity()
1262 KASSERT(crp->crp_obuf.cb_type >= CRYPTO_BUF_NONE && in crp_sanity()
1263 crp->crp_obuf.cb_type <= CRYPTO_BUF_LAST, in crp_sanity()
1275 if (crp->crp_obuf.cb_type != CRYPTO_BUF_NONE) { in crp_sanity()
1281 KASSERT(crp->crp_obuf.cb_type == CRYPTO_BUF_NONE, in crp_sanity()
H A Dcryptosoft.c1228 switch (crp->crp_buf.cb_type) { in swcr_compdec()
/freebsd/sys/kern/
H A Dsubr_taskqueue.c187 enum taskqueue_callback_type cb_type, taskqueue_callback_fn callback, in taskqueue_set_callback() argument
191 KASSERT(((cb_type >= TASKQUEUE_CALLBACK_TYPE_MIN) && in taskqueue_set_callback()
192 (cb_type <= TASKQUEUE_CALLBACK_TYPE_MAX)), in taskqueue_set_callback()
193 ("Callback type %d not valid, must be %d-%d", cb_type, in taskqueue_set_callback()
195 KASSERT((queue->tq_callbacks[cb_type] == NULL), in taskqueue_set_callback()
198 queue->tq_callbacks[cb_type] = callback; in taskqueue_set_callback()
199 queue->tq_cb_contexts[cb_type] = context; in taskqueue_set_callback()
808 enum taskqueue_callback_type cb_type) in taskqueue_run_callback() argument
813 tq_callback = tq->tq_callbacks[cb_type]; in taskqueue_run_callback()
815 tq_callback(tq->tq_cb_contexts[cb_type]); in taskqueue_run_callback()
H A Dsubr_gtaskqueue.c523 enum taskqueue_callback_type cb_type) in gtaskqueue_run_callback() argument
528 tq_callback = tq->tq_callbacks[cb_type]; in gtaskqueue_run_callback()
530 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/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.c1523 zprop_print_headers(cbp, cbp->cb_type); in zprop_print_one_property()
H A Dlibzfs.abi8067 <var-decl name='cb_type' type-id='2e45de5d' visibility='default'/>
/freebsd/sys/sys/
H A Dtaskqueue.h102 enum taskqueue_callback_type cb_type,
/freebsd/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/sys/net/altq/
H A Daltq_cdnr.h250 int cb_type; /* cdnr block type */ member
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c8368 int cb_type; member
8413 err = zpool_scan(zhp, cb->cb_type, cb->cb_scrub_cmd); in scrub_callback()
8416 cb->cb_type == POOL_SCAN_SCRUB) { in scrub_callback()
8449 cb.cb_type = POOL_SCAN_SCRUB; in zpool_do_scrub()
8500 cb.cb_type = POOL_SCAN_ERRORSCRUB; in zpool_do_scrub()
8505 cb.cb_type = POOL_SCAN_NONE; in zpool_do_scrub()
8513 if (wait && (cb.cb_type == POOL_SCAN_NONE || in zpool_do_scrub()
8551 cb.cb_type = POOL_SCAN_RESILVER; in zpool_do_resilver()
12477 if (cbp->cb_type == ZFS_TYPE_VDEV) { in get_callback()
12503 assert(cbp->cb_type == ZFS_TYPE_POOL); in get_callback()
[all …]
/freebsd/sys/crypto/ccp/
H A Dccp.c98 switch (cb->cb_type) { in ccp_populate_sglist()
/freebsd/sys/dev/hifn/
H A Dhifn7751.c1819 } else if (crp->crp_buf.cb_type == CRYPTO_BUF_MBUF) { in hifn_crypto()
2068 if (crp->crp_buf.cb_type == CRYPTO_BUF_MBUF) { in hifn_crypto()
2610 if (crp->crp_buf.cb_type == CRYPTO_BUF_MBUF) { in hifn_callback()
/freebsd/sys/contrib/openzfs/include/
H A Dlibzfs.h672 zfs_type_t cb_type; member
/freebsd/sys/net/
H A Dif_ovpn.c1504 MPASS(crp->crp_buf.cb_type == CRYPTO_BUF_MBUF); in ovpn_encrypt_tx_cb()
1619 MPASS(crp->crp_buf.cb_type == CRYPTO_BUF_MBUF); in ovpn_decrypt_rx_cb()
/freebsd/sys/dev/sec/
H A Dsec.c840 switch (crp->crp_buf.cb_type) { in sec_desc_map_dma()
/freebsd/crypto/heimdal/kdc/
H A Ddigest.c411 ireq.u.init.channel->cb_type, in _kdc_do_digest()
/freebsd/sys/dev/safe/
H A Dsafe.c1045 } else if (crp->crp_buf.cb_type == CRYPTO_BUF_MBUF) { in safe_process()
/freebsd/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c281 switch (cb->cb_type) { in ccr_populate_sglist()
/freebsd/sys/contrib/openzfs/cmd/zfs/
H A Dzfs_main.c2162 cb.cb_type = ZFS_TYPE_DATASET; in zfs_do_get()