crypto/libressl/apps/openssl/dhparam.c
234
static int dh_cb(int p, int n, BN_GENCB *cb);
crypto/libressl/apps/openssl/dhparam.c
240
BN_GENCB *cb = NULL;
crypto/libressl/apps/openssl/dhparam.c
287
if ((cb = BN_GENCB_new()) == NULL) {
crypto/libressl/apps/openssl/dhparam.c
293
BN_GENCB_set(cb, dh_cb, bio_err);
crypto/libressl/apps/openssl/dhparam.c
299
NULL, 0, NULL, NULL, cb)) {
crypto/libressl/apps/openssl/dhparam.c
314
if (!dh || !DH_generate_parameters_ex(dh, num, dhparam_config.g, cb)) {
crypto/libressl/apps/openssl/dhparam.c
479
BN_GENCB_free(cb);
crypto/libressl/apps/openssl/dhparam.c
487
dh_cb(int p, int n, BN_GENCB *cb)
crypto/libressl/apps/openssl/dhparam.c
499
BIO_write(BN_GENCB_get_arg(cb), &c, 1);
crypto/libressl/apps/openssl/dhparam.c
500
(void) BIO_flush(BN_GENCB_get_arg(cb));
crypto/libressl/apps/openssl/dsaparam.c
159
static int dsa_cb(int p, int n, BN_GENCB *cb);
crypto/libressl/apps/openssl/dsaparam.c
167
BN_GENCB *cb = NULL;
crypto/libressl/apps/openssl/dsaparam.c
222
if ((cb = BN_GENCB_new()) == NULL) {
crypto/libressl/apps/openssl/dsaparam.c
228
BN_GENCB_set(cb, dsa_cb, bio_err);
crypto/libressl/apps/openssl/dsaparam.c
237
if (!DSA_generate_parameters_ex(dsa, numbits, NULL, 0, NULL, NULL, cb)) {
crypto/libressl/apps/openssl/dsaparam.c
353
BN_GENCB_free(cb);
crypto/libressl/apps/openssl/dsaparam.c
360
dsa_cb(int p, int n, BN_GENCB *cb)
crypto/libressl/apps/openssl/dsaparam.c
372
BIO_write(BN_GENCB_get_arg(cb), &c, 1);
crypto/libressl/apps/openssl/dsaparam.c
373
(void) BIO_flush(BN_GENCB_get_arg(cb));
crypto/libressl/apps/openssl/gendh.c
131
BN_GENCB *cb = NULL;
crypto/libressl/apps/openssl/gendh.c
144
if ((cb = BN_GENCB_new()) == NULL) {
crypto/libressl/apps/openssl/gendh.c
149
BN_GENCB_set(cb, dh_cb, bio_err);
crypto/libressl/apps/openssl/gendh.c
188
!DH_generate_parameters_ex(dh, numbits, gendh_config.g, cb))
crypto/libressl/apps/openssl/gendh.c
198
BN_GENCB_free(cb);
crypto/libressl/apps/openssl/gendh.c
205
dh_cb(int p, int n, BN_GENCB *cb)
crypto/libressl/apps/openssl/gendh.c
217
BIO_write(BN_GENCB_get_arg(cb), &c, 1);
crypto/libressl/apps/openssl/gendh.c
218
(void) BIO_flush(BN_GENCB_get_arg(cb));
crypto/libressl/apps/openssl/gendh.c
87
static int dh_cb(int p, int n, BN_GENCB *cb);
crypto/libressl/apps/openssl/genrsa.c
273
BN_GENCB *cb = NULL;
crypto/libressl/apps/openssl/genrsa.c
293
if ((cb = BN_GENCB_new()) == NULL) {
crypto/libressl/apps/openssl/genrsa.c
298
BN_GENCB_set(cb, genrsa_cb, bio_err);
crypto/libressl/apps/openssl/genrsa.c
341
!RSA_generate_key_ex(rsa, num, bn, cb))
crypto/libressl/apps/openssl/genrsa.c
362
BN_GENCB_free(cb);
crypto/libressl/apps/openssl/genrsa.c
376
genrsa_cb(int p, int n, BN_GENCB *cb)
crypto/libressl/apps/openssl/genrsa.c
388
BIO_write(BN_GENCB_get_arg(cb), &c, 1);
crypto/libressl/apps/openssl/genrsa.c
389
(void) BIO_flush(BN_GENCB_get_arg(cb));
crypto/libressl/apps/openssl/genrsa.c
86
static int genrsa_cb(int p, int n, BN_GENCB *cb);
crypto/libressl/apps/openssl/s_apps.h
122
int (*cb)(int s, unsigned char *context),
crypto/libressl/apps/openssl/s_socket.c
134
int (*cb)(int s, unsigned char *context),
crypto/libressl/apps/openssl/s_socket.c
157
i = cb(sock, context);
crypto/libressl/apps/openssl/verify.c
291
X509_STORE_set_verify_cb(cert_ctx, cb);
crypto/libressl/apps/openssl/verify.c
71
static int cb(int ok, X509_STORE_CTX *ctx);
crypto/libressl/crypto/bio/b_dump.c
136
if ((written = cb((void *)buf, strlen(buf), u)) < 0)
crypto/libressl/crypto/bio/b_dump.c
145
if ((written = cb((void *)buf, strlen(buf), u)) < 0)
crypto/libressl/crypto/bio/b_dump.c
73
BIO_dump_cb(int (*cb)(const void *data, size_t len, void *u),
crypto/libressl/crypto/bio/b_dump.c
76
return BIO_dump_indent_cb(cb, u, s, len, 0);
crypto/libressl/crypto/bio/b_dump.c
80
BIO_dump_indent_cb(int (*cb)(const void *data, size_t len, void *u),
crypto/libressl/crypto/bio/bio_lib.c
279
BIO_set_callback(BIO *b, BIO_callback_fn cb)
crypto/libressl/crypto/bio/bio_lib.c
281
b->callback = cb;
crypto/libressl/crypto/bio/bio_lib.c
291
BIO_set_callback_ex(BIO *b, BIO_callback_fn_ex cb)
crypto/libressl/crypto/bio/bio_lib.c
293
b->callback_ex = cb;
crypto/libressl/crypto/bio/bss_conn.c
129
BIO_info_cb *cb = NULL;
crypto/libressl/crypto/bio/bss_conn.c
132
cb = c->info_callback;
crypto/libressl/crypto/bio/bss_conn.c
278
if (cb != NULL) {
crypto/libressl/crypto/bio/bss_conn.c
279
if (!(ret = cb((BIO *)b, c->state, ret)))
crypto/libressl/crypto/bio/bss_conn.c
286
if (cb != NULL)
crypto/libressl/crypto/bio/bss_conn.c
287
ret = cb((BIO *)b, c->state, ret);
crypto/libressl/crypto/bn/bn_lcl.h
162
} cb;
crypto/libressl/crypto/bn/bn_lib.c
1142
BN_GENCB *cb;
crypto/libressl/crypto/bn/bn_lib.c
1144
if ((cb = calloc(1, sizeof(*cb))) == NULL)
crypto/libressl/crypto/bn/bn_lib.c
1147
return cb;
crypto/libressl/crypto/bn/bn_lib.c
1151
BN_GENCB_free(BN_GENCB *cb)
crypto/libressl/crypto/bn/bn_lib.c
1153
if (cb == NULL)
crypto/libressl/crypto/bn/bn_lib.c
1155
free(cb);
crypto/libressl/crypto/bn/bn_lib.c
1160
BN_GENCB_set_old(BN_GENCB *gencb, void (*cb)(int, int, void *), void *cb_arg)
crypto/libressl/crypto/bn/bn_lib.c
1163
gencb->cb.cb_1 = cb;
crypto/libressl/crypto/bn/bn_lib.c
1169
BN_GENCB_set(BN_GENCB *gencb, int (*cb)(int, int, BN_GENCB *), void *cb_arg)
crypto/libressl/crypto/bn/bn_lib.c
1172
gencb->cb.cb_2 = cb;
crypto/libressl/crypto/bn/bn_lib.c
1177
BN_GENCB_get_arg(BN_GENCB *cb)
crypto/libressl/crypto/bn/bn_lib.c
1179
return cb->arg;
crypto/libressl/crypto/bn/bn_prime.c
141
BN_GENCB_call(BN_GENCB *cb, int a, int b)
crypto/libressl/crypto/bn/bn_prime.c
144
if (!cb)
crypto/libressl/crypto/bn/bn_prime.c
146
switch (cb->ver) {
crypto/libressl/crypto/bn/bn_prime.c
149
if (!cb->cb.cb_1)
crypto/libressl/crypto/bn/bn_prime.c
151
cb->cb.cb_1(a, b, cb->arg);
crypto/libressl/crypto/bn/bn_prime.c
155
return cb->cb.cb_2(a, b, cb);
crypto/libressl/crypto/bn/bn_prime.c
165
const BIGNUM *rem, BN_GENCB *cb)
crypto/libressl/crypto/bn/bn_prime.c
208
if (!BN_GENCB_call(cb, 0, c1++))
crypto/libressl/crypto/bn/bn_prime.c
213
i = BN_is_prime_fasttest_ex(ret, checks, ctx, 0, cb);
crypto/libressl/crypto/bn/bn_prime.c
227
j = BN_is_prime_fasttest_ex(ret, 1, ctx, 0, cb);
crypto/libressl/crypto/bn/bn_prime.c
233
j = BN_is_prime_fasttest_ex(t, 1, ctx, 0, cb);
crypto/libressl/crypto/bn/bn_prime.c
239
if (!BN_GENCB_call(cb, 2, c1 - 1))
crypto/libressl/crypto/bn/bn_prime.c
257
BN_is_prime_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed, BN_GENCB *cb)
crypto/libressl/crypto/bn/bn_prime.c
259
return BN_is_prime_fasttest_ex(a, checks, ctx_passed, 0, cb);
crypto/libressl/crypto/bn/bn_prime.c
264
int do_trial_division, BN_GENCB *cb)
crypto/libressl/crypto/bn/bn_prime.c
301
if (!BN_GENCB_call(cb, 1, -1))
crypto/libressl/crypto/bn/bn_prime.c
366
if (!BN_GENCB_call(cb, 1, i))
crypto/libressl/crypto/cms/cms_io.c
103
PEM_read_CMS(FILE *fp, CMS_ContentInfo **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/cms/cms_io.c
106
(void **)x, cb, u);
crypto/libressl/crypto/cms/cms_io.c
96
PEM_read_bio_CMS(BIO *bp, CMS_ContentInfo **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/cms/cms_io.c
99
(void **)x, cb, u);
crypto/libressl/crypto/dh/dh_gen.c
110
dh_builtin_genparams(DH *ret, int prime_len, int generator, BN_GENCB *cb)
crypto/libressl/crypto/dh/dh_gen.c
163
if (!BN_generate_prime_ex(ret->p, prime_len, 1, t1, t2, cb))
crypto/libressl/crypto/dh/dh_gen.c
165
if (!BN_GENCB_call(cb, 3, 0))
crypto/libressl/crypto/dh/dh_gen.c
73
BN_GENCB *cb);
crypto/libressl/crypto/dh/dh_gen.c
76
DH_generate_parameters_ex(DH *ret, int prime_len, int generator, BN_GENCB *cb)
crypto/libressl/crypto/dh/dh_gen.c
79
return ret->meth->generate_params(ret, prime_len, generator, cb);
crypto/libressl/crypto/dh/dh_gen.c
80
return dh_builtin_genparams(ret, prime_len, generator, cb);
crypto/libressl/crypto/dh/dh_local.h
77
BN_GENCB *cb);
crypto/libressl/crypto/dh/dh_pmeth.c
194
BN_GENCB *pcb, cb;
crypto/libressl/crypto/dh/dh_pmeth.c
198
pcb = &cb;
crypto/libressl/crypto/dsa/dsa_depr.c
79
BN_GENCB cb;
crypto/libressl/crypto/dsa/dsa_depr.c
85
BN_GENCB_set_old(&cb, callback, cb_arg);
crypto/libressl/crypto/dsa/dsa_depr.c
88
counter_ret, h_ret, &cb))
crypto/libressl/crypto/dsa/dsa_gen.c
101
int *counter_ret, unsigned long *h_ret, BN_GENCB *cb)
crypto/libressl/crypto/dsa/dsa_gen.c
177
if (!BN_GENCB_call(cb, 0, m++))
crypto/libressl/crypto/dsa/dsa_gen.c
214
seed_is_random, cb);
crypto/libressl/crypto/dsa/dsa_gen.c
224
if (!BN_GENCB_call(cb, 2, 0))
crypto/libressl/crypto/dsa/dsa_gen.c
226
if (!BN_GENCB_call(cb, 3, 0))
crypto/libressl/crypto/dsa/dsa_gen.c
236
if (counter != 0 && !BN_GENCB_call(cb, 0, counter))
crypto/libressl/crypto/dsa/dsa_gen.c
285
ctx, 1, cb);
crypto/libressl/crypto/dsa/dsa_gen.c
302
if (!BN_GENCB_call(cb, 2, 1))
crypto/libressl/crypto/dsa/dsa_gen.c
328
if (!BN_GENCB_call(cb, 3, 1))
crypto/libressl/crypto/dsa/dsa_gen.c
76
int seed_len, int *counter_ret, unsigned long *h_ret, BN_GENCB *cb)
crypto/libressl/crypto/dsa/dsa_gen.c
80
counter_ret, h_ret, cb);
crypto/libressl/crypto/dsa/dsa_gen.c
94
seed_len, NULL, counter_ret, h_ret, cb);
crypto/libressl/crypto/dsa/dsa_locl.h
116
int *counter_ret, unsigned long *h_ret, BN_GENCB *cb);
crypto/libressl/crypto/dsa/dsa_locl.h
83
int seed_len, int *counter_ret, unsigned long *h_ret, BN_GENCB *cb);
crypto/libressl/crypto/dsa/dsa_pmeth.c
284
BN_GENCB *pcb, cb;
crypto/libressl/crypto/dsa/dsa_pmeth.c
288
pcb = &cb;
crypto/libressl/crypto/dso/dso_lib.c
322
DSO_set_name_converter(DSO *dso, DSO_NAME_CONVERTER_FUNC cb,
crypto/libressl/crypto/dso/dso_lib.c
331
dso->name_converter = cb;
crypto/libressl/crypto/engine/eng_int.h
102
void engine_cleanup_add_first(ENGINE_CLEANUP_CB *cb);
crypto/libressl/crypto/engine/eng_int.h
103
void engine_cleanup_add_last(ENGINE_CLEANUP_CB *cb);
crypto/libressl/crypto/engine/eng_int.h
129
void engine_table_doall(ENGINE_TABLE *table, engine_table_doall_cb *cb,
crypto/libressl/crypto/engine/eng_int.h
99
ENGINE_CLEANUP_CB *cb;
crypto/libressl/crypto/engine/eng_lib.c
165
int_cleanup_item(ENGINE_CLEANUP_CB *cb)
crypto/libressl/crypto/engine/eng_lib.c
171
item->cb = cb;
crypto/libressl/crypto/engine/eng_lib.c
176
engine_cleanup_add_first(ENGINE_CLEANUP_CB *cb)
crypto/libressl/crypto/engine/eng_lib.c
182
item = int_cleanup_item(cb);
crypto/libressl/crypto/engine/eng_lib.c
188
engine_cleanup_add_last(ENGINE_CLEANUP_CB *cb)
crypto/libressl/crypto/engine/eng_lib.c
194
item = int_cleanup_item(cb);
crypto/libressl/crypto/engine/eng_lib.c
202
(*(item->cb))();
crypto/libressl/crypto/engine/eng_table.c
341
dall->cb(pile->nid, pile->sk, pile->funct, dall->arg);
crypto/libressl/crypto/engine/eng_table.c
346
engine_table_doall(ENGINE_TABLE *table, engine_table_doall_cb *cb, void *arg)
crypto/libressl/crypto/engine/eng_table.c
350
dall.cb = cb;
crypto/libressl/crypto/engine/eng_table.c
82
engine_table_doall_cb *cb;
crypto/libressl/crypto/err/err_prn.c
70
ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u), void *u)
crypto/libressl/crypto/err/err_prn.c
87
if (cb(buf2, strlen(buf2), u) <= 0)
crypto/libressl/crypto/evp/bio_enc.c
395
long (*cb)(BIO *, int, const char *, int, long, long);
crypto/libressl/crypto/evp/bio_enc.c
403
if ((cb = BIO_get_callback(b)) != NULL) {
crypto/libressl/crypto/evp/bio_enc.c
404
if (cb(b, BIO_CB_CTRL, (const char *)c, BIO_CTRL_SET, e, 0L)
crypto/libressl/crypto/evp/bio_enc.c
414
if (cb != NULL)
crypto/libressl/crypto/evp/bio_enc.c
415
return cb(b, BIO_CB_CTRL, (const char *)c, BIO_CTRL_SET, e, 1L);
crypto/libressl/crypto/evp/evp_locl.h
268
void evp_pkey_set_cb_translate(BN_GENCB *cb, EVP_PKEY_CTX *ctx);
crypto/libressl/crypto/evp/pmeth_gn.c
165
EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb)
crypto/libressl/crypto/evp/pmeth_gn.c
167
ctx->pkey_gencb = cb;
crypto/libressl/crypto/evp/pmeth_gn.c
190
evp_pkey_set_cb_translate(BN_GENCB *cb, EVP_PKEY_CTX *ctx)
crypto/libressl/crypto/evp/pmeth_gn.c
192
BN_GENCB_set(cb, trans_cb, ctx);
crypto/libressl/crypto/mem_dbg.c
195
CRYPTO_mem_leaks_cb(CRYPTO_MEM_LEAK_CB *cb)
crypto/libressl/crypto/objects/obj_dat.c
179
added_obj_cmp(const ADDED_OBJ *ca, const ADDED_OBJ *cb)
crypto/libressl/crypto/objects/obj_dat.c
184
i = ca->type - cb->type;
crypto/libressl/crypto/objects/obj_dat.c
188
b = cb->obj;
crypto/libressl/crypto/pem/pem_all.c
145
PEM_read_X509_REQ(FILE *fp, X509_REQ **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
148
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
159
PEM_read_bio_X509_REQ(BIO *bp, X509_REQ **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
162
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
187
PEM_read_X509_CRL(FILE *fp, X509_CRL **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
190
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
201
PEM_read_bio_X509_CRL(BIO *bp, X509_CRL **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
204
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
215
PEM_read_PKCS7(FILE *fp, PKCS7 **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
218
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
229
PEM_read_bio_PKCS7(BIO *bp, PKCS7 **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
232
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
250
PEM_read_NETSCAPE_CERT_SEQUENCE(FILE *fp, NETSCAPE_CERT_SEQUENCE **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
253
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
257
PEM_read_bio_NETSCAPE_CERT_SEQUENCE(BIO *bp, NETSCAPE_CERT_SEQUENCE **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
260
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
299
PEM_read_RSAPrivateKey(FILE *fp, RSA **rsa, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
303
pktmp = PEM_read_PrivateKey(fp, NULL, cb, u);
crypto/libressl/crypto/pem/pem_all.c
309
unsigned char *kstr, int klen, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
312
x, enc, kstr, klen, cb, u);
crypto/libressl/crypto/pem/pem_all.c
316
PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
320
pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u);
crypto/libressl/crypto/pem/pem_all.c
326
const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb,
crypto/libressl/crypto/pem/pem_all.c
330
x, enc, kstr, klen, cb, u);
crypto/libressl/crypto/pem/pem_all.c
334
PEM_read_RSAPublicKey(FILE *fp, RSA **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
337
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
348
PEM_read_bio_RSAPublicKey(BIO *bp, RSA **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
351
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
362
PEM_read_RSA_PUBKEY(FILE *fp, RSA **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
365
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
376
PEM_read_bio_RSA_PUBKEY(BIO *bp, RSA **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
379
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
412
PEM_read_DSAPrivateKey(FILE *fp, DSA **dsa, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
416
pktmp = PEM_read_PrivateKey(fp, NULL, cb, u);
crypto/libressl/crypto/pem/pem_all.c
422
unsigned char *kstr, int klen, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
425
x, enc, kstr, klen, cb, u);
crypto/libressl/crypto/pem/pem_all.c
429
PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
433
pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u);
crypto/libressl/crypto/pem/pem_all.c
439
const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb,
crypto/libressl/crypto/pem/pem_all.c
443
x, enc, kstr, klen, cb, u);
crypto/libressl/crypto/pem/pem_all.c
447
PEM_read_DSA_PUBKEY(FILE *fp, DSA **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
450
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
468
PEM_read_bio_DSA_PUBKEY(BIO *bp, DSA **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
471
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
475
PEM_read_DSAparams(FILE *fp, DSA **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
478
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
489
PEM_read_bio_DSAparams(BIO *bp, DSA **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
492
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
525
PEM_read_ECPKParameters(FILE *fp, EC_GROUP **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
528
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
539
PEM_read_bio_ECPKParameters(BIO *bp, EC_GROUP **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
542
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
553
PEM_read_ECPrivateKey(FILE *fp, EC_KEY **eckey, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
557
pktmp = PEM_read_PrivateKey(fp, NULL, cb, u);
crypto/libressl/crypto/pem/pem_all.c
563
unsigned char *kstr, int klen, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
566
x, enc, kstr, klen, cb, u);
crypto/libressl/crypto/pem/pem_all.c
570
PEM_read_bio_ECPrivateKey(BIO *bp, EC_KEY **key, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
573
pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u);
crypto/libressl/crypto/pem/pem_all.c
579
const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb,
crypto/libressl/crypto/pem/pem_all.c
583
x, enc, kstr, klen, cb, u);
crypto/libressl/crypto/pem/pem_all.c
587
PEM_read_EC_PUBKEY(FILE *fp, EC_KEY **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
590
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
601
PEM_read_bio_EC_PUBKEY(BIO *bp, EC_KEY **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
604
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
619
PEM_read_DHparams(FILE *fp, DH **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
622
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
633
PEM_read_bio_DHparams(BIO *bp, DH **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
636
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
649
PEM_read_PUBKEY(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
652
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_all.c
663
PEM_read_bio_PUBKEY(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
666
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_info.c
233
if (!PEM_do_header(&cipher, data, &len, cb, u))
crypto/libressl/crypto/pem/pem_info.c
296
unsigned char *kstr, int klen, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_info.c
362
enc, kstr, klen, cb, u) <= 0)
crypto/libressl/crypto/pem/pem_info.c
81
PEM_X509_INFO_read(FILE *fp, STACK_OF(X509_INFO) *sk, pem_password_cb *cb,
crypto/libressl/crypto/pem/pem_info.c
92
ret = PEM_X509_INFO_read_bio(b, sk, cb, u);
crypto/libressl/crypto/pem/pem_info.c
98
PEM_X509_INFO_read_bio(BIO *bp, STACK_OF(X509_INFO) *sk, pem_password_cb *cb,
crypto/libressl/crypto/pem/pem_lib.c
173
pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_lib.c
183
ret = PEM_ASN1_read_bio(d2i, name, b, x, cb, u);
crypto/libressl/crypto/pem/pem_lib.c
283
const char *name, BIO *bp, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_lib.c
306
if (!PEM_do_header(&cipher, data, &len, cb, u))
crypto/libressl/crypto/pem/pem_oth.c
72
pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_oth.c
79
if (!PEM_bytes_read_bio(&data, &len, NULL, name, bp, cb, u))
crypto/libressl/crypto/pem/pem_pk8.c
104
char *kstr, int klen, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pk8.c
106
return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, u);
crypto/libressl/crypto/pem/pem_pk8.c
111
char *kstr, int klen, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pk8.c
124
if (!cb)
crypto/libressl/crypto/pem/pem_pk8.c
127
klen = cb(buf, PEM_BUFSIZE, 1, u);
crypto/libressl/crypto/pem/pem_pk8.c
157
d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pk8.c
168
if (cb)
crypto/libressl/crypto/pem/pem_pk8.c
169
klen = cb(psbuf, PEM_BUFSIZE, 0, u);
crypto/libressl/crypto/pem/pem_pk8.c
195
char *kstr, int klen, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pk8.c
197
return do_pk8pkey_fp(fp, x, 1, -1, enc, kstr, klen, cb, u);
crypto/libressl/crypto/pem/pem_pk8.c
202
int klen, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pk8.c
204
return do_pk8pkey_fp(fp, x, 1, nid, NULL, kstr, klen, cb, u);
crypto/libressl/crypto/pem/pem_pk8.c
209
int klen, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pk8.c
211
return do_pk8pkey_fp(fp, x, 0, nid, NULL, kstr, klen, cb, u);
crypto/libressl/crypto/pem/pem_pk8.c
216
char *kstr, int klen, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pk8.c
218
return do_pk8pkey_fp(fp, x, 0, -1, enc, kstr, klen, cb, u);
crypto/libressl/crypto/pem/pem_pk8.c
223
char *kstr, int klen, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pk8.c
232
ret = do_pk8pkey(bp, x, isder, nid, enc, kstr, klen, cb, u);
crypto/libressl/crypto/pem/pem_pk8.c
238
d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pk8.c
247
ret = d2i_PKCS8PrivateKey_bio(bp, x, cb, u);
crypto/libressl/crypto/pem/pem_pk8.c
253
PEM_read_PKCS8(FILE *fp, X509_SIG **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pk8.c
256
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_pk8.c
267
PEM_read_bio_PKCS8(BIO *bp, X509_SIG **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pk8.c
270
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_pk8.c
281
PEM_read_PKCS8_PRIV_KEY_INFO(FILE *fp, PKCS8_PRIV_KEY_INFO **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pk8.c
284
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_pk8.c
295
PEM_read_bio_PKCS8_PRIV_KEY_INFO(BIO *bp, PKCS8_PRIV_KEY_INFO **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pk8.c
298
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_pk8.c
71
const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u);
crypto/libressl/crypto/pem/pem_pk8.c
73
const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u);
crypto/libressl/crypto/pem/pem_pk8.c
83
int klen, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pk8.c
85
return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u);
crypto/libressl/crypto/pem/pem_pk8.c
90
char *kstr, int klen, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pk8.c
92
return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u);
crypto/libressl/crypto/pem/pem_pk8.c
97
char *kstr, int klen, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pk8.c
99
return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u);
crypto/libressl/crypto/pem/pem_pkey.c
115
if (cb)
crypto/libressl/crypto/pem/pem_pkey.c
116
klen = cb(psbuf, PEM_BUFSIZE, 0, u);
crypto/libressl/crypto/pem/pem_pkey.c
153
unsigned char *kstr, int klen, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pkey.c
157
(char *)kstr, klen, cb, u);
crypto/libressl/crypto/pem/pem_pkey.c
159
return PEM_write_bio_PrivateKey_traditional(bp, x, enc, kstr, klen, cb,
crypto/libressl/crypto/pem/pem_pkey.c
165
const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb,
crypto/libressl/crypto/pem/pem_pkey.c
173
pem_str, bp, x, enc, kstr, klen, cb, u);
crypto/libressl/crypto/pem/pem_pkey.c
231
PEM_read_PrivateKey(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pkey.c
241
ret = PEM_read_bio_PrivateKey(b, x, cb, u);
crypto/libressl/crypto/pem/pem_pkey.c
248
unsigned char *kstr, int klen, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pkey.c
257
ret = PEM_write_bio_PrivateKey(b, x, enc, kstr, klen, cb, u);
crypto/libressl/crypto/pem/pem_pkey.c
82
PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_pkey.c
92
bp, cb, u))
crypto/libressl/crypto/pem/pem_x509.c
69
PEM_read_X509(FILE *fp, X509 **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_x509.c
72
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_x509.c
83
PEM_read_bio_X509(BIO *bp, X509 **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_x509.c
86
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_xaux.c
69
PEM_read_X509_AUX(FILE *fp, X509 **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_xaux.c
72
(void **)x, cb, u);
crypto/libressl/crypto/pem/pem_xaux.c
83
PEM_read_bio_X509_AUX(BIO *bp, X509 **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_xaux.c
86
(void **)x, cb, u);
crypto/libressl/crypto/pem/pvkfmt.c
723
unsigned int keylen, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pvkfmt.c
740
if (cb)
crypto/libressl/crypto/pem/pvkfmt.c
741
inlen = cb(psbuf, PEM_BUFSIZE, 0, u);
crypto/libressl/crypto/pem/pvkfmt.c
807
b2i_PVK_bio(BIO *in, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pvkfmt.c
834
ret = do_PVK_body(&p, saltlen, keylen, cb, u);
crypto/libressl/crypto/pem/pvkfmt.c
842
i2b_PVK(unsigned char **out, EVP_PKEY*pk, int enclevel, pem_password_cb *cb,
crypto/libressl/crypto/pem/pvkfmt.c
884
if (cb)
crypto/libressl/crypto/pem/pvkfmt.c
885
inlen = cb(psbuf, PEM_BUFSIZE, 1, u);
crypto/libressl/crypto/pem/pvkfmt.c
917
i2b_PVK_bio(BIO *out, EVP_PKEY *pk, int enclevel, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pvkfmt.c
922
outlen = i2b_PVK(&tmp, pk, enclevel, cb, u);
crypto/libressl/crypto/rsa/rsa_depr.c
75
BN_GENCB cb;
crypto/libressl/crypto/rsa/rsa_depr.c
91
BN_GENCB_set_old(&cb, callback, cb_arg);
crypto/libressl/crypto/rsa/rsa_depr.c
93
if (RSA_generate_key_ex(rsa, bits, e, &cb)) {
crypto/libressl/crypto/rsa/rsa_gen.c
138
if (!BN_generate_prime_ex(rsa->p, bitsp, 0, NULL, NULL, cb))
crypto/libressl/crypto/rsa/rsa_gen.c
146
if (!BN_GENCB_call(cb, 2, n++))
crypto/libressl/crypto/rsa/rsa_gen.c
149
if (!BN_GENCB_call(cb, 3, 0))
crypto/libressl/crypto/rsa/rsa_gen.c
160
cb))
crypto/libressl/crypto/rsa/rsa_gen.c
175
if (!BN_GENCB_call(cb, 2, n++))
crypto/libressl/crypto/rsa/rsa_gen.c
178
if (!BN_GENCB_call(cb, 3, 1))
crypto/libressl/crypto/rsa/rsa_gen.c
75
static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb);
crypto/libressl/crypto/rsa/rsa_gen.c
85
RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb)
crypto/libressl/crypto/rsa/rsa_gen.c
88
return rsa->meth->rsa_keygen(rsa, bits, e_value, cb);
crypto/libressl/crypto/rsa/rsa_gen.c
89
return rsa_builtin_keygen(rsa, bits, e_value, cb);
crypto/libressl/crypto/rsa/rsa_gen.c
93
rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb)
crypto/libressl/crypto/rsa/rsa_locl.h
45
int (*rsa_keygen)(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
crypto/libressl/crypto/rsa/rsa_meth.c
151
BIGNUM *e, BN_GENCB *cb))
crypto/libressl/crypto/rsa/rsa_meth.c
228
BN_GENCB *cb)
crypto/libressl/crypto/rsa/rsa_pmeth.c
748
BN_GENCB *pcb, cb;
crypto/libressl/crypto/rsa/rsa_pmeth.c
760
pcb = &cb;
crypto/libressl/crypto/ts/ts_conf.c
191
TS_CONF_set_serial(CONF *conf, const char *section, TS_serial_cb cb,
crypto/libressl/crypto/ts/ts_conf.c
201
TS_RESP_CTX_set_serial_cb(ctx, cb, serial);
crypto/libressl/crypto/ts/ts_rsp_sign.c
147
TS_RESP_CTX_set_time_cb(TS_RESP_CTX *ctx, TS_time_cb cb, void *data)
crypto/libressl/crypto/ts/ts_rsp_sign.c
149
ctx->time_cb = cb;
crypto/libressl/crypto/ts/ts_rsp_sign.c
326
TS_RESP_CTX_set_serial_cb(TS_RESP_CTX *ctx, TS_serial_cb cb, void *data)
crypto/libressl/crypto/ts/ts_rsp_sign.c
328
ctx->serial_cb = cb;
crypto/libressl/crypto/ts/ts_rsp_sign.c
333
TS_RESP_CTX_set_extension_cb(TS_RESP_CTX *ctx, TS_extension_cb cb, void *data)
crypto/libressl/crypto/ts/ts_rsp_sign.c
335
ctx->extension_cb = cb;
crypto/libressl/crypto/x509/x509_vfy.c
251
int (*cb) (int xok, X509_STORE_CTX *xctx);
crypto/libressl/crypto/x509/x509_vfy.c
254
cb = ctx->verify_cb;
crypto/libressl/crypto/x509/x509_vfy.c
386
ok = cb(0, ctx);
crypto/libressl/crypto/x509/x509_vfy.c
517
ok = cb(0, ctx);
crypto/libressl/crypto/x509/x509_vfy.c
739
int (*cb)(int xok, X509_STORE_CTX *xctx);
crypto/libressl/crypto/x509/x509_vfy.c
744
cb = ctx->verify_cb;
crypto/libressl/crypto/x509/x509_vfy.c
775
ok = cb(0, ctx);
crypto/libressl/crypto/x509/x509_vfy.c
783
ok = cb(0, ctx);
crypto/libressl/crypto/x509/x509_vfy.c
817
ok = cb(0, ctx);
crypto/libressl/crypto/x509/x509_vfy.c
829
ok = cb(0, ctx);
crypto/libressl/crypto/x509/x509_vfy.c
841
ok = cb(0, ctx);
crypto/libressl/crypto/x509/x509_vfy.c
858
ok = cb(0, ctx);
crypto/libressl/crypto/x509/x509_vfy.c
936
int (*cb) (int xok, X509_STORE_CTX *xctx);
crypto/libressl/crypto/x509/x509_vfy.c
938
cb = ctx->verify_cb;
crypto/libressl/crypto/x509/x509_vfy.c
955
ok = cb(0, ctx);
crypto/libressl/include/openssl/asn1t.h
179
#define ASN1_NDEF_SEQUENCE_cb(tname, cb) \
crypto/libressl/include/openssl/asn1t.h
180
ASN1_SEQUENCE_cb(tname, cb)
crypto/libressl/include/openssl/asn1t.h
182
#define ASN1_SEQUENCE_cb(tname, cb) \
crypto/libressl/include/openssl/asn1t.h
183
static const ASN1_AUX tname##_aux = {NULL, 0, 0, 0, cb, 0}; \
crypto/libressl/include/openssl/asn1t.h
186
#define ASN1_SEQUENCE_ref(tname, cb, lck) \
crypto/libressl/include/openssl/asn1t.h
187
static const ASN1_AUX tname##_aux = {NULL, ASN1_AFLG_REFCOUNT, offsetof(tname, references), lck, cb, 0}; \
crypto/libressl/include/openssl/asn1t.h
190
#define ASN1_SEQUENCE_enc(tname, enc, cb) \
crypto/libressl/include/openssl/asn1t.h
191
static const ASN1_AUX tname##_aux = {NULL, ASN1_AFLG_ENCODING, 0, 0, cb, offsetof(tname, enc)}; \
crypto/libressl/include/openssl/asn1t.h
287
#define ASN1_CHOICE_cb(tname, cb) \
crypto/libressl/include/openssl/asn1t.h
288
static const ASN1_AUX tname##_aux = {NULL, 0, 0, 0, cb, 0}; \
crypto/libressl/include/openssl/bio.h
421
#define BIO_set_proxy_cb(b,cb) BIO_callback_ctrl(b,BIO_C_SET_PROXY_PARAM,3,(void *(*cb)()))
crypto/libressl/include/openssl/bio.h
495
#define BIO_set_info_callback(b,cb) (int)BIO_callback_ctrl(b,BIO_CTRL_SET_CALLBACK,cb)
crypto/libressl/include/openssl/bio.h
623
BIO_dump_cb(int (*cb)(const void *data, size_t len, void *u),
crypto/libressl/include/openssl/bio.h
626
BIO_dump_indent_cb(int (*cb)(const void *data, size_t len, void *u),
crypto/libressl/include/openssl/bn.h
245
void BN_GENCB_free(BN_GENCB *cb);
crypto/libressl/include/openssl/bn.h
248
int BN_GENCB_call(BN_GENCB *cb, int a, int b);
crypto/libressl/include/openssl/bn.h
258
void *BN_GENCB_get_arg(BN_GENCB *cb);
crypto/libressl/include/openssl/bn.h
491
const BIGNUM *rem, BN_GENCB *cb);
crypto/libressl/include/openssl/bn.h
492
int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
crypto/libressl/include/openssl/bn.h
494
int do_trial_division, BN_GENCB *cb);
crypto/libressl/include/openssl/bn.h
500
const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb);
crypto/libressl/include/openssl/bn.h
505
BN_GENCB *cb);
crypto/libressl/include/openssl/cms.h
140
pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/cms.h
142
pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/crypto.h
488
int CRYPTO_mem_leaks_cb(CRYPTO_MEM_LEAK_CB *cb);
crypto/libressl/include/openssl/dh.h
172
int DH_generate_parameters_ex(DH *dh, int prime_len,int generator, BN_GENCB *cb);
crypto/libressl/include/openssl/dsa.h
179
int *counter_ret, unsigned long *h_ret, BN_GENCB *cb);
crypto/libressl/include/openssl/dso.h
223
int DSO_set_name_converter(DSO *dso, DSO_NAME_CONVERTER_FUNC cb,
crypto/libressl/include/openssl/err.h
380
void ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u),
crypto/libressl/include/openssl/evp.h
1094
void EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb);
crypto/libressl/include/openssl/ocsp.h
168
#define PEM_read_bio_OCSP_REQUEST(bp,x,cb) \
crypto/libressl/include/openssl/ocsp.h
170
PEM_STRING_OCSP_REQUEST,bp,(char **)x,cb,NULL)
crypto/libressl/include/openssl/ocsp.h
172
#define PEM_read_bio_OCSP_RESPONSE(bp,x,cb) \
crypto/libressl/include/openssl/ocsp.h
174
PEM_STRING_OCSP_RESPONSE,bp,(char **)x,cb,NULL)
crypto/libressl/include/openssl/pem.h
202
type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u)\
crypto/libressl/include/openssl/pem.h
204
return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \
crypto/libressl/include/openssl/pem.h
221
unsigned char *kstr, int klen, pem_password_cb *cb, \
crypto/libressl/include/openssl/pem.h
224
return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \
crypto/libressl/include/openssl/pem.h
229
unsigned char *kstr, int klen, pem_password_cb *cb, \
crypto/libressl/include/openssl/pem.h
232
return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \
crypto/libressl/include/openssl/pem.h
237
type *PEM_read_bio_##name(BIO *bp, type **x, pem_password_cb *cb, void *u)\
crypto/libressl/include/openssl/pem.h
239
return PEM_ASN1_read_bio((d2i_of_void *)d2i_##asn1, str,bp,(void **)x,cb,u); \
crypto/libressl/include/openssl/pem.h
256
unsigned char *kstr, int klen, pem_password_cb *cb, void *u) \
crypto/libressl/include/openssl/pem.h
258
return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,enc,kstr,klen,cb,u); \
crypto/libressl/include/openssl/pem.h
263
unsigned char *kstr, int klen, pem_password_cb *cb, void *u) \
crypto/libressl/include/openssl/pem.h
265
return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(void *)x,enc,kstr,klen,cb,u); \
crypto/libressl/include/openssl/pem.h
306
type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/pem.h
316
unsigned char *kstr, int klen, pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/pem.h
321
type *PEM_read_bio_##name(BIO *bp, type **x, pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/pem.h
331
unsigned char *kstr, int klen, pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/pem.h
382
const char *name, BIO *bp, pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/pem.h
384
void **x, pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/pem.h
387
pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/pem.h
390
STACK_OF(X509_INFO) *sk, pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/pem.h
400
pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/pem.h
405
pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/pem.h
470
const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb,
crypto/libressl/include/openssl/pem.h
474
pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/pem.h
479
pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/pem.h
482
pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/pem.h
483
EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb,
crypto/libressl/include/openssl/pem.h
488
pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/pem.h
491
pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/pem.h
494
pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/pem.h
496
EVP_PKEY *d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb,
crypto/libressl/include/openssl/pem.h
513
EVP_PKEY *b2i_PVK_bio(BIO *in, pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/pem.h
514
int i2b_PVK_bio(BIO *out, EVP_PKEY *pk, int enclevel, pem_password_cb *cb,
crypto/libressl/include/openssl/rsa.h
250
int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
crypto/libressl/include/openssl/rsa.h
441
BIGNUM *e, BN_GENCB *cb));
crypto/libressl/include/openssl/rsa.h
460
BN_GENCB *cb);
crypto/libressl/include/openssl/ssl.h
1263
void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx, int (*cb)(X509_STORE_CTX *, void *), void *arg);
crypto/libressl/include/openssl/ssl.h
1272
void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb);
crypto/libressl/include/openssl/ssl.h
1428
void (*cb)(const SSL *ssl, int type, int val));
crypto/libressl/include/openssl/ssl.h
1485
RSA *(*cb)(SSL *ssl, int is_export, int keylength));
crypto/libressl/include/openssl/ssl.h
1488
RSA *(*cb)(SSL *ssl, int is_export, int keylength));
crypto/libressl/include/openssl/ssl.h
1512
tls_session_ticket_ext_cb_fn cb, void *arg);
crypto/libressl/include/openssl/ssl.h
505
void SSL_CTX_set_msg_callback(SSL_CTX *ctx, void (*cb)(int write_p,
crypto/libressl/include/openssl/ssl.h
508
void SSL_set_msg_callback(SSL *ssl, void (*cb)(int write_p, int version,
crypto/libressl/include/openssl/ssl.h
513
void SSL_CTX_set_keylog_callback(SSL_CTX *ctx, SSL_CTX_keylog_cb_func cb);
crypto/libressl/include/openssl/ssl.h
605
void SSL_CTX_set_info_callback(SSL_CTX *ctx, void (*cb)(const SSL *ssl,
crypto/libressl/include/openssl/ssl.h
622
void SSL_CTX_set_next_protos_advertised_cb(SSL_CTX *s, int (*cb)(SSL *ssl,
crypto/libressl/include/openssl/ssl.h
624
void SSL_CTX_set_next_proto_select_cb(SSL_CTX *s, int (*cb)(SSL *ssl,
crypto/libressl/include/openssl/ssl.h
643
int (*cb)(SSL *ssl, const unsigned char **out, unsigned char *outlen,
crypto/libressl/include/openssl/ssl.h
651
void SSL_set_psk_use_session_callback(SSL *s, SSL_psk_use_session_cb_func cb);
crypto/libressl/include/openssl/ssl.h
776
pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/ssl.h
778
pem_password_cb *cb, void *u);
crypto/libressl/include/openssl/tls1.h
322
#define SSL_set_tlsext_debug_callback(ssl, cb) \
crypto/libressl/include/openssl/tls1.h
323
SSL_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_CB,(void (*)(void))cb)
crypto/libressl/include/openssl/tls1.h
352
#define SSL_CTX_set_tlsext_servername_callback(ctx, cb) \
crypto/libressl/include/openssl/tls1.h
353
SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TLSEXT_SERVERNAME_CB,(void (*)(void))cb)
crypto/libressl/include/openssl/tls1.h
368
#define SSL_CTX_get_tlsext_status_cb(ssl, cb) \
crypto/libressl/include/openssl/tls1.h
369
SSL_CTX_callback_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_CB,(void (*)(void))cb)
crypto/libressl/include/openssl/tls1.h
370
#define SSL_CTX_set_tlsext_status_cb(ssl, cb) \
crypto/libressl/include/openssl/tls1.h
371
SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB,(void (*)(void))cb)
crypto/libressl/include/openssl/tls1.h
378
#define SSL_CTX_set_tlsext_ticket_key_cb(ssl, cb) \
crypto/libressl/include/openssl/tls1.h
379
SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,(void (*)(void))cb)
crypto/libressl/include/openssl/ts.h
399
void TS_RESP_CTX_set_serial_cb(TS_RESP_CTX *ctx, TS_serial_cb cb, void *data);
crypto/libressl/include/openssl/ts.h
402
void TS_RESP_CTX_set_time_cb(TS_RESP_CTX *ctx, TS_time_cb cb, void *data);
crypto/libressl/include/openssl/ts.h
408
TS_extension_cb cb, void *data);
crypto/libressl/include/openssl/ts.h
544
int TS_CONF_set_serial(CONF *conf, const char *section, TS_serial_cb cb,
crypto/libressl/ssl/ssl_lib.c
1759
SSL_CTX_set_next_protos_advertised_cb(SSL_CTX *ctx, int (*cb) (SSL *ssl,
crypto/libressl/ssl/ssl_lib.c
1766
SSL_CTX_set_next_proto_select_cb(SSL_CTX *ctx, int (*cb) (SSL *s,
crypto/libressl/ssl/ssl_lib.c
1845
int (*cb) (SSL *ssl, const unsigned char **out, unsigned char *outlen,
crypto/libressl/ssl/ssl_lib.c
1848
ctx->internal->alpn_select_cb = cb;
crypto/libressl/ssl/ssl_lib.c
1867
SSL_set_psk_use_session_callback(SSL *s, SSL_psk_use_session_cb_func cb)
crypto/libressl/ssl/ssl_lib.c
2165
SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb)
crypto/libressl/ssl/ssl_lib.c
2167
ctx->default_passwd_callback = cb;
crypto/libressl/ssl/ssl_lib.c
2184
int (*cb)(X509_STORE_CTX *, void *), void *arg)
crypto/libressl/ssl/ssl_lib.c
2186
ctx->internal->app_verify_callback = cb;
crypto/libressl/ssl/ssl_lib.c
2191
SSL_CTX_set_verify(SSL_CTX *ctx, int mode, int (*cb)(int, X509_STORE_CTX *))
crypto/libressl/ssl/ssl_lib.c
2194
ctx->internal->default_verify_callback = cb;
crypto/libressl/ssl/ssl_lib.c
2930
ssl_info_callback_fn *cb;
crypto/libressl/ssl/ssl_lib.c
2932
if ((cb = s->internal->info_callback) == NULL)
crypto/libressl/ssl/ssl_lib.c
2933
cb = s->ctx->internal->info_callback;
crypto/libressl/ssl/ssl_lib.c
2934
if (cb != NULL)
crypto/libressl/ssl/ssl_lib.c
2935
cb(s, type, value);
crypto/libressl/ssl/ssl_lib.c
3158
SSL_set_info_callback(SSL *ssl, void (*cb)(const SSL *ssl, int type, int val))
crypto/libressl/ssl/ssl_lib.c
3160
ssl->internal->info_callback = cb;
crypto/libressl/ssl/ssl_lib.c
3294
SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx, RSA *(*cb)(SSL *ssl, int is_export,
crypto/libressl/ssl/ssl_lib.c
3297
SSL_CTX_callback_ctrl(ctx, SSL_CTRL_SET_TMP_RSA_CB,(void (*)(void))cb);
crypto/libressl/ssl/ssl_lib.c
3301
SSL_set_tmp_rsa_callback(SSL *ssl, RSA *(*cb)(SSL *ssl, int is_export,
crypto/libressl/ssl/ssl_lib.c
3304
SSL_callback_ctrl(ssl, SSL_CTRL_SET_TMP_RSA_CB,(void (*)(void))cb);
crypto/libressl/ssl/ssl_lib.c
3338
SSL_CTX_set_msg_callback(SSL_CTX *ctx, void (*cb)(int write_p, int version,
crypto/libressl/ssl/ssl_lib.c
3342
(void (*)(void))cb);
crypto/libressl/ssl/ssl_lib.c
3346
SSL_set_msg_callback(SSL *ssl, void (*cb)(int write_p, int version,
crypto/libressl/ssl/ssl_lib.c
3349
SSL_callback_ctrl(ssl, SSL_CTRL_SET_MSG_CALLBACK, (void (*)(void))cb);
crypto/libressl/ssl/ssl_lib.c
391
SSL_CTX_set_generate_session_id(SSL_CTX *ctx, GEN_SESSION_CB cb)
crypto/libressl/ssl/ssl_lib.c
394
ctx->internal->generate_session_id = cb;
crypto/libressl/ssl/ssl_lib.c
400
SSL_set_generate_session_id(SSL *ssl, GEN_SESSION_CB cb)
crypto/libressl/ssl/ssl_lib.c
403
ssl->internal->generate_session_id = cb;
crypto/libressl/ssl/ssl_lib.c
775
SSL_CTX_set_keylog_callback(SSL_CTX *ctx, SSL_CTX_keylog_cb_func cb)
crypto/libressl/ssl/ssl_lib.c
777
ctx->internal->keylog_callback = cb;
crypto/libressl/ssl/ssl_sess.c
1107
int (*cb)(struct ssl_st *ssl, SSL_SESSION *sess)) {
crypto/libressl/ssl/ssl_sess.c
1108
ctx->internal->new_session_cb = cb;
crypto/libressl/ssl/ssl_sess.c
1119
void (*cb)(SSL_CTX *ctx, SSL_SESSION *sess))
crypto/libressl/ssl/ssl_sess.c
1121
ctx->internal->remove_session_cb = cb;
crypto/libressl/ssl/ssl_sess.c
1131
SSL_CTX_sess_set_get_cb(SSL_CTX *ctx, SSL_SESSION *(*cb)(struct ssl_st *ssl,
crypto/libressl/ssl/ssl_sess.c
1134
ctx->internal->get_session_cb = cb;
crypto/libressl/ssl/ssl_sess.c
1146
void (*cb)(const SSL *ssl, int type, int val))
crypto/libressl/ssl/ssl_sess.c
1148
ctx->internal->info_callback = cb;
crypto/libressl/ssl/ssl_sess.c
1159
int (*cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey))
crypto/libressl/ssl/ssl_sess.c
1161
ctx->internal->client_cert_cb = cb;
crypto/libressl/ssl/ssl_sess.c
1191
int (*cb)(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len))
crypto/libressl/ssl/ssl_sess.c
1193
ctx->internal->app_gen_cookie_cb = cb;
crypto/libressl/ssl/ssl_sess.c
1198
int (*cb)(SSL *ssl, const unsigned char *cookie, unsigned int cookie_len))
crypto/libressl/ssl/ssl_sess.c
1200
ctx->internal->app_verify_cookie_cb = cb;
crypto/libressl/ssl/ssl_sess.c
1211
PEM_read_SSL_SESSION(FILE *fp, SSL_SESSION **x, pem_password_cb *cb, void *u)
crypto/libressl/ssl/ssl_sess.c
1214
PEM_STRING_SSL_SESSION, fp, (void **)x, cb, u);
crypto/libressl/ssl/ssl_sess.c
1218
PEM_read_bio_SSL_SESSION(BIO *bp, SSL_SESSION **x, pem_password_cb *cb, void *u)
crypto/libressl/ssl/ssl_sess.c
1221
PEM_STRING_SSL_SESSION, bp, (void **)x, cb, u);
crypto/libressl/ssl/ssl_sess.c
322
GEN_SESSION_CB cb = def_generate_session_id;
crypto/libressl/ssl/ssl_sess.c
365
cb = s->internal->generate_session_id;
crypto/libressl/ssl/ssl_sess.c
367
cb = s->session_ctx->internal->generate_session_id;
crypto/libressl/ssl/ssl_sess.c
372
if (!cb(s, ss->session_id, &tmp)) {
crypto/libressl/ssl/ssl_sess.c
951
SSL_set_session_ticket_ext_cb(SSL *s, tls_session_ticket_ext_cb_fn cb,
crypto/libressl/ssl/ssl_sess.c
956
s->internal->tls_session_ticket_ext_cb = cb;
crypto/libressl/ssl/tls13_record_layer.c
1054
if ((ret = tls13_record_send(rl->wrec, rl->cb.wire_write,
crypto/libressl/ssl/tls13_record_layer.c
1081
if ((ret = tls13_record_send(rl->wrec, rl->cb.wire_write, rl->cb_arg)) <= 0)
crypto/libressl/ssl/tls13_record_layer.c
1124
return rl->cb.wire_flush(rl->cb_arg);
crypto/libressl/ssl/tls13_record_layer.c
113
struct tls13_record_layer_callbacks cb;
crypto/libressl/ssl/tls13_record_layer.c
1149
if (rl->cb.handshake_read != NULL)
crypto/libressl/ssl/tls13_record_layer.c
1150
return rl->cb.handshake_read(buf, n, rl->cb_arg);
crypto/libressl/ssl/tls13_record_layer.c
1159
if (rl->cb.handshake_write != NULL)
crypto/libressl/ssl/tls13_record_layer.c
1160
return rl->cb.handshake_write(buf, n, rl->cb_arg);
crypto/libressl/ssl/tls13_record_layer.c
1208
if (rl->cb.alert_send != NULL)
crypto/libressl/ssl/tls13_record_layer.c
1209
return rl->cb.alert_send(alert_desc, rl->cb_arg);
crypto/libressl/ssl/tls13_record_layer.c
184
rl->cb = *callbacks;
crypto/libressl/ssl/tls13_record_layer.c
330
rl->cb.alert_recv(alert_desc, rl->cb_arg);
crypto/libressl/ssl/tls13_record_layer.c
364
rl->cb.alert_sent(rl->alert_desc, rl->cb_arg);
crypto/libressl/ssl/tls13_record_layer.c
389
rl->cb.phh_sent(rl->cb_arg);
crypto/libressl/ssl/tls13_record_layer.c
500
if (rl->cb.set_read_traffic_key != NULL)
crypto/libressl/ssl/tls13_record_layer.c
501
return rl->cb.set_read_traffic_key(read_key, read_level,
crypto/libressl/ssl/tls13_record_layer.c
512
if (rl->cb.set_write_traffic_key != NULL)
crypto/libressl/ssl/tls13_record_layer.c
513
return rl->cb.set_write_traffic_key(write_key, write_level,
crypto/libressl/ssl/tls13_record_layer.c
815
if ((ret = tls13_record_recv(rl->rrec, rl->cb.wire_read, rl->cb_arg)) <= 0) {
crypto/libressl/ssl/tls13_record_layer.c
929
if (rl->cb.phh_recv != NULL)
crypto/libressl/ssl/tls13_record_layer.c
930
ret = rl->cb.phh_recv(rl->cb_arg);
crypto/libressl/tls/tls_config.c
741
tls_config_set_sign_cb(struct tls_config *config, tls_sign_cb cb, void *cb_arg)
crypto/libressl/tls/tls_config.c
745
config->sign_cb = cb;
crypto/openssh/atomicio.c
107
int (*cb)(void *, size_t), void *cb_arg)
crypto/openssh/atomicio.c
133
if (cb != NULL && cb(cb_arg, 0) == -1) {
crypto/openssh/atomicio.c
166
if (cb != NULL && cb(cb_arg, (size_t)res) == -1) {
crypto/openssh/atomicio.c
52
int (*cb)(void *, size_t), void *cb_arg)
crypto/openssh/atomicio.c
71
if (cb != NULL && cb(cb_arg, 0) == -1) {
crypto/openssh/atomicio.c
86
if (cb != NULL && cb(cb_arg, (size_t)res) == -1) {
crypto/openssh/atomicio.h
39
int (*cb)(void *, size_t), void *);
crypto/openssh/atomicio.h
49
const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *);
crypto/openssh/channels.c
1149
channel_confirm_cb *cb, channel_confirm_abandon_cb *abandon_cb, void *ctx)
crypto/openssh/channels.c
1158
cc->cb = cb;
crypto/openssh/channels.c
3704
cc->cb(ssh, type, c, cc->ctx);
crypto/openssh/channels.h
101
channel_confirm_cb *cb;
crypto/openssh/clientloop.c
1844
int local_tun, int remote_tun, channel_open_fn *cb, void *cbctx)
crypto/openssh/clientloop.c
1872
if (cb != NULL)
crypto/openssh/clientloop.c
1873
channel_register_open_confirm(ssh, c->self, cb, cbctx);
crypto/openssh/clientloop.c
188
global_confirm_cb *cb;
crypto/openssh/clientloop.c
476
if (gc->cb != NULL)
crypto/openssh/clientloop.c
477
gc->cb(ssh, type, seq, gc->ctx);
crypto/openssh/clientloop.c
897
client_register_global_confirm(global_confirm_cb *cb, void *ctx)
crypto/openssh/clientloop.c
903
if (last_gc && last_gc->cb == cb && last_gc->ctx == ctx) {
crypto/openssh/clientloop.c
911
gc->cb = cb;
crypto/openssh/ssh_api.c
236
int (*cb)(struct sshkey *, struct ssh *))
crypto/openssh/ssh_api.c
238
if (cb == NULL || ssh->kex == NULL)
crypto/openssh/ssh_api.c
241
ssh->kex->verify_host_key = cb;
crypto/openssh/ssh_api.h
73
int (*cb)(struct sshkey *, struct ssh *));
games/cribbage/score.c
336
adjust(CARD cb[])
games/cribbage/score.c
341
c0 = cb[0].rank;
games/cribbage/score.c
342
c1 = cb[1].rank;
games/cribbage/score.c
348
if (cb[0].suit != cb[1].suit)
games/cribbage/support.c
234
CARD d[CARDS], h[FULLHAND], cb[2];
games/cribbage/support.c
250
cb[0] = chand[i];
games/cribbage/support.c
252
cb[1] = chand[j];
games/cribbage/support.c
261
sums[ns] += adjust(cb);
games/cribbage/support.c
263
sums[ns] -= adjust(cb);
games/fish/fish.c
313
int cb, i, ub;
games/fish/fish.c
321
cb = countbooks(comphand);
games/fish/fish.c
324
printf("\nI have %d, you have %d.\n", cb, ub);
games/fish/fish.c
325
if (ub > cb) {
games/fish/fish.c
329
} else if (cb > ub) {
games/gomoku/pickmove.c
1020
if (cb.s <= sp->s_combo[color].s) {
games/gomoku/pickmove.c
1021
if (cb.s != sp->s_combo[color].s) {
games/gomoku/pickmove.c
1022
sp->s_combo[color].s = cb.s;
games/gomoku/pickmove.c
1080
union comboval cb;
games/gomoku/pickmove.c
1087
cb.s = s;
games/gomoku/pickmove.c
1088
fcnt = cb.c.a - 2;
games/gomoku/pickmove.c
1098
i = cb.c.b ? 2 : 0;
games/gomoku/pickmove.c
1138
if (cb.c.b &&
games/gomoku/pickmove.c
1188
if (cb.c.b &&
games/gomoku/pickmove.c
237
union comboval cb;
games/gomoku/pickmove.c
249
cb.s = sp->s_fval[color][d = cbp->c_dir].s;
games/gomoku/pickmove.c
250
if (cb.s < 0x101) {
games/gomoku/pickmove.c
252
for (i = 5 + cb.c.b; --i >= 0; sp += d) {
games/gomoku/pickmove.c
255
sp->s_combo[color].s = cb.s;
games/gomoku/pickmove.c
277
cb.c.a = cp->c.a + 1;
games/gomoku/pickmove.c
278
cb.c.b = 0;
games/gomoku/pickmove.c
279
if (cb.s < sp->s_combo[color].s) {
games/gomoku/pickmove.c
280
sp->s_combo[color].s = cb.s;
games/gomoku/pickmove.c
287
makecombo2(cbp, sp, 0, cb.s);
games/gomoku/pickmove.c
289
cb.s = cp->s;
games/gomoku/pickmove.c
295
cb.s = cp->s;
games/gomoku/pickmove.c
316
makecombo2(cbp, sp, i, cb.s);
games/gomoku/pickmove.c
550
union comboval fcb, cb;
games/gomoku/pickmove.c
599
cb.c.a = fcb.c.a + 1;
games/gomoku/pickmove.c
600
cb.c.b = 0;
games/gomoku/pickmove.c
602
cb.s = fcb.s;
games/gomoku/pickmove.c
603
makecombo(cbp, fsp, 0, cb.s);
games/gomoku/pickmove.c
963
union comboval cb;
games/gomoku/pickmove.c
967
cb.c.a = cbp->c_combo.c.a;
games/gomoku/pickmove.c
975
cb.c.b = cbp->c_combo.c.b;
games/gomoku/pickmove.c
980
if (cb.s <= sp->s_combo[color].s) {
games/gomoku/pickmove.c
981
if (cb.s != sp->s_combo[color].s) {
games/gomoku/pickmove.c
982
sp->s_combo[color].s = cb.s;
games/gomoku/pickmove.c
996
if (cb.s <= sp->s_combo[color].s) {
games/gomoku/pickmove.c
997
if (cb.s != sp->s_combo[color].s) {
games/gomoku/pickmove.c
998
sp->s_combo[color].s = cb.s;
lib/libc/citrus/citrus_prop.c
386
errnum = (*hint->cb._func_.func)(context, \
lib/libc/citrus/citrus_prop.c
391
errnum = (*hint->cb._func_.func)(context, \
lib/libc/citrus/citrus_prop.h
73
} cb;
lib/libc/citrus/citrus_prop.h
76
#define _CITRUS_PROP_HINT_BOOL(name, cb) \
lib/libc/citrus/citrus_prop.h
77
{ name, _CITRUS_PROP_BOOL, { .boolean = { cb } } }
lib/libc/citrus/citrus_prop.h
78
#define _CITRUS_PROP_HINT_STR(name, cb) \
lib/libc/citrus/citrus_prop.h
79
{ name, _CITRUS_PROP_STR, { .str = { cb } } }
lib/libc/citrus/citrus_prop.h
80
#define _CITRUS_PROP_HINT_CHR(name, cb) \
lib/libc/citrus/citrus_prop.h
81
{ name, _CITRUS_PROP_CHR, { .chr = { cb } } }
lib/libc/citrus/citrus_prop.h
82
#define _CITRUS_PROP_HINT_NUM(name, cb) \
lib/libc/citrus/citrus_prop.h
83
{ name, _CITRUS_PROP_NUM, { .num = { cb } } }
lib/libc/include/nscache.h
163
#define NS_APPLY_OFFSET(cp, cb, ib, p_type) \
lib/libc/include/nscache.h
165
(cp) = (p_type)((char *)(cb) + (size_t)(cp) - (size_t)(ib))
lib/libc/include/nscache.h
170
#define NS_GET_NEWP(cp, cb, ib) \
lib/libc/include/nscache.h
171
((char *)(cb) + (size_t)(cp) - (size_t)(ib))
lib/libevtr/evtr.c
180
void (*cb)(evtr_event_t, void *data);
lib/libevtr/evtr.c
283
struct event_callback *cb;
lib/libevtr/evtr.c
286
if (!(cb = malloc(sizeof(*cb)))) {
lib/libevtr/evtr.c
290
cb->cb = fn;
lib/libevtr/evtr.c
291
cb->data = d;
lib/libevtr/evtr.c
292
if (!(cbs = realloc(q->cbs, (++q->ncbs) * sizeof(cb)))) {
lib/libevtr/evtr.c
294
free(cb);
lib/libevtr/evtr.c
299
q->cbs[q->ncbs - 1] = cb;
lib/libevtr/evtr.c
320
struct event_callback *cb;
lib/libevtr/evtr.c
324
cb = q->cbs[i];
lib/libevtr/evtr.c
325
cb->cb(ev, cb->data);
lib/libusb/libusb20.c
347
libusb20_tr_set_callback(struct libusb20_transfer *xfer, libusb20_tr_callback_t *cb)
lib/libusb/libusb20.c
349
xfer->callback = cb;
lib/libusb/libusb20.h
215
void libusb20_tr_set_callback(struct libusb20_transfer *xfer, libusb20_tr_callback_t *cb);
libexec/bootpd/getif.c
118
nmatch(u_char *ca, u_char *cb)
libexec/bootpd/getif.c
124
while (n && (*ca == *cb)) {
libexec/bootpd/getif.c
126
cb++;
libexec/bootpd/getif.c
133
while (n && ((*ca & n) == (*cb & n))) {
sbin/ifconfig/ifclone.c
194
.cb = clone_Copt_cb,
sbin/ifconfig/ifconfig.c
427
p->cb(optarg);
sbin/ifconfig/ifconfig.c
775
struct callback *cb;
sbin/ifconfig/ifconfig.c
777
cb = malloc(sizeof(struct callback));
sbin/ifconfig/ifconfig.c
778
if (cb == NULL)
sbin/ifconfig/ifconfig.c
780
cb->cb_func = func;
sbin/ifconfig/ifconfig.c
781
cb->cb_arg = arg;
sbin/ifconfig/ifconfig.c
782
cb->cb_next = callbacks;
sbin/ifconfig/ifconfig.c
783
callbacks = cb;
sbin/ifconfig/ifconfig.c
801
struct callback *cb;
sbin/ifconfig/ifconfig.c
825
cb = callbacks;
sbin/ifconfig/ifconfig.c
826
if (cb == NULL)
sbin/ifconfig/ifconfig.c
828
callbacks = cb->cb_next;
sbin/ifconfig/ifconfig.c
829
cb->cb_func(s, cb->cb_arg);
sbin/ifconfig/ifconfig.c
889
for (cb = callbacks; cb != NULL; cb = cb->cb_next)
sbin/ifconfig/ifconfig.c
890
cb->cb_func(s, cb->cb_arg);
sbin/ifconfig/ifconfig.h
137
void (*cb)(const char *arg);
sbin/ifconfig/ifieee80211.c
1990
const struct ieee80211_channel *cb = b;
sbin/ifconfig/ifieee80211.c
1992
return ca->ic_freq == cb->ic_freq ?
sbin/ifconfig/ifieee80211.c
1993
((int)ca->ic_flags & CHAN_ALL) - ((int)cb->ic_flags & CHAN_ALL) :
sbin/ifconfig/ifieee80211.c
1994
ca->ic_freq - cb->ic_freq;
sys/bus/isa/pnpparse.c
568
struct isa_config *config, int ldn, pnp_scan_cb *cb)
sys/bus/isa/pnpparse.c
583
if ((*cb)(dev, tag, p, l, config, ldn))
sys/bus/isa/pnpparse.c
596
if ((*cb)(dev, tag, p, l, config, ldn))
sys/bus/isa/pnpvar.h
67
struct isa_config *config, int ldn, pnp_scan_cb *cb);
sys/bus/u4b/controller/ehci.c
145
ehci_iterate_hw_softc(struct usb_bus *bus, usb_bus_mem_sub_cb_t *cb)
sys/bus/u4b/controller/ehci.c
150
cb(bus, &sc->sc_hw.pframes_pc, &sc->sc_hw.pframes_pg,
sys/bus/u4b/controller/ehci.c
153
cb(bus, &sc->sc_hw.terminate_pc, &sc->sc_hw.terminate_pg,
sys/bus/u4b/controller/ehci.c
156
cb(bus, &sc->sc_hw.async_start_pc, &sc->sc_hw.async_start_pg,
sys/bus/u4b/controller/ehci.c
160
cb(bus, sc->sc_hw.intr_start_pc + i,
sys/bus/u4b/controller/ehci.c
166
cb(bus, sc->sc_hw.isoc_hs_start_pc + i,
sys/bus/u4b/controller/ehci.c
172
cb(bus, sc->sc_hw.isoc_fs_start_pc + i,
sys/bus/u4b/controller/ohci.c
140
ohci_iterate_hw_softc(struct usb_bus *bus, usb_bus_mem_sub_cb_t *cb)
sys/bus/u4b/controller/ohci.c
145
cb(bus, &sc->sc_hw.hcca_pc, &sc->sc_hw.hcca_pg,
sys/bus/u4b/controller/ohci.c
148
cb(bus, &sc->sc_hw.ctrl_start_pc, &sc->sc_hw.ctrl_start_pg,
sys/bus/u4b/controller/ohci.c
151
cb(bus, &sc->sc_hw.bulk_start_pc, &sc->sc_hw.bulk_start_pg,
sys/bus/u4b/controller/ohci.c
154
cb(bus, &sc->sc_hw.isoc_start_pc, &sc->sc_hw.isoc_start_pg,
sys/bus/u4b/controller/ohci.c
158
cb(bus, sc->sc_hw.intr_start_pc + i, sc->sc_hw.intr_start_pg + i,
sys/bus/u4b/controller/uhci.c
162
uhci_iterate_hw_softc(struct usb_bus *bus, usb_bus_mem_sub_cb_t *cb)
sys/bus/u4b/controller/uhci.c
167
cb(bus, &sc->sc_hw.pframes_pc, &sc->sc_hw.pframes_pg,
sys/bus/u4b/controller/uhci.c
170
cb(bus, &sc->sc_hw.ls_ctl_start_pc, &sc->sc_hw.ls_ctl_start_pg,
sys/bus/u4b/controller/uhci.c
173
cb(bus, &sc->sc_hw.fs_ctl_start_pc, &sc->sc_hw.fs_ctl_start_pg,
sys/bus/u4b/controller/uhci.c
176
cb(bus, &sc->sc_hw.bulk_start_pc, &sc->sc_hw.bulk_start_pg,
sys/bus/u4b/controller/uhci.c
179
cb(bus, &sc->sc_hw.last_qh_pc, &sc->sc_hw.last_qh_pg,
sys/bus/u4b/controller/uhci.c
182
cb(bus, &sc->sc_hw.last_td_pc, &sc->sc_hw.last_td_pg,
sys/bus/u4b/controller/uhci.c
186
cb(bus, sc->sc_hw.isoc_start_pc + i,
sys/bus/u4b/controller/uhci.c
192
cb(bus, sc->sc_hw.intr_start_pc + i,
sys/bus/u4b/controller/usb_controller.c
1011
usb_bus_mem_free_all(struct usb_bus *bus, usb_bus_mem_cb_t *cb)
sys/bus/u4b/controller/usb_controller.c
1014
if (cb) {
sys/bus/u4b/controller/usb_controller.c
1015
cb(bus, &usb_bus_mem_free_all_cb);
sys/bus/u4b/controller/usb_controller.c
928
usb_bus_mem_flush_all(struct usb_bus *bus, usb_bus_mem_cb_t *cb)
sys/bus/u4b/controller/usb_controller.c
930
if (cb) {
sys/bus/u4b/controller/usb_controller.c
931
cb(bus, &usb_bus_mem_flush_all_cb);
sys/bus/u4b/controller/usb_controller.c
962
usb_bus_mem_cb_t *cb)
sys/bus/u4b/controller/usb_controller.c
985
if (cb) {
sys/bus/u4b/controller/usb_controller.c
986
cb(bus, &usb_bus_mem_alloc_all_cb);
sys/bus/u4b/controller/usb_controller.c
990
usb_bus_mem_free_all(bus, cb);
sys/bus/u4b/controller/xhci.c
214
xhci_iterate_hw_softc(struct usb_bus *bus, usb_bus_mem_sub_cb_t *cb)
sys/bus/u4b/controller/xhci.c
219
cb(bus, &sc->sc_hw.root_pc, &sc->sc_hw.root_pg,
sys/bus/u4b/controller/xhci.c
222
cb(bus, &sc->sc_hw.ctx_pc, &sc->sc_hw.ctx_pg,
sys/bus/u4b/controller/xhci.c
226
cb(bus, &sc->sc_hw.scratch_pc[i], &sc->sc_hw.scratch_pg[i],
sys/bus/u4b/usb_controller.h
190
void usb_bus_mem_flush_all(struct usb_bus *bus, usb_bus_mem_cb_t *cb);
sys/bus/u4b/usb_controller.h
191
uint8_t usb_bus_mem_alloc_all(struct usb_bus *bus, bus_dma_tag_t dmat, usb_bus_mem_cb_t *cb);
sys/bus/u4b/usb_controller.h
192
void usb_bus_mem_free_all(struct usb_bus *bus, usb_bus_mem_cb_t *cb);
sys/bus/u4b/usb_transfer.c
2838
void (*cb) (void *arg), usb_timeout_t ms)
sys/bus/u4b/usb_transfer.c
2844
USB_MS_TO_TICKS(ms) + USB_CALLOUT_ZERO_TICKS, cb, xfer);
sys/bus/u4b/usb_transfer.h
250
void (*cb) (void *arg), usb_timeout_t ms);
sys/bus/u4b/wlan/if_mtwvar.h
175
void (*cb)(struct mtw_softc *, void *);
sys/bus/u4b/wlan/if_urtwnvar.h
120
void (*cb)(struct urtwn_softc *, void *);
sys/dev/disk/ccd/ccd.c
1092
cb[0] = cbp;
sys/dev/disk/ccd/ccd.c
1125
cb[1] = cbp;
sys/dev/disk/ccd/ccd.c
1127
cb[0]->cb_mirror = cb[1];
sys/dev/disk/ccd/ccd.c
1128
cb[1]->cb_mirror = cb[0];
sys/dev/disk/ccd/ccd.c
1129
cb[0]->cb_pflags &= ~CCDPF_MIRROR_DONE;
sys/dev/disk/ccd/ccd.c
1130
cb[1]->cb_pflags &= ~CCDPF_MIRROR_DONE;
sys/dev/disk/ccd/ccd.c
933
ccdbuffer(struct ccdbuf **cb, struct ccd_softc *cs, struct bio *bio,
sys/dev/disk/mpt/mpt_cam.c
2063
bus_dmamap_callback_t *cb;
sys/dev/disk/mpt/mpt_cam.c
2087
cb = mpt_execute_req_a64;
sys/dev/disk/mpt/mpt_cam.c
2089
cb = mpt_execute_req;
sys/dev/disk/mpt/mpt_cam.c
2227
cb, req, 0);
sys/dev/disk/mpt/mpt_cam.c
2248
(*cb)(req, &seg, 1, 0);
sys/dev/disk/mpt/mpt_cam.c
2259
(*cb)(req, NULL, 0, EFAULT);
sys/dev/disk/mpt/mpt_cam.c
2263
(*cb)(req, segs, csio->sglist_cnt, 0);
sys/dev/disk/mpt/mpt_cam.c
2267
(*cb)(req, NULL, 0, 0);
sys/dev/disk/mpt/mpt_cam.c
4174
PTR_CMD_BUFFER_DESCRIPTOR cb;
sys/dev/disk/mpt/mpt_cam.c
4187
cb = &fc->Buffer[0];
sys/dev/disk/mpt/mpt_cam.c
4188
cb->IoIndex = htole16(ioindex);
sys/dev/disk/mpt/mpt_cam.c
4189
cb->u.PhysicalAddress32 = htole32((U32) paddr);
sys/dev/disk/mpt/mpt_cam.c
4378
bus_dmamap_callback_t *cb;
sys/dev/disk/mpt/mpt_cam.c
4398
cb = mpt_execute_req_a64;
sys/dev/disk/mpt/mpt_cam.c
4400
cb = mpt_execute_req;
sys/dev/disk/mpt/mpt_cam.c
4473
cb, req, 0);
sys/dev/disk/mpt/mpt_cam.c
4488
(*cb)(req, &seg, 1, 0);
sys/dev/disk/mpt/mpt_cam.c
4499
(*cb)(req, NULL, 0, EFAULT);
sys/dev/disk/mpt/mpt_cam.c
4503
(*cb)(req, sgs, csio->sglist_cnt, 0);
sys/dev/drm/amd/amdgpu/amdgpu.h
500
struct dma_fence_cb cb;
sys/dev/drm/amd/amdgpu/amdgpu_display.c
42
struct dma_fence_cb *cb)
sys/dev/drm/amd/amdgpu/amdgpu_display.c
45
container_of(cb, struct amdgpu_flip_work, cb);
sys/dev/drm/amd/amdgpu/amdgpu_display.c
61
if (!dma_fence_add_callback(fence, &work->cb,
sys/dev/drm/amd/amdgpu/amdgpu_ids.c
100
kfree(cb);
sys/dev/drm/amd/amdgpu/amdgpu_ids.c
115
struct amdgpu_pasid_cb *cb;
sys/dev/drm/amd/amdgpu/amdgpu_ids.c
144
cb = kmalloc(sizeof(*cb), M_DRM, GFP_KERNEL);
sys/dev/drm/amd/amdgpu/amdgpu_ids.c
145
if (!cb) {
sys/dev/drm/amd/amdgpu/amdgpu_ids.c
151
cb->pasid = pasid;
sys/dev/drm/amd/amdgpu/amdgpu_ids.c
152
if (dma_fence_add_callback(fence, &cb->cb,
sys/dev/drm/amd/amdgpu/amdgpu_ids.c
154
amdgpu_pasid_free_cb(fence, &cb->cb);
sys/dev/drm/amd/amdgpu/amdgpu_ids.c
45
struct dma_fence_cb cb;
sys/dev/drm/amd/amdgpu/amdgpu_ids.c
95
struct amdgpu_pasid_cb *cb =
sys/dev/drm/amd/amdgpu/amdgpu_ids.c
96
container_of(_cb, struct amdgpu_pasid_cb, cb);
sys/dev/drm/amd/amdgpu/amdgpu_ids.c
98
amdgpu_pasid_free(cb->pasid);
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
889
int (*cb)(struct amdgpu_uvd_cs_ctx *ctx))
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
911
r = cb(ctx);
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
936
int (*cb)(struct amdgpu_uvd_cs_ctx *ctx))
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
948
r = amdgpu_uvd_cs_reg(ctx, cb);
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
198
struct dma_fence_cb cb;
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2207
struct amdgpu_prt_cb *cb = container_of(_cb, struct amdgpu_prt_cb, cb);
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2209
amdgpu_vm_prt_put(cb->adev);
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2210
kfree(cb);
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2222
struct amdgpu_prt_cb *cb;
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2227
cb = kmalloc(sizeof(struct amdgpu_prt_cb), M_DRM, GFP_KERNEL);
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2228
if (!cb) {
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2235
cb->adev = adev;
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2236
if (!fence || dma_fence_add_callback(fence, &cb->cb,
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2238
amdgpu_vm_prt_cb(fence, &cb->cb);
sys/dev/drm/drm_edid.c
1935
cea_for_each_detailed_block(u8 *ext, detailed_cb *cb, void *closure)
sys/dev/drm/drm_edid.c
1943
cb((struct detailed_timing *)(det_base + 18 * i), closure);
sys/dev/drm/drm_edid.c
1947
vtb_for_each_detailed_block(u8 *ext, detailed_cb *cb, void *closure)
sys/dev/drm/drm_edid.c
1956
cb((struct detailed_timing *)(det_base + 18 * i), closure);
sys/dev/drm/drm_edid.c
1960
drm_for_each_detailed_block(u8 *raw_edid, detailed_cb *cb, void *closure)
sys/dev/drm/drm_edid.c
1969
cb(&(edid->detailed_timings[i]), closure);
sys/dev/drm/drm_edid.c
1975
cea_for_each_detailed_block(ext, cb, closure);
sys/dev/drm/drm_edid.c
1978
vtb_for_each_detailed_block(ext, cb, closure);
sys/dev/drm/drm_syncobj.c
102
struct drm_syncobj_cb *cb,
sys/dev/drm/drm_syncobj.c
105
cb->func = func;
sys/dev/drm/drm_syncobj.c
106
list_add_tail(&cb->node, &syncobj->cb_list);
sys/dev/drm/drm_syncobj.c
111
struct drm_syncobj_cb *cb,
sys/dev/drm/drm_syncobj.c
133
drm_syncobj_add_callback_locked(syncobj, cb, func);
sys/dev/drm/drm_syncobj.c
144
struct drm_syncobj_cb *cb,
sys/dev/drm/drm_syncobj.c
148
drm_syncobj_add_callback_locked(syncobj, cb, func);
sys/dev/drm/drm_syncobj.c
155
struct drm_syncobj_cb *cb)
sys/dev/drm/drm_syncobj.c
158
list_del_init(&cb->node);
sys/dev/drm/drm_syncobj.c
666
struct dma_fence_cb *cb)
sys/dev/drm/drm_syncobj.c
669
container_of(cb, struct syncobj_wait_entry, fence_cb);
sys/dev/drm/drm_syncobj.c
675
struct drm_syncobj_cb *cb)
sys/dev/drm/drm_syncobj.c
678
container_of(cb, struct syncobj_wait_entry, syncobj_cb);
sys/dev/drm/i915/i915_sw_fence.c
381
struct i915_sw_dma_fence_cb *cb = container_of(data, typeof(*cb), base);
sys/dev/drm/i915/i915_sw_fence.c
383
i915_sw_fence_complete(cb->fence);
sys/dev/drm/i915/i915_sw_fence.c
384
kfree(cb);
sys/dev/drm/i915/i915_sw_fence.c
389
struct i915_sw_dma_fence_cb_timer *cb = from_timer(cb, t, timer);
sys/dev/drm/i915/i915_sw_fence.c
392
fence = xchg(&cb->base.fence, NULL);
sys/dev/drm/i915/i915_sw_fence.c
397
cb->dma->ops->get_driver_name(cb->dma),
sys/dev/drm/i915/i915_sw_fence.c
398
cb->dma->ops->get_timeline_name(cb->dma),
sys/dev/drm/i915/i915_sw_fence.c
399
cb->dma->seqno,
sys/dev/drm/i915/i915_sw_fence.c
408
struct i915_sw_dma_fence_cb_timer *cb =
sys/dev/drm/i915/i915_sw_fence.c
409
container_of(data, typeof(*cb), base.base);
sys/dev/drm/i915/i915_sw_fence.c
412
fence = xchg(&cb->base.fence, NULL);
sys/dev/drm/i915/i915_sw_fence.c
416
irq_work_queue(&cb->work);
sys/dev/drm/i915/i915_sw_fence.c
421
struct i915_sw_dma_fence_cb_timer *cb =
sys/dev/drm/i915/i915_sw_fence.c
422
container_of(wrk, typeof(*cb), work);
sys/dev/drm/i915/i915_sw_fence.c
424
del_timer_sync(&cb->timer);
sys/dev/drm/i915/i915_sw_fence.c
425
dma_fence_put(cb->dma);
sys/dev/drm/i915/i915_sw_fence.c
427
kfree_rcu(cb, rcu);
sys/dev/drm/i915/i915_sw_fence.c
435
struct i915_sw_dma_fence_cb *cb;
sys/dev/drm/i915/i915_sw_fence.c
445
cb = kmalloc(timeout ?
sys/dev/drm/i915/i915_sw_fence.c
450
if (!cb) {
sys/dev/drm/i915/i915_sw_fence.c
457
cb->fence = fence;
sys/dev/drm/i915/i915_sw_fence.c
463
container_of(cb, typeof(*timer), base);
sys/dev/drm/i915/i915_sw_fence.c
475
ret = dma_fence_add_callback(dma, &cb->base, func);
sys/dev/drm/i915/i915_sw_fence.c
479
func(dma, &cb->base);
sys/dev/drm/include/drm/drm_syncobj.h
66
struct drm_syncobj_cb *cb);
sys/dev/drm/include/drm/gpu_scheduler.h
143
struct dma_fence_cb cb;
sys/dev/drm/include/drm/gpu_scheduler.h
92
struct dma_fence_cb cb;
sys/dev/drm/include/linux/dma-fence-array.h
61
struct dma_fence_cb cb;
sys/dev/drm/include/linux/dma-fence.h
167
struct dma_fence_cb *cb,
sys/dev/drm/include/linux/dma-fence.h
171
struct dma_fence_cb *cb);
sys/dev/drm/include/linux/dma-fence.h
62
struct dma_fence_cb *cb);
sys/dev/drm/linux_fence-array.c
103
if (dma_fence_add_callback(array->fences[i], &cb[i].cb,
sys/dev/drm/linux_fence-array.c
72
struct dma_fence_cb *cb)
sys/dev/drm/linux_fence-array.c
75
container_of(cb, struct dma_fence_array_cb, cb);
sys/dev/drm/linux_fence-array.c
89
struct dma_fence_array_cb *cb = (void *)(&array[1]);
sys/dev/drm/linux_fence-array.c
93
cb[i].array = array;
sys/dev/drm/linux_fence.c
120
cb.base.func = dma_fence_default_wait_cb;
sys/dev/drm/linux_fence.c
121
cb.task = current;
sys/dev/drm/linux_fence.c
122
list_add(&cb.base.node, &fence->cb_list);
sys/dev/drm/linux_fence.c
145
if (!list_empty(&cb.base.node))
sys/dev/drm/linux_fence.c
146
list_del(&cb.base.node);
sys/dev/drm/linux_fence.c
175
struct default_wait_cb *cb;
sys/dev/drm/linux_fence.c
191
cb = kcalloc(count, sizeof(struct default_wait_cb), GFP_KERNEL);
sys/dev/drm/linux_fence.c
192
if (cb == NULL)
sys/dev/drm/linux_fence.c
197
cb[i].task = current;
sys/dev/drm/linux_fence.c
198
if (dma_fence_add_callback(fence, &cb[i].base,
sys/dev/drm/linux_fence.c
219
dma_fence_remove_callback(fences[i], &cb[i].base);
sys/dev/drm/linux_fence.c
220
kfree(cb);
sys/dev/drm/linux_fence.c
282
dma_fence_add_callback(struct dma_fence *fence, struct dma_fence_cb *cb,
sys/dev/drm/linux_fence.c
292
INIT_LIST_HEAD(&cb->node);
sys/dev/drm/linux_fence.c
311
cb->func = func;
sys/dev/drm/linux_fence.c
312
list_add_tail(&cb->node, &fence->cb_list);
sys/dev/drm/linux_fence.c
314
INIT_LIST_HEAD(&cb->node);
sys/dev/drm/linux_fence.c
322
dma_fence_remove_callback(struct dma_fence *fence, struct dma_fence_cb *cb)
sys/dev/drm/linux_fence.c
329
ret = !list_empty(&cb->node);
sys/dev/drm/linux_fence.c
331
list_del_init(&cb->node);
sys/dev/drm/linux_fence.c
79
dma_fence_default_wait_cb(struct dma_fence *fence, struct dma_fence_cb *cb)
sys/dev/drm/linux_fence.c
82
container_of(cb, struct default_wait_cb, base);
sys/dev/drm/linux_fence.c
93
struct default_wait_cb cb;
sys/dev/drm/radeon/r100.c
1618
track->cb[0].robj = reloc->robj;
sys/dev/drm/radeon/r100.c
1619
track->cb[0].offset = idx_value;
sys/dev/drm/radeon/r100.c
1727
track->cb[0].pitch = idx_value & RADEON_COLORPITCH_MASK;
sys/dev/drm/radeon/r100.c
1741
track->cb[0].cpp = 1;
sys/dev/drm/radeon/r100.c
1746
track->cb[0].cpp = 2;
sys/dev/drm/radeon/r100.c
1749
track->cb[0].cpp = 4;
sys/dev/drm/radeon/r100.c
2260
if (track->cb[i].robj == NULL) {
sys/dev/drm/radeon/r100.c
2264
size = track->cb[i].pitch * track->cb[i].cpp * track->maxy;
sys/dev/drm/radeon/r100.c
2265
size += track->cb[i].offset;
sys/dev/drm/radeon/r100.c
2266
if (size > radeon_bo_size(track->cb[i].robj)) {
sys/dev/drm/radeon/r100.c
2269
radeon_bo_size(track->cb[i].robj));
sys/dev/drm/radeon/r100.c
2271
i, track->cb[i].pitch, track->cb[i].cpp,
sys/dev/drm/radeon/r100.c
2272
track->cb[i].offset, track->maxy);
sys/dev/drm/radeon/r100.c
2303
size = track->aa.pitch * track->cb[0].cpp * track->maxy;
sys/dev/drm/radeon/r100.c
2310
i, track->aa.pitch, track->cb[0].cpp,
sys/dev/drm/radeon/r100.c
2411
track->cb[i].robj = NULL;
sys/dev/drm/radeon/r100.c
2412
track->cb[i].pitch = 8192;
sys/dev/drm/radeon/r100.c
2413
track->cb[i].cpp = 16;
sys/dev/drm/radeon/r100.c
2414
track->cb[i].offset = 0;
sys/dev/drm/radeon/r100_track.h
67
struct r100_cs_track_cb cb[R300_MAX_CB];
sys/dev/drm/radeon/r200.c
201
track->cb[0].robj = reloc->robj;
sys/dev/drm/radeon/r200.c
202
track->cb[0].offset = idx_value;
sys/dev/drm/radeon/r200.c
304
track->cb[0].pitch = idx_value & RADEON_COLORPITCH_MASK;
sys/dev/drm/radeon/r200.c
318
track->cb[0].cpp = 1;
sys/dev/drm/radeon/r200.c
323
track->cb[0].cpp = 2;
sys/dev/drm/radeon/r200.c
326
track->cb[0].cpp = 4;
sys/dev/drm/radeon/r300.c
666
track->cb[i].robj = reloc->robj;
sys/dev/drm/radeon/r300.c
667
track->cb[i].offset = idx_value;
sys/dev/drm/radeon/r300.c
794
track->cb[i].pitch = idx_value & 0x3FFE;
sys/dev/drm/radeon/r300.c
799
track->cb[i].cpp = 1;
sys/dev/drm/radeon/r300.c
805
track->cb[i].cpp = 2;
sys/dev/drm/radeon/r300.c
815
track->cb[i].cpp = 4;
sys/dev/drm/radeon/r300.c
818
track->cb[i].cpp = 8;
sys/dev/drm/radeon/r300.c
821
track->cb[i].cpp = 16;
sys/dev/drm/radeon/radeon_fence.c
1064
radeon_fence_wait_cb(struct dma_fence *fence, struct dma_fence_cb *cb)
sys/dev/drm/radeon/radeon_fence.c
1067
container_of(cb, struct radeon_wait_cb, base);
sys/dev/drm/radeon/radeon_fence.c
1077
struct radeon_wait_cb cb;
sys/dev/drm/radeon/radeon_fence.c
1079
cb.task = current;
sys/dev/drm/radeon/radeon_fence.c
1081
if (dma_fence_add_callback(f, &cb.base, radeon_fence_wait_cb))
sys/dev/drm/radeon/radeon_fence.c
1109
dma_fence_remove_callback(f, &cb.base);
sys/dev/drm/scheduler/sched_entity.c
204
struct dma_fence_cb *cb)
sys/dev/drm/scheduler/sched_entity.c
206
struct drm_sched_job *job = container_of(cb, struct drm_sched_job,
sys/dev/drm/scheduler/sched_entity.c
281
&entity->cb);
sys/dev/drm/scheduler/sched_entity.c
313
struct dma_fence_cb *cb)
sys/dev/drm/scheduler/sched_entity.c
316
container_of(cb, struct drm_sched_entity, cb);
sys/dev/drm/scheduler/sched_entity.c
327
struct dma_fence_cb *cb)
sys/dev/drm/scheduler/sched_entity.c
330
container_of(cb, struct drm_sched_entity, cb);
sys/dev/drm/scheduler/sched_entity.c
332
drm_sched_entity_clear_dep(f, cb);
sys/dev/drm/scheduler/sched_entity.c
406
if (!dma_fence_add_callback(fence, &entity->cb,
sys/dev/drm/scheduler/sched_entity.c
415
if (!dma_fence_add_callback(entity->dependency, &entity->cb,
sys/dev/drm/scheduler/sched_main.c
230
struct dma_fence_cb *cb)
sys/dev/drm/scheduler/sched_main.c
232
struct drm_sched_job *job = container_of(cb, struct drm_sched_job,
sys/dev/drm/scheduler/sched_main.c
262
if (!dma_fence_remove_callback(fence->parent, &fence->cb))
sys/dev/drm/scheduler/sched_main.c
277
if (!fence->parent || !list_empty(&fence->cb.node))
sys/dev/drm/scheduler/sched_main.c
280
r = dma_fence_add_callback(fence->parent, &fence->cb,
sys/dev/drm/scheduler/sched_main.c
283
drm_sched_process_job(fence->parent, &fence->cb);
sys/dev/drm/scheduler/sched_main.c
308
&s_job->s_fence->cb)) {
sys/dev/drm/scheduler/sched_main.c
374
r = dma_fence_add_callback(fence, &s_fence->cb,
sys/dev/drm/scheduler/sched_main.c
377
drm_sched_process_job(fence, &s_fence->cb);
sys/dev/drm/scheduler/sched_main.c
385
drm_sched_process_job(NULL, &s_fence->cb);
sys/dev/drm/scheduler/sched_main.c
489
static void drm_sched_process_job(struct dma_fence *f, struct dma_fence_cb *cb)
sys/dev/drm/scheduler/sched_main.c
492
container_of(cb, struct drm_sched_fence, cb);
sys/dev/drm/scheduler/sched_main.c
569
r = dma_fence_add_callback(fence, &s_fence->cb,
sys/dev/drm/scheduler/sched_main.c
572
drm_sched_process_job(fence, &s_fence->cb);
sys/dev/drm/scheduler/sched_main.c
580
drm_sched_process_job(NULL, &s_fence->cb);
sys/dev/drm/scheduler/sched_main.c
61
static void drm_sched_process_job(struct dma_fence *f, struct dma_fence_cb *cb);
sys/dev/misc/ipmi/ipmi_smbios.c
147
smbios_walk_table(uint8_t *p, int entries, smbios_callback_t cb, void *arg)
sys/dev/misc/ipmi/ipmi_smbios.c
153
cb(s, arg);
sys/dev/netif/oce/oce_if.h
659
void (*cb) (void *ctx);
sys/dev/raid/amr/amr.c
1645
bus_dmamap_callback_t *cb;
sys/dev/raid/amr/amr.c
1659
cb = amr_setup_ccb;
sys/dev/raid/amr/amr.c
1661
cb = amr_setup_data;
sys/dev/raid/amr/amr.c
1667
ac->ac_length, cb, ac, 0) == EINPROGRESS) {
sys/dev/raid/mpr/mpr.c
2500
mpr_evt_callback_t *cb, void *data, struct mpr_event_handle **handle)
sys/dev/raid/mpr/mpr.c
2511
eh->callback = cb;
sys/dev/raid/mps/mps.c
1664
mps_evt_callback_t *cb, void *data, struct mps_event_handle **handle)
sys/dev/raid/mps/mps.c
1670
eh->callback = cb;
sys/dev/raid/tws/tws.c
812
r->cb = NULL;
sys/dev/raid/tws/tws_cam.c
1170
sc->reqs[req_id].cb(&sc->reqs[req_id]);
sys/dev/raid/tws/tws_cam.c
738
req->cb = tws_scsi_complete;
sys/dev/raid/tws/tws_cam.c
829
req->cb = tws_aen_complete;
sys/dev/raid/tws/tws_cam.c
875
req->cb = tws_getset_param_complete;
sys/dev/raid/tws/tws_cam.c
924
req->cb = NULL;
sys/dev/raid/tws/tws_hdm.c
252
req->cb = tws_cmd_complete;
sys/dev/raid/tws/tws_hdm.h
412
void (*cb)(struct tws_request *); /* callback func */
sys/dev/raid/tws/tws_user.c
124
req->cb = tws_passthru_complete;
sys/dev/sound/midi/mpu401.c
170
mpu401_intr_t ** cb)
sys/dev/sound/midi/mpu401.c
174
*cb = NULL;
sys/dev/sound/midi/mpu401.c
188
*cb = mpu401_intr;
sys/kern/subr_cpuhelper.c
86
cpuhelper_cb_t cb, void *cbarg, int flags)
sys/kern/subr_cpuhelper.c
90
msg->ch_cb = cb;
sys/net/netmap/netmap_user.h
260
nm_dispatch(struct nm_desc_t *d, int cnt, nm_cb_t cb, u_char *arg)
sys/net/netmap/netmap_user.h
287
cb(arg, &d->hdr, buf);
sys/netproto/802_11/wlan/ieee80211_dragonfly.c
662
struct ieee80211_cb *cb;
sys/netproto/802_11/wlan/ieee80211_dragonfly.c
669
cb = (struct ieee80211_cb *)(mtag+1);
sys/netproto/802_11/wlan/ieee80211_dragonfly.c
670
cb->func = func;
sys/netproto/802_11/wlan/ieee80211_dragonfly.c
671
cb->arg = arg;
sys/netproto/802_11/wlan/ieee80211_dragonfly.c
719
struct ieee80211_cb *cb = (struct ieee80211_cb *)(mtag+1);
sys/netproto/802_11/wlan/ieee80211_dragonfly.c
720
cb->func(ni, cb->arg, status);
sys/netproto/802_11/wlan/ieee80211_regdomain.c
159
const struct ieee80211_channel *cb = b;
sys/netproto/802_11/wlan/ieee80211_regdomain.c
161
return (ca->ic_freq == cb->ic_freq) ?
sys/netproto/802_11/wlan/ieee80211_regdomain.c
163
(cb->ic_flags & IEEE80211_CHAN_ALL) :
sys/netproto/802_11/wlan/ieee80211_regdomain.c
164
ca->ic_freq - cb->ic_freq;
sys/platform/pc64/x86_64/dump_machdep.c
244
foreach_chunk(callback_t cb, void *arg)
sys/platform/pc64/x86_64/dump_machdep.c
252
error = (*cb)(mdp, seqnr++, arg);
sys/sys/cpuhelper.h
60
cpuhelper_cb_t cb, void *cbarg, int flags);
usr.bin/ktrdump/ktrdump.c
1006
cb(fo, bestn, row,
usr.bin/ktrdump/ktrdump.c
960
u_int64_t *last_timestamp, ktr_iter_cb_t cb)
usr.bin/ktrdump/ktrdump.c
971
cb(fo, cpu, buf->beg_idx,
usr.bin/ktrdump/ktrdump.c
982
u_int64_t *last_timestamp, ktr_iter_cb_t cb)
usr.sbin/ftp-proxy/ftp-proxy.c
134
buffer_data(struct session *s, struct cbuf *cb, char *buf, size_t len)
usr.sbin/ftp-proxy/ftp-proxy.c
139
if (cb->buffer == NULL)
usr.sbin/ftp-proxy/ftp-proxy.c
140
if ((cb->buffer = malloc(MAX_LINE)) == NULL)
usr.sbin/ftp-proxy/ftp-proxy.c
143
memcpy(cb->buffer, buf, len);
usr.sbin/ftp-proxy/ftp-proxy.c
144
cb->buffer_size = len;
usr.sbin/ppp/lcp.c
598
E164ok(struct callback *cb, char *req, int sz)
usr.sbin/ppp/lcp.c
600
char list[sizeof cb->msg], *next;
usr.sbin/ppp/lcp.c
603
if (!strcmp(cb->msg, "*"))
usr.sbin/ppp/lcp.c
606
strncpy(list, cb->msg, sizeof list - 1);