Home
last modified time | relevance | path

Searched refs:cbarg (Results 1 – 25 of 102) sorted by relevance

12345

/freebsd/sys/dev/ocs_fc/
H A Docs_els.h65 … *ocs_send_scr(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb, void *cbarg);
71 void *port_ids, uint32_t port_ids_count, els_cb_t cb, void *cbarg);
75 extern ocs_io_t *ocs_send_ls_acc(ocs_io_t *io, uint32_t ox_id, els_cb_t cb, void *cbarg);
77 uint32_t vendor_unique, els_cb_t cb, void *cbarg);
78 …o_t *ocs_send_flogi_p2p_acc(ocs_io_t *io, uint32_t ox_id, uint32_t s_id, els_cb_t cb, void *cbarg);
79 …o_t *ocs_send_flogi_acc(ocs_io_t *io, uint32_t ox_id, uint32_t is_fport, els_cb_t cb, void *cbarg);
80 extern ocs_io_t *ocs_send_plogi_acc(ocs_io_t *io, uint32_t ox_id, els_cb_t cb, void *cbarg);
81 …s_io_t *ocs_send_prli_acc(ocs_io_t *io, uint32_t ox_id, uint8_t fc_type, els_cb_t cb, void *cbarg);
82 extern ocs_io_t *ocs_send_logo_acc(ocs_io_t *io, uint32_t ox_id, els_cb_t cb, void *cbarg);
83 …s_io_t *ocs_send_prlo_acc(ocs_io_t *io, uint32_t ox_id, uint8_t fc_type, els_cb_t cb, void *cbarg);
[all …]
H A Docs_els.c667 els_cb_t cb, void *cbarg) in ocs_send_flogi() argument
727 els_cb_t cb, void *cbarg) in ocs_send_fdisc() argument
783 els_cb_t cb, void *cbarg) in ocs_send_prli() argument
846 els_cb_t cb, void *cbarg) in ocs_send_prlo() argument
899 els_cb_t cb, void *cbarg) in ocs_send_logo() argument
958 els_cb_t cb, void *cbarg) in ocs_send_adisc() argument
1021 els_cb_t cb, void *cbarg) in ocs_send_pdisc() argument
1071 els_cb_t cb, void *cbarg) in ocs_send_scr() argument
1120 els_cb_t cb, void *cbarg) in ocs_send_rrq() argument
1708 els_cb_t cb, void *cbarg) in ocs_ns_send_rftid() argument
[all …]
/freebsd/usr.sbin/bluetooth/btpand/
H A Devent.h54 void *cbarg; member
80 #define event_set(ev, fd, flags, cb, cbarg) \ argument
87 #define evtimer_set(ev, cb, cbarg) \ argument
94 void (*cb)(int, short, void *), void *cbarg) in _event_set() argument
97 file, line, ev, fd, flags, cb, cbarg); in _event_set()
102 __event_set(ev, fd, flags, cb, cbarg); in _event_set()
110 ev->cbarg, timeout); in _event_add()
135 #define event_set(ev, fd, flags, cb, cbarg) \ argument
136 __event_set(ev, fd, flags, cb, cbarg)
142 #define evtimer_set(ev, cb, cbarg) \ argument
[all …]
H A Devent.c173 ev->cbarg, ev); in __event_dispatch()
177 ev->cbarg); in __event_dispatch()
195 __func__, ev->cb, ev->fd, ev->cbarg, ev); in __event_dispatch()
199 ev->cbarg); in __event_dispatch()
213 void (*cb)(int, short, void *), void *cbarg) in __event_set() argument
218 ev->cbarg = cbarg; in __event_set()
/freebsd/crypto/openssl/crypto/
H A Dself_test_core.c18 void *cbarg; member
61 void *cbarg) in OSSL_SELF_TEST_set_callback() argument
67 stcb->cbarg = cbarg; in OSSL_SELF_TEST_set_callback()
72 void **cbarg) in OSSL_SELF_TEST_get_callback() argument
78 if (cbarg != NULL) in OSSL_SELF_TEST_get_callback()
79 *cbarg = (stcb != NULL ? stcb->cbarg : NULL); in OSSL_SELF_TEST_get_callback()
101 OSSL_SELF_TEST *OSSL_SELF_TEST_new(OSSL_CALLBACK *cb, void *cbarg) in OSSL_SELF_TEST_new() argument
109 ret->cb_arg = cbarg; in OSSL_SELF_TEST_new()
H A Dpassphrase.c55 pem_password_cb *cb, void *cbarg) in ossl_pw_set_pem_password_cb() argument
64 data->_.pem_password.password_cbarg = cbarg; in ossl_pw_set_pem_password_cb()
69 OSSL_PASSPHRASE_CALLBACK *cb, void *cbarg) in ossl_pw_set_ossl_passphrase_cb() argument
78 data->_.ossl_passphrase.passphrase_cbarg = cbarg; in ossl_pw_set_ossl_passphrase_cb()
245 void *cbarg = data->_.ossl_passphrase.passphrase_cbarg; in ossl_pw_get_passphrase() local
247 ret = cb(pass, pass_size, pass_len, params, cbarg); in ossl_pw_get_passphrase()
/freebsd/contrib/ntp/sntp/libevent/include/event2/
H A Drpc.h189 struct reqstruct *, struct rplystruct *, void *cbarg), \
203 void *cbarg);
220 pool, request, reply, cb, cbarg) \ argument
227 cbarg)
243 struct reqstruct *, struct rplystruct *, void *cbarg), \
244 void *cbarg) { \
247 cbarg, \
330 #define EVRPC_REGISTER(base, name, request, reply, callback, cbarg) \ argument
332 (void (*)(struct evrpc_req_generic *, void *))callback, cbarg, \
387 #define EVRPC_MAKE_REQUEST(name, pool, request, reply, cb, cbarg) \ argument
[all …]
/freebsd/contrib/libevent/include/event2/
H A Drpc.h189 struct reqstruct *, struct rplystruct *, void *cbarg), \
203 void *cbarg);
220 pool, request, reply, cb, cbarg) \ argument
227 cbarg)
243 struct reqstruct *, struct rplystruct *, void *cbarg), \
244 void *cbarg) { \
247 cbarg, \
330 #define EVRPC_REGISTER(base, name, request, reply, callback, cbarg) \ argument
332 (void (*)(struct evrpc_req_generic *, void *))callback, cbarg, \
387 #define EVRPC_MAKE_REQUEST(name, pool, request, reply, cb, cbarg) \ argument
[all …]
/freebsd/crypto/openssl/crypto/dsa/
H A Ddsa_key.c32 static int dsa_keygen_pairwise_test(DSA *dsa, OSSL_CALLBACK *cb, void *cbarg);
113 void *cbarg = NULL; in dsa_keygen() local
115 OSSL_SELF_TEST_get_callback(dsa->libctx, &cb, &cbarg); in dsa_keygen()
116 ok = dsa_keygen_pairwise_test(dsa, cb, cbarg); in dsa_keygen()
143 static int dsa_keygen_pairwise_test(DSA *dsa, OSSL_CALLBACK *cb, void *cbarg) in dsa_keygen_pairwise_test() argument
151 st = OSSL_SELF_TEST_new(cb, cbarg); in dsa_keygen_pairwise_test()
/freebsd/contrib/ntp/sntp/libevent/
H A Dbufferevent.c167 bufev->readcb(bufev, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked()
172 bufev->writecb(bufev, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked()
200 void *cbarg = bufev->cbarg; in bufferevent_run_deferred_callbacks_unlocked() local
206 void *cbarg = bufev->cbarg; in bufferevent_run_deferred_callbacks_unlocked() local
208 UNLOCKED(readcb(bufev, cbarg)); in bufferevent_run_deferred_callbacks_unlocked()
213 void *cbarg = bufev->cbarg; in bufferevent_run_deferred_callbacks_unlocked() local
215 UNLOCKED(writecb(bufev, cbarg)); in bufferevent_run_deferred_callbacks_unlocked()
219 void *cbarg = bufev->cbarg; in bufferevent_run_deferred_callbacks_unlocked() local
251 bufev->readcb(bufev, bufev->cbarg); in bufferevent_run_readcb_()
399 bufev->cbarg = cbarg; in bufferevent_setcb()
[all …]
/freebsd/contrib/libevent/
H A Dbufferevent.c167 bufev->readcb(bufev, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked()
172 bufev->writecb(bufev, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked()
200 void *cbarg = bufev->cbarg; in bufferevent_run_deferred_callbacks_unlocked() local
206 void *cbarg = bufev->cbarg; in bufferevent_run_deferred_callbacks_unlocked() local
208 UNLOCKED(readcb(bufev, cbarg)); in bufferevent_run_deferred_callbacks_unlocked()
213 void *cbarg = bufev->cbarg; in bufferevent_run_deferred_callbacks_unlocked() local
215 UNLOCKED(writecb(bufev, cbarg)); in bufferevent_run_deferred_callbacks_unlocked()
219 void *cbarg = bufev->cbarg; in bufferevent_run_deferred_callbacks_unlocked() local
251 bufev->readcb(bufev, bufev->cbarg); in bufferevent_run_readcb_()
399 bufev->cbarg = cbarg; in bufferevent_setcb()
[all …]
/freebsd/contrib/pf/libevent/
H A Dbuffer.c112 (*inbuf->cb)(inbuf, oldoff, inbuf->off, inbuf->cbarg); in evbuffer_add_buffer()
114 (*outbuf->cb)(outbuf, 0, oldoff, outbuf->cbarg); in evbuffer_add_buffer()
160 (*buf->cb)(buf, oldoff, buf->off, buf->cbarg); in evbuffer_add_vprintf()
308 (*buf->cb)(buf, oldoff, buf->off, buf->cbarg); in evbuffer_add()
333 (*buf->cb)(buf, oldoff, buf->off, buf->cbarg); in evbuffer_drain()
399 (*buf->cb)(buf, oldoff, buf->off, buf->cbarg); in evbuffer_read()
452 void *cbarg) in evbuffer_setcb() argument
455 buffer->cbarg = cbarg; in evbuffer_setcb()
H A Devbuffer.c140 (*bufev->readcb)(bufev, bufev->cbarg); in bufferevent_readcb()
148 (*bufev->errorcb)(bufev, what, bufev->cbarg); in bufferevent_readcb()
197 (*bufev->writecb)(bufev, bufev->cbarg); in bufferevent_writecb()
207 (*bufev->errorcb)(bufev, what, bufev->cbarg); in bufferevent_writecb()
223 everrorcb errorcb, void *cbarg) in bufferevent_new() argument
248 bufev->cbarg = cbarg; in bufferevent_new()
/freebsd/sys/dev/hyperv/netvsc/
H A Dhn_nvs.h45 #define HN_NVS_SENDCTX_INITIALIZER(cb, cbarg) \ argument
48 .hn_cbarg = cbarg \
52 hn_nvs_sendctx_init(struct hn_nvs_sendctx *sndc, hn_nvs_sent_t cb, void *cbarg) in hn_nvs_sendctx_init() argument
56 sndc->hn_cbarg = cbarg; in hn_nvs_sendctx_init()
/freebsd/sys/dev/hyperv/vmbus/
H A Dvmbus_br.c339 err = cb((void *)(br_data + windex), fraglen, cbarg); in vmbus_txbr_copyto_call()
341 err = cb((void *)br_data, cplen - fraglen, cbarg); in vmbus_txbr_copyto_call()
343 err = cb((void *)(br_data + windex), cplen, cbarg); in vmbus_txbr_copyto_call()
365 vmbus_br_copy_callback_t cb, void *cbarg, in vmbus_txbr_write_call() argument
403 iov[i].iov_len, cb, cbarg, &cb_ret); in vmbus_txbr_write_call()
525 int cplen, vmbus_br_copy_callback_t cb, void *cbarg) in vmbus_rxbr_copyfrom_call() argument
535 error = cb((void *)(br_data + rindex), fraglen, cbarg); in vmbus_rxbr_copyfrom_call()
537 error = cb((void *)br_data, cplen - fraglen, cbarg); in vmbus_rxbr_copyfrom_call()
539 error = cb((void *)(br_data + rindex), cplen, cbarg); in vmbus_rxbr_copyfrom_call()
573 vmbus_br_copy_callback_t cb, void *cbarg) in vmbus_rxbr_peek_call() argument
[all …]
/freebsd/crypto/openssl/include/openssl/
H A Dself_test.h77 void *cbarg);
79 void **cbarg);
81 OSSL_SELF_TEST *OSSL_SELF_TEST_new(OSSL_CALLBACK *cb, void *cbarg);
/freebsd/sys/dev/hyperv/include/
H A Dvmbus.h172 vmbus_chan_callback_t cb, void *cbarg);
175 int udlen, vmbus_chan_callback_t cb, void *cbarg);
214 vmbus_br_copy_callback_t cb, void *cbarg);
226 vmbus_br_copy_callback_t cb, void *cbarg);
/freebsd/sys/contrib/openzfs/include/sys/
H A Ddsl_prop.h74 dsl_prop_changed_cb_t *callback, void *cbarg);
76 dsl_prop_changed_cb_t *callback, void *cbarg);
77 void dsl_prop_unregister_all(struct dsl_dataset *ds, void *cbarg);
/freebsd/crypto/openssl/include/internal/
H A Dpassphrase.h94 pem_password_cb *cb, void *cbarg);
96 OSSL_PASSPHRASE_CALLBACK *cb, void *cbarg);
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Ddecode_pem2der.c76 void *cbarg; member
86 || !pass_data->cb(buf, num, &plen, NULL, pass_data->cbarg)) in pem2der_pass_helper()
161 pass_data.cbarg = pw_cbarg; in pem2der_decode()
/freebsd/crypto/openssl/crypto/store/
H A Dstore_result.c261 OSSL_PASSPHRASE_CALLBACK *cb, void *cbarg, in try_key_value() argument
292 (void)OSSL_DECODER_CTX_set_passphrase_cb(decoderctx, cb, cbarg); in try_key_value()
307 OSSL_PASSPHRASE_CALLBACK *cb, void *cbarg, in try_key_value_legacy() argument
340 if (!cb(pbuf, sizeof(pbuf), &plen, NULL, cbarg)) { in try_key_value_legacy()
410 void *cbarg = &ctx->pwdata; in try_key() local
412 pk = try_key_value(data, ctx, cb, cbarg, libctx, propq); in try_key()
423 cb, cbarg, libctx, propq); in try_key()
/freebsd/crypto/openssl/providers/implementations/keymgmt/
H A Drsa_kmgmt.c204 OSSL_CALLBACK *param_callback, void *cbarg) in rsa_export() argument
237 ok = param_callback(params, cbarg); in rsa_export()
432 void *cbarg; member
447 return gctx->cb(params, gctx->cbarg); in rsa_gencb()
577 static void *rsa_gen(void *genctx, OSSL_CALLBACK *osslcb, void *cbarg) in rsa_gen() argument
607 gctx->cbarg = cbarg; in rsa_gen()
H A Ddsa_kmgmt.c69 void *cbarg; member
216 void *cbarg) in dsa_export() argument
247 ok = param_cb(params, cbarg); in dsa_export()
550 return gctx->cb(params, gctx->cbarg); in dsa_gencb()
553 static void *dsa_gen(void *genctx, OSSL_CALLBACK *osslcb, void *cbarg) in dsa_gen() argument
572 gctx->cbarg = cbarg; in dsa_gen()
/freebsd/crypto/openssl/crypto/encode_decode/
H A Dencoder_pkey.c56 pem_password_cb *cb, void *cbarg) in OSSL_ENCODER_CTX_set_pem_password_cb() argument
58 return ossl_pw_set_pem_password_cb(&ctx->pwdata, cb, cbarg); in OSSL_ENCODER_CTX_set_pem_password_cb()
63 void *cbarg) in OSSL_ENCODER_CTX_set_passphrase_cb() argument
65 return ossl_pw_set_ossl_passphrase_cb(&ctx->pwdata, cb, cbarg); in OSSL_ENCODER_CTX_set_passphrase_cb()
H A Ddecoder_pkey.c37 pem_password_cb *cb, void *cbarg) in OSSL_DECODER_CTX_set_pem_password_cb() argument
39 return ossl_pw_set_pem_password_cb(&ctx->pwdata, cb, cbarg); in OSSL_DECODER_CTX_set_pem_password_cb()
44 void *cbarg) in OSSL_DECODER_CTX_set_passphrase_cb() argument
46 return ossl_pw_set_ossl_passphrase_cb(&ctx->pwdata, cb, cbarg); in OSSL_DECODER_CTX_set_passphrase_cb()

12345