/freebsd/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 | 115 void *cb_arg; member 357 nvme_cb_fn_t cb_fn, void *cb_arg); 360 nvme_cb_fn_t cb_fn, void *cb_arg); 365 void *cb_arg); 370 void *cb_arg); 375 void *cb_arg); 379 void *cb_arg); 382 nvme_cb_fn_t cb_fn, void *cb_arg); 385 nvme_cb_fn_t cb_fn, void *cb_arg); 388 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 …]
|
/freebsd/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 …]
|
/freebsd/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()
|
/freebsd/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 …]
|
/freebsd/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 …]
|
/freebsd/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()
|
/freebsd/crypto/openssl/crypto/ |
H A D | self_test_core.c | 31 void *cb_arg; member 109 ret->cb_arg = cbarg; in OSSL_SELF_TEST_new() 131 (void)st->cb(st->params, st->cb_arg); in OSSL_SELF_TEST_onbegin() 145 (void)st->cb(st->params, st->cb_arg); in OSSL_SELF_TEST_onend() 166 if (!st->cb(st->params, st->cb_arg)) { in OSSL_SELF_TEST_oncorrupt_byte()
|
/freebsd/contrib/unbound/util/ |
H A D | netevent.h | 132 void* cb_arg; member 447 void *cb_arg; member 461 void* cb_arg; member 478 void* cb_arg; member 784 void (*cb)(void*), void* cb_arg); 827 void (*callback)(int, void*), void* cb_arg); 993 size_t len, int flags, void* cb_arg); 996 size_t len, int flags, void* cb_arg); 999 uint32_t error_code, void* cb_arg);
|
/freebsd/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()
|
/freebsd/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); 761 comm_point_callback_type* cb, void* cb_arg, 783 comm_point_callback_type* cb, void* cb_arg, 806 comm_point_callback_type* cb, void* cb_arg,
|
H A D | mesh.h | 244 typedef void (*mesh_cb_func_type)(void* cb_arg, int rcode, struct sldns_buffer*, 266 void* cb_arg; member 328 uint16_t qid, mesh_cb_func_type cb, void* cb_arg, int rpz_passthru); 558 struct sldns_buffer* buf, mesh_cb_func_type cb, void* cb_arg,
|
/freebsd/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()
|
/freebsd/sys/dev/nvmf/host/ |
H A D | nvmf_var.h | 100 void *cb_arg; member 174 uint8_t size, nvmf_request_complete_t *cb, void *cb_arg, int how); 176 uint8_t size, uint64_t value, nvmf_request_complete_t *cb, void *cb_arg, 179 void *cb_arg, int how); 211 void *sqe, nvmf_request_complete_t *cb, void *cb_arg, int how);
|
/freebsd/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 …]
|
/freebsd/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 …]
|
/freebsd/crypto/openssl/crypto/dh/ |
H A D | dh_depr.c | 26 void (*callback) (int, int, void *), void *cb_arg) in DH_generate_parameters() argument 39 BN_GENCB_set_old(cb, callback, cb_arg); in DH_generate_parameters()
|
/freebsd/crypto/openssl/crypto/dsa/ |
H A D | dsa_depr.c | 35 void *cb_arg) in DSA_generate_parameters() argument 46 BN_GENCB_set_old(cb, callback, cb_arg); in DSA_generate_parameters()
|
/freebsd/crypto/openssl/crypto/rsa/ |
H A D | rsa_depr.c | 30 void (*callback) (int, int, void *), void *cb_arg) in RSA_generate_key() argument 50 BN_GENCB_set_old(cb, callback, cb_arg); in RSA_generate_key()
|
/freebsd/sys/dev/mlx5/mlx5_fpga/ |
H A D | conn.h | 46 void (*recv_cb)(void *cb_arg, struct mlx5_fpga_dma_buf *buf); 47 void *cb_arg; member
|
/freebsd/sys/dev/nvmf/ |
H A D | nvmf_transport.h | 76 nvmf_io_complete_t *complete_cb, void *cb_arg); 111 nvmf_io_complete_t *complete_cb, void *cb_arg);
|
H A D | nvmf_transport.c | 135 void *cb_arg) in nvmf_capsule_append_data() argument 144 nc->nc_data.io_complete_arg = cb_arg; in nvmf_capsule_append_data() 212 void *cb_arg) in nvmf_receive_controller_data() argument 219 io.io_complete_arg = cb_arg; in nvmf_receive_controller_data()
|
/freebsd/contrib/wpa/src/drivers/ |
H A D | driver_macsec_linux.c | 39 struct cb_arg { struct 51 struct cb_arg cb_arg; argument 165 memset(&ctx->cb_arg, 0, sizeof(ctx->cb_arg)); in init_genl_ctx() 166 ctx->cb_arg.drv = drv; in init_genl_ctx() 169 &ctx->cb_arg); in init_genl_ctx() 569 struct cb_arg *arg = (struct cb_arg *) argp; in dump_callback() 694 ctx->cb_arg.ifindex = drv->ifi; in do_dump() 695 ctx->cb_arg.rxsci = rxsci; in do_dump() 696 ctx->cb_arg.rxsa = rxsa; in do_dump() 697 ctx->cb_arg.txsa = txsa; in do_dump() [all …]
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | BN_generate_prime.pod | 30 void (*callback)(int, int, void *), void *cb_arg); 33 int (*callback)(int, int, BN_GENCB *), void *cb_arg); 43 void *cb_arg); 46 void (*callback)(int, int, void *), BN_CTX *ctx, void *cb_arg); 50 void *cb_arg, int do_trial_division); 175 type B<int (*callback)(int, int, BN_GENCB *)> and B<cb_arg> is a B<void *>. 182 style callbacks or B<callback(a, b, cb_arg)> for old style. 190 the B<cb_arg>. BN_is_prime() and BN_is_prime_fasttest()
|