/freebsd-11-stable/sys/dev/usb/video/ |
H A D | udl.c | 369 struct udl_cmd_buf *cb = &sc->sc_cmd_buf_temp[i]; local 371 TAILQ_INSERT_TAIL(&sc->sc_cmd_buf_free, cb, entry); 507 struct udl_cmd_buf *cb; local 509 while ((cb = TAILQ_FIRST(&sc->sc_cmd_buf_free)) == NULL) { 514 if (cb != NULL) { 515 TAILQ_REMOVE(&sc->sc_cmd_buf_free, cb, entry); 516 cb->off = 0; 518 return (cb); 524 struct udl_cmd_buf *cb; local 527 cb 533 udl_cmd_buf_send(struct udl_softc *sc, struct udl_cmd_buf *cb) argument 566 struct udl_cmd_buf *cb; local 593 struct udl_cmd_buf *cb; local 634 struct udl_cmd_buf *cb; local 854 udl_cmd_insert_int_1(struct udl_cmd_buf *cb, uint8_t value) argument 876 udl_cmd_insert_int_3(struct udl_cmd_buf *cb, uint32_t value) argument 905 udl_cmd_insert_buf_le16(struct udl_cmd_buf *cb, const uint8_t *buf, uint32_t len) argument 918 udl_cmd_write_reg_1(struct udl_cmd_buf *cb, uint8_t reg, uint8_t val) argument 928 udl_cmd_write_reg_3(struct udl_cmd_buf *cb, uint8_t reg, uint32_t val) argument 993 udl_init_fb_offsets(struct udl_cmd_buf *cb, uint32_t start16, uint32_t stride16, uint32_t start8, uint32_t stride8) argument 1009 struct udl_cmd_buf *cb; local 1120 struct udl_cmd_buf *cb; local 1140 struct udl_cmd_buf *cb; local [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/dd/ |
H A D | dd_rtl.cpp | 114 Callback cb(thr); 118 ctx->dd->MutexInit(&cb, &h->dd); 119 ctx->dd->MutexBeforeLock(&cb, &h->dd, writelock); 121 ReportDeadlock(thr, ctx->dd->GetReport(&cb)); 127 Callback cb(thr); 131 ctx->dd->MutexInit(&cb, &h->dd); 132 ctx->dd->MutexAfterLock(&cb, &h->dd, writelock, trylock); 134 ReportDeadlock(thr, ctx->dd->GetReport(&cb)); 140 Callback cb(thr); 143 ctx->dd->MutexBeforeUnlock(&cb, [all...] |
/freebsd-11-stable/contrib/unbound/util/ |
H A D | ub_event.h | 89 int fd, short bits, void (*cb)(int, short, void*), void* arg); 92 void (*cb)(int, short, void*), void* arg); 95 void* wsaevent, void (*cb)(int, short, void*), void* arg); 111 void (*cb)(int, short, void*), void* arg, struct timeval*); 125 void ub_comm_base_now(struct comm_base* cb);
|
H A D | ub_event.c | 102 static void (*NATIVE_BITS_CB(void (*cb)(int, short, void*)))(int, short, void*) argument 104 if(cb == comm_point_udp_callback) 106 else if(cb == comm_point_udp_ancil_callback) 108 else if(cb == comm_point_tcp_accept_callback) 110 else if(cb == comm_point_tcp_handle_callback) 112 else if(cb == comm_timer_callback) 114 else if(cb == comm_signal_callback) 116 else if(cb == comm_point_local_handle_callback) 118 else if(cb == comm_point_raw_handle_callback) 120 else if(cb 290 ub_event_new(struct ub_event_base* base, int fd, short bits, void (*cb)(int, short, void*), void* arg) argument 314 ub_signal_new(struct ub_event_base* base, int fd, void (*cb)(int, short, void*), void* arg) argument 338 ub_winsock_register_wsaevent(struct ub_event_base* base, void* wsaevent, void (*cb)(int, short, void*), void* arg) argument 399 ub_timer_add(struct ub_event* ev, struct ub_event_base* base, void (*cb)(int, short, void*), void* arg, struct timeval* tv) argument 448 ub_comm_base_now(struct comm_base* cb) argument [all...] |
H A D | ub_event_pluggable.c | 103 static void (*NATIVE_BITS_CB(void (*cb)(int, short, void*)))(int, short, void*) argument 105 if(cb == comm_point_udp_callback) 107 else if(cb == comm_point_udp_ancil_callback) 109 else if(cb == comm_point_tcp_accept_callback) 111 else if(cb == comm_point_tcp_handle_callback) 113 else if(cb == comm_timer_callback) 115 else if(cb == comm_signal_callback) 117 else if(cb == comm_point_local_handle_callback) 119 else if(cb == comm_point_raw_handle_callback) 121 else if(cb 192 my_timer_add(struct ub_event* ev, struct ub_event_base* base, void (*cb)(int, short, void*), void* arg, struct timeval* tv) argument 276 my_event_new(struct ub_event_base* base, int fd, short bits, void (*cb)(int, short, void*), void* arg) argument 296 my_signal_new(struct ub_event_base* base, int fd, void (*cb)(int, short, void*), void* arg) argument 316 my_winsock_register_wsaevent(struct ub_event_base* base, void* wsaevent, void (*cb)(int, short, void*), void* arg) argument 508 ub_event_new(struct ub_event_base* base, int fd, short bits, void (*cb)(int, short, void*), void* arg) argument 520 ub_signal_new(struct ub_event_base* base, int fd, void (*cb)(int, short, void*), void* arg) argument 532 ub_winsock_register_wsaevent(struct ub_event_base* base, void* wsaevent, void (*cb)(int, short, void*), void* arg) argument 607 ub_timer_add(struct ub_event* ev, struct ub_event_base* base, void (*cb)(int, short, void*), void* arg, struct timeval* tv) argument 673 ub_comm_base_now(struct comm_base* cb) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_deadlock_detector2.cpp | 92 void MutexInit(DDCallback *cb, DDMutex *m); 93 void MutexBeforeLock(DDCallback *cb, DDMutex *m, bool wlock); 94 void MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, 96 void MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock); 97 void MutexDestroy(DDCallback *cb, DDMutex *m); 99 DDReport *GetReport(DDCallback *cb); 103 u32 allocateId(DDCallback *cb); 148 void DD::MutexInit(DDCallback *cb, DDMutex *m) { argument 149 VPrintf(2, "#%llu: DD::MutexInit(%p)\n", cb->lt->ctx, m); 170 u32 DD::allocateId(DDCallback *cb) { argument 189 MutexBeforeLock(DDCallback *cb, DDMutex *m, bool wlock) argument 268 MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, bool trylock) argument 301 MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock) argument 325 MutexDestroy(DDCallback *cb, DDMutex *m) argument 415 GetReport(DDCallback *cb) argument [all...] |
/freebsd-11-stable/crypto/openssl/crypto/dsa/ |
H A D | dsa_depr.c | 98 BN_GENCB cb; local 104 BN_GENCB_set_old(&cb, callback, cb_arg); 107 counter_ret, h_ret, &cb))
|
H A D | dsa_locl.h | 61 BN_GENCB *cb); 67 BN_GENCB *cb);
|
/freebsd-11-stable/crypto/openssl/crypto/rsa/ |
H A D | rsa_depr.c | 76 BN_GENCB cb; local 94 BN_GENCB_set_old(&cb, callback, cb_arg); 96 if (RSA_generate_key_ex(rsa, bits, e, &cb)) {
|
H A D | rsa_gen.c | 73 BN_GENCB *cb); 77 BN_GENCB *cb); 86 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb) argument 96 return rsa->meth->rsa_keygen(rsa, bits, e_value, cb); 99 return FIPS_rsa_x931_generate_key_ex(rsa, bits, e_value, cb); 101 return rsa_builtin_keygen(rsa, bits, e_value, cb); 105 BN_GENCB *cb) 164 if (!BN_generate_prime_ex(rsa->p, bitsp, 0, NULL, NULL, cb)) 181 if (!BN_GENCB_call(cb, 2, n++)) 184 if (!BN_GENCB_call(cb, 104 rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb) argument [all...] |
/freebsd-11-stable/crypto/openssl/crypto/bn/ |
H A D | bn_x931p.c | 71 BN_GENCB *cb) 80 BN_GENCB_call(cb, 0, i); 82 if (BN_is_prime_fasttest_ex(pi, 27, ctx, 1, cb)) 87 BN_GENCB_call(cb, 2, i); 100 BN_GENCB *cb) 123 if (!bn_x931_derive_pi(p1, Xp1, ctx, cb)) 126 if (!bn_x931_derive_pi(p2, Xp2, ctx, cb)) 164 BN_GENCB_call(cb, 0, i++); 177 && BN_is_prime_fasttest_ex(p, 50, ctx, 1, cb)) 183 BN_GENCB_call(cb, 70 bn_x931_derive_pi(BIGNUM *pi, const BIGNUM *Xpi, BN_CTX *ctx, BN_GENCB *cb) argument 97 BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, const BIGNUM *Xp, const BIGNUM *Xp1, const BIGNUM *Xp2, const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb) argument 254 BN_X931_generate_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, BIGNUM *Xp1, BIGNUM *Xp2, const BIGNUM *Xp, const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb) argument [all...] |
H A D | bn_prime.c | 141 int BN_GENCB_call(BN_GENCB *cb, int a, int b) argument 144 if (!cb) 146 switch (cb->ver) { 149 if (!cb->cb.cb_1) 151 cb->cb.cb_1(a, b, cb->arg); 155 return cb->cb 163 BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb) argument 241 BN_is_prime_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed, BN_GENCB *cb) argument 247 BN_is_prime_fasttest_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed, int do_trial_division, BN_GENCB *cb) argument [all...] |
/freebsd-11-stable/contrib/wpa/src/wps/ |
H A D | http_client.h | 25 void (*cb)(void *ctx, 31 void (*cb)(void *ctx,
|
/freebsd-11-stable/crypto/openssl/crypto/dh/ |
H A D | dh_gen.c | 74 BN_GENCB *cb); 77 BN_GENCB *cb) 87 return ret->meth->generate_params(ret, prime_len, generator, cb); 90 return FIPS_dh_generate_parameters_ex(ret, prime_len, generator, cb); 92 return dh_builtin_genparams(ret, prime_len, generator, cb); 123 BN_GENCB *cb) 186 if (!BN_generate_prime_ex(ret->p, prime_len, 1, t1, t2, cb)) 188 if (!BN_GENCB_call(cb, 3, 0)) 76 DH_generate_parameters_ex(DH *ret, int prime_len, int generator, BN_GENCB *cb) argument 122 dh_builtin_genparams(DH *ret, int prime_len, int generator, BN_GENCB *cb) argument
|
/freebsd-11-stable/sys/sys/ |
H A D | gzio.h | 42 struct gzio_stream *gzio_init(gzio_cb cb, enum gzio_mode, size_t, int, void *);
|
/freebsd-11-stable/contrib/unbound/libunbound/ |
H A D | unbound-event.h | 98 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-11-stable/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_dma.c | 127 static void bcm_dma_cb_dump(struct bcm_dma_cb *cb); 135 struct bcm_dma_cb * cb; member in struct:bcm_dma_ch 178 struct bcm_dma_cb *cb; local 213 cb = sc->sc_dma_ch[ch].cb; 214 bzero(cb, sizeof(*cb)); 215 cb->info = INFO_WAIT_RESP; 303 ch->cb = cb_virt; 306 ch->cb 388 struct bcm_dma_cb *cb; local 506 bcm_dma_cb_dump(struct bcm_dma_cb *cb) argument 554 struct bcm_dma_cb *cb; local 598 struct bcm_dma_cb *cb; local [all...] |
/freebsd-11-stable/lib/libc/tests/gen/ |
H A D | ftw_test.c | 55 cb(const char *path, const struct stat *st, int type, struct FTW *f) function 100 ATF_REQUIRE_MSG(nftw(dir, cb, 10, ftwflags) != -1, 105 ATF_REQUIRE_MSG(nftw(dir, cb, 10, ftwflags) != -1, 110 ATF_REQUIRE_MSG(nftw(dir, cb, 10, ftwflags) != -1, 115 ATF_REQUIRE_MSG(nftw(dir, cb, 10, ftwflags) != -1,
|
/freebsd-11-stable/crypto/openssl/crypto/pem/ |
H A D | pem_pkey.c | 78 EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, argument 88 if (!PEM_bytes_read_bio(&data, &len, &nm, PEM_STRING_EVP_PKEY, bp, cb, u)) 112 if (cb) 113 klen = cb(psbuf, PEM_BUFSIZE, 0, u); 152 pem_password_cb *cb, void *u) 157 (char *)kstr, klen, cb, u); 161 pem_str, bp, x, enc, kstr, klen, cb, u); 215 EVP_PKEY *PEM_read_PrivateKey(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, argument 226 ret = PEM_read_bio_PrivateKey(b, x, cb, u); 233 pem_password_cb *cb, voi 150 PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument 231 PEM_write_PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument 253 PEM_read_bio_DHparams(BIO *bp, DH **x, pem_password_cb *cb, void *u) argument 278 PEM_read_DHparams(FILE *fp, DH **x, pem_password_cb *cb, void *u) argument [all...] |
H A D | pem_oth.c | 71 pem_password_cb *cb, void *u) 78 if (!PEM_bytes_read_bio(&data, &len, NULL, name, bp, cb, u)) 70 PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, pem_password_cb *cb, void *u) argument
|
H A D | pem.h | 222 type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u)\ 224 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \ 241 unsigned char *kstr, int klen, pem_password_cb *cb, \ 244 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \ 249 unsigned char *kstr, int klen, pem_password_cb *cb, \ 252 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \ 258 type *PEM_read_bio_##name(BIO *bp, type **x, pem_password_cb *cb, void *u)\ 260 return PEM_ASN1_read_bio((d2i_of_void *)d2i_##asn1, str,bp,(void **)x,cb,u); \ 277 unsigned char *kstr, int klen, pem_password_cb *cb, void *u) \ 279 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,enc,kstr,klen,cb, [all...] |
/freebsd-11-stable/crypto/openssl/crypto/bio/ |
H A D | bio_lib.c | 164 long (*cb) (struct bio_st *, int, const char *, int, 167 b->callback = cb; 193 long (*cb) (BIO *, int, const char *, int, long, long); 200 cb = b->callback; 201 if ((cb != NULL) && 202 ((i = (int)cb(b, BIO_CB_READ, out, outl, 0L, 1L)) <= 0)) 215 if (cb != NULL) 216 i = (int)cb(b, BIO_CB_READ | BIO_CB_RETURN, out, outl, 0L, (long)i); 223 long (*cb) (BIO *, int, const char *, int, long, long); 228 cb [all...] |
/freebsd-11-stable/crypto/openssh/ |
H A D | atomicio.c | 53 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) {
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zfs/ |
H A D | zfs_main.c | 414 usage_prop_cb(int prop, void *cb) argument 416 FILE *fp = cb; 1073 destroy_cbdata_t *cb = data; local 1076 if (cb->cb_verbose) { 1077 if (cb->cb_parsable) { 1079 } else if (cb->cb_dryrun) { 1097 if (cb->cb_dryrun) { 1109 fnvlist_add_boolean(cb->cb_batchedsnaps, name); 1112 cb->cb_batchedsnaps, B_FALSE); 1113 fnvlist_free(cb 1131 destroy_cbdata_t *cb = arg; local 1171 destroy_print_snapshots(zfs_handle_t *fs_zhp, destroy_cbdata_t *cb) argument 1195 destroy_cbdata_t *cb = arg; local 1217 destroy_cbdata_t *cb = arg; local 1241 destroy_clones(destroy_cbdata_t *cb) argument 1272 destroy_cbdata_t cb = { 0 }; local 1651 zprop_get_cbdata_t cb = { 0 }; local 1899 inherit_cbdata_t *cb = data; local 1916 inherit_cbdata_t *cb = data; local 1926 inherit_cbdata_t cb = { 0 }; local 2039 upgrade_cbdata_t *cb = data; local 2075 upgrade_cbdata_t *cb = data; local 2141 upgrade_cbdata_t cb = { 0 }; local 2441 us_cbdata_t *cb = (us_cbdata_t *)arg; local 2752 us_cbdata_t cb; local 2977 print_header(list_cbdata_t *cb) argument 3020 print_dataset(zfs_handle_t *zhp, list_cbdata_t *cb) argument 3121 list_cbdata_t cb = { 0 }; local 3518 rollback_cbdata_t cb = { 0 }; local 5743 holds_cbdata_t cb = { 0 }; local 6264 get_all_cb_t cb = { 0 }; local [all...] |
/freebsd-11-stable/sys/dev/ntb/ |
H A D | ntb_transport.h | 53 int ntb_transport_rx_enqueue(struct ntb_transport_qp *qp, void *cb, void *data, 55 int ntb_transport_tx_enqueue(struct ntb_transport_qp *qp, void *cb, void *data,
|