Home
last modified time | relevance | path

Searched refs:cb (Results 76 – 100 of 1043) sorted by relevance

12345678910>>...42

/freebsd/crypto/openssl/crypto/engine/
H A Deng_lib.c124 static ENGINE_CLEANUP_ITEM *int_cleanup_item(ENGINE_CLEANUP_CB *cb) in int_cleanup_item() argument
132 item->cb = cb; in int_cleanup_item()
136 int engine_cleanup_add_first(ENGINE_CLEANUP_CB *cb) in engine_cleanup_add_first() argument
142 item = int_cleanup_item(cb); in engine_cleanup_add_first()
151 int engine_cleanup_add_last(ENGINE_CLEANUP_CB *cb) in engine_cleanup_add_last() argument
157 item = int_cleanup_item(cb); in engine_cleanup_add_last()
169 (*(item->cb)) (); in engine_cleanup_cb_free()
/freebsd/sys/contrib/device-tree/Bindings/misc/
H A Dqcom,fastrpc.yaml67 "(compute-)?cb@[0-9]*$":
75 const: qcom,fastrpc-compute-cb
126 compute-cb@1 {
127 compatible = "qcom,fastrpc-compute-cb";
132 compute-cb@2 {
133 compatible = "qcom,fastrpc-compute-cb";
138 compute-cb@3 {
139 compatible = "qcom,fastrpc-compute-cb";
/freebsd/contrib/unbound/util/data/
H A Dmsgreply.c1184 for(cb=callback_list; cb; cb=cb->next) { in inplace_cb_reply_call_generic()
1186 (inplace_cb_reply_func_type*)cb->cb, type)); in inplace_cb_reply_call_generic()
1247 for(; cb; cb=cb->next) { in inplace_cb_query_call()
1249 (inplace_cb_query_func_type*)cb->cb)); in inplace_cb_query_call()
1252 cb->id, cb->cb_arg); in inplace_cb_query_call()
1262 for(; cb; cb=cb->next) { in inplace_cb_edns_back_parsed_call()
1264 (inplace_cb_edns_back_parsed_func_type*)cb->cb)); in inplace_cb_edns_back_parsed_call()
1266 cb->id, cb->cb_arg); in inplace_cb_edns_back_parsed_call()
1275 for(; cb; cb=cb->next) { in inplace_cb_query_response_call()
1277 (inplace_cb_query_response_func_type*)cb->cb)); in inplace_cb_query_response_call()
[all …]
/freebsd/contrib/ntp/libntp/
H A Dstatestr.c456 char * cb; in statustoa() local
460 LIB_GETBUF(cb); in statustoa()
465 snprintf(cb, LIB_BUFLENGTH, "%s, %s, %s, %s", in statustoa()
474 snprintf(cb, LIB_BUFLENGTH, "%s, %s, %s", in statustoa()
479 cc = cb + strlen(cb); in statustoa()
480 snprintf(cc, LIB_BUFLENGTH - (cc - cb), ", %s", in statustoa()
487 snprintf(cb, LIB_BUFLENGTH, "%s, %s", in statustoa()
493 return cb; in statustoa()
/freebsd/crypto/openssl/crypto/ui/
H A Dui_util.c58 pem_password_cb *cb; member
112 int len = data->cb(result, in ui_read()
142 UI_METHOD *UI_UTIL_wrap_read_pem_callback(pem_password_cb *cb, int rwflag) in UI_UTIL_wrap_read_pem_callback() argument
160 data->cb = cb != NULL ? cb : PEM_def_callback; in UI_UTIL_wrap_read_pem_callback()
/freebsd/crypto/openssl/ssl/statem/
H A Dstatem.c329 cb = get_callback(s); in state_machine()
360 if (cb != NULL) { in state_machine()
362 cb(s, SSL_CB_HANDSHAKE_START, 1); in state_machine()
486 if (cb != NULL) { in state_machine()
488 cb(s, SSL_CB_ACCEPT_EXIT, ret); in state_machine()
490 cb(s, SSL_CB_CONNECT_EXIT, ret); in state_machine()
558 cb = get_callback(s); in read_state_machine()
595 if (cb != NULL) { in read_state_machine()
598 cb(s, SSL_CB_ACCEPT_LOOP, 1); in read_state_machine()
779 cb = get_callback(s); in write_state_machine()
[all …]
/freebsd/libexec/bootpd/
H A Dgetif.c37 static int nmatch(u_char *ca, u_char *cb);
109 nmatch(u_char *ca, u_char *cb) in nmatch() argument
115 while (n && (*ca == *cb)) { in nmatch()
117 cb++; in nmatch()
124 while (n && ((*ca & n) == (*cb & n))) { in nmatch()
/freebsd/contrib/dialog/
H A Dtailbox.c205 handle_input(DIALOG_CALLBACK * cb) in handle_input() argument
207 MY_OBJ *obj = (MY_OBJ *) cb; in handle_input()
220 valid_callback(DIALOG_CALLBACK * cb) in valid_callback() argument
225 if (p == cb) { in valid_callback()
234 handle_my_getc(DIALOG_CALLBACK * cb, int ch, int fkey, int *result) in handle_my_getc() argument
236 MY_OBJ *obj = (MY_OBJ *) cb; in handle_my_getc()
239 if (!valid_callback(cb)) in handle_my_getc()
283 clearerr(cb->input); in handle_my_getc()
284 ch = getc(cb->input); in handle_my_getc()
285 (void) ungetc(ch, cb->input); in handle_my_getc()
[all …]
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dqat_crypt.c66 cy_callback_t *cb = p_callback; in symcallback() local
68 if (cb != NULL) { in symcallback()
70 cb->verify_result = verify; in symcallback()
71 complete(&cb->complete); in symcallback()
304 cy_callback_t cb; in qat_crypt() local
421 cb.verify_result = CPA_FALSE; in qat_crypt()
422 init_completion(&cb.complete); in qat_crypt()
429 wait_for_completion(&cb.complete); in qat_crypt()
477 cy_callback_t cb; in qat_checksum() local
545 cb.verify_result = CPA_FALSE; in qat_checksum()
[all …]
/freebsd/sys/net/route/
H A Droute_helpers.c263 route_notification_t *cb, void *cbdata) in notify_add() argument
274 cb(rc, cbdata); in notify_add()
279 route_notification_t *cb, void *cbdata) in notify_del() argument
290 cb(rc, cbdata); in notify_del()
355 notify_del(&rc_del, &wn_old[idx_old], cb, cbdata); in decompose_change_notification()
359 notify_add(&rc_add, &wn_new[idx_new], cb, cbdata); in decompose_change_notification()
365 notify_del(&rc_del, &wn_old[idx_old], cb, cbdata); in decompose_change_notification()
370 notify_add(&rc_add, &wn_new[idx_new], cb, cbdata); in decompose_change_notification()
395 notify_add(&rc_new, &wn[i], cb, cbdata); in rib_decompose_notification()
403 notify_del(&rc_new, &wn[i], cb, cbdata); in rib_decompose_notification()
[all …]
/freebsd/crypto/openssl/crypto/
H A Dpassphrase.c55 pem_password_cb *cb, void *cbarg) in ossl_pw_set_pem_password_cb() argument
57 if (!ossl_assert(data != NULL && cb != NULL)) { in ossl_pw_set_pem_password_cb()
63 data->_.pem_password.password_cb = cb; in ossl_pw_set_pem_password_cb()
69 OSSL_PASSPHRASE_CALLBACK *cb, void *cbarg) in ossl_pw_set_ossl_passphrase_cb() argument
71 if (!ossl_assert(data != NULL && cb != NULL)) { in ossl_pw_set_ossl_passphrase_cb()
77 data->_.ossl_passphrase.passphrase_cb = cb; in ossl_pw_set_ossl_passphrase_cb()
244 OSSL_PASSPHRASE_CALLBACK *cb = data->_.ossl_passphrase.passphrase_cb; in ossl_pw_get_passphrase() local
247 ret = cb(pass, pass_size, pass_len, params, cbarg); in ossl_pw_get_passphrase()
265 pem_password_cb *cb = data->_.pem_password.password_cb; in ossl_pw_get_passphrase() local
268 UI_UTIL_wrap_read_pem_callback(cb, verify); in ossl_pw_get_passphrase()
/freebsd/crypto/openssl/include/crypto/
H A Dpem.h42 DSA *b2i_DSA_PVK_bio(BIO *in, pem_password_cb *cb, void *u);
43 DSA *b2i_DSA_PVK_bio_ex(BIO *in, pem_password_cb *cb, void *u,
46 RSA *b2i_RSA_PVK_bio(BIO *in, pem_password_cb *cb, void *u);
47 RSA *b2i_RSA_PVK_bio_ex(BIO *in, pem_password_cb *cb, void *u,
/freebsd/crypto/openssl/crypto/dsa/
H A Ddsa_key.c32 static int dsa_keygen_pairwise_test(DSA *dsa, OSSL_CALLBACK *cb, void *cbarg);
112 OSSL_CALLBACK *cb = 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/sys/dev/ocs_fc/
H A Docs_els.c627 els->els_callback = cb; in ocs_send_plogi()
686 els->els_callback = cb; in ocs_send_flogi()
1237 io->els_callback = cb; in ocs_send_ls_rjt()
1287 io->els_callback = cb; in ocs_send_plogi_acc()
1348 io->els_callback = cb; in ocs_send_flogi_p2p_acc()
1387 io->els_callback = cb; in ocs_send_flogi_acc()
1452 io->els_callback = cb; in ocs_send_prli_acc()
1509 io->els_callback = cb; in ocs_send_prlo_acc()
1561 io->els_callback = cb; in ocs_send_ls_acc()
1608 io->els_callback = cb; in ocs_send_logo_acc()
[all …]
/freebsd/usr.bin/genl/
H A Dgenl.c77 { .type = CTRL_ATTR_OP_ID, .off = _OUT(id), .cb = snl_attr_get_uint32},
78 { .type = CTRL_ATTR_OP_FLAGS, .off = _OUT(flags), .cb = snl_attr_get_uint32 },
97 { .type = CTRL_ATTR_FAMILY_ID , .off = _OUT(id), .cb = snl_attr_get_uint16 },
98 { .type = CTRL_ATTR_FAMILY_NAME, .off = _OUT(name), .cb = snl_attr_get_string },
99 { .type = CTRL_ATTR_VERSION, .off = _OUT(version), .cb = snl_attr_get_uint32 },
100 { .type = CTRL_ATTR_VERSION, .off = _OUT(hdrsize), .cb = snl_attr_get_uint32 },
101 { .type = CTRL_ATTR_MAXATTR, .off = _OUT(max_attr), .cb = snl_attr_get_uint32 },
105 .cb = snl_attr_get_parray,
111 .cb = snl_attr_get_parray,
/freebsd/sys/netlink/route/
H A Diface.c405 { .type = IFLA_MTU, .off = _OUT(ifla_mtu), .cb = nlattr_get_uint32 },
406 { .type = IFLA_LINK, .off = _OUT(ifla_link), .cb = nlattr_get_uint32 },
750 { .type = IFAF_VHID, .off = _OUT(ifaf_vhid), .cb = nlattr_get_uint32 },
756 { .type = IFA_ADDRESS, .off = _OUT(ifa_address), .cb = nlattr_get_ip },
757 { .type = IFA_LOCAL, .off = _OUT(ifa_local), .cb = nlattr_get_ip },
1447 .cb = &rtnl_handle_getlink,
1453 .cb = &rtnl_handle_dellink,
1460 .cb = &rtnl_handle_newlink,
1467 .cb = &rtnl_handle_getaddr,
1473 .cb = &rtnl_handle_addr,
[all …]
/freebsd/crypto/openssl/crypto/pem/
H A Dpvkfmt.c822 pem_password_cb *cb, void *u, in do_PVK_body_key() argument
847 if (cb) in do_PVK_body_key()
848 inlen = cb(psbuf, PEM_BUFSIZE, 0, u); in do_PVK_body_key()
963 DSA *b2i_DSA_PVK_bio(BIO *in, pem_password_cb *cb, void *u) in b2i_DSA_PVK_bio() argument
965 return b2i_DSA_PVK_bio_ex(in, cb, u, NULL, NULL); in b2i_DSA_PVK_bio()
978 RSA *b2i_RSA_PVK_bio(BIO *in, pem_password_cb *cb, void *u) in b2i_RSA_PVK_bio() argument
980 return b2i_RSA_PVK_bio_ex(in, cb, u, NULL, NULL); in b2i_RSA_PVK_bio()
995 return b2i_PVK_bio_ex(in, cb, u, NULL, NULL); in b2i_PVK_bio()
1058 if (cb) in i2b_PVK()
1059 inlen = cb(psbuf, PEM_BUFSIZE, 1, u); in i2b_PVK()
[all …]
/freebsd/crypto/heimdal/lib/hx509/
H A Dks_p12.c135 PKCS12_CertBag cb; in certBag_parser() local
143 free_PKCS12_CertBag(&cb); in certBag_parser()
147 ret = decode_PKCS12_OctetString(cb.certValue.data, in certBag_parser()
148 cb.certValue.length, in certBag_parser()
151 free_PKCS12_CertBag(&cb); in certBag_parser()
490 PKCS12_CertBag cb; in store_func() local
495 memset(&cb, 0, sizeof(cb)); in store_func()
505 cb.certValue.data,cb.certValue.length, in store_func()
512 free_PKCS12_CertBag(&cb); in store_func()
516 &cb, &size, ret); in store_func()
[all …]
/freebsd/crypto/openssl/ssl/
H A Ds3_msg.c79 void (*cb) (const SSL *ssl, int type, int val) = NULL; in ssl3_dispatch_alert() local
100 cb = s->info_callback; in ssl3_dispatch_alert()
102 cb = s->ctx->info_callback; in ssl3_dispatch_alert()
104 if (cb != NULL) { in ssl3_dispatch_alert()
106 cb(s, SSL_CB_WRITE_ALERT, j); in ssl3_dispatch_alert()
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_x931g.c28 const BIGNUM *Xq, const BIGNUM *e, BN_GENCB *cb) in RSA_X931_derive_ex() argument
68 Xp, Xp1, Xp2, e, ctx, cb)) in RSA_X931_derive_ex()
77 Xq, Xq1, Xq2, e, ctx, cb)) in RSA_X931_derive_ex()
152 BN_GENCB *cb) in RSA_X931_generate_key_ex() argument
178 e, ctx, cb)) in RSA_X931_generate_key_ex()
182 e, ctx, cb)) in RSA_X931_generate_key_ex()
191 NULL, NULL, NULL, NULL, NULL, NULL, e, cb)) in RSA_X931_generate_key_ex()
/freebsd/contrib/ntp/sntp/libevent/
H A Devrpc.c142 hook->process = cb; in evrpc_add_hook()
234 rpc->cb = cb; in evrpc_register_rpc()
281 void (*cb)(void *, enum EVRPC_HOOK_RESULT));
370 rpc->cb(rpc_state, rpc->cb_arg); in evrpc_request_cb_closure()
764 void (*cb)(void *, enum EVRPC_HOOK_RESULT)) in evrpc_pause_request()
772 pause->cb = cb; in evrpc_pause_request()
793 (*pause->cb)(pause->ctx, res); in evrpc_resume_request()
829 void (*cb)(struct evrpc_status *, void *, void *, void *), in evrpc_make_request_ctx()
845 ctx->cb = cb; in evrpc_make_request_ctx()
1098 (*(cb))(&status, request, reply, cb_arg); in evrpc_send_request_generic()
[all …]
/freebsd/contrib/libevent/
H A Devrpc.c142 hook->process = cb; in evrpc_add_hook()
234 rpc->cb = cb; in evrpc_register_rpc()
281 void (*cb)(void *, enum EVRPC_HOOK_RESULT));
370 rpc->cb(rpc_state, rpc->cb_arg); in evrpc_request_cb_closure()
764 void (*cb)(void *, enum EVRPC_HOOK_RESULT)) in evrpc_pause_request()
772 pause->cb = cb; in evrpc_pause_request()
793 (*pause->cb)(pause->ctx, res); in evrpc_resume_request()
829 void (*cb)(struct evrpc_status *, void *, void *, void *), in evrpc_make_request_ctx()
845 ctx->cb = cb; in evrpc_make_request_ctx()
1098 (*(cb))(&status, request, reply, cb_arg); in evrpc_send_request_generic()
[all …]
/freebsd/sys/netlink/
H A Dnetlink_snl_generic.h67 { .type = CTRL_ATTR_MCAST_GRP_NAME, .off = _OUT(mcast_grp_name), .cb = snl_attr_get_string },
68 { .type = CTRL_ATTR_MCAST_GRP_ID, .off = _OUT(mcast_grp_id), .cb = snl_attr_get_uint32 },
84 { .type = CTRL_ATTR_FAMILY_ID , .off = _OUT(family_id), .cb = snl_attr_get_uint16 },
85 { .type = CTRL_ATTR_FAMILY_NAME, .off = _OUT(family_name), .cb = snl_attr_get_string },
89 .cb = snl_attr_get_parray,
/freebsd/contrib/unbound/libunbound/
H A Dunbound-event.h98 int fd, short bits, void (*cb)(int, short, void*), void* arg);
102 void (*cb)(int, short, void*), void* arg);
106 void* wsaevent, void (*cb)(int, short, void*), void* arg);
143 void (*cb)(int, short, void*), void* arg, struct timeval*);
/freebsd/contrib/nvi/ex/
H A Dex_move.c33 CB cb = {{ 0 }}; in ex_copy() local
49 TAILQ_INIT(cb.textq); in ex_copy()
51 if (cut_line(sp, cnt, 0, ENTIRE_LINE, &cb)) { in ex_copy()
55 cb.flags |= CB_LMODE; in ex_copy()
60 if (put(sp, &cb, NULL, &tm, &m, 1)) in ex_copy()
72 err: text_lfree(cb.textq); in ex_copy()

12345678910>>...42