/freebsd/crypto/openssl/crypto/ |
H A D | core_fetch.c | 27 static int is_temporary_method_store(int no_store, void *cbdata) in is_temporary_method_store() argument 29 struct construct_data_st *data = cbdata; in is_temporary_method_store() 34 static int ossl_method_construct_reserve_store(int no_store, void *cbdata) in ossl_method_construct_reserve_store() argument 36 struct construct_data_st *data = cbdata; in ossl_method_construct_reserve_store() 52 static int ossl_method_construct_unreserve_store(void *cbdata) in ossl_method_construct_unreserve_store() argument 54 struct construct_data_st *data = cbdata; in ossl_method_construct_unreserve_store() 61 void *cbdata, int *result) in ossl_method_construct_precondition() argument 72 if (!is_temporary_method_store(no_store, cbdata) in ossl_method_construct_precondition() 88 void *cbdata, int *result) in ossl_method_construct_postcondition() argument 98 return is_temporary_method_store(no_store, cbdata) in ossl_method_construct_postcondition() [all …]
|
H A D | core_algorithm.c | 43 int cur_operation, int no_store, void *cbdata) in algorithm_do_map() argument 45 struct algorithm_data_st *data = cbdata; in algorithm_do_map() 102 static int algorithm_do_this(OSSL_PROVIDER *provider, void *cbdata) in algorithm_do_this() argument 104 struct algorithm_data_st *data = cbdata; in algorithm_do_this() 150 struct algorithm_data_st cbdata = { 0, }; in ossl_algorithm_do_all() local 152 cbdata.libctx = libctx; in ossl_algorithm_do_all() 153 cbdata.operation_id = operation_id; in ossl_algorithm_do_all() 154 cbdata.pre = pre; in ossl_algorithm_do_all() 155 cbdata.reserve_store = reserve_store; in ossl_algorithm_do_all() 156 cbdata.fn = fn; in ossl_algorithm_do_all() [all …]
|
H A D | core_namemap.c | 138 DOALL_NAMES_DATA cbdata; in ossl_namemap_doall_names() local 142 cbdata.number = number; in ossl_namemap_doall_names() 143 cbdata.found = 0; in ossl_namemap_doall_names() 161 cbdata.names = OPENSSL_malloc(sizeof(*cbdata.names) * num_names); in ossl_namemap_doall_names() 162 if (cbdata.names == NULL) { in ossl_namemap_doall_names() 167 &cbdata); in ossl_namemap_doall_names() 170 for (i = 0; i < cbdata.found; i++) in ossl_namemap_doall_names() 171 fn(cbdata.names[i], data); in ossl_namemap_doall_names() 173 OPENSSL_free(cbdata.names); in ossl_namemap_doall_names()
|
H A D | provider_child.c | 98 static int provider_create_child_cb(const OSSL_CORE_HANDLE *prov, void *cbdata) in provider_create_child_cb() argument 100 OSSL_LIB_CTX *ctx = cbdata; in provider_create_child_cb() 164 static int provider_remove_child_cb(const OSSL_CORE_HANDLE *prov, void *cbdata) in provider_remove_child_cb() argument 166 OSSL_LIB_CTX *ctx = cbdata; in provider_remove_child_cb() 192 static int provider_global_props_cb(const char *props, void *cbdata) in provider_global_props_cb() argument 194 OSSL_LIB_CTX *ctx = cbdata; in provider_global_props_cb()
|
H A D | provider.c | 145 void *cbdata), in OSSL_PROVIDER_do_all() argument 146 void *cbdata) in OSSL_PROVIDER_do_all() 148 return ossl_provider_doall_activated(ctx, cb, cbdata); in OSSL_PROVIDER_do_all()
|
H A D | provider_core.c | 131 int (*create_cb)(const OSSL_CORE_HANDLE *provider, void *cbdata); 132 int (*remove_cb)(const OSSL_CORE_HANDLE *provider, void *cbdata); 133 int (*global_props_cb)(const char *props, void *cbdata); 134 void *cbdata; member 610 ret &= child_cb->create_cb((OSSL_CORE_HANDLE *)prov, child_cb->cbdata); in ossl_provider_add_to_store() 1103 child_cb->remove_cb((OSSL_CORE_HANDLE *)prov, child_cb->cbdata); in provider_deactivate() 1361 void *cbdata), in ossl_provider_doall_activated() 1362 void *cbdata) in ossl_provider_doall_activated() 1440 if (!cb(prov, cbdata)) { in ossl_provider_doall_activated() 1709 child_cb->global_props_cb(props, child_cb->cbdata); 1354 ossl_provider_doall_activated(OSSL_LIB_CTX * ctx,int (* cb)(OSSL_PROVIDER * provider,void * cbdata),void * cbdata) ossl_provider_doall_activated() argument 1713 ossl_provider_register_child_cb(const OSSL_CORE_HANDLE * handle,int (* create_cb)(const OSSL_CORE_HANDLE * provider,void * cbdata),int (* remove_cb)(const OSSL_CORE_HANDLE * provider,void * cbdata),int (* global_props_cb)(const char * props,void * cbdata),void * cbdata) ossl_provider_register_child_cb() argument [all...] |
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_device.c | 762 ocs_node_cb_t *cbdata = arg; in __ocs_d_init() local 784 fc_header_t *hdr = cbdata->header->dma.virt; in __ocs_d_init() 787 ocs_node_save_sparms(node, cbdata->payload->dma.virt); in __ocs_d_init() 788 ocs_send_ls_acc_after_attach(cbdata->io, cbdata->header->dma.virt, OCS_NODE_SEND_LS_ACC_PLOGI); in __ocs_d_init() 842 fc_header_t *hdr = cbdata->header->dma.virt; in __ocs_d_init() 845 ocs_assert(ocs_rnode_is_nport(cbdata->payload->dma.virt), NULL); in __ocs_d_init() 848 ocs_domain_save_sparms(node->sport->domain, cbdata->payload->dma.virt); in __ocs_d_init() 852 ocs_send_flogi_p2p_acc(cbdata->io, ocs_be16toh(hdr->ox_id), fc_be24toh(hdr->d_id), NULL, NULL); in __ocs_d_init() 864 fc_header_t *hdr = cbdata->header->dma.virt; in __ocs_d_init() 873 ocs_send_logo_acc(cbdata->io, ocs_be16toh(hdr->ox_id), NULL, NULL); in __ocs_d_init() [all …]
|
H A D | ocs_node.c | 84 ocs_node_cb_t cbdata = {0}; in ocs_node_abort_all_els() local 91 cbdata.els = els; in ocs_node_abort_all_els() 92 ocs_els_post_event(els, OCS_EVT_ABORT_ELS, &cbdata); in ocs_node_abort_all_els() 1225 ocs_node_cb_t *cbdata = arg; in __ocs_node_common() local 1276 fc_header_t *hdr = cbdata->header->dma.virt; in __ocs_node_common() 1280 node->display_name, funcname, ((uint8_t*)cbdata->payload->dma.virt)[0]); in __ocs_node_common() 1281 ocs_send_ls_rjt(cbdata->io, ocs_be16toh(hdr->ox_id), in __ocs_node_common() 1297 fc_header_t *hdr = cbdata->header->dma.virt; in __ocs_node_common() 1302 ocs_send_ls_rjt(cbdata->io, ocs_be16toh(hdr->ox_id), in __ocs_node_common() 1311 fc_header_t *hdr = cbdata->header->dma.virt; in __ocs_node_common() [all …]
|
H A D | ocs_fabric.c | 58 static void ocs_process_rscn(ocs_node_t *node, ocs_node_cb_t *cbdata); 160 ocs_node_cb_t *cbdata = arg; in __ocs_fabric_flogi_wait_rsp() local 173 ocs_domain_save_sparms(node->sport->domain, cbdata->els->els_rsp.virt); in __ocs_fabric_flogi_wait_rsp() 176 ((uint8_t*)cbdata->els->els_rsp.virt) + 4); in __ocs_fabric_flogi_wait_rsp() 179 if (ocs_rnode_is_nport(cbdata->els->els_rsp.virt)) { in __ocs_fabric_flogi_wait_rsp() 211 ocs_domain_attach(node->sport->domain, cbdata->ext_status); in __ocs_fabric_flogi_wait_rsp() 304 ocs_node_cb_t *cbdata = arg; in __ocs_fabric_fdisc_wait_rsp() local 317 ((uint8_t*)cbdata->els->els_rsp.virt) + 4); in __ocs_fabric_fdisc_wait_rsp() 322 ocs_sport_attach(node->sport, cbdata->ext_status); in __ocs_fabric_fdisc_wait_rsp() 485 ocs_node_cb_t *cbdata = arg; in __ocs_ns_plogi_wait_rsp() local [all …]
|
H A D | ocs_els.c | 457 ocs_node_cb_t cbdata; in ocs_els_req_cb() local 479 cbdata.status = status; in ocs_els_req_cb() 480 cbdata.ext_status = ext_status; in ocs_els_req_cb() 481 cbdata.header = NULL; in ocs_els_req_cb() 482 cbdata.els = els; in ocs_els_req_cb() 491 ocs_els_post_event(els, OCS_EVT_SRRS_ELS_REQ_FAIL, &cbdata); in ocs_els_req_cb() 498 ocs_els_post_event(els, OCS_EVT_SRRS_ELS_REQ_OK, &cbdata); in ocs_els_req_cb() 502 ocs_els_post_event(els, OCS_EVT_SRRS_ELS_REQ_RJT, &cbdata); in ocs_els_req_cb() 508 ocs_els_post_event(els, OCS_EVT_ELS_REQ_TIMEOUT, &cbdata); in ocs_els_req_cb() 511 ocs_els_post_event(els, OCS_EVT_ELS_REQ_ABORTED, &cbdata); in ocs_els_req_cb() [all …]
|
/freebsd/usr.sbin/pkg/ |
H A D | ecc.c | 468 ecc_verify_internal(struct ecc_verify_cbdata *cbdata, const uint8_t *hash, in ecc_verify_internal() argument 473 const struct ecc_sign_ctx *keyinfo = ECC_CCTX(cbdata->sctx); in ecc_verify_internal() 480 keysz = MIN(sizeof(keybuf), cbdata->keylen / 2); in ecc_verify_internal() 483 if (ecc_extract_pubkey(cbdata->keyfp, cbdata->key, cbdata->keylen, in ecc_verify_internal() 497 if (ecc_extract_signature(cbdata->sig, cbdata->siglen, in ecc_verify_internal() 527 struct ecc_verify_cbdata cbdata; in ecc_verify_data() local 532 cbdata.keyfp = fopen(sigfile, "r"); in ecc_verify_data() 533 if (cbdata.keyfp == NULL) { in ecc_verify_data() 538 cbdata.keyfp = NULL; in ecc_verify_data() 539 cbdata.key = key; in ecc_verify_data() [all …]
|
/freebsd/contrib/llvm-project/libunwind/src/ |
H A D | AddressSpace.hpp | 395 dl_iterate_cb_data *cbdata) { in checkAddrInSegment() argument 399 if (cbdata->targetAddr >= begin && cbdata->targetAddr < end) { in checkAddrInSegment() 400 cbdata->sects->dso_base = begin; in checkAddrInSegment() 401 cbdata->sects->text_segment_length = phdr->p_memsz; in checkAddrInSegment() 409 dl_iterate_cb_data *cbdata) { in checkForUnwindInfoSegment() argument 414 cbdata->sects->dwarf_index_section = eh_frame_hdr_start; in checkForUnwindInfoSegment() 415 cbdata->sects->dwarf_index_section_length = phdr->p_memsz; in checkForUnwindInfoSegment() 417 *cbdata->addressSpace, eh_frame_hdr_start, in checkForUnwindInfoSegment() 421 cbdata in checkForUnwindInfoSegment() 442 auto cbdata = static_cast<dl_iterate_cb_data *>(data); findUnwindSectionsByPhdr() local [all...] |
/freebsd/sys/net/route/ |
H A D | route_helpers.c | 263 route_notification_t *cb, void *cbdata) in notify_add() argument 274 cb(rc, cbdata); in notify_add() 279 route_notification_t *cb, void *cbdata) in notify_del() argument 290 cb(rc, cbdata); in notify_del() 295 void *cbdata) in decompose_change_notification() argument 348 notify_del(&rc_del, &wn_old[idx_old], cb, cbdata); in decompose_change_notification() 349 notify_add(&rc_add, &wn_new[idx_new], cb, cbdata); in decompose_change_notification() 355 notify_del(&rc_del, &wn_old[idx_old], cb, cbdata); in decompose_change_notification() 359 notify_add(&rc_add, &wn_new[idx_new], cb, cbdata); in decompose_change_notification() 365 notify_del(&rc_del, &wn_old[idx_old], cb, cbdata); in decompose_change_notification() [all …]
|
/freebsd/contrib/ofed/libibnetdisc/ |
H A D | ibnetdisc.c | 65 struct ni_cbdata * cbdata); 262 struct ni_cbdata * cbdata = malloc(sizeof(*cbdata)); in mlnx_ext_port_info_err() local 263 cbdata->node = node; in mlnx_ext_port_info_err() 264 cbdata->port_num = port_num; in mlnx_ext_port_info_err() 265 query_node_info(engine, &path, cbdata); in mlnx_ext_port_info_err() 311 struct ni_cbdata * cbdata = malloc(sizeof(*cbdata)); in recv_mlnx_ext_port_info() local 312 cbdata->node = node; in recv_mlnx_ext_port_info() 313 cbdata->port_num = port_num; in recv_mlnx_ext_port_info() 314 query_node_info(engine, &path, cbdata); in recv_mlnx_ext_port_info() 426 struct ni_cbdata * cbdata = malloc(sizeof(*cbdata)); in recv_port_info() local [all …]
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | provider.h | 30 int (*cb)(OSSL_PROVIDER *provider, void *cbdata), 31 void *cbdata);
|
/freebsd/usr.sbin/spi/ |
H A D | spi.c | 526 size_t cbdata, cbread; in prep_write_buffer() local 536 cbdata = DEFAULT_BUFFER_SIZE; in prep_write_buffer() 539 cbdata = popt->count; in prep_write_buffer() 544 pdata = malloc(cbdata + ncmd + 1); in prep_write_buffer() 567 while (!err && cbread < cbdata && (ch = fgetc(stdin)) != EOF) { in prep_write_buffer() 647 while (cbread < cbdata) in prep_write_buffer()
|
/freebsd/crypto/openssl/include/internal/ |
H A D | provider.h | 70 void *cbdata), 71 void *cbdata);
|
/freebsd/lib/librss/ |
H A D | librss.c | 243 rss_set_bucket_rebalance_cb(rss_bucket_rebalance_cb_t *cb, void *cbdata) in rss_set_bucket_rebalance_cb() argument 247 (void) cbdata; in rss_set_bucket_rebalance_cb()
|
H A D | librss.h | 82 void *cbdata);
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_fw_iface.c | 379 ic->cb(ch, ic->cbdata, iif->ifindex); in ipfw_iface_add_notify() 432 ic->cb(ch, ic->cbdata, iif->ifindex); in handle_ifattach() 449 ic->cb(ch, ic->cbdata, 0); in handle_ifdetach()
|
/freebsd/contrib/libucl/src/ |
H A D | ucl_util.c | 765 struct ucl_curl_cbdata *cbdata = ud; local 768 cbdata->buf = realloc (cbdata->buf, cbdata->buflen + realsize + 1); 769 if (cbdata->buf == NULL) { 773 memcpy (&(cbdata->buf[cbdata->buflen]), contents, realsize); 774 cbdata->buflen += realsize; 775 cbdata->buf[cbdata->buflen] = 0; 837 struct ucl_curl_cbdata cbdata; 851 cbdata.buf = NULL; 852 cbdata.buflen = 0; 853 curl_easy_setopt (curl, CURLOPT_WRITEDATA, &cbdata); [all …]
|
/freebsd/crypto/openssl/crypto/store/ |
H A D | store_result.c | 87 struct ossl_load_result_data_st *cbdata = arg; in ossl_store_handle_load_result() local 88 OSSL_STORE_INFO **v = &cbdata->v; in ossl_store_handle_load_result() 89 OSSL_STORE_CTX *ctx = cbdata->ctx; in ossl_store_handle_load_result()
|
/freebsd/contrib/libucl/include/ |
H A D | ucl++.h | 439 struct ucl_emitter_functions cbdata; variable 441 cbdata = Ucl::default_emit_funcs(); 442 cbdata.ud = reinterpret_cast<void *>(&out); 444 ucl_object_emit_full (obj.get(), type, &cbdata, nullptr);
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | OSSL_PROVIDER.pod | 30 int (*cb)(OSSL_PROVIDER *provider, void *cbdata), 31 void *cbdata); 106 I<cbdata> that comes from the caller. If no other provider has been loaded
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interceptors_posix.cpp | 2382 dl_iterate_phdr_data *cbdata = (dl_iterate_phdr_data *)data; in dl_iterate_phdr_cb() local 2389 MemoryResetRange(cbdata->thr, cbdata->pc, (uptr)info->dlpi_name, in dl_iterate_phdr_cb() 2391 int res = cbdata->cb(info, size, cbdata->data); in dl_iterate_phdr_cb() 2395 MemoryResetRange(cbdata->thr, cbdata->pc, (uptr)info->dlpi_name, in dl_iterate_phdr_cb() 2402 dl_iterate_phdr_data cbdata; in TSAN_INTERCEPTOR() local 2403 cbdata.thr = thr; in TSAN_INTERCEPTOR() 2404 cbdata.pc = pc; in TSAN_INTERCEPTOR() 2405 cbdata.cb = cb; in TSAN_INTERCEPTOR() 2406 cbdata.data = data; in TSAN_INTERCEPTOR() 2407 int res = REAL(dl_iterate_phdr)(dl_iterate_phdr_cb, &cbdata); in TSAN_INTERCEPTOR()
|