| /src/sys/dev/nvme/ |
| H A D | nvme_ctrlr_cmd.c | 34 nvme_cb_fn_t cb_fn, void *cb_arg) in nvme_ctrlr_cmd_identify_controller() argument 40 sizeof(struct nvme_controller_data), M_WAITOK, cb_fn, cb_arg); in nvme_ctrlr_cmd_identify_controller() 56 void *payload, nvme_cb_fn_t cb_fn, void *cb_arg) in nvme_ctrlr_cmd_identify_namespace() argument 62 sizeof(struct nvme_namespace_data), M_WAITOK, cb_fn, cb_arg); in nvme_ctrlr_cmd_identify_namespace() 77 struct nvme_qpair *io_que, nvme_cb_fn_t cb_fn, void *cb_arg) in nvme_ctrlr_cmd_create_io_cq() argument 82 req = nvme_allocate_request_null(M_WAITOK, cb_fn, cb_arg); in nvme_ctrlr_cmd_create_io_cq() 101 struct nvme_qpair *io_que, nvme_cb_fn_t cb_fn, void *cb_arg) in nvme_ctrlr_cmd_create_io_sq() argument 106 req = nvme_allocate_request_null(M_WAITOK, cb_fn, cb_arg); in nvme_ctrlr_cmd_create_io_sq() 125 struct nvme_qpair *io_que, nvme_cb_fn_t cb_fn, void *cb_arg) in nvme_ctrlr_cmd_delete_io_cq() argument 130 req = nvme_allocate_request_null(M_WAITOK, cb_fn, cb_arg); in nvme_ctrlr_cmd_delete_io_cq() [all …]
|
| H A D | nvme_private.h | 114 void *cb_arg; member 349 nvme_cb_fn_t cb_fn, void *cb_arg); 352 nvme_cb_fn_t cb_fn, void *cb_arg); 357 void *cb_arg); 362 void *cb_arg); 367 void *cb_arg); 371 void *cb_arg); 374 nvme_cb_fn_t cb_fn, void *cb_arg); 377 nvme_cb_fn_t cb_fn, void *cb_arg); 380 nvme_cb_fn_t cb_fn, void *cb_arg); [all …]
|
| H A D | nvme_ns_cmd.c | 34 uint32_t lba_count, nvme_cb_fn_t cb_fn, void *cb_arg) in nvme_ns_cmd_read() argument 39 lba_count * nvme_ns_get_sector_size(ns), M_NOWAIT, cb_fn, cb_arg); in nvme_ns_cmd_read() 52 nvme_cb_fn_t cb_fn, void *cb_arg) in nvme_ns_cmd_read_bio() argument 58 req = nvme_allocate_request_bio(bp, M_NOWAIT, cb_fn, cb_arg); in nvme_ns_cmd_read_bio() 72 uint32_t lba_count, nvme_cb_fn_t cb_fn, void *cb_arg) in nvme_ns_cmd_write() argument 77 lba_count * nvme_ns_get_sector_size(ns), M_NOWAIT, cb_fn, cb_arg); in nvme_ns_cmd_write() 90 nvme_cb_fn_t cb_fn, void *cb_arg) in nvme_ns_cmd_write_bio() argument 96 req = nvme_allocate_request_bio(bp, M_NOWAIT, cb_fn, cb_arg); in nvme_ns_cmd_write_bio() 110 uint8_t num_ranges, nvme_cb_fn_t cb_fn, void *cb_arg) in nvme_ns_cmd_deallocate() argument 117 cb_arg); in nvme_ns_cmd_deallocate() [all …]
|
| /src/contrib/unbound/util/storage/ |
| H A D | lruhash.c | 76 table->cb_arg = arg; in lruhash_create() 111 (*table->delkeyfunc)(p->key, table->cb_arg); in bin_delete() 112 (*table->deldatafunc)(d, table->cb_arg); in bin_delete() 306 struct lruhash_entry* entry, void* data, void* cb_arg) in lruhash_insert() argument 318 if(cb_arg == NULL) cb_arg = table->cb_arg; in lruhash_insert() 339 (*table->delkeyfunc)(entry->key, cb_arg); in lruhash_insert() 342 (*table->deldatafunc)(found->data, cb_arg); in lruhash_insert() 357 (*table->delkeyfunc)(reclaimlist->key, cb_arg); in lruhash_insert() 358 (*table->deldatafunc)(d, cb_arg); in lruhash_insert() 418 (*table->delkeyfunc)(entry->key, table->cb_arg); in lruhash_remove() [all …]
|
| /src/sys/dev/ocs_fc/ |
| H A D | ocs_hw.c | 5128 ocs_hw_fw_write_cb_arg_t *cb_arg; in ocs_hw_firmware_write_lancer() local 5142 cb_arg = ocs_malloc(hw->os, sizeof(ocs_hw_fw_write_cb_arg_t), OCS_M_NOWAIT); in ocs_hw_firmware_write_lancer() 5143 if (cb_arg == NULL) { in ocs_hw_firmware_write_lancer() 5149 cb_arg->cb = cb; in ocs_hw_firmware_write_lancer() 5150 cb_arg->arg = arg; in ocs_hw_firmware_write_lancer() 5154 rc = ocs_hw_command(hw, mbxdata, OCS_CMD_NOWAIT, ocs_hw_cb_fw_write, cb_arg); in ocs_hw_firmware_write_lancer() 5160 ocs_free(hw->os, cb_arg, sizeof(ocs_hw_fw_write_cb_arg_t)); in ocs_hw_firmware_write_lancer() 5189 ocs_hw_fw_write_cb_arg_t *cb_arg = arg; in ocs_hw_cb_fw_write() local 5200 if (cb_arg) { in ocs_hw_cb_fw_write() 5201 if (cb_arg->cb) { in ocs_hw_cb_fw_write() [all …]
|
| /src/crypto/openssl/crypto/bn/ |
| H A D | bn_depr.c | 24 void (*callback)(int, int, void *), void *cb_arg) in BN_generate_prime() argument 29 BN_GENCB_set_old(&cb, callback, cb_arg); in BN_generate_prime() 48 void *cb_arg) in BN_is_prime() argument 51 BN_GENCB_set_old(&cb, callback, cb_arg); in BN_is_prime() 57 BN_CTX *ctx_passed, void *cb_arg, in BN_is_prime_fasttest() argument 61 BN_GENCB_set_old(&cb, callback, cb_arg); in BN_is_prime_fasttest()
|
| /src/sys/dev/ufshci/ |
| H A D | ufshci_ctrlr_cmd.c | 12 ufshci_cb_fn_t cb_fn, void *cb_arg, uint8_t function, uint8_t lun, in ufshci_ctrlr_cmd_send_task_mgmt_request() argument 18 req = ufshci_allocate_request_vaddr(NULL, 0, M_NOWAIT, cb_fn, cb_arg); in ufshci_ctrlr_cmd_send_task_mgmt_request() 38 void *cb_arg) in ufshci_ctrlr_cmd_send_nop() argument 43 req = ufshci_allocate_request_vaddr(NULL, 0, M_WAITOK, cb_fn, cb_arg); in ufshci_ctrlr_cmd_send_nop() 58 ufshci_cb_fn_t cb_fn, void *cb_arg, struct ufshci_query_param param) in ufshci_ctrlr_cmd_send_query_request() argument 63 req = ufshci_allocate_request_vaddr(NULL, 0, M_WAITOK, cb_fn, cb_arg); in ufshci_ctrlr_cmd_send_query_request()
|
| H A D | ufshci_private.h | 71 void *cb_arg; member 476 ufshci_cb_fn_t cb_fn, void *cb_arg, uint8_t function, uint8_t lun, 479 ufshci_cb_fn_t cb_fn, void *cb_arg); 481 ufshci_cb_fn_t cb_fn, void *cb_arg, struct ufshci_query_param param); 483 ufshci_cb_fn_t cb_fn, void *cb_arg, uint8_t *cmd_ptr, uint8_t cmd_len, 595 _ufshci_allocate_request(const int how, ufshci_cb_fn_t cb_fn, void *cb_arg) in _ufshci_allocate_request() argument 605 req->cb_arg = cb_arg; in _ufshci_allocate_request() 612 const int how, ufshci_cb_fn_t cb_fn, void *cb_arg) in ufshci_allocate_request_vaddr() argument 616 req = _ufshci_allocate_request(how, cb_fn, cb_arg); in ufshci_allocate_request_vaddr() 628 ufshci_cb_fn_t cb_fn, void *cb_arg) in ufshci_allocate_request_bio() argument [all …]
|
| /src/sys/kern/ |
| H A D | subr_memdesc.c | 341 vaddr_ext_mbuf(memdesc_alloc_ext_mbuf_t *ext_alloc, void *cb_arg, int how, in vaddr_ext_mbuf() argument 345 return (ext_alloc(cb_arg, how, buf, len)); in vaddr_ext_mbuf() 423 paddr_ext_mbuf(memdesc_alloc_extpg_mbuf_t *extpg_alloc, void *cb_arg, int how, in paddr_ext_mbuf() argument 442 m = tail = extpg_alloc(cb_arg, how); in paddr_ext_mbuf() 448 tail->m_next = extpg_alloc(cb_arg, how); in paddr_ext_mbuf() 470 vlist_ext_mbuf(memdesc_alloc_ext_mbuf_t *ext_alloc, void *cb_arg, int how, in vlist_ext_mbuf() argument 495 n = ext_alloc(cb_arg, how, (char *)(uintptr_t)vlist->ds_addr + in vlist_ext_mbuf() 521 plist_ext_mbuf(memdesc_alloc_extpg_mbuf_t *extpg_alloc, void *cb_arg, int how, in plist_ext_mbuf() argument 538 m = tail = extpg_alloc(cb_arg, how); in plist_ext_mbuf() 579 tail->m_next = extpg_alloc(cb_arg, how); in plist_ext_mbuf() [all …]
|
| /src/crypto/openssh/ |
| H A D | atomicio.c | 52 int (*cb)(void *, size_t), void *cb_arg) in atomicio6() argument 71 if (cb != NULL && cb(cb_arg, 0) == -1) { in atomicio6() 86 if (cb != NULL && cb(cb_arg, (size_t)res) == -1) { in atomicio6() 107 int (*cb)(void *, size_t), void *cb_arg) in atomiciov6() argument 133 if (cb != NULL && cb(cb_arg, 0) == -1) { in atomiciov6() 166 if (cb != NULL && cb(cb_arg, (size_t)res) == -1) { in atomiciov6()
|
| /src/contrib/libdiff/test/ |
| H A D | test019.left.txt | 272 struct got_repository *repo, got_diff_blob_cb cb, void *cb_arg) 285 err = cb(cb_arg, NULL, blob, NULL, id, NULL, label, 0, mode, repo); 296 struct got_repository *repo, got_diff_blob_cb cb, void *cb_arg) 328 err = cb(cb_arg, blob1, blob2, id1, id2, label1, label2, mode1, mode2, 344 struct got_repository *repo, got_diff_blob_cb cb, void *cb_arg) 357 err = cb(cb_arg, blob, NULL, id, NULL, label, NULL, mode, 0, repo); 367 struct got_repository *repo, got_diff_blob_cb cb, void *cb_arg, 387 err = got_diff_tree(NULL, tree, NULL, label, repo, cb, cb_arg, 400 got_diff_blob_cb cb, void *cb_arg, int diff_content) 434 err = got_diff_tree(tree1, tree2, label1, label2, repo, cb, cb_arg, [all …]
|
| H A D | test019.right.txt | 315 struct got_repository *repo, got_diff_blob_cb cb, void *cb_arg) 328 err = cb(cb_arg, NULL, blob, NULL, id, NULL, label, 0, mode, repo); 339 struct got_repository *repo, got_diff_blob_cb cb, void *cb_arg) 371 err = cb(cb_arg, blob1, blob2, id1, id2, label1, label2, mode1, mode2, 387 struct got_repository *repo, got_diff_blob_cb cb, void *cb_arg) 400 err = cb(cb_arg, blob, NULL, id, NULL, label, NULL, mode, 0, repo); 410 struct got_repository *repo, got_diff_blob_cb cb, void *cb_arg, 430 err = got_diff_tree(NULL, tree, NULL, label, repo, cb, cb_arg, 443 got_diff_blob_cb cb, void *cb_arg, int diff_content) 477 err = got_diff_tree(tree1, tree2, label1, label2, repo, cb, cb_arg, [all …]
|
| H A D | test020.left.txt | 311 struct got_repository *repo, got_diff_blob_cb cb, void *cb_arg) 324 err = cb(cb_arg, NULL, blob, NULL, id, NULL, label, 0, mode, repo); 335 struct got_repository *repo, got_diff_blob_cb cb, void *cb_arg) 367 err = cb(cb_arg, blob1, blob2, id1, id2, label1, label2, mode1, mode2, 383 struct got_repository *repo, got_diff_blob_cb cb, void *cb_arg) 396 err = cb(cb_arg, blob, NULL, id, NULL, label, NULL, mode, 0, repo); 406 struct got_repository *repo, got_diff_blob_cb cb, void *cb_arg, 426 err = got_diff_tree(NULL, tree, NULL, label, repo, cb, cb_arg, 439 got_diff_blob_cb cb, void *cb_arg, int diff_content) 473 err = got_diff_tree(tree1, tree2, label1, label2, repo, cb, cb_arg, [all …]
|
| H A D | test020.right.txt | 346 struct got_repository *repo, got_diff_blob_cb cb, void *cb_arg) 359 err = cb(cb_arg, NULL, blob, NULL, id, NULL, label, 0, mode, repo); 370 struct got_repository *repo, got_diff_blob_cb cb, void *cb_arg) 402 err = cb(cb_arg, blob1, blob2, id1, id2, label1, label2, mode1, mode2, 418 struct got_repository *repo, got_diff_blob_cb cb, void *cb_arg) 431 err = cb(cb_arg, blob, NULL, id, NULL, label, NULL, mode, 0, repo); 441 struct got_repository *repo, got_diff_blob_cb cb, void *cb_arg, 461 err = got_diff_tree(NULL, tree, NULL, label, repo, cb, cb_arg, 474 got_diff_blob_cb cb, void *cb_arg, int diff_content) 508 err = got_diff_tree(tree1, tree2, label1, label2, repo, cb, cb_arg, [all …]
|
| /src/crypto/openssl/crypto/ |
| H A D | self_test_core.c | 30 void *cb_arg; member 98 ret->cb_arg = cbarg; in OSSL_SELF_TEST_new() 120 (void)st->cb(st->params, st->cb_arg); in OSSL_SELF_TEST_onbegin() 133 (void)st->cb(st->params, st->cb_arg); in OSSL_SELF_TEST_onend() 154 if (!st->cb(st->params, st->cb_arg)) { in OSSL_SELF_TEST_oncorrupt_byte()
|
| /src/contrib/unbound/util/ |
| H A D | netevent.h | 132 void* cb_arg; member 449 void *cb_arg; member 463 void* cb_arg; member 480 void* cb_arg; member 793 void (*cb)(void*), void* cb_arg); 836 void (*callback)(int, void*), void* cb_arg); 1004 size_t len, int flags, void* cb_arg); 1007 size_t len, int flags, void* cb_arg); 1010 uint32_t error_code, void* cb_arg);
|
| /src/sys/dev/nvmf/host/ |
| H A D | nvmf_cmd.c | 18 nvmf_request_complete_t *cb, void *cb_arg, int how) in nvmf_cmd_get_property() argument 38 req = nvmf_allocate_request(sc->admin, &cmd, cb, cb_arg, how); in nvmf_cmd_get_property() 46 uint64_t value, nvmf_request_complete_t *cb, void *cb_arg, int how) in nvmf_cmd_set_property() argument 68 req = nvmf_allocate_request(sc->admin, &cmd, cb, cb_arg, how); in nvmf_cmd_set_property() 76 void *cb_arg, int how) in nvmf_cmd_keep_alive() argument 84 req = nvmf_allocate_request(sc->admin, &cmd, cb, cb_arg, how); in nvmf_cmd_keep_alive()
|
| H A D | nvmf_var.h | 105 void *cb_arg; member 178 uint8_t size, nvmf_request_complete_t *cb, void *cb_arg, int how); 180 uint8_t size, uint64_t value, nvmf_request_complete_t *cb, void *cb_arg, 183 void *cb_arg, int how); 215 void *sqe, nvmf_request_complete_t *cb, void *cb_arg, int how);
|
| /src/contrib/unbound/testcode/ |
| H A D | fake_event.c | 91 void* cb_arg; member 378 void* cb_arg = pend->cb_arg; in answer_callback_from_entry() local 404 if((*cb)(&c, cb_arg, NETEVENT_NOERROR, &repinfo)) { in answer_callback_from_entry() 482 if((*runtime->callback_query)(repinfo.c, runtime->cb_arg, in fake_front_query() 501 void* cb_arg; in fake_pending_callback() local 506 cb_arg = p->cb_arg; in fake_pending_callback() 531 if((*cb)(&c, cb_arg, error, &repinfo)) { in fake_pending_callback() 583 (*t->cb)(t->cb_arg); in time_passes() 963 comm_point_callback_type* cb, void *cb_arg) in listen_create() argument 976 runtime->cb_arg = cb_arg; in listen_create() [all …]
|
| /src/cddl/contrib/opensolaris/common/ctf/ |
| H A D | ctf_labels.c | 140 linfo_cb_arg_t cb_arg; in ctf_label_info() local 143 cb_arg.lca_name = lname; in ctf_label_info() 144 cb_arg.lca_info = linfo; in ctf_label_info() 146 if ((rc = ctf_label_iter(fp, label_info_cb, &cb_arg)) == CTF_ERR) in ctf_label_info()
|
| /src/contrib/unbound/dynlibmod/ |
| H A D | dynlibmod.c | 219 …)(qinfo, qstate, rep, rcode, edns, opt_list_out, repinfo, region, start_time, id, cb_pair->cb_arg); in dynlib_inplace_cb_reply_generic() 227 …pe*) cb_pair->cb)(qinfo, flags, qstate, addr, addrlen, zone, zonelen, region, id, cb_pair->cb_arg); in dynlib_inplace_cb_query_generic() 233 return ((inplace_cb_edns_back_parsed_func_type*) cb_pair->cb)(qstate, id, cb_pair->cb_arg); in dynlib_inplace_cb_edns_back_parsed() 239 …return ((inplace_cb_query_response_func_type*) cb_pair->cb)(qstate, response, id, cb_pair->cb_arg); in dynlib_inplace_cb_query_response() 251 cb_pair->cb_arg = cbarg; in inplace_cb_register_wrapped() 276 free(temp->cb_arg); in inplace_cb_delete_wrapped() 282 free(temp->cb_arg); in inplace_cb_delete_wrapped()
|
| /src/contrib/unbound/services/ |
| H A D | outside_network.h | 330 void* cb_arg; member 412 void* cb_arg; member 436 void* cb_arg; member 674 void outnet_serviced_query_stop(struct serviced_query* sq, void* cb_arg); 763 comm_point_callback_type* cb, void* cb_arg, 785 comm_point_callback_type* cb, void* cb_arg, 808 comm_point_callback_type* cb, void* cb_arg,
|
| H A D | mesh.h | 257 typedef void (*mesh_cb_func_type)(void* cb_arg, int rcode, struct sldns_buffer*, 279 void* cb_arg; member 341 uint16_t qid, mesh_cb_func_type cb, void* cb_arg, int rpz_passthru); 571 struct sldns_buffer* buf, mesh_cb_func_type cb, void* cb_arg, 724 uint16_t qflags, mesh_cb_func_type cb, void* cb_arg);
|
| /src/contrib/ntp/sntp/libevent/ |
| H A D | evrpc.c | 123 void *cb_arg) in evrpc_add_hook() argument 143 hook->process_arg = cb_arg; in evrpc_add_hook() 229 void (*cb)(struct evrpc_req_generic *, void *), void *cb_arg) in evrpc_register_rpc() argument 235 rpc->cb_arg = cb_arg; in evrpc_register_rpc() 370 rpc->cb(rpc_state, rpc->cb_arg); in evrpc_request_cb_closure() 712 (*ctx->cb)(&status, ctx->request, ctx->reply, ctx->cb_arg); in evrpc_schedule_request() 757 (*ctx->cb)(&status, ctx->request, ctx->reply, ctx->cb_arg); in evrpc_schedule_request_closure() 846 ctx->cb_arg = cbarg; in evrpc_make_request_ctx() 940 (*ctx->cb)(&status, ctx->request, ctx->reply, ctx->cb_arg); in evrpc_reply_done_closure() 1082 void *cb_arg, in evrpc_send_request_generic() argument [all …]
|
| /src/contrib/libevent/ |
| H A D | evrpc.c | 123 void *cb_arg) in evrpc_add_hook() argument 143 hook->process_arg = cb_arg; in evrpc_add_hook() 229 void (*cb)(struct evrpc_req_generic *, void *), void *cb_arg) in evrpc_register_rpc() argument 235 rpc->cb_arg = cb_arg; in evrpc_register_rpc() 370 rpc->cb(rpc_state, rpc->cb_arg); in evrpc_request_cb_closure() 712 (*ctx->cb)(&status, ctx->request, ctx->reply, ctx->cb_arg); in evrpc_schedule_request() 757 (*ctx->cb)(&status, ctx->request, ctx->reply, ctx->cb_arg); in evrpc_schedule_request_closure() 846 ctx->cb_arg = cbarg; in evrpc_make_request_ctx() 940 (*ctx->cb)(&status, ctx->request, ctx->reply, ctx->cb_arg); in evrpc_reply_done_closure() 1082 void *cb_arg, in evrpc_send_request_generic() argument [all …]
|