Home
last modified time | relevance | path

Searched refs:cb_arg (Results 1 – 25 of 33) sorted by relevance

12

/dragonfly/crypto/openssh/
H A Datomicio.c52 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()
/dragonfly/crypto/libressl/tls/
H A Dtls_bio_cb.c107 rv = (ctx->write_cb)(ctx, buf, num, ctx->cb_arg); in bio_cb_write()
125 rv = (ctx->read_cb)(ctx, buf, size, ctx->cb_arg); in bio_cb_read()
138 void *cb_arg) in tls_set_cbs() argument
151 ctx->cb_arg = cb_arg; in tls_set_cbs()
H A Dtls_internal.h207 void *cb_arg; member
258 tls_read_cb read_cb, tls_write_cb write_cb, void *cb_arg);
H A Dtls_client.c415 tls_write_cb write_cb, void *cb_arg, const char *servername) in tls_connect_cbs() argument
422 if (tls_set_cbs(ctx, read_cb, write_cb, cb_arg) != 0) in tls_connect_cbs()
H A Dtls_server.c422 tls_read_cb read_cb, tls_write_cb write_cb, void *cb_arg) in tls_accept_cbs() argument
429 if (tls_set_cbs(conn_ctx, read_cb, write_cb, cb_arg) != 0) in tls_accept_cbs()
/dragonfly/crypto/libressl/ssl/
H A Dtls13_record_layer.c114 void *cb_arg; member
133 void *cb_arg) in tls13_record_layer_new() argument
185 rl->cb_arg = cb_arg; in tls13_record_layer_set_callbacks()
330 rl->cb.alert_recv(alert_desc, rl->cb_arg); in tls13_record_layer_process_alert()
364 rl->cb.alert_sent(rl->alert_desc, rl->cb_arg); in tls13_record_layer_send_alert()
389 rl->cb.phh_sent(rl->cb_arg); in tls13_record_layer_send_phh()
502 rl->cb_arg); in tls13_record_layer_set_read_traffic_key()
514 rl->cb_arg); in tls13_record_layer_set_write_traffic_key()
930 ret = rl->cb.phh_recv(rl->cb_arg); in tls13_record_layer_recv_phh()
1055 rl->cb_arg)) <= 0) in tls13_record_layer_write_record()
[all …]
H A Dtls13_handshake_msg.c114 tls13_handshake_msg_read_cb(void *buf, size_t n, void *cb_arg) in tls13_handshake_msg_read_cb() argument
116 struct tls13_record_layer *rl = cb_arg; in tls13_handshake_msg_read_cb()
H A Dtls13_internal.h198 const struct tls13_record_layer_callbacks *callbacks, void *cb_arg);
201 const struct tls13_record_layer_callbacks *callbacks, void *cb_arg);
314 ssize_t tls13_phh_received_cb(void *cb_arg);
315 void tls13_phh_done_cb(void *cb_arg);
H A Dtls13_lib.c332 tls13_phh_received_cb(void *cb_arg) in tls13_phh_received_cb() argument
335 struct tls13_ctx *ctx = cb_arg; in tls13_phh_received_cb()
373 tls13_phh_done_cb(void *cb_arg) in tls13_phh_done_cb() argument
375 struct tls13_ctx *ctx = cb_arg; in tls13_phh_done_cb()
H A Dtls_buffer.c130 tls_read_cb read_cb, void *cb_arg) in tls_buffer_extend() argument
145 buf->capacity - buf->len, cb_arg)) <= 0) in tls_buffer_extend()
H A Dtls_internal.h66 tls_read_cb read_cb, void *cb_arg);
/dragonfly/contrib/binutils-2.34/libctf/
H A Dctf-labels.c125 linfo_cb_arg_t cb_arg; in ctf_label_info() local
128 cb_arg.lca_name = lname; in ctf_label_info()
129 cb_arg.lca_info = linfo; in ctf_label_info()
131 if ((rc = ctf_label_iter (fp, label_info_cb, &cb_arg)) < 0) in ctf_label_info()
/dragonfly/crypto/libressl/crypto/dsa/
H A Ddsa_depr.c77 void *cb_arg) in DSA_generate_parameters() argument
85 BN_GENCB_set_old(&cb, callback, cb_arg); in DSA_generate_parameters()
/dragonfly/crypto/libressl/crypto/rsa/
H A Drsa_depr.c73 void (*callback)(int, int, void *), void *cb_arg) in RSA_generate_key() argument
91 BN_GENCB_set_old(&cb, callback, cb_arg); in RSA_generate_key()
/dragonfly/contrib/wpa_supplicant/src/drivers/
H A Ddriver_macsec_linux.c35 struct cb_arg { struct
47 struct cb_arg cb_arg; argument
155 memset(&ctx->cb_arg, 0, sizeof(ctx->cb_arg)); in init_genl_ctx()
156 ctx->cb_arg.drv = drv; in init_genl_ctx()
159 &ctx->cb_arg); in init_genl_ctx()
514 struct cb_arg *arg = (struct cb_arg *) argp; in dump_callback()
640 ctx->cb_arg.rxsci = rxsci; in do_dump()
641 ctx->cb_arg.rxsa = rxsa; in do_dump()
642 ctx->cb_arg.txsa = txsa; in do_dump()
643 ctx->cb_arg.pn = pn; in do_dump()
[all …]
/dragonfly/contrib/dhcpcd/src/
H A Deloop.c185 void *cb_arg; member
315 void (*cb)(void *, unsigned short), void *cb_arg) in eloop_event_add() argument
328 assert(cb != NULL && cb_arg != NULL); in eloop_event_add()
358 e->cb_arg = cb_arg; in eloop_event_add()
1014 e->cb(e->cb_arg, events); in eloop_run_kqueue()
1065 e->cb(e->cb_arg, events); in eloop_run_epoll()
1106 e->cb(e->cb_arg, events); in eloop_run_ppoll()
1159 e->cb(e->cb_arg, events); in eloop_run_pselect()
/dragonfly/crypto/libressl/include/openssl/
H A Ddsa.h173 (*callback)(int, int, void *),void *cb_arg);
196 #define DSA_is_prime(n, callback, cb_arg) \ argument
197 BN_is_prime(n, DSS_prime_checks, callback, NULL, cb_arg)
H A Dbn.h252 void *cb_arg);
256 void *cb_arg);
480 void (*callback)(int, int, void *), void *cb_arg);
483 BN_CTX *ctx, void *cb_arg);
485 void (*callback)(int, int, void *), BN_CTX *ctx, void *cb_arg,
H A Ddh.h168 void (*callback)(int,int,void *),void *cb_arg);
/dragonfly/crypto/libressl/crypto/bio/
H A Dbio_lib.c157 bio->cb_arg = NULL; in BIO_set()
299 b->cb_arg = arg; in BIO_set_callback_arg()
305 return b->cb_arg; in BIO_get_callback_arg()
749 new_bio->cb_arg = bio->cb_arg; in BIO_dup_chain()
H A Dbio_local.h81 char *cb_arg; /* first argument for the callback */ member
H A Dbio_cb.c149 b = (BIO *)bio->cb_arg; in BIO_debug_callback()
/dragonfly/crypto/libressl/crypto/bn/
H A Dbn_lib.c1160 BN_GENCB_set_old(BN_GENCB *gencb, void (*cb)(int, int, void *), void *cb_arg) in BN_GENCB_set_old() argument
1164 gencb->arg = cb_arg; in BN_GENCB_set_old()
1169 BN_GENCB_set(BN_GENCB *gencb, int (*cb)(int, int, BN_GENCB *), void *cb_arg) in BN_GENCB_set() argument
1173 gencb->arg = cb_arg; in BN_GENCB_set()
/dragonfly/sbin/ifconfig/
H A Difconfig.c767 void *cb_arg; member
781 cb->cb_arg = arg; in callback_register()
829 cb->cb_func(s, cb->cb_arg); in ifconfig()
890 cb->cb_func(s, cb->cb_arg); in ifconfig()
/dragonfly/sys/dev/netif/oce/
H A Doce_queue.c350 cq->cb_arg = wq; in oce_wq_create()
536 cq->cb_arg = rq; in oce_rq_create()
752 mq->cq->cb_arg = mq; in oce_mq_create()

12