Searched refs:cb_arg (Results 1 - 25 of 85) sorted by relevance

1234

/freebsd-head/sys/dev/nvme/
H A Dnvme_ctrlr_cmd.c36 nvme_cb_fn_t cb_fn, void *cb_arg)
42 sizeof(struct nvme_controller_data), cb_fn, cb_arg);
58 void *payload, nvme_cb_fn_t cb_fn, void *cb_arg)
64 sizeof(struct nvme_namespace_data), cb_fn, cb_arg);
79 struct nvme_qpair *io_que, nvme_cb_fn_t cb_fn, void *cb_arg)
84 req = nvme_allocate_request_null(cb_fn, cb_arg);
103 struct nvme_qpair *io_que, nvme_cb_fn_t cb_fn, void *cb_arg)
108 req = nvme_allocate_request_null(cb_fn, cb_arg);
127 struct nvme_qpair *io_que, nvme_cb_fn_t cb_fn, void *cb_arg)
132 req = nvme_allocate_request_null(cb_fn, cb_arg);
35 nvme_ctrlr_cmd_identify_controller(struct nvme_controller *ctrlr, void *payload, nvme_cb_fn_t cb_fn, void *cb_arg) argument
57 nvme_ctrlr_cmd_identify_namespace(struct nvme_controller *ctrlr, uint32_t nsid, void *payload, nvme_cb_fn_t cb_fn, void *cb_arg) argument
78 nvme_ctrlr_cmd_create_io_cq(struct nvme_controller *ctrlr, struct nvme_qpair *io_que, nvme_cb_fn_t cb_fn, void *cb_arg) argument
102 nvme_ctrlr_cmd_create_io_sq(struct nvme_controller *ctrlr, struct nvme_qpair *io_que, nvme_cb_fn_t cb_fn, void *cb_arg) argument
126 nvme_ctrlr_cmd_delete_io_cq(struct nvme_controller *ctrlr, struct nvme_qpair *io_que, nvme_cb_fn_t cb_fn, void *cb_arg) argument
147 nvme_ctrlr_cmd_delete_io_sq(struct nvme_controller *ctrlr, struct nvme_qpair *io_que, nvme_cb_fn_t cb_fn, void *cb_arg) argument
168 nvme_ctrlr_cmd_set_feature(struct nvme_controller *ctrlr, uint8_t feature, uint32_t cdw11, void *payload, uint32_t payload_size, nvme_cb_fn_t cb_fn, void *cb_arg) argument
186 nvme_ctrlr_cmd_get_feature(struct nvme_controller *ctrlr, uint8_t feature, uint32_t cdw11, void *payload, uint32_t payload_size, nvme_cb_fn_t cb_fn, void *cb_arg) argument
204 nvme_ctrlr_cmd_set_num_queues(struct nvme_controller *ctrlr, uint32_t num_queues, nvme_cb_fn_t cb_fn, void *cb_arg) argument
215 nvme_ctrlr_cmd_set_async_event_config(struct nvme_controller *ctrlr, uint32_t state, nvme_cb_fn_t cb_fn, void *cb_arg) argument
227 nvme_ctrlr_cmd_set_interrupt_coalescing(struct nvme_controller *ctrlr, uint32_t microseconds, uint32_t threshold, nvme_cb_fn_t cb_fn, void *cb_arg) argument
252 nvme_ctrlr_cmd_get_log_page(struct nvme_controller *ctrlr, uint8_t log_page, uint32_t nsid, void *payload, uint32_t payload_size, nvme_cb_fn_t cb_fn, void *cb_arg) argument
272 nvme_ctrlr_cmd_get_error_page(struct nvme_controller *ctrlr, struct nvme_error_information_entry *payload, uint32_t num_entries, nvme_cb_fn_t cb_fn, void *cb_arg) argument
293 nvme_ctrlr_cmd_get_health_information_page(struct nvme_controller *ctrlr, uint32_t nsid, struct nvme_health_information_page *payload, nvme_cb_fn_t cb_fn, void *cb_arg) argument
303 nvme_ctrlr_cmd_get_firmware_page(struct nvme_controller *ctrlr, struct nvme_firmware_page *payload, nvme_cb_fn_t cb_fn, void *cb_arg) argument
313 nvme_ctrlr_cmd_abort(struct nvme_controller *ctrlr, uint16_t cid, uint16_t sqid, nvme_cb_fn_t cb_fn, void *cb_arg) argument
[all...]
H A Dnvme_ns_cmd.c36 uint32_t lba_count, nvme_cb_fn_t cb_fn, void *cb_arg)
41 lba_count*nvme_ns_get_sector_size(ns), cb_fn, cb_arg);
55 nvme_cb_fn_t cb_fn, void *cb_arg)
61 req = nvme_allocate_request_bio(bp, cb_fn, cb_arg);
77 uint32_t lba_count, nvme_cb_fn_t cb_fn, void *cb_arg)
82 lba_count*nvme_ns_get_sector_size(ns), cb_fn, cb_arg);
96 nvme_cb_fn_t cb_fn, void *cb_arg)
102 req = nvme_allocate_request_bio(bp, cb_fn, cb_arg);
117 uint8_t num_ranges, nvme_cb_fn_t cb_fn, void *cb_arg)
123 num_ranges * sizeof(struct nvme_dsm_range), cb_fn, cb_arg);
35 nvme_ns_cmd_read(struct nvme_namespace *ns, void *payload, uint64_t lba, uint32_t lba_count, nvme_cb_fn_t cb_fn, void *cb_arg) argument
54 nvme_ns_cmd_read_bio(struct nvme_namespace *ns, struct bio *bp, nvme_cb_fn_t cb_fn, void *cb_arg) argument
76 nvme_ns_cmd_write(struct nvme_namespace *ns, void *payload, uint64_t lba, uint32_t lba_count, nvme_cb_fn_t cb_fn, void *cb_arg) argument
95 nvme_ns_cmd_write_bio(struct nvme_namespace *ns, struct bio *bp, nvme_cb_fn_t cb_fn, void *cb_arg) argument
116 nvme_ns_cmd_deallocate(struct nvme_namespace *ns, void *payload, uint8_t num_ranges, nvme_cb_fn_t cb_fn, void *cb_arg) argument
142 nvme_ns_cmd_flush(struct nvme_namespace *ns, nvme_cb_fn_t cb_fn, void *cb_arg) argument
[all...]
H A Dnvme_private.h146 void *cb_arg; member in struct:nvme_request
356 nvme_cb_fn_t cb_fn, void *cb_arg);
359 nvme_cb_fn_t cb_fn, void *cb_arg);
364 void *cb_arg);
369 void *cb_arg);
374 void *cb_arg);
378 void *cb_arg);
381 nvme_cb_fn_t cb_fn, void *cb_arg);
384 nvme_cb_fn_t cb_fn, void *cb_arg);
387 nvme_cb_fn_t cb_fn, void *cb_arg);
482 _nvme_allocate_request(nvme_cb_fn_t cb_fn, void *cb_arg) argument
496 nvme_allocate_request_vaddr(void *payload, uint32_t payload_size, nvme_cb_fn_t cb_fn, void *cb_arg) argument
511 nvme_allocate_request_null(nvme_cb_fn_t cb_fn, void *cb_arg) argument
522 nvme_allocate_request_bio(struct bio *bio, nvme_cb_fn_t cb_fn, void *cb_arg) argument
535 nvme_allocate_request_ccb(union ccb *ccb, nvme_cb_fn_t cb_fn, void *cb_arg) argument
[all...]
/freebsd-head/crypto/openssl/crypto/bn/
H A Dbn_depr.c27 void (*callback) (int, int, void *), void *cb_arg)
32 BN_GENCB_set_old(&cb, callback, cb_arg);
51 void *cb_arg)
54 BN_GENCB_set_old(&cb, callback, cb_arg);
60 BN_CTX *ctx_passed, void *cb_arg,
64 BN_GENCB_set_old(&cb, callback, cb_arg);
25 BN_generate_prime(BIGNUM *ret, int bits, int safe, const BIGNUM *add, const BIGNUM *rem, void (*callback) (int, int, void *), void *cb_arg) argument
49 BN_is_prime(const BIGNUM *a, int checks, void (*callback) (int, int, void *), BN_CTX *ctx_passed, void *cb_arg) argument
58 BN_is_prime_fasttest(const BIGNUM *a, int checks, void (*callback) (int, int, void *), BN_CTX *ctx_passed, void *cb_arg, int do_trial_division) argument
/freebsd-head/crypto/openssl/crypto/dh/
H A Ddh_depr.c23 void (*callback) (int, int, void *), void *cb_arg)
36 BN_GENCB_set_old(cb, callback, cb_arg);
/freebsd-head/crypto/openssl/crypto/dsa/
H A Ddsa_depr.c39 void *cb_arg)
50 BN_GENCB_set_old(cb, callback, cb_arg);
/freebsd-head/contrib/ntp/sntp/libevent/include/event2/
H A Drpc_struct.h90 void *cb_arg; member in struct:evrpc
H A Dhttp_struct.h115 void *cb_arg; member in struct:evhttp_request
/freebsd-head/contrib/libevent/include/event2/
H A Drpc_struct.h90 void *cb_arg; member in struct:evrpc
H A Dhttp_struct.h115 void *cb_arg; member in struct:evhttp_request
/freebsd-head/crypto/openssl/crypto/rsa/
H A Drsa_depr.c28 void (*callback) (int, int, void *), void *cb_arg)
48 BN_GENCB_set_old(cb, callback, cb_arg);
/freebsd-head/cddl/contrib/opensolaris/common/ctf/
H A Dctf_labels.c140 linfo_cb_arg_t cb_arg; local
143 cb_arg.lca_name = lname;
144 cb_arg.lca_info = linfo;
146 if ((rc = ctf_label_iter(fp, label_info_cb, &cb_arg)) == CTF_ERR)
/freebsd-head/crypto/openssh/
H A Datomicio.c53 int (*cb)(void *, size_t), void *cb_arg)
82 if (cb != NULL && cb(cb_arg, (size_t)res) == -1) {
103 int (*cb)(void *, size_t), void *cb_arg)
157 if (cb != NULL && cb(cb_arg, (size_t)res) == -1) {
52 atomicio6(ssize_t (f) int, void *, size_t), int fd, void *_s, size_t n, int (*cb)(void *, size_t), void *cb_arg) argument
101 atomiciov6(ssize_t (f) int, const struct iovec *, int), int fd, const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *cb_arg) argument
/freebsd-head/sys/dev/mlx5/mlx5_fpga/
H A Dtrans.h64 void mlx5_fpga_trans_recv(void *cb_arg, struct mlx5_fpga_dma_buf *buf);
H A Dconn.h48 void (*recv_cb)(void *cb_arg, struct mlx5_fpga_dma_buf *buf);
49 void *cb_arg; member in struct:mlx5_fpga_conn
H A Dsdk.h142 * @cb_arg: The value provided in mlx5_fpga_conn_attr.cb_arg
150 void (*recv_cb)(void *cb_arg, struct mlx5_fpga_dma_buf *buf);
151 void *cb_arg; member in struct:mlx5_fpga_conn_attr
/freebsd-head/sys/dev/ocs_fc/
H A Docs_hw.c5128 ocs_hw_fw_write_cb_arg_t *cb_arg; local
5142 cb_arg = ocs_malloc(hw->os, sizeof(ocs_hw_fw_write_cb_arg_t), OCS_M_NOWAIT);
5143 if (cb_arg == NULL) {
5144 ocs_log_err(hw->os, "failed to malloc cb_arg\n");
5149 cb_arg->cb = cb;
5150 cb_arg->arg = arg;
5154 rc = ocs_hw_command(hw, mbxdata, OCS_CMD_NOWAIT, ocs_hw_cb_fw_write, cb_arg);
5160 ocs_free(hw->os, cb_arg, sizeof(ocs_hw_fw_write_cb_arg_t));
5189 ocs_hw_fw_write_cb_arg_t *cb_arg = arg; local
5200 if (cb_arg) {
5235 ocs_hw_sfp_cb_arg_t *cb_arg = arg; local
5274 ocs_hw_sfp_cb_arg_t *cb_arg; local
5334 ocs_hw_temp_cb_arg_t *cb_arg; local
5387 ocs_hw_temp_cb_arg_t *cb_arg = arg; local
5438 ocs_hw_link_stat_cb_arg_t *cb_arg; local
5493 ocs_hw_link_stat_cb_arg_t *cb_arg = arg; local
5574 ocs_hw_host_stat_cb_arg_t *cb_arg; local
5630 ocs_hw_host_stat_cb_arg_t *cb_arg = arg; local
5859 ocs_hw_linkcfg_cb_arg_t *cb_arg; local
5925 ocs_hw_linkcfg_cb_arg_t *cb_arg = (ocs_hw_linkcfg_cb_arg_t *)arg; local
5958 ocs_hw_linkcfg_cb_arg_t *cb_arg; local
6051 ocs_hw_linkcfg_cb_arg_t *cb_arg; local
6117 ocs_hw_linkcfg_cb_arg_t *cb_arg = (ocs_hw_linkcfg_cb_arg_t *)arg; local
6154 ocs_hw_linkcfg_cb_arg_t *cb_arg; local
6478 ocs_hw_linkcfg_cb_arg_t *cb_arg = (ocs_hw_linkcfg_cb_arg_t *)arg; local
6683 ocs_hw_clp_cb_arg_t *cb_arg; local
6757 ocs_hw_clp_cb_arg_t *cb_arg = arg; local
6936 ocs_hw_dump_get_cb_arg_t *cb_arg = arg; local
6984 ocs_hw_dump_get_cb_arg_t *cb_arg; local
7055 ocs_hw_dump_clear_cb_arg_t *cb_arg = arg; local
7095 ocs_hw_dump_clear_cb_arg_t *cb_arg; local
7160 ocs_hw_get_port_protocol_cb_arg_t *cb_arg = arg; local
7234 ocs_hw_get_port_protocol_cb_arg_t *cb_arg; local
7313 ocs_hw_set_port_protocol_cb_arg_t *cb_arg = arg; local
7352 ocs_hw_set_port_protocol_cb_arg_t *cb_arg = arg; local
7532 ocs_hw_set_port_protocol_cb_arg_t *cb_arg; local
7610 ocs_hw_get_profile_list_cb_arg_t *cb_arg = arg; local
7668 ocs_hw_get_profile_list_cb_arg_t *cb_arg; local
7736 ocs_hw_get_active_profile_cb_arg_t *cb_arg = arg; local
7778 ocs_hw_get_active_profile_cb_arg_t *cb_arg; local
7836 ocs_hw_get_nvparms_cb_arg_t *cb_arg = arg; local
7875 ocs_hw_get_nvparms_cb_arg_t *cb_arg; local
7928 ocs_hw_set_nvparms_cb_arg_t *cb_arg = arg; local
7973 ocs_hw_set_nvparms_cb_arg_t *cb_arg; local
8103 ocs_hw_set_active_profile_cb_arg_t *cb_arg = arg; local
8139 ocs_hw_set_active_profile_cb_arg_t *cb_arg; local
[all...]
/freebsd-head/contrib/unbound/util/storage/
H A Dlruhash.c76 table->cb_arg = arg;
110 (*table->delkeyfunc)(p->key, table->cb_arg);
111 (*table->deldatafunc)(d, table->cb_arg);
301 struct lruhash_entry* entry, void* data, void* cb_arg)
312 if(cb_arg == NULL) cb_arg = table->cb_arg;
331 (*table->delkeyfunc)(entry->key, cb_arg);
334 (*table->deldatafunc)(found->data, cb_arg);
349 (*table->delkeyfunc)(reclaimlist->key, cb_arg);
300 lruhash_insert(struct lruhash* table, hashvalue_type hash, struct lruhash_entry* entry, void* data, void* cb_arg) argument
576 lruhash_insert_or_retrieve(struct lruhash* table, hashvalue_type hash, struct lruhash_entry* entry, void* data, void* cb_arg) argument
[all...]
H A Dlruhash.h161 void* cb_arg; member in struct:lruhash
270 * @param cb_override: if not null overrides the cb_arg for the deletefunc.
329 * @param cb_arg: if not null overrides the cb_arg for the deletefunc.
334 struct lruhash_entry* entry, void* data, void* cb_arg);
/freebsd-head/contrib/unbound/services/
H A Doutside_network.h229 void* cb_arg; member in struct:pending
290 void* cb_arg; member in struct:waiting_tcp
306 void* cb_arg; member in struct:service_callback
519 * @param cb_arg: callback argument of callback that needs removal.
522 void outnet_serviced_query_stop(struct serviced_query* sq, void* cb_arg);
550 * @param cb_arg: callback argument for cb.
556 comm_point_callback_type* cb, void* cb_arg,
565 * @param cb_arg: callback argument for cb.
578 comm_point_callback_type* cb, void* cb_arg,
588 * @param cb_arg
[all...]
/freebsd-head/contrib/ntp/lib/isc/include/isc/
H A Dhttpd.h42 isc_httpdondestroy_t *ondestory, void *cb_arg,
/freebsd-head/contrib/unbound/util/
H A Dnetevent.h107 void* cb_arg; member in struct:comm_base
315 void *cb_arg; member in struct:comm_point
329 void* cb_arg; member in struct:comm_timer
346 void* cb_arg; member in struct:comm_signal
598 * @param cb_arg: user callback argument.
602 void (*cb)(void*), void* cb_arg);
641 * @param cb_arg: user argument to callback
645 void (*callback)(int, void*), void* cb_arg);
/freebsd-head/contrib/amd/amd/
H A Dsched.c57 opaque_t cb_arg; /* Argument for callback */ member in struct:pjob
97 p->cb_arg = ca;
245 p->cb_arg);
/freebsd-head/contrib/ntp/sntp/libevent/
H A Devrpc.c123 void *cb_arg)
143 hook->process_arg = cb_arg;
229 void (*cb)(struct evrpc_req_generic *, void *), void *cb_arg)
235 rpc->cb_arg = cb_arg;
369 rpc->cb(rpc_state, rpc->cb_arg);
711 (*ctx->cb)(&status, ctx->request, ctx->reply, ctx->cb_arg);
756 (*ctx->cb)(&status, ctx->request, ctx->reply, ctx->cb_arg);
845 ctx->cb_arg = cbarg;
940 (*ctx->cb)(&status, ctx->request, ctx->reply, ctx->cb_arg);
120 evrpc_add_hook(void *vbase, enum EVRPC_HOOK_TYPE hook_type, int (*cb)(void *, struct evhttp_request *, struct evbuffer *, void *), void *cb_arg) argument
228 evrpc_register_rpc(struct evrpc_base *base, struct evrpc *rpc, void (*cb)(struct evrpc_req_generic *, void *), void *cb_arg) argument
1079 evrpc_send_request_generic(struct evrpc_pool *pool, void *request, void *reply, void (*cb)(struct evrpc_status *, void *, void *, void *), void *cb_arg, const char *rpcname, void (*req_marshal)(struct evbuffer *, void *), void (*rpl_clear)(void *), int (*rpl_unmarshal)(void *, struct evbuffer *)) argument
1165 evrpc_request_set_cb(struct evrpc_request_wrapper *ctx, void (*cb)(struct evrpc_status*, void *request, void *reply, void *arg), void *cb_arg) argument
[all...]
/freebsd-head/contrib/libevent/
H A Devrpc.c123 void *cb_arg)
143 hook->process_arg = cb_arg;
229 void (*cb)(struct evrpc_req_generic *, void *), void *cb_arg)
235 rpc->cb_arg = cb_arg;
369 rpc->cb(rpc_state, rpc->cb_arg);
711 (*ctx->cb)(&status, ctx->request, ctx->reply, ctx->cb_arg);
756 (*ctx->cb)(&status, ctx->request, ctx->reply, ctx->cb_arg);
845 ctx->cb_arg = cbarg;
940 (*ctx->cb)(&status, ctx->request, ctx->reply, ctx->cb_arg);
120 evrpc_add_hook(void *vbase, enum EVRPC_HOOK_TYPE hook_type, int (*cb)(void *, struct evhttp_request *, struct evbuffer *, void *), void *cb_arg) argument
228 evrpc_register_rpc(struct evrpc_base *base, struct evrpc *rpc, void (*cb)(struct evrpc_req_generic *, void *), void *cb_arg) argument
1079 evrpc_send_request_generic(struct evrpc_pool *pool, void *request, void *reply, void (*cb)(struct evrpc_status *, void *, void *, void *), void *cb_arg, const char *rpcname, void (*req_marshal)(struct evbuffer *, void *), void (*rpl_clear)(void *), int (*rpl_unmarshal)(void *, struct evbuffer *)) argument
1165 evrpc_request_set_cb(struct evrpc_request_wrapper *ctx, void (*cb)(struct evrpc_status*, void *request, void *reply, void *arg), void *cb_arg) argument
[all...]

Completed in 447 milliseconds

1234