| /freebsd-12.1/sys/dev/etherswitch/ |
| H A D | miiproxy.c | 89 rendezvous_callback_t callback; member 111 e->proxy.callback(RENDEZVOUS_DETACH, e); in rendezvous_attach() 113 ep->callback = NULL; in rendezvous_attach() 129 rendezvous_callback_t callback) in rendezvous_register_proxy() argument 139 e->proxy.callback = callback; in rendezvous_register_proxy() 146 e->proxy.callback = callback; in rendezvous_register_proxy() 167 e->target.callback = callback; in rendezvous_register_target() 174 e->target.callback = callback; in rendezvous_register_target() 195 e->proxy.callback(RENDEZVOUS_DETACH, e); in rendezvous_unregister_proxy() 199 e->proxy.callback = NULL; in rendezvous_unregister_proxy() [all …]
|
| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_termination.cc | 23 bool AddDieCallback(DieCallbackType callback) { in AddDieCallback() argument 26 InternalDieCallbacks[i] = callback; in AddDieCallback() 33 bool RemoveDieCallback(DieCallbackType callback) { in RemoveDieCallback() argument 35 if (InternalDieCallbacks[i] == callback) { in RemoveDieCallback() 47 void SetUserDieCallback(DieCallbackType callback) { in SetUserDieCallback() argument 48 UserDieCallback = callback; in SetUserDieCallback() 64 void SetCheckFailedCallback(CheckFailedCallbackType callback) { in SetCheckFailedCallback() argument 65 CheckFailedCallback = callback; in SetCheckFailedCallback() 92 void __sanitizer_set_death_callback(void (*callback)(void)) { in __sanitizer_set_death_callback() 93 SetUserDieCallback(callback); in __sanitizer_set_death_callback()
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | remote-rdp.c | 683 callback->shutdown (callback); in remote_rdp_kill() 822 callback->write_stdout (callback, &c, 1); in exec_swi() 829 callback->read_stdin (callback, &c, 1); in exec_swi() 833 args->n = callback->system (callback, args->s); in exec_swi() 836 args->n = callback->get_errno (callback); in exec_swi() 839 args->n = callback->time (callback, NULL); in exec_swi() 875 args->n = callback->open (callback, args->s, i); in exec_swi() 879 args->n = callback->close (callback, args->n); in exec_swi() 907 callback->lseek (callback, args->n, old, 0); in exec_swi() 1180 callback->init (callback); in remote_rdp_open() [all …]
|
| /freebsd-12.1/crypto/openssl/doc/man3/ |
| H A D | BIO_set_callback.pod | 8 - BIO callback functions 20 void BIO_set_callback_ex(BIO *b, BIO_callback_fn_ex callback); 34 callback. The callback is called during most high level BIO operations. It can 59 The BIO the callback is attached to is passed in B<b>. 100 In the notes below, B<callback> defers to the actual callback 111 callback(b, BIO_CB_FREE, NULL, 0L, 0L, 1L) 121 callback(b, BIO_CB_READ, data, dlen, 0L, 1L) 140 callback(b, BIO_CB_WRITE, datat, dlen, 0L, 1L) 159 callback(b, BIO_CB_GETS, buf, size, 0L, 1L) 178 callback(b, BIO_CB_PUTS, buf, 0, 0L, 1L) [all …]
|
| H A D | SSL_CTX_set_cert_verify_callback.pod | 12 int (*callback)(X509_STORE_CTX *, void *), 17 SSL_CTX_set_cert_verify_callback() sets the verification callback function for 25 verification callback function, the built-in verification function is used. 26 If a verification callback I<callback> is specified via 28 instead. By setting I<callback> to NULL, the default behaviour is restored. 30 When the verification must be performed, I<callback> will be called with 31 the arguments callback(X509_STORE_CTX *x509_store_ctx, void *arg). The 32 argument I<arg> is specified by the application when setting I<callback>. 34 I<callback> should return 1 to indicate verification success and 0 to 35 indicate verification failure. If SSL_VERIFY_PEER is set and I<callback> [all …]
|
| H A D | SSL_CTX_set_ct_validation_callback.pod | 20 int SSL_set_ct_validation_callback(SSL *s, ssl_ct_validation_cb callback, 23 ssl_ct_validation_cb callback, 35 This is accomplished by setting a built-in CT validation callback. 47 callback. 70 and the callback returns a non-positive result. 73 the callback. 74 This will be passed to the callback whenever it is invoked. 82 In that case the handshake continues as it would had no callback been 96 enabled via either SSL_enable_ct() or a non-null custom callback, and 0 124 validation callback is set, or 0 if no callback (or equivalently a NULL [all …]
|
| H A D | SSL_CTX_set_info_callback.pod | 9 - handle information callback for SSL connections 15 void SSL_CTX_set_info_callback(SSL_CTX *ctx, void (*callback)()); 18 void SSL_set_info_callback(SSL *ssl, void (*callback)()); 23 SSL_CTX_set_info_callback() sets the B<callback> function, that can be used to 27 When B<callback> is NULL, no callback function is used. 29 SSL_set_info_callback() sets the B<callback> function, that can be used to 31 When B<callback> is NULL, the callback setting currently valid for 35 callback function for B<ctx>. 38 callback function for B<ssl>. 47 The callback function is called as B<callback(SSL *ssl, int where, int ret)>. [all …]
|
| H A D | SSL_CTX_set_psk_client_callback.pod | 11 - set PSK client callback 45 The callback function is given a pointer to the SSL connection in B<ssl>. 51 given in B<md>. The PSK returned by the callback is allowed to be different 98 this the callback should return successfully and ensure that B<*sess> is 105 The purpose of the callback function is to select the PSK identity and 108 The callback is set using functions SSL_CTX_set_psk_client_callback() 109 or SSL_set_psk_client_callback(). The callback function is given the 117 The callback for use in TLSv1.2 will also work in TLSv1.3 although it is 130 Note that parameter B<hint> given to the callback may be B<NULL>. 148 On success (callback found a PSK identity and a pre-shared key to use) [all …]
|
| H A D | X509_STORE_CTX_set_verify_cb.pod | 18 - get and set verification callback 44 X509_STORE_CTX_set_verify_cb() sets the verification callback of B<ctx> to 45 B<verify_cb> overwriting any existing callback. 51 However a verification callback is B<not> essential and the default operation 54 The B<ok> parameter to the callback indicates the value the callback should 60 The B<ctx> parameter to the callback is the B<X509_STORE_CTX> structure that 61 is performing the verification operation. A callback can examine this 64 be passed to the callback via the B<ex_data> mechanism. 66 X509_STORE_CTX_get_verify_cb() returns the value of the current callback 92 only way to set a custom verification callback is by inheriting it from the [all …]
|
| H A D | SSL_CTX_use_psk_identity_hint.pod | 42 A client application wishing to use TLSv1.3 PSKs should set a callback 46 The callback function is given a pointer to the SSL connection in B<ssl> and 47 an identity in B<identity> of length B<identity_len>. The callback function 53 It is also possible for the callback to succeed but not supply a PSK. In this 55 callback should return successfully and ensure that B<*sess> is 69 callback function which is called when the server receives the 72 during the connection setup phase. The callback is set using the functions 78 The callback for use in TLSv1.2 will also work in TLSv1.3 although it is 110 PSK identity was found and the server callback has provided the PSK 115 If the PSK identity was not found but the callback instructs the [all …]
|
| H A D | SSL_CTX_set_cert_cb.pod | 5 SSL_CTX_set_cert_cb, SSL_set_cert_cb - handle certificate callback function 19 SSL_CTX_set_cert_cb() and SSL_set_cert_cb() sets the cert_cb() callback, 20 B<arg> value is pointer which is passed to the application callback. 22 When cert_cb() is NULL, no callback function is used. 24 cert_cb() is the application defined callback. It is called before a 25 certificate will be used by a client or server. The callback can then inspect 27 the callback is successful it B<MUST> return 1 even if no certificates have 47 The certificate callback functionality supersedes the (largely broken) 48 functionality provided by the old client certificate callback interface. 52 A more advanced callback might examine the handshake parameters and set [all …]
|
| H A D | BN_generate_prime.pod | 32 int (*callback)(int, int, BN_GENCB *), void *cb_arg); 142 to BN_GENCB_set_old() and B<callback> is of type 143 B<void (*callback)(int, int, void *)>. 146 the type of the callback and will invoke B<callback(a, b, gencb)> for new 147 style callbacks or B<callback(a, b, cb_arg)> for old style. 153 BN_generate_prime_ex() but expects an old-style callback function 185 BN_GENCB callback; 189 BN_GENCB *callback; 190 callback = BN_GENCB_new(); 191 if (!callback) [all …]
|
| H A D | SSL_CTX_set_alpn_select_cb.pod | 57 SSL_CTX_set_alpn_select_cb() sets the application callback B<cb> used by a 60 the application callback. 78 function can also be used in the NPN callback. 83 For the callback itself, B<out> 87 callback can assume that B<in> is syntactically valid. The client must 98 reference to it. The callback should return B<SSL_TLSEXT_ERR_OK> if it 112 provided by the callback. 130 The ALPN callback is executed after the servername callback; as that servername 131 callback may update the SSL_CTX, and subsequently, the ALPN callback. 156 The ALPN select callback B<cb>, must return one of the following: [all …]
|
| H A D | SSL_CTX_set_keylog_callback.pod | 19 SSL_CTX_set_keylog_callback() sets the TLS key logging callback. This callback 24 callback. If no callback has been set, this will return NULL. When there is no 25 key logging callback, or if SSL_CTX_set_keylog_callback is called with NULL as 28 The key logging callback is called with two items: the B<ssl> object associated 31 file, the key logging callback should log B<line>, followed by a newline. 37 NULL if the callback is not set.
|
| H A D | SSL_CTX_set_client_hello_cb.pod | 28 The argument supplied when setting the callback is passed back to the 29 callback at runtime. A callback that returns failure (0) will cause the 31 what alert value is to be sent in the B<al> parameter. A callback may 37 function, the ClientHello callback will be called again, and, if it returns 74 code to affect the TLS handshake. A primary use of the callback is to 83 It is also recommended that applications utilize a ClientHello callback and 84 not use a servername callback, in order to avoid unexpected behavior that 86 resumption and the historical servername callback. 89 within a ClientHello callback. 93 The application's supplied ClientHello callback returns [all …]
|
| /freebsd-12.1/sys/dev/xen/grant_table/ |
| H A D | grant_table.c | 103 while (callback != NULL) { in do_free_callbacks() 104 next = callback->next; in do_free_callbacks() 106 callback->next = NULL; in do_free_callbacks() 107 callback->fn(callback->arg); in do_free_callbacks() 112 callback = next; in do_free_callbacks() 392 if (callback->next) in gnttab_request_free_callback() 394 callback->fn = fn; in gnttab_request_free_callback() 395 callback->arg = arg; in gnttab_request_free_callback() 396 callback->count = count; in gnttab_request_free_callback() 412 if (*pcb == callback) { in gnttab_cancel_free_callback() [all …]
|
| /freebsd-12.1/sys/kern/ |
| H A D | subr_bus_dma.c | 341 (*callback)(callback_arg, segs, 0, error); in bus_dmamap_load() 343 (*callback)(callback_arg, segs, nsegs, 0); in bus_dmamap_load() 371 (*callback)(callback_arg, segs, 0, 0, error); in bus_dmamap_load_mbuf() 408 (*callback)(callback_arg, segs, 0, 0, error); in bus_dmamap_load_uio() 430 callback(callback_arg, NULL, 0, 0); in bus_dmamap_load_ccb() 449 (*callback)(callback_arg, segs, 0, error); in bus_dmamap_load_ccb() 451 (*callback)(callback_arg, segs, nsegs, error); in bus_dmamap_load_ccb() 488 (*callback)(callback_arg, segs, 0, error); in bus_dmamap_load_bio() 490 (*callback)(callback_arg, segs, nsegs, error); in bus_dmamap_load_bio() 559 (*callback)(callback_arg, segs, 0, error); in bus_dmamap_load_mem() [all …]
|
| /freebsd-12.1/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_sa_query.c | 937 query->callback = callback; in ib_sa_path_rec_get() 943 query->sa_query.callback = callback ? ib_sa_path_rec_callback : NULL; in ib_sa_path_rec_get() 1062 query->callback = callback; in ib_sa_service_rec_query() 1068 query->sa_query.callback = callback ? ib_sa_service_rec_callback : NULL; in ib_sa_service_rec_query() 1154 query->callback = callback; in ib_sa_mcmember_rec_query() 1160 query->sa_query.callback = callback ? ib_sa_mcmember_rec_callback : NULL; in ib_sa_mcmember_rec_query() 1251 query->callback = callback; in ib_sa_guid_info_rec_query() 1257 query->sa_query.callback = callback ? ib_sa_guidinfo_rec_callback : NULL; in ib_sa_guid_info_rec_query() 1369 query->callback = callback; in ib_sa_classport_info_rec_query() 1407 if (query->callback) in send_handler() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/DataFormatters/ |
| H A D | TypeCategory.h | 105 m_format_exact = callback; in SetExact() 111 m_format_regex = callback; in SetWithRegex() 118 m_summary_exact = callback; in SetExact() 124 m_summary_regex = callback; in SetWithRegex() 131 m_filter_exact = callback; in SetExact() 137 m_filter_regex = callback; in SetWithRegex() 144 SetExact(SynthContainer::ExactMatchForEachCallback callback) { in SetExact() argument 145 m_synth_exact = callback; in SetExact() 151 m_synth_regex = callback; in SetWithRegex() 158 m_validator_exact = callback; in SetExact() [all …]
|
| /freebsd-12.1/contrib/unbound/util/ |
| H A D | netevent.h | 313 comm_point_callback_type* callback; member 326 void (*callback)(void*); member 343 void (*callback)(int, void*); member 431 comm_point_callback_type* callback, void* callback_arg); 447 comm_point_callback_type* callback, void* callback_arg); 473 comm_point_callback_type* callback, void* callback_arg); 484 size_t bufsize, comm_point_callback_type* callback, void* callback_arg); 497 size_t bufsize, comm_point_callback_type* callback, 511 comm_point_callback_type* callback, void* callback_arg); 524 comm_point_callback_type* callback, void* callback_arg); [all …]
|
| H A D | module.c | 130 struct inplace_cb* callback; in inplace_cb_register() local 138 callback = (struct inplace_cb*)calloc(1, sizeof(*callback)); in inplace_cb_register() 139 if(callback == NULL) { in inplace_cb_register() 143 callback->id = id; in inplace_cb_register() 144 callback->next = NULL; in inplace_cb_register() 145 callback->cb = cb; in inplace_cb_register() 146 callback->cb_arg = cbarg; in inplace_cb_register() 152 *prevp = callback; in inplace_cb_register()
|
| /freebsd-12.1/contrib/subversion/subversion/include/private/ |
| H A D | svn_editor.h | 674 svn_editor_cb_add_directory_t callback, 685 svn_editor_cb_add_file_t callback, 696 svn_editor_cb_add_symlink_t callback, 707 svn_editor_cb_add_absent_t callback, 729 svn_editor_cb_alter_file_t callback, 740 svn_editor_cb_alter_symlink_t callback, 751 svn_editor_cb_delete_t callback, 762 svn_editor_cb_copy_t callback, 773 svn_editor_cb_move_t callback, 784 svn_editor_cb_complete_t callback, [all …]
|
| /freebsd-12.1/crypto/openssl/crypto/bn/ |
| H A D | bn_depr.c | 27 void (*callback) (int, int, void *), void *cb_arg) 32 BN_GENCB_set_old(&cb, callback, cb_arg); 50 void (*callback) (int, int, void *), BN_CTX *ctx_passed, 54 BN_GENCB_set_old(&cb, callback, cb_arg); 59 void (*callback) (int, int, void *), 64 BN_GENCB_set_old(&cb, callback, cb_arg);
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_delta/ |
| H A D | editor.c | 298 editor->funcs.cb_add_directory = callback; in svn_editor_setcb_add_directory() 308 editor->funcs.cb_add_file = callback; in svn_editor_setcb_add_file() 318 editor->funcs.cb_add_symlink = callback; in svn_editor_setcb_add_symlink() 328 editor->funcs.cb_add_absent = callback; in svn_editor_setcb_add_absent() 348 editor->funcs.cb_alter_file = callback; in svn_editor_setcb_alter_file() 358 editor->funcs.cb_alter_symlink = callback; in svn_editor_setcb_alter_symlink() 368 editor->funcs.cb_delete = callback; in svn_editor_setcb_delete() 378 editor->funcs.cb_copy = callback; in svn_editor_setcb_copy() 388 editor->funcs.cb_move = callback; in svn_editor_setcb_move() 398 editor->funcs.cb_complete = callback; in svn_editor_setcb_complete() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Host/ |
| H A D | XML.h | 91 void ForEachSiblingNode(NodeCallback const &callback) const; 96 void ForEachSiblingElement(NodeCallback const &callback) const; 103 NodeCallback const &callback) const; 105 void ForEachChildNode(NodeCallback const &callback) const; 107 void ForEachChildElement(NodeCallback const &callback) const; 110 NodeCallback const &callback) const; 112 void ForEachAttribute(AttributeCallback const &callback) const;
|