| /freebsd-13.1/sys/opencrypto/ |
| H A D | criov.c | 306 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() 678 if (crp->crp_obuf.cb_type != CRYPTO_BUF_NONE) in crypto_copyback() 682 switch (cb->cb_type) { in crypto_copyback() 705 panic("invalid crp buf type %d", cb->cb_type); in crypto_copyback() 715 switch (crp->crp_buf.cb_type) { in crypto_copydata() 738 panic("invalid crp buf type %d", crp->crp_buf.cb_type); in crypto_copydata() 750 switch (cb->cb_type) { in crypto_apply_buf() 771 panic("invalid crypto buf type %d", cb->cb_type); in crypto_apply_buf() 829 switch (cb->cb_type) { in crypto_buffer_contiguous_subsegment() [all …]
|
| H A D | cryptodev.h | 423 enum crypto_buffer_type cb_type; member 523 cb->cb_type = CRYPTO_BUF_CONTIG; in _crypto_use_buf() 530 cb->cb_type = CRYPTO_BUF_MBUF; in _crypto_use_mbuf() 537 cb->cb_type = CRYPTO_BUF_SINGLE_MBUF; in _crypto_use_single_mbuf() 547 cb->cb_type = CRYPTO_BUF_VMPAGE; in _crypto_use_vmpage() 554 cb->cb_type = CRYPTO_BUF_UIO; in _crypto_use_uio() 625 ((crp)->crp_obuf.cb_type != CRYPTO_BUF_NONE)
|
| H A D | crypto.c | 1266 switch (cb->cb_type) { in crypto_buffer_len() 1289 KASSERT(cb->cb_type > CRYPTO_BUF_NONE && cb->cb_type <= CRYPTO_BUF_LAST, in cb_sanity() 1291 switch (cb->cb_type) { in cb_sanity() 1320 KASSERT(crp->crp_obuf.cb_type >= CRYPTO_BUF_NONE && in crp_sanity() 1321 crp->crp_obuf.cb_type <= CRYPTO_BUF_LAST, in crp_sanity() 1333 if (crp->crp_obuf.cb_type != CRYPTO_BUF_NONE) { in crp_sanity() 1339 KASSERT(crp->crp_obuf.cb_type == CRYPTO_BUF_NONE, in crp_sanity()
|
| H A D | cryptosoft.c | 1156 switch (crp->crp_buf.cb_type) { in swcr_compdec()
|
| /freebsd-13.1/sys/kern/ |
| H A D | subr_taskqueue.c | 176 enum taskqueue_callback_type cb_type, taskqueue_callback_fn callback, in taskqueue_set_callback() argument 180 KASSERT(((cb_type >= TASKQUEUE_CALLBACK_TYPE_MIN) && in taskqueue_set_callback() 181 (cb_type <= TASKQUEUE_CALLBACK_TYPE_MAX)), in taskqueue_set_callback() 182 ("Callback type %d not valid, must be %d-%d", cb_type, in taskqueue_set_callback() 184 KASSERT((queue->tq_callbacks[cb_type] == NULL), in taskqueue_set_callback() 187 queue->tq_callbacks[cb_type] = callback; in taskqueue_set_callback() 188 queue->tq_cb_contexts[cb_type] = context; in taskqueue_set_callback() 773 enum taskqueue_callback_type cb_type) in taskqueue_run_callback() argument 778 tq_callback = tq->tq_callbacks[cb_type]; in taskqueue_run_callback() 780 tq_callback(tq->tq_cb_contexts[cb_type]); in taskqueue_run_callback()
|
| H A D | subr_gtaskqueue.c | 526 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 D | subr_bus_dma.c | 673 switch (cb->cb_type) { in bus_dmamap_load_crp_buffer()
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_import.c | 261 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 D | libzfs_util.c | 1410 zprop_print_headers(cbp, cbp->cb_type);
|
| H A D | libzfs.abi | 6963 <var-decl name='cb_type' type-id='2e45de5d' visibility='default'/>
|
| /freebsd-13.1/sys/mips/nlm/dev/sec/ |
| H A D | nlmseclib.c | 113 switch (crp->crp_buf.cb_type) { in nlm_crypto_form_srcdst_segs() 127 if (crp->crp_buf.cb_type == CRYPTO_BUF_SINGLE_MBUF) in nlm_crypto_form_srcdst_segs()
|
| H A D | nlmsec.c | 469 switch (crp->crp_buf.cb_type) { in xlp_get_nsegs() 478 if (crp->crp_buf.cb_type == CRYPTO_BUF_SINGLE_MBUF) in xlp_get_nsegs()
|
| /freebsd-13.1/sys/mips/cavium/cryptocteon/ |
| H A D | cryptocteon.c | 299 switch (crp->crp_buf.cb_type) { in cryptocteon_process() 343 switch (crp->crp_buf.cb_type) { in cryptocteon_process()
|
| /freebsd-13.1/sys/sys/ |
| H A D | taskqueue.h | 106 enum taskqueue_callback_type cb_type,
|
| /freebsd-13.1/crypto/heimdal/lib/krb5/ |
| H A D | digest.c | 94 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-13.1/sys/net/altq/ |
| H A D | altq_cdnr.h | 251 int cb_type; /* cdnr block type */ member
|
| /freebsd-13.1/sys/contrib/openzfs/include/ |
| H A D | libzfs.h | 602 zfs_type_t cb_type; member
|
| /freebsd-13.1/sys/crypto/ccp/ |
| H A D | ccp.c | 100 switch (cb->cb_type) { in ccp_populate_sglist()
|
| /freebsd-13.1/sys/dev/hifn/ |
| H A D | hifn7751.c | 1823 } else if (crp->crp_buf.cb_type == CRYPTO_BUF_MBUF) { in hifn_crypto() 2072 if (crp->crp_buf.cb_type == CRYPTO_BUF_MBUF) { in hifn_crypto() 2614 if (crp->crp_buf.cb_type == CRYPTO_BUF_MBUF) { in hifn_callback()
|
| /freebsd-13.1/sys/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_main.c | 7141 int cb_type; member 7186 err = zpool_scan(zhp, cb->cb_type, cb->cb_scrub_cmd); in scrub_callback() 7189 cb->cb_type == POOL_SCAN_SCRUB) { in scrub_callback() 7220 cb.cb_type = POOL_SCAN_SCRUB; in zpool_do_scrub() 7227 cb.cb_type = POOL_SCAN_NONE; in zpool_do_scrub() 7242 if (cb.cb_type == POOL_SCAN_NONE && in zpool_do_scrub() 7249 if (wait && (cb.cb_type == POOL_SCAN_NONE || in zpool_do_scrub() 7287 cb.cb_type = POOL_SCAN_RESILVER; in zpool_do_resilver() 9959 cb.cb_type = ZFS_TYPE_POOL; in zpool_do_get()
|
| /freebsd-13.1/sys/dev/sec/ |
| H A D | sec.c | 844 switch (crp->crp_buf.cb_type) { in sec_desc_map_dma()
|
| /freebsd-13.1/crypto/heimdal/kdc/ |
| H A D | digest.c | 411 ireq.u.init.channel->cb_type, in _kdc_do_digest()
|
| /freebsd-13.1/sys/dev/safe/ |
| H A D | safe.c | 1050 } else if (crp->crp_buf.cb_type == CRYPTO_BUF_MBUF) { in safe_process()
|
| /freebsd-13.1/sys/dev/cxgbe/crypto/ |
| H A D | t4_crypto.c | 276 switch (cb->cb_type) { in ccr_populate_sglist()
|
| /freebsd-13.1/sys/contrib/openzfs/cmd/zfs/ |
| H A D | zfs_main.c | 2039 cb.cb_type = ZFS_TYPE_DATASET; in zfs_do_get()
|