Home
last modified time | relevance | path

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

/f-stack/freebsd/opencrypto/
H A Dcriov.c247 cc->cc_type = cb->cb_type; in crypto_cursor_init()
266 panic("%s: invalid buffer type %d", __func__, cb->cb_type); in crypto_cursor_init()
597 if (crp->crp_obuf.cb_type != CRYPTO_BUF_NONE) in crypto_copyback()
601 switch (cb->cb_type) { in crypto_copyback()
623 panic("invalid crp buf type %d", cb->cb_type); in crypto_copyback()
633 switch (crp->crp_buf.cb_type) { in crypto_copydata()
655 panic("invalid crp buf type %d", crp->crp_buf.cb_type); in crypto_copydata()
667 switch (cb->cb_type) { in crypto_apply_buf()
687 panic("invalid crypto buf type %d", cb->cb_type); in crypto_apply_buf()
743 switch (cb->cb_type) { in crypto_buffer_contiguous_subsegment()
[all …]
H A Dcryptodev.h414 enum crypto_buffer_type cb_type; member
514 cb->cb_type = CRYPTO_BUF_CONTIG; in _crypto_use_buf()
521 cb->cb_type = CRYPTO_BUF_MBUF; in _crypto_use_mbuf()
531 cb->cb_type = CRYPTO_BUF_VMPAGE; in _crypto_use_vmpage()
538 cb->cb_type = CRYPTO_BUF_UIO; in _crypto_use_uio()
597 ((crp)->crp_obuf.cb_type != CRYPTO_BUF_NONE)
H A Dcrypto.c1216 switch (cb->cb_type) { in crypto_buffer_len()
1237 KASSERT(cb->cb_type > CRYPTO_BUF_NONE && cb->cb_type <= CRYPTO_BUF_LAST, in cb_sanity()
1239 switch (cb->cb_type) { in cb_sanity()
1268 KASSERT(crp->crp_obuf.cb_type >= CRYPTO_BUF_NONE && in crp_sanity()
1269 crp->crp_obuf.cb_type <= CRYPTO_BUF_LAST, in crp_sanity()
1281 if (crp->crp_obuf.cb_type != CRYPTO_BUF_NONE) { in crp_sanity()
1287 KASSERT(crp->crp_obuf.cb_type == CRYPTO_BUF_NONE, in crp_sanity()
H A Dcryptosoft.c938 switch (crp->crp_buf.cb_type) { in swcr_compdec()
/f-stack/freebsd/kern/
H A Dsubr_taskqueue.c180 enum taskqueue_callback_type cb_type, taskqueue_callback_fn callback, in taskqueue_set_callback() argument
184 KASSERT(((cb_type >= TASKQUEUE_CALLBACK_TYPE_MIN) && in taskqueue_set_callback()
185 (cb_type <= TASKQUEUE_CALLBACK_TYPE_MAX)), in taskqueue_set_callback()
186 ("Callback type %d not valid, must be %d-%d", cb_type, in taskqueue_set_callback()
188 KASSERT((queue->tq_callbacks[cb_type] == NULL), in taskqueue_set_callback()
191 queue->tq_callbacks[cb_type] = callback; in taskqueue_set_callback()
192 queue->tq_cb_contexts[cb_type] = context; in taskqueue_set_callback()
790 enum taskqueue_callback_type cb_type) in taskqueue_run_callback() argument
795 tq_callback = tq->tq_callbacks[cb_type]; in taskqueue_run_callback()
797 tq_callback(tq->tq_cb_contexts[cb_type]); in taskqueue_run_callback()
H A Dsubr_gtaskqueue.c526 enum taskqueue_callback_type cb_type) in gtaskqueue_run_callback() argument
531 tq_callback = tq->tq_callbacks[cb_type]; in gtaskqueue_run_callback()
533 tq_callback(tq->tq_cb_contexts[cb_type]); in gtaskqueue_run_callback()
H A Dsubr_bus_dma.c652 switch (cb->cb_type) { in bus_dmamap_load_crp_buffer()
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_import.c261 const char *cb_type; member
278 if (nvlist_lookup_nvlist_array(nvroot, cbp->cb_type, in find_aux()
425 cb.cb_type = ZPOOL_CONFIG_SPARES; in zpool_in_use()
441 cb.cb_type = ZPOOL_CONFIG_L2CACHE; in zpool_in_use()
H A Dlibzfs_util.c1404 zprop_print_headers(cbp, cbp->cb_type);
H A Dlibzfs.abi3204 …<var-decl name='cb_type' type-id='type-id-46' visibility='default' filepath='../../include/libzfs.…
/f-stack/freebsd/mips/cavium/cryptocteon/
H A Dcryptocteon.c299 switch (crp->crp_buf.cb_type) { in cryptocteon_process()
343 switch (crp->crp_buf.cb_type) { in cryptocteon_process()
/f-stack/freebsd/sys/
H A Dtaskqueue.h106 enum taskqueue_callback_type cb_type,
/f-stack/freebsd/net/altq/
H A Daltq_cdnr.h251 int cb_type; /* cdnr block type */ member
/f-stack/freebsd/mips/nlm/dev/sec/
H A Dnlmseclib.c113 switch (crp->crp_buf.cb_type) { in nlm_crypto_form_srcdst_segs()
H A Dnlmsec.c469 switch (crp->crp_buf.cb_type) { in xlp_get_nsegs()
/f-stack/freebsd/contrib/openzfs/include/
H A Dlibzfs.h599 zfs_type_t cb_type; member
/f-stack/freebsd/crypto/ccp/
H A Dccp.c100 switch (cb->cb_type) { in ccp_populate_sglist()
/f-stack/freebsd/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c6961 int cb_type; member
7006 err = zpool_scan(zhp, cb->cb_type, cb->cb_scrub_cmd); in scrub_callback()
7009 cb->cb_type == POOL_SCAN_SCRUB) { in scrub_callback()
7040 cb.cb_type = POOL_SCAN_SCRUB; in zpool_do_scrub()
7047 cb.cb_type = POOL_SCAN_NONE; in zpool_do_scrub()
7062 if (cb.cb_type == POOL_SCAN_NONE && in zpool_do_scrub()
7069 if (wait && (cb.cb_type == POOL_SCAN_NONE || in zpool_do_scrub()
7107 cb.cb_type = POOL_SCAN_RESILVER; in zpool_do_resilver()
9702 cb.cb_type = ZFS_TYPE_POOL; in zpool_do_get()
/f-stack/freebsd/contrib/openzfs/cmd/zfs/
H A Dzfs_main.c2015 cb.cb_type = ZFS_TYPE_DATASET; in zfs_do_get()