bin/ksh/edit.c
165
struct termios cb;
bin/ksh/edit.c
169
cb = tty_state;
bin/ksh/edit.c
171
edchars.erase = cb.c_cc[VERASE];
bin/ksh/edit.c
172
edchars.kill = cb.c_cc[VKILL];
bin/ksh/edit.c
173
edchars.intr = cb.c_cc[VINTR];
bin/ksh/edit.c
174
edchars.quit = cb.c_cc[VQUIT];
bin/ksh/edit.c
175
edchars.eof = cb.c_cc[VEOF];
bin/ksh/edit.c
176
edchars.werase = cb.c_cc[VWERASE];
bin/ksh/edit.c
177
cb.c_iflag &= ~(INLCR|ICRNL);
bin/ksh/edit.c
178
cb.c_lflag &= ~(ISIG|ICANON|ECHO);
bin/ksh/edit.c
180
cb.c_cc[VLNEXT] = _POSIX_VDISABLE;
bin/ksh/edit.c
182
cb.c_cc[VDISCARD] = _POSIX_VDISABLE;
bin/ksh/edit.c
183
cb.c_cc[VTIME] = 0;
bin/ksh/edit.c
184
cb.c_cc[VMIN] = 1;
bin/ksh/edit.c
186
tcsetattr(tty_fd, TCSADRAIN, &cb);
games/cribbage/score.c
332
adjust(CARD cb[], CARD tnv)
games/cribbage/score.c
337
c0 = cb[0].rank;
games/cribbage/score.c
338
c1 = cb[1].rank;
games/cribbage/score.c
344
if (cb[0].suit != cb[1].suit)
games/cribbage/support.c
235
CARD d[CARDS], h[FULLHAND], cb[2];
games/cribbage/support.c
251
cb[0] = chand[i];
games/cribbage/support.c
253
cb[1] = chand[j];
games/cribbage/support.c
262
sums[ns] += adjust(cb, d[k]);
games/cribbage/support.c
264
sums[ns] -= adjust(cb, d[k]);
games/fish/fish.c
308
int cb, i, ub;
games/fish/fish.c
316
cb = countbooks(comphand);
games/fish/fish.c
319
(void)printf("\nI have %d, you have %d.\n", cb, ub);
games/fish/fish.c
320
if (ub > cb) {
games/fish/fish.c
324
} else if (cb > ub) {
games/gomoku/pickmove.c
1001
if (cb.s <= sp->s_combo[color].s) {
games/gomoku/pickmove.c
1002
if (cb.s != sp->s_combo[color].s) {
games/gomoku/pickmove.c
1003
sp->s_combo[color].s = cb.s;
games/gomoku/pickmove.c
1061
union comboval cb;
games/gomoku/pickmove.c
1065
cb.s = s;
games/gomoku/pickmove.c
1066
fcnt = cb.c.a - 2;
games/gomoku/pickmove.c
1077
i = cb.c.b ? 2 : 0;
games/gomoku/pickmove.c
1116
if (cb.c.b &&
games/gomoku/pickmove.c
1166
if (cb.c.b &&
games/gomoku/pickmove.c
222
union comboval cb;
games/gomoku/pickmove.c
233
cb.s = sp->s_fval[color][d = cbp->c_dir].s;
games/gomoku/pickmove.c
234
if (cb.s < 0x101) {
games/gomoku/pickmove.c
236
for (i = 5 + cb.c.b; --i >= 0; sp += d) {
games/gomoku/pickmove.c
239
sp->s_combo[color].s = cb.s;
games/gomoku/pickmove.c
261
cb.c.a = cp->c.a + 1;
games/gomoku/pickmove.c
262
cb.c.b = 0;
games/gomoku/pickmove.c
263
if (cb.s < sp->s_combo[color].s) {
games/gomoku/pickmove.c
264
sp->s_combo[color].s = cb.s;
games/gomoku/pickmove.c
271
makecombo2(cbp, sp, 0, cb.s);
games/gomoku/pickmove.c
273
cb.s = cp->s;
games/gomoku/pickmove.c
279
cb.s = cp->s;
games/gomoku/pickmove.c
300
makecombo2(cbp, sp, i, cb.s);
games/gomoku/pickmove.c
539
union comboval fcb, cb;
games/gomoku/pickmove.c
586
cb.c.a = fcb.c.a + 1;
games/gomoku/pickmove.c
587
cb.c.b = 0;
games/gomoku/pickmove.c
589
cb.s = fcb.s;
games/gomoku/pickmove.c
590
makecombo(cbp, fsp, 0, cb.s);
games/gomoku/pickmove.c
945
union comboval cb;
games/gomoku/pickmove.c
948
cb.c.a = cbp->c_combo.c.a;
games/gomoku/pickmove.c
956
cb.c.b = cbp->c_combo.c.b;
games/gomoku/pickmove.c
961
if (cb.s <= sp->s_combo[color].s) {
games/gomoku/pickmove.c
962
if (cb.s != sp->s_combo[color].s) {
games/gomoku/pickmove.c
963
sp->s_combo[color].s = cb.s;
games/gomoku/pickmove.c
977
if (cb.s <= sp->s_combo[color].s) {
games/gomoku/pickmove.c
978
if (cb.s != sp->s_combo[color].s) {
games/gomoku/pickmove.c
979
sp->s_combo[color].s = cb.s;
lib/libagentx/agentx.c
3915
int (*cb)(struct ax_pdu *, void *), void *cookie)
lib/libagentx/agentx.c
3932
axr->axr_cb = cb;
lib/libc/dlfcn/init.c
137
if (cb == NULL && phdr == NULL && __executable_start != NULL) {
lib/libc/dlfcn/init.c
150
if (cb == NULL)
lib/libc/dlfcn/init.c
81
_libc_preinit(int argc, char **argv, char **envp, dl_cb_cb *cb)
lib/libc/dlfcn/init.c
89
if (cb == NULL)
lib/libc/dlfcn/init.c
93
if (cb != NULL)
lib/libc/dlfcn/init.c
94
_dl_cb = cb(DL_CB_CUR);
lib/libc/stdlib/__mktemp4.c
38
__mktemp4(char *path, int slen, int flags, int (*cb)(const char *, int))
lib/libc/stdlib/__mktemp4.c
76
ret = cb(path, flags);
lib/libc/thread/callbacks.c
33
_thread_set_callbacks(const struct thread_callbacks *cb, size_t len)
lib/libc/thread/callbacks.c
37
if (sizeof(*cb) != len) {
lib/libc/thread/callbacks.c
39
" libpthread gave %zu\n", sizeof(*cb), len);
lib/libc/thread/callbacks.c
47
memcpy(&_thread_cb, cb, sizeof(_thread_cb));
lib/libcrypto/asn1/asn1t.h
180
#define ASN1_NDEF_SEQUENCE_cb(tname, cb) \
lib/libcrypto/asn1/asn1t.h
181
ASN1_SEQUENCE_cb(tname, cb)
lib/libcrypto/asn1/asn1t.h
183
#define ASN1_SEQUENCE_cb(tname, cb) \
lib/libcrypto/asn1/asn1t.h
189
.asn1_cb = cb, \
lib/libcrypto/asn1/asn1t.h
194
#define ASN1_SEQUENCE_ref(tname, cb, lck) \
lib/libcrypto/asn1/asn1t.h
200
.asn1_cb = cb, \
lib/libcrypto/asn1/asn1t.h
205
#define ASN1_SEQUENCE_enc(tname, enc, cb) \
lib/libcrypto/asn1/asn1t.h
211
.asn1_cb = cb, \
lib/libcrypto/asn1/asn1t.h
312
#define ASN1_CHOICE_cb(tname, cb) \
lib/libcrypto/asn1/asn1t.h
318
.asn1_cb = cb, \
lib/libcrypto/bio/bio.h
412
#define BIO_set_proxy_cb(b,cb) BIO_callback_ctrl(b,BIO_C_SET_PROXY_PARAM,3,(void *(*cb)()))
lib/libcrypto/bio/bio.h
486
#define BIO_set_info_callback(b,cb) (int)BIO_callback_ctrl(b,BIO_CTRL_SET_CALLBACK,cb)
lib/libcrypto/bio/bio_lib.c
276
BIO_set_callback(BIO *bio, BIO_callback_fn cb)
lib/libcrypto/bio/bio_lib.c
278
bio->callback = cb;
lib/libcrypto/bio/bio_lib.c
290
BIO_set_callback_ex(BIO *bio, BIO_callback_fn_ex cb)
lib/libcrypto/bio/bio_lib.c
292
bio->callback_ex = cb;
lib/libcrypto/bio/bss_conn.c
129
BIO_info_cb *cb = NULL;
lib/libcrypto/bio/bss_conn.c
132
cb = c->info_callback;
lib/libcrypto/bio/bss_conn.c
278
if (cb != NULL) {
lib/libcrypto/bio/bss_conn.c
279
if (!(ret = cb((BIO *)b, c->state, ret)))
lib/libcrypto/bio/bss_conn.c
286
if (cb != NULL)
lib/libcrypto/bio/bss_conn.c
287
ret = cb((BIO *)b, c->state, ret);
lib/libcrypto/bn/bn.h
178
void BN_GENCB_free(BN_GENCB *cb);
lib/libcrypto/bn/bn.h
181
int BN_GENCB_call(BN_GENCB *cb, int a, int b);
lib/libcrypto/bn/bn.h
191
void *BN_GENCB_get_arg(BN_GENCB *cb);
lib/libcrypto/bn/bn.h
379
const BIGNUM *rem, BN_GENCB *cb);
lib/libcrypto/bn/bn.h
380
int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
lib/libcrypto/bn/bn.h
382
int do_trial_division, BN_GENCB *cb);
lib/libcrypto/bn/bn_lib.c
708
BN_GENCB *cb;
lib/libcrypto/bn/bn_lib.c
710
if ((cb = calloc(1, sizeof(*cb))) == NULL)
lib/libcrypto/bn/bn_lib.c
713
return cb;
lib/libcrypto/bn/bn_lib.c
718
BN_GENCB_free(BN_GENCB *cb)
lib/libcrypto/bn/bn_lib.c
720
if (cb == NULL)
lib/libcrypto/bn/bn_lib.c
722
free(cb);
lib/libcrypto/bn/bn_lib.c
728
BN_GENCB_set_old(BN_GENCB *gencb, void (*cb)(int, int, void *), void *cb_arg)
lib/libcrypto/bn/bn_lib.c
731
gencb->cb.cb_1 = cb;
lib/libcrypto/bn/bn_lib.c
738
BN_GENCB_set(BN_GENCB *gencb, int (*cb)(int, int, BN_GENCB *), void *cb_arg)
lib/libcrypto/bn/bn_lib.c
741
gencb->cb.cb_2 = cb;
lib/libcrypto/bn/bn_lib.c
747
BN_GENCB_get_arg(BN_GENCB *cb)
lib/libcrypto/bn/bn_lib.c
749
return cb->arg;
lib/libcrypto/bn/bn_local.h
166
} cb;
lib/libcrypto/bn/bn_prime.c
132
BN_GENCB_call(BN_GENCB *cb, int a, int b)
lib/libcrypto/bn/bn_prime.c
135
if (!cb)
lib/libcrypto/bn/bn_prime.c
137
switch (cb->ver) {
lib/libcrypto/bn/bn_prime.c
140
if (!cb->cb.cb_1)
lib/libcrypto/bn/bn_prime.c
142
cb->cb.cb_1(a, b, cb->arg);
lib/libcrypto/bn/bn_prime.c
146
return cb->cb.cb_2(a, b, cb);
lib/libcrypto/bn/bn_prime.c
157
const BIGNUM *rem, BN_GENCB *cb)
lib/libcrypto/bn/bn_prime.c
195
if (!BN_GENCB_call(cb, 0, loops++))
lib/libcrypto/bn/bn_prime.c
222
if (!BN_GENCB_call(cb, 2, loops - 1))
lib/libcrypto/bn/bn_prime.c
237
BN_is_prime_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed, BN_GENCB *cb)
lib/libcrypto/bn/bn_prime.c
239
return BN_is_prime_fasttest_ex(a, checks, ctx_passed, 0, cb);
lib/libcrypto/bn/bn_prime.c
247
int do_trial_division, BN_GENCB *cb)
lib/libcrypto/cms/cms.h
145
pem_password_cb *cb, void *u);
lib/libcrypto/cms/cms.h
147
pem_password_cb *cb, void *u);
lib/libcrypto/cms/cms_io.c
103
PEM_read_bio_CMS(BIO *bp, CMS_ContentInfo **x, pem_password_cb *cb, void *u)
lib/libcrypto/cms/cms_io.c
106
PEM_STRING_CMS, bp, (void **)x, cb, u);
lib/libcrypto/cms/cms_io.c
111
PEM_read_CMS(FILE *fp, CMS_ContentInfo **x, pem_password_cb *cb, void *u)
lib/libcrypto/cms/cms_io.c
114
PEM_STRING_CMS, fp, (void **)x, cb, u);
lib/libcrypto/dh/dh.h
167
int DH_generate_parameters_ex(DH *dh, int prime_len,int generator, BN_GENCB *cb);
lib/libcrypto/dh/dh_gen.c
107
dh_builtin_genparams(DH *ret, int prime_len, int generator, BN_GENCB *cb)
lib/libcrypto/dh/dh_gen.c
160
if (!BN_generate_prime_ex(ret->p, prime_len, 1, t1, t2, cb))
lib/libcrypto/dh/dh_gen.c
162
if (!BN_GENCB_call(cb, 3, 0))
lib/libcrypto/dh/dh_gen.c
184
BN_GENCB cb;
lib/libcrypto/dh/dh_gen.c
190
BN_GENCB_set_old(&cb, callback, cb_arg);
lib/libcrypto/dh/dh_gen.c
192
if (DH_generate_parameters_ex(ret, prime_len, generator, &cb))
lib/libcrypto/dh/dh_gen.c
69
BN_GENCB *cb);
lib/libcrypto/dh/dh_gen.c
72
DH_generate_parameters_ex(DH *ret, int prime_len, int generator, BN_GENCB *cb)
lib/libcrypto/dh/dh_gen.c
75
return ret->meth->generate_params(ret, prime_len, generator, cb);
lib/libcrypto/dh/dh_gen.c
76
return dh_builtin_genparams(ret, prime_len, generator, cb);
lib/libcrypto/dh/dh_local.h
77
BN_GENCB *cb);
lib/libcrypto/dh/dh_pmeth.c
181
BN_GENCB cb = {0};
lib/libcrypto/dh/dh_pmeth.c
187
pcb = &cb;
lib/libcrypto/dsa/dsa.h
165
int *counter_ret, unsigned long *h_ret, BN_GENCB *cb);
lib/libcrypto/dsa/dsa_gen.c
105
int *counter_ret, unsigned long *h_ret, BN_GENCB *cb)
lib/libcrypto/dsa/dsa_gen.c
179
if (!BN_GENCB_call(cb, 0, m++))
lib/libcrypto/dsa/dsa_gen.c
216
seed_is_random, cb);
lib/libcrypto/dsa/dsa_gen.c
226
if (!BN_GENCB_call(cb, 2, 0))
lib/libcrypto/dsa/dsa_gen.c
228
if (!BN_GENCB_call(cb, 3, 0))
lib/libcrypto/dsa/dsa_gen.c
238
if (counter != 0 && !BN_GENCB_call(cb, 0, counter))
lib/libcrypto/dsa/dsa_gen.c
287
ctx, 1, cb);
lib/libcrypto/dsa/dsa_gen.c
304
if (!BN_GENCB_call(cb, 2, 1))
lib/libcrypto/dsa/dsa_gen.c
330
if (!BN_GENCB_call(cb, 3, 1))
lib/libcrypto/dsa/dsa_gen.c
84
int seed_len, int *counter_ret, unsigned long *h_ret, BN_GENCB *cb)
lib/libcrypto/dsa/dsa_gen.c
98
NULL, counter_ret, h_ret, cb);
lib/libcrypto/dsa/dsa_local.h
103
int *counter_ret, unsigned long *h_ret, BN_GENCB *cb);
lib/libcrypto/dsa/dsa_pmeth.c
281
BN_GENCB cb = {0};
lib/libcrypto/dsa/dsa_pmeth.c
287
pcb = &cb;
lib/libcrypto/err/err.h
299
void ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u),
lib/libcrypto/err/err_prn.c
72
ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u), void *u)
lib/libcrypto/err/err_prn.c
87
if (cb(buf2, strlen(buf2), u) <= 0)
lib/libcrypto/evp/bio_enc.c
410
long (*cb)(BIO *, int, const char *, int, long, long);
lib/libcrypto/evp/bio_enc.c
418
if ((cb = BIO_get_callback(bio)) != NULL) {
lib/libcrypto/evp/bio_enc.c
419
if (cb(bio, BIO_CB_CTRL, (const char *)c, BIO_CTRL_SET, e, 0L) <= 0)
lib/libcrypto/evp/bio_enc.c
428
if (cb != NULL)
lib/libcrypto/evp/bio_enc.c
429
return cb(bio, BIO_CB_CTRL, (const char *)c, BIO_CTRL_SET, e, 1L);
lib/libcrypto/evp/evp.h
982
void EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb);
lib/libcrypto/evp/evp_local.h
323
void evp_pkey_set_cb_translate(BN_GENCB *cb, EVP_PKEY_CTX *ctx);
lib/libcrypto/evp/pmeth_gn.c
163
EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb)
lib/libcrypto/evp/pmeth_gn.c
165
ctx->pkey_gencb = cb;
lib/libcrypto/evp/pmeth_gn.c
190
evp_pkey_set_cb_translate(BN_GENCB *cb, EVP_PKEY_CTX *ctx)
lib/libcrypto/evp/pmeth_gn.c
192
BN_GENCB_set(cb, trans_cb, ctx);
lib/libcrypto/objects/obj_dat.c
127
added_obj_cmp(const ADDED_OBJ *ca, const ADDED_OBJ *cb)
lib/libcrypto/objects/obj_dat.c
132
if ((cmp = ca->type - cb->type) != 0)
lib/libcrypto/objects/obj_dat.c
136
b = cb->obj;
lib/libcrypto/ocsp/ocsp.h
168
#define PEM_read_bio_OCSP_REQUEST(bp,x,cb) \
lib/libcrypto/ocsp/ocsp.h
170
PEM_STRING_OCSP_REQUEST,bp,(char **)x,cb,NULL)
lib/libcrypto/ocsp/ocsp.h
172
#define PEM_read_bio_OCSP_RESPONSE(bp,x,cb) \
lib/libcrypto/ocsp/ocsp.h
174
PEM_STRING_OCSP_RESPONSE,bp,(char **)x,cb,NULL)
lib/libcrypto/pem/pem.h
152
type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u)\
lib/libcrypto/pem/pem.h
154
return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \
lib/libcrypto/pem/pem.h
171
unsigned char *kstr, int klen, pem_password_cb *cb, \
lib/libcrypto/pem/pem.h
174
return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \
lib/libcrypto/pem/pem.h
179
unsigned char *kstr, int klen, pem_password_cb *cb, \
lib/libcrypto/pem/pem.h
182
return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \
lib/libcrypto/pem/pem.h
187
type *PEM_read_bio_##name(BIO *bp, type **x, pem_password_cb *cb, void *u)\
lib/libcrypto/pem/pem.h
189
return PEM_ASN1_read_bio((d2i_of_void *)d2i_##asn1, str,bp,(void **)x,cb,u); \
lib/libcrypto/pem/pem.h
206
unsigned char *kstr, int klen, pem_password_cb *cb, void *u) \
lib/libcrypto/pem/pem.h
208
return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,enc,kstr,klen,cb,u); \
lib/libcrypto/pem/pem.h
213
unsigned char *kstr, int klen, pem_password_cb *cb, void *u) \
lib/libcrypto/pem/pem.h
215
return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(void *)x,enc,kstr,klen,cb,u); \
lib/libcrypto/pem/pem.h
256
type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u);
lib/libcrypto/pem/pem.h
266
unsigned char *kstr, int klen, pem_password_cb *cb, void *u);
lib/libcrypto/pem/pem.h
271
type *PEM_read_bio_##name(BIO *bp, type **x, pem_password_cb *cb, void *u);
lib/libcrypto/pem/pem.h
281
unsigned char *kstr, int klen, pem_password_cb *cb, void *u);
lib/libcrypto/pem/pem.h
332
const char *name, BIO *bp, pem_password_cb *cb, void *u);
lib/libcrypto/pem/pem.h
334
void **x, pem_password_cb *cb, void *u);
lib/libcrypto/pem/pem.h
337
pem_password_cb *cb, void *u);
lib/libcrypto/pem/pem.h
340
STACK_OF(X509_INFO) *sk, pem_password_cb *cb, void *u);
lib/libcrypto/pem/pem.h
348
pem_password_cb *cb, void *u);
lib/libcrypto/pem/pem.h
414
const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb,
lib/libcrypto/pem/pem.h
418
pem_password_cb *cb, void *u);
lib/libcrypto/pem/pem.h
423
pem_password_cb *cb, void *u);
lib/libcrypto/pem/pem.h
426
pem_password_cb *cb, void *u);
lib/libcrypto/pem/pem.h
427
EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb,
lib/libcrypto/pem/pem.h
432
pem_password_cb *cb, void *u);
lib/libcrypto/pem/pem.h
435
pem_password_cb *cb, void *u);
lib/libcrypto/pem/pem.h
438
pem_password_cb *cb, void *u);
lib/libcrypto/pem/pem.h
440
EVP_PKEY *d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb,
lib/libcrypto/pem/pem.h
457
EVP_PKEY *b2i_PVK_bio(BIO *in, pem_password_cb *cb, void *u);
lib/libcrypto/pem/pem.h
458
int i2b_PVK_bio(BIO *out, EVP_PKEY *pk, int enclevel, pem_password_cb *cb,
lib/libcrypto/pem/pem_all.c
145
PEM_read_X509_REQ(FILE *fp, X509_REQ **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
148
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
161
PEM_read_bio_X509_REQ(BIO *bp, X509_REQ **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
164
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
193
PEM_read_X509_CRL(FILE *fp, X509_CRL **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
196
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
209
PEM_read_bio_X509_CRL(BIO *bp, X509_CRL **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
212
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
225
PEM_read_PKCS7(FILE *fp, PKCS7 **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
228
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
241
PEM_read_bio_PKCS7(BIO *bp, PKCS7 **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
244
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
285
PEM_read_RSAPrivateKey(FILE *fp, RSA **rsa, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
289
pktmp = PEM_read_PrivateKey(fp, NULL, cb, u);
lib/libcrypto/pem/pem_all.c
296
unsigned char *kstr, int klen, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
299
x, enc, kstr, klen, cb, u);
lib/libcrypto/pem/pem_all.c
304
PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
308
pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u);
lib/libcrypto/pem/pem_all.c
315
const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb,
lib/libcrypto/pem/pem_all.c
319
x, enc, kstr, klen, cb, u);
lib/libcrypto/pem/pem_all.c
324
PEM_read_RSAPublicKey(FILE *fp, RSA **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
327
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
340
PEM_read_bio_RSAPublicKey(BIO *bp, RSA **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
343
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
356
PEM_read_RSA_PUBKEY(FILE *fp, RSA **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
359
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
372
PEM_read_bio_RSA_PUBKEY(BIO *bp, RSA **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
375
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
410
PEM_read_DSAPrivateKey(FILE *fp, DSA **dsa, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
414
pktmp = PEM_read_PrivateKey(fp, NULL, cb, u);
lib/libcrypto/pem/pem_all.c
421
unsigned char *kstr, int klen, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
424
x, enc, kstr, klen, cb, u);
lib/libcrypto/pem/pem_all.c
429
PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
433
pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u);
lib/libcrypto/pem/pem_all.c
440
const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb,
lib/libcrypto/pem/pem_all.c
444
x, enc, kstr, klen, cb, u);
lib/libcrypto/pem/pem_all.c
449
PEM_read_DSA_PUBKEY(FILE *fp, DSA **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
452
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
473
PEM_read_bio_DSA_PUBKEY(BIO *bp, DSA **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
476
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
481
PEM_read_DSAparams(FILE *fp, DSA **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
484
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
497
PEM_read_bio_DSAparams(BIO *bp, DSA **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
500
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
535
PEM_read_ECPKParameters(FILE *fp, EC_GROUP **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
538
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
551
PEM_read_bio_ECPKParameters(BIO *bp, EC_GROUP **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
554
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
567
PEM_read_ECPrivateKey(FILE *fp, EC_KEY **eckey, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
571
pktmp = PEM_read_PrivateKey(fp, NULL, cb, u);
lib/libcrypto/pem/pem_all.c
578
unsigned char *kstr, int klen, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
581
x, enc, kstr, klen, cb, u);
lib/libcrypto/pem/pem_all.c
586
PEM_read_bio_ECPrivateKey(BIO *bp, EC_KEY **key, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
589
pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u);
lib/libcrypto/pem/pem_all.c
596
const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb,
lib/libcrypto/pem/pem_all.c
600
x, enc, kstr, klen, cb, u);
lib/libcrypto/pem/pem_all.c
605
PEM_read_EC_PUBKEY(FILE *fp, EC_KEY **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
608
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
621
PEM_read_bio_EC_PUBKEY(BIO *bp, EC_KEY **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
624
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
641
PEM_read_DHparams(FILE *fp, DH **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
644
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
657
PEM_read_bio_DHparams(BIO *bp, DH **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
660
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
675
PEM_read_PUBKEY(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
678
(void **)x, cb, u);
lib/libcrypto/pem/pem_all.c
691
PEM_read_bio_PUBKEY(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_all.c
694
(void **)x, cb, u);
lib/libcrypto/pem/pem_info.c
137
PEM_X509_INFO_read_bio(BIO *bp, STACK_OF(X509_INFO) *sk, pem_password_cb *cb,
lib/libcrypto/pem/pem_info.c
272
if (!PEM_do_header(&cipher, data, &len, cb, u))
lib/libcrypto/pem/pem_lib.c
173
pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_lib.c
183
ret = PEM_ASN1_read_bio(d2i, name, b, x, cb, u);
lib/libcrypto/pem/pem_lib.c
280
const char *name, BIO *bp, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_lib.c
303
if (!PEM_do_header(&cipher, data, &len, cb, u))
lib/libcrypto/pem/pem_oth.c
73
pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_oth.c
80
if (!PEM_bytes_read_bio(&data, &len, NULL, name, bp, cb, u))
lib/libcrypto/pem/pem_pk8.c
101
return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u);
lib/libcrypto/pem/pem_pk8.c
107
char *kstr, int klen, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pk8.c
109
return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, u);
lib/libcrypto/pem/pem_pk8.c
115
char *kstr, int klen, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pk8.c
128
if (!cb)
lib/libcrypto/pem/pem_pk8.c
131
klen = cb(buf, PEM_BUFSIZE, 1, u);
lib/libcrypto/pem/pem_pk8.c
161
d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pk8.c
172
if (cb)
lib/libcrypto/pem/pem_pk8.c
173
klen = cb(psbuf, PEM_BUFSIZE, 0, u);
lib/libcrypto/pem/pem_pk8.c
200
char *kstr, int klen, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pk8.c
202
return do_pk8pkey_fp(fp, x, 1, -1, enc, kstr, klen, cb, u);
lib/libcrypto/pem/pem_pk8.c
208
int klen, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pk8.c
210
return do_pk8pkey_fp(fp, x, 1, nid, NULL, kstr, klen, cb, u);
lib/libcrypto/pem/pem_pk8.c
216
int klen, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pk8.c
218
return do_pk8pkey_fp(fp, x, 0, nid, NULL, kstr, klen, cb, u);
lib/libcrypto/pem/pem_pk8.c
224
char *kstr, int klen, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pk8.c
226
return do_pk8pkey_fp(fp, x, 0, -1, enc, kstr, klen, cb, u);
lib/libcrypto/pem/pem_pk8.c
232
char *kstr, int klen, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pk8.c
241
ret = do_pk8pkey(bp, x, isder, nid, enc, kstr, klen, cb, u);
lib/libcrypto/pem/pem_pk8.c
247
d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pk8.c
256
ret = d2i_PKCS8PrivateKey_bio(bp, x, cb, u);
lib/libcrypto/pem/pem_pk8.c
263
PEM_read_PKCS8(FILE *fp, X509_SIG **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pk8.c
266
(void **)x, cb, u);
lib/libcrypto/pem/pem_pk8.c
279
PEM_read_bio_PKCS8(BIO *bp, X509_SIG **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pk8.c
282
(void **)x, cb, u);
lib/libcrypto/pem/pem_pk8.c
295
PEM_read_PKCS8_PRIV_KEY_INFO(FILE *fp, PKCS8_PRIV_KEY_INFO **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pk8.c
298
(void **)x, cb, u);
lib/libcrypto/pem/pem_pk8.c
311
PEM_read_bio_PKCS8_PRIV_KEY_INFO(BIO *bp, PKCS8_PRIV_KEY_INFO **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pk8.c
314
(void **)x, cb, u);
lib/libcrypto/pem/pem_pk8.c
71
const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u);
lib/libcrypto/pem/pem_pk8.c
73
const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u);
lib/libcrypto/pem/pem_pk8.c
83
int klen, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pk8.c
85
return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u);
lib/libcrypto/pem/pem_pk8.c
91
char *kstr, int klen, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pk8.c
93
return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u);
lib/libcrypto/pem/pem_pk8.c
99
char *kstr, int klen, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pkey.c
111
if (cb)
lib/libcrypto/pem/pem_pkey.c
112
klen = cb(psbuf, PEM_BUFSIZE, 0, u);
lib/libcrypto/pem/pem_pkey.c
150
unsigned char *kstr, int klen, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pkey.c
154
(char *)kstr, klen, cb, u);
lib/libcrypto/pem/pem_pkey.c
156
return PEM_write_bio_PrivateKey_traditional(bp, x, enc, kstr, klen, cb,
lib/libcrypto/pem/pem_pkey.c
163
const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb,
lib/libcrypto/pem/pem_pkey.c
171
pem_str, bp, x, enc, kstr, klen, cb, u);
lib/libcrypto/pem/pem_pkey.c
232
PEM_read_PrivateKey(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pkey.c
242
ret = PEM_read_bio_PrivateKey(b, x, cb, u);
lib/libcrypto/pem/pem_pkey.c
250
unsigned char *kstr, int klen, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pkey.c
259
ret = PEM_write_bio_PrivateKey(b, x, enc, kstr, klen, cb, u);
lib/libcrypto/pem/pem_pkey.c
78
PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_pkey.c
88
bp, cb, u))
lib/libcrypto/pem/pem_x509.c
69
PEM_read_X509(FILE *fp, X509 **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_x509.c
72
(void **)x, cb, u);
lib/libcrypto/pem/pem_x509.c
85
PEM_read_bio_X509(BIO *bp, X509 **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_x509.c
88
(void **)x, cb, u);
lib/libcrypto/pem/pem_xaux.c
69
PEM_read_X509_AUX(FILE *fp, X509 **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_xaux.c
72
(void **)x, cb, u);
lib/libcrypto/pem/pem_xaux.c
85
PEM_read_bio_X509_AUX(BIO *bp, X509 **x, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pem_xaux.c
88
(void **)x, cb, u);
lib/libcrypto/pem/pvkfmt.c
729
unsigned int keylen, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pvkfmt.c
746
if (cb)
lib/libcrypto/pem/pvkfmt.c
747
inlen = cb(psbuf, PEM_BUFSIZE, 0, u);
lib/libcrypto/pem/pvkfmt.c
813
b2i_PVK_bio(BIO *in, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pvkfmt.c
840
ret = do_PVK_body(&p, saltlen, keylen, cb, u);
lib/libcrypto/pem/pvkfmt.c
849
i2b_PVK(unsigned char **out, EVP_PKEY*pk, int enclevel, pem_password_cb *cb,
lib/libcrypto/pem/pvkfmt.c
891
if (cb)
lib/libcrypto/pem/pvkfmt.c
892
inlen = cb(psbuf, PEM_BUFSIZE, 1, u);
lib/libcrypto/pem/pvkfmt.c
924
i2b_PVK_bio(BIO *out, EVP_PKEY *pk, int enclevel, pem_password_cb *cb, void *u)
lib/libcrypto/pem/pvkfmt.c
929
outlen = i2b_PVK(&tmp, pk, enclevel, cb, u);
lib/libcrypto/rsa/rsa.h
247
int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
lib/libcrypto/rsa/rsa.h
430
BIGNUM *e, BN_GENCB *cb));
lib/libcrypto/rsa/rsa.h
449
BN_GENCB *cb);
lib/libcrypto/rsa/rsa_gen.c
142
if (!BN_generate_prime_ex(rsa->p, bitsp, 0, NULL, NULL, cb))
lib/libcrypto/rsa/rsa_gen.c
150
if (!BN_GENCB_call(cb, 2, n++))
lib/libcrypto/rsa/rsa_gen.c
153
if (!BN_GENCB_call(cb, 3, 0))
lib/libcrypto/rsa/rsa_gen.c
164
cb))
lib/libcrypto/rsa/rsa_gen.c
180
if (!BN_GENCB_call(cb, 2, n++))
lib/libcrypto/rsa/rsa_gen.c
183
if (!BN_GENCB_call(cb, 3, 1))
lib/libcrypto/rsa/rsa_gen.c
245
BN_GENCB cb;
lib/libcrypto/rsa/rsa_gen.c
261
BN_GENCB_set_old(&cb, callback, cb_arg);
lib/libcrypto/rsa/rsa_gen.c
263
if (RSA_generate_key_ex(rsa, bits, e, &cb)) {
lib/libcrypto/rsa/rsa_gen.c
69
static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb);
lib/libcrypto/rsa/rsa_gen.c
72
RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb)
lib/libcrypto/rsa/rsa_gen.c
75
return rsa->meth->rsa_keygen(rsa, bits, e_value, cb);
lib/libcrypto/rsa/rsa_gen.c
76
return rsa_builtin_keygen(rsa, bits, e_value, cb);
lib/libcrypto/rsa/rsa_gen.c
81
rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb)
lib/libcrypto/rsa/rsa_local.h
98
int (*rsa_keygen)(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
lib/libcrypto/rsa/rsa_meth.c
163
BIGNUM *e, BN_GENCB *cb))
lib/libcrypto/rsa/rsa_meth.c
251
BN_GENCB *cb)
lib/libcrypto/rsa/rsa_pmeth.c
788
BN_GENCB cb = {0};
lib/libcrypto/rsa/rsa_pmeth.c
801
pcb = &cb;
lib/libcrypto/ts/ts.h
399
void TS_RESP_CTX_set_serial_cb(TS_RESP_CTX *ctx, TS_serial_cb cb, void *data);
lib/libcrypto/ts/ts.h
402
void TS_RESP_CTX_set_time_cb(TS_RESP_CTX *ctx, TS_time_cb cb, void *data);
lib/libcrypto/ts/ts.h
408
TS_extension_cb cb, void *data);
lib/libcrypto/ts/ts.h
543
int TS_CONF_set_serial(CONF *conf, const char *section, TS_serial_cb cb,
lib/libcrypto/ts/ts_conf.c
192
TS_CONF_set_serial(CONF *conf, const char *section, TS_serial_cb cb,
lib/libcrypto/ts/ts_conf.c
202
TS_RESP_CTX_set_serial_cb(ctx, cb, serial);
lib/libcrypto/ts/ts_rsp_sign.c
147
TS_RESP_CTX_set_time_cb(TS_RESP_CTX *ctx, TS_time_cb cb, void *data)
lib/libcrypto/ts/ts_rsp_sign.c
149
ctx->time_cb = cb;
lib/libcrypto/ts/ts_rsp_sign.c
337
TS_RESP_CTX_set_serial_cb(TS_RESP_CTX *ctx, TS_serial_cb cb, void *data)
lib/libcrypto/ts/ts_rsp_sign.c
339
ctx->serial_cb = cb;
lib/libcrypto/ts/ts_rsp_sign.c
345
TS_RESP_CTX_set_extension_cb(TS_RESP_CTX *ctx, TS_extension_cb cb, void *data)
lib/libcrypto/ts/ts_rsp_sign.c
347
ctx->extension_cb = cb;
lib/libcrypto/x509/x509_vfy.c
235
int (*cb) (int xok, X509_STORE_CTX *xctx);
lib/libcrypto/x509/x509_vfy.c
238
cb = ctx->verify_cb;
lib/libcrypto/x509/x509_vfy.c
370
ok = cb(0, ctx);
lib/libcrypto/x509/x509_vfy.c
501
ok = cb(0, ctx);
lib/libcrypto/x509/x509_vfy.c
710
int (*cb)(int xok, X509_STORE_CTX *xctx);
lib/libcrypto/x509/x509_vfy.c
714
cb = ctx->verify_cb;
lib/libcrypto/x509/x509_vfy.c
741
ok = cb(0, ctx);
lib/libcrypto/x509/x509_vfy.c
765
ok = cb(0, ctx);
lib/libcrypto/x509/x509_vfy.c
777
ok = cb(0, ctx);
lib/libcrypto/x509/x509_vfy.c
789
ok = cb(0, ctx);
lib/libcrypto/x509/x509_vfy.c
861
int (*cb) (int xok, X509_STORE_CTX *xctx);
lib/libcrypto/x509/x509_vfy.c
863
cb = ctx->verify_cb;
lib/libcrypto/x509/x509_vfy.c
880
ok = cb(0, ctx);
lib/libcurses/tinfo/lib_raw.c
112
kbdinfo.cb = sizeof(kbdinfo);
lib/libcurses/tinfo/lib_raw.c
115
kbdinfo.cb = sizeof(kbdinfo);
lib/libcurses/tinfo/lib_raw.c
251
kbdinfo.cb = sizeof(kbdinfo);
lib/libcurses/tinfo/lib_raw.c
254
kbdinfo.cb = sizeof(kbdinfo);
lib/libevent/buffer.c
141
if (buf->cb != NULL)
lib/libevent/buffer.c
142
(*buf->cb)(buf, oldoff, buf->off, buf->cbarg);
lib/libevent/buffer.c
387
if (datlen && buf->cb != NULL)
lib/libevent/buffer.c
388
(*buf->cb)(buf, oldoff, buf->off, buf->cbarg);
lib/libevent/buffer.c
412
if (buf->off != oldoff && buf->cb != NULL)
lib/libevent/buffer.c
413
(*buf->cb)(buf, oldoff, buf->off, buf->cbarg);
lib/libevent/buffer.c
464
if (buf->off != oldoff && buf->cb != NULL)
lib/libevent/buffer.c
465
(*buf->cb)(buf, oldoff, buf->off, buf->cbarg);
lib/libevent/buffer.c
504
void (*cb)(struct evbuffer *, size_t, size_t, void *),
lib/libevent/buffer.c
507
buffer->cb = cb;
lib/libevent/buffer.c
96
if (inbuf->off != oldoff && inbuf->cb != NULL)
lib/libevent/buffer.c
97
(*inbuf->cb)(inbuf, oldoff, inbuf->off, inbuf->cbarg);
lib/libevent/buffer.c
98
if (oldoff && outbuf->cb != NULL)
lib/libevent/buffer.c
99
(*outbuf->cb)(outbuf, 0, oldoff, outbuf->cbarg);
lib/libevent/event.c
502
void (*cb)(int, short, void *);
lib/libevent/event.c
513
(*eonce->cb)(fd, events, eonce->arg);
lib/libevent/event.c
541
eonce->cb = callback;
lib/libevent/event.c
931
void (*cb)(struct asr_result *, void *);
lib/libevent/event.c
946
eva->cb(&ar, eva->arg);
lib/libevent/event.c
959
event_asr_run(struct asr_query *async, void (*cb)(struct asr_result *, void *),
lib/libevent/event.c
969
eva->cb = cb;
lib/libevent/event.h
326
void event_set_log_callback(event_log_cb cb);
lib/libevent/event.h
447
#define evtimer_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg)
lib/libevent/event.h
483
#define timeout_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg)
lib/libevent/event.h
499
#define signal_set(ev, x, cb, arg) \
lib/libevent/event.h
500
event_set(ev, x, EV_SIGNAL|EV_PERSIST, cb, arg)
lib/libevent/event.h
736
void (*cb)(struct evbuffer *, size_t, size_t, void *);
lib/libevent/log.c
143
event_set_log_callback(event_log_cb cb)
lib/libevent/log.c
145
log_fn = cb;
lib/librthread/rthread.c
213
struct thread_callbacks cb = { 0 };
lib/librthread/rthread.c
216
cb.tc_errnoptr = multi_threaded_errnoptr;
lib/librthread/rthread.c
217
cb.tc_tcb = multi_threaded_tcb;
lib/librthread/rthread.c
219
cb.tc_fork = _thread_fork;
lib/librthread/rthread.c
220
cb.tc_vfork = _thread_vfork;
lib/librthread/rthread.c
221
cb.tc_thread_release = _thread_release;
lib/librthread/rthread.c
222
cb.tc_thread_key_zero = _thread_key_zero;
lib/librthread/rthread.c
223
_thread_set_callbacks(&cb, sizeof(cb));
lib/libsndio/sio.c
447
sio_onmove(struct sio_hdl *hdl, void (*cb)(void *, int), void *addr)
lib/libsndio/sio.c
454
hdl->move_cb = cb;
lib/libsndio/sio.c
650
sio_onvol(struct sio_hdl *hdl, void (*cb)(void *, unsigned int), void *addr)
lib/libsndio/sio.c
659
hdl->vol_cb = cb;
lib/libsndio/sio.c
673
sio_onxrun(struct sio_hdl *hdl, void (*cb)(void *), void *addr)
lib/libsndio/sio.c
680
hdl->xrun_cb = cb;
lib/libsndio/sioctl.c
131
void (*cb)(void *, struct sioctl_desc *, int), void *arg)
lib/libsndio/sioctl.c
133
hdl->desc_cb = cb;
lib/libsndio/sioctl.c
140
void (*cb)(void *, unsigned int, unsigned int), void *arg)
lib/libsndio/sioctl.c
142
hdl->ctl_cb = cb;
lib/libssl/ssl.h
1232
void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx, int (*cb)(X509_STORE_CTX *, void *), void *arg);
lib/libssl/ssl.h
1241
void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb);
lib/libssl/ssl.h
1395
void (*cb)(const SSL *ssl, int type, int val));
lib/libssl/ssl.h
1452
RSA *(*cb)(SSL *ssl, int is_export, int keylength));
lib/libssl/ssl.h
1455
RSA *(*cb)(SSL *ssl, int is_export, int keylength));
lib/libssl/ssl.h
1478
tls_session_ticket_ext_cb_fn cb, void *arg);
lib/libssl/ssl.h
487
void SSL_CTX_set_msg_callback(SSL_CTX *ctx, void (*cb)(int write_p,
lib/libssl/ssl.h
490
void SSL_set_msg_callback(SSL *ssl, void (*cb)(int write_p, int version,
lib/libssl/ssl.h
495
void SSL_CTX_set_keylog_callback(SSL_CTX *ctx, SSL_CTX_keylog_cb_func cb);
lib/libssl/ssl.h
582
void SSL_CTX_set_info_callback(SSL_CTX *ctx, void (*cb)(const SSL *ssl,
lib/libssl/ssl.h
596
void SSL_CTX_set_next_protos_advertised_cb(SSL_CTX *s, int (*cb)(SSL *ssl,
lib/libssl/ssl.h
598
void SSL_CTX_set_next_proto_select_cb(SSL_CTX *s, int (*cb)(SSL *ssl,
lib/libssl/ssl.h
617
int (*cb)(SSL *ssl, const unsigned char **out, unsigned char *outlen,
lib/libssl/ssl.h
625
void SSL_set_psk_use_session_callback(SSL *s, SSL_psk_use_session_cb_func cb);
lib/libssl/ssl.h
748
pem_password_cb *cb, void *u);
lib/libssl/ssl.h
750
pem_password_cb *cb, void *u);
lib/libssl/ssl_lib.c
1877
SSL_CTX_set_next_protos_advertised_cb(SSL_CTX *ctx, int (*cb) (SSL *ssl,
lib/libssl/ssl_lib.c
1885
SSL_CTX_set_next_proto_select_cb(SSL_CTX *ctx, int (*cb) (SSL *s,
lib/libssl/ssl_lib.c
1967
int (*cb) (SSL *ssl, const unsigned char **out, unsigned char *outlen,
lib/libssl/ssl_lib.c
1970
ctx->alpn_select_cb = cb;
lib/libssl/ssl_lib.c
1991
SSL_set_psk_use_session_callback(SSL *s, SSL_psk_use_session_cb_func cb)
lib/libssl/ssl_lib.c
2264
SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb)
lib/libssl/ssl_lib.c
2266
ctx->default_passwd_callback = cb;
lib/libssl/ssl_lib.c
2286
int (*cb)(X509_STORE_CTX *, void *), void *arg)
lib/libssl/ssl_lib.c
2288
ctx->app_verify_callback = cb;
lib/libssl/ssl_lib.c
2294
SSL_CTX_set_verify(SSL_CTX *ctx, int mode, int (*cb)(int, X509_STORE_CTX *))
lib/libssl/ssl_lib.c
2297
ctx->default_verify_callback = cb;
lib/libssl/ssl_lib.c
3041
ssl_info_callback_fn *cb;
lib/libssl/ssl_lib.c
3043
if ((cb = s->info_callback) == NULL)
lib/libssl/ssl_lib.c
3044
cb = s->ctx->info_callback;
lib/libssl/ssl_lib.c
3045
if (cb != NULL)
lib/libssl/ssl_lib.c
3046
cb(s, type, value);
lib/libssl/ssl_lib.c
3287
SSL_set_info_callback(SSL *ssl, void (*cb)(const SSL *ssl, int type, int val))
lib/libssl/ssl_lib.c
3289
ssl->info_callback = cb;
lib/libssl/ssl_lib.c
3453
SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx, RSA *(*cb)(SSL *ssl, int is_export,
lib/libssl/ssl_lib.c
3456
SSL_CTX_callback_ctrl(ctx, SSL_CTRL_SET_TMP_RSA_CB,(void (*)(void))cb);
lib/libssl/ssl_lib.c
3461
SSL_set_tmp_rsa_callback(SSL *ssl, RSA *(*cb)(SSL *ssl, int is_export,
lib/libssl/ssl_lib.c
3464
SSL_callback_ctrl(ssl, SSL_CTRL_SET_TMP_RSA_CB,(void (*)(void))cb);
lib/libssl/ssl_lib.c
3503
SSL_CTX_set_msg_callback(SSL_CTX *ctx, void (*cb)(int write_p, int version,
lib/libssl/ssl_lib.c
3507
(void (*)(void))cb);
lib/libssl/ssl_lib.c
3512
SSL_set_msg_callback(SSL *ssl, void (*cb)(int write_p, int version,
lib/libssl/ssl_lib.c
3515
SSL_callback_ctrl(ssl, SSL_CTRL_SET_MSG_CALLBACK, (void (*)(void))cb);
lib/libssl/ssl_lib.c
392
SSL_CTX_set_generate_session_id(SSL_CTX *ctx, GEN_SESSION_CB cb)
lib/libssl/ssl_lib.c
395
ctx->generate_session_id = cb;
lib/libssl/ssl_lib.c
402
SSL_set_generate_session_id(SSL *ssl, GEN_SESSION_CB cb)
lib/libssl/ssl_lib.c
405
ssl->generate_session_id = cb;
lib/libssl/ssl_lib.c
807
SSL_CTX_set_keylog_callback(SSL_CTX *ctx, SSL_CTX_keylog_cb_func cb)
lib/libssl/ssl_lib.c
809
ctx->keylog_callback = cb;
lib/libssl/ssl_sess.c
1078
SSL_set_session_ticket_ext_cb(SSL *s, tls_session_ticket_ext_cb_fn cb,
lib/libssl/ssl_sess.c
1083
s->tls_session_ticket_ext_cb = cb;
lib/libssl/ssl_sess.c
1234
int (*cb)(struct ssl_st *ssl, SSL_SESSION *sess)) {
lib/libssl/ssl_sess.c
1235
ctx->new_session_cb = cb;
lib/libssl/ssl_sess.c
1248
void (*cb)(SSL_CTX *ctx, SSL_SESSION *sess))
lib/libssl/ssl_sess.c
1250
ctx->remove_session_cb = cb;
lib/libssl/ssl_sess.c
1262
SSL_CTX_sess_set_get_cb(SSL_CTX *ctx, SSL_SESSION *(*cb)(struct ssl_st *ssl,
lib/libssl/ssl_sess.c
1265
ctx->get_session_cb = cb;
lib/libssl/ssl_sess.c
1279
void (*cb)(const SSL *ssl, int type, int val))
lib/libssl/ssl_sess.c
1281
ctx->info_callback = cb;
lib/libssl/ssl_sess.c
1294
int (*cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey))
lib/libssl/ssl_sess.c
1296
ctx->client_cert_cb = cb;
lib/libssl/ssl_sess.c
1310
int (*cb)(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len))
lib/libssl/ssl_sess.c
1312
ctx->app_gen_cookie_cb = cb;
lib/libssl/ssl_sess.c
1318
int (*cb)(SSL *ssl, const unsigned char *cookie, unsigned int cookie_len))
lib/libssl/ssl_sess.c
1320
ctx->app_verify_cookie_cb = cb;
lib/libssl/ssl_sess.c
1333
PEM_read_SSL_SESSION(FILE *fp, SSL_SESSION **x, pem_password_cb *cb, void *u)
lib/libssl/ssl_sess.c
1336
PEM_STRING_SSL_SESSION, fp, (void **)x, cb, u);
lib/libssl/ssl_sess.c
1341
PEM_read_bio_SSL_SESSION(BIO *bp, SSL_SESSION **x, pem_password_cb *cb, void *u)
lib/libssl/ssl_sess.c
1344
PEM_STRING_SSL_SESSION, bp, (void **)x, cb, u);
lib/libssl/ssl_sess.c
437
GEN_SESSION_CB cb = def_generate_session_id;
lib/libssl/ssl_sess.c
480
cb = s->generate_session_id;
lib/libssl/ssl_sess.c
482
cb = s->session_ctx->generate_session_id;
lib/libssl/ssl_sess.c
487
if (!cb(s, ss->session_id, &tmp)) {
lib/libssl/tls1.h
325
#define SSL_set_tlsext_debug_callback(ssl, cb) \
lib/libssl/tls1.h
326
SSL_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_CB,(void (*)(void))cb)
lib/libssl/tls1.h
355
#define SSL_CTX_set_tlsext_servername_callback(ctx, cb) \
lib/libssl/tls1.h
356
SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TLSEXT_SERVERNAME_CB,(void (*)(void))cb)
lib/libssl/tls1.h
371
#define SSL_CTX_get_tlsext_status_cb(ssl, cb) \
lib/libssl/tls1.h
372
SSL_CTX_callback_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_CB,(void (*)(void))cb)
lib/libssl/tls1.h
373
#define SSL_CTX_set_tlsext_status_cb(ssl, cb) \
lib/libssl/tls1.h
374
SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB,(void (*)(void))cb)
lib/libssl/tls1.h
381
#define SSL_CTX_set_tlsext_ticket_key_cb(ssl, cb) \
lib/libssl/tls1.h
382
SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,(void (*)(void))cb)
lib/libssl/tls13_record_layer.c
1062
if ((ret = tls13_record_send(rl->wrec, rl->cb.wire_write,
lib/libssl/tls13_record_layer.c
1089
if ((ret = tls13_record_send(rl->wrec, rl->cb.wire_write, rl->cb_arg)) <= 0)
lib/libssl/tls13_record_layer.c
113
struct tls13_record_layer_callbacks cb;
lib/libssl/tls13_record_layer.c
1132
return rl->cb.wire_flush(rl->cb_arg);
lib/libssl/tls13_record_layer.c
1157
if (rl->cb.handshake_read != NULL)
lib/libssl/tls13_record_layer.c
1158
return rl->cb.handshake_read(buf, n, rl->cb_arg);
lib/libssl/tls13_record_layer.c
1167
if (rl->cb.handshake_write != NULL)
lib/libssl/tls13_record_layer.c
1168
return rl->cb.handshake_write(buf, n, rl->cb_arg);
lib/libssl/tls13_record_layer.c
1216
if (rl->cb.alert_send != NULL)
lib/libssl/tls13_record_layer.c
1217
return rl->cb.alert_send(alert_desc, rl->cb_arg);
lib/libssl/tls13_record_layer.c
184
rl->cb = *callbacks;
lib/libssl/tls13_record_layer.c
330
rl->cb.alert_recv(alert_level, alert_desc, rl->cb_arg);
lib/libssl/tls13_record_layer.c
339
rl->cb.alert_sent(alert_level, alert_desc, rl->cb_arg);
lib/libssl/tls13_record_layer.c
396
rl->cb.phh_sent(rl->cb_arg);
lib/libssl/tls13_record_layer.c
507
if (rl->cb.set_read_traffic_key != NULL)
lib/libssl/tls13_record_layer.c
508
return rl->cb.set_read_traffic_key(read_key, read_level,
lib/libssl/tls13_record_layer.c
519
if (rl->cb.set_write_traffic_key != NULL)
lib/libssl/tls13_record_layer.c
520
return rl->cb.set_write_traffic_key(write_key, write_level,
lib/libssl/tls13_record_layer.c
823
if ((ret = tls13_record_recv(rl->rrec, rl->cb.wire_read, rl->cb_arg)) <= 0) {
lib/libssl/tls13_record_layer.c
937
if (rl->cb.phh_recv != NULL)
lib/libssl/tls13_record_layer.c
938
ret = rl->cb.phh_recv(rl->cb_arg);
lib/libtls/tls_config.c
762
tls_config_set_sign_cb(struct tls_config *config, tls_sign_cb cb, void *cb_arg)
lib/libtls/tls_config.c
766
config->sign_cb = cb;
lib/libutil/ber.c
1040
ober_set_application(struct ber *b, unsigned int (*cb)(struct ber_element *))
lib/libutil/ber.c
1042
b->br_application = cb;
lib/libutil/ber.c
1046
ober_set_writecallback(struct ber_element *elm, void (*cb)(void *, size_t),
lib/libutil/ber.c
1049
elm->be_cb = cb;
libexec/ld.so/dlfcn.c
155
_dl_thread_kern_go(cb);
libexec/ld.so/dlfcn.c
296
lock_cb *cb;
libexec/ld.so/dlfcn.c
302
cb = _dl_thread_kern_stop();
libexec/ld.so/dlfcn.c
315
_dl_thread_kern_go(cb);
libexec/ld.so/dlfcn.c
556
lock_cb *cb = _dl_thread_fnc;
libexec/ld.so/dlfcn.c
558
if (cb != NULL)
libexec/ld.so/dlfcn.c
559
(*cb)(0);
libexec/ld.so/dlfcn.c
560
return cb;
libexec/ld.so/dlfcn.c
564
_dl_thread_kern_go(lock_cb *cb)
libexec/ld.so/dlfcn.c
566
if (cb != NULL)
libexec/ld.so/dlfcn.c
567
(*cb)(1);
libexec/ld.so/dlfcn.c
60
lock_cb *cb;
libexec/ld.so/dlfcn.c
78
cb = _dl_thread_kern_stop();
libexec/ld.so/malloc.c
1008
lock_cb *cb;
libexec/ld.so/malloc.c
1010
cb = _dl_thread_kern_stop();
libexec/ld.so/malloc.c
1026
_dl_thread_kern_go(cb);
libexec/ld.so/malloc.c
1060
lock_cb *cb;
libexec/ld.so/malloc.c
1062
cb = _dl_thread_kern_stop();
libexec/ld.so/malloc.c
1071
_dl_thread_kern_go(cb);
libexec/ld.so/malloc.c
1168
lock_cb *cb;
libexec/ld.so/malloc.c
1174
cb = _dl_thread_kern_stop();
libexec/ld.so/malloc.c
1183
_dl_thread_kern_go(cb);
libexec/ld.so/malloc.c
869
lock_cb *cb;
libexec/ld.so/malloc.c
871
cb = _dl_thread_kern_stop();
libexec/ld.so/malloc.c
880
_dl_thread_kern_go(cb);
libexec/ld.so/malloc.c
977
lock_cb *cb;
libexec/ld.so/malloc.c
983
cb = _dl_thread_kern_stop();
libexec/ld.so/malloc.c
994
_dl_thread_kern_go(cb);
libexec/login_token/token.c
108
TOKEN_CBlock cb;
libexec/login_token/token.c
125
h2cb(tr.secret, &cb);
libexec/login_token/token.c
126
DES_fixup_key_parity(&cb.cb);
libexec/login_token/token.c
127
DES_key_sched(&cb.cb, &ks);
libexec/login_token/token.c
128
DES_ecb_encrypt(&tr.rim, &cb.cb, &ks, DES_ENCRYPT);
libexec/login_token/token.c
129
memcpy(tr.rim, cb.cb, 8);
libexec/login_token/token.c
202
DES_fixup_key_parity(&user_seed.cb);
libexec/login_token/token.c
203
DES_key_sched(&user_seed.cb, &key_schedule);
libexec/login_token/token.c
205
DES_ecb_encrypt(&tokennumber.cb, &cipher_text.cb, &key_schedule,
libexec/login_token/token.c
274
DES_fixup_key_parity(&secret.cb);
libexec/login_token/token.c
313
username, secret.cb[0], secret.cb[1], secret.cb[2], secret.cb[3],
libexec/login_token/token.c
314
secret.cb[4], secret.cb[5], secret.cb[6], secret.cb[7]);
libexec/login_token/token.c
316
DES_key_sched(&secret.cb, &key_schedule);
libexec/login_token/token.c
319
DES_ecb_encrypt(&nulls.cb, &checksum.cb, &key_schedule, DES_ENCRYPT);
libexec/login_token/token.c
354
h2cb(char *hp, TOKEN_CBlock *cb)
libexec/login_token/token.c
359
cb->ul[0] = strtoul(scratch, NULL, 16);
libexec/login_token/token.c
362
cb->ul[1] = strtoul(scratch, NULL, 16);
libexec/login_token/token.c
370
cb2h(TOKEN_CBlock cb, char* hp)
libexec/login_token/token.c
374
snprintf(scratch, 9, "%8.8x", cb.ul[0]);
libexec/login_token/token.c
375
snprintf(scratch+8, 9, "%8.8x", cb.ul[1]);
libexec/login_token/token.c
65
DES_cblock cb;
libexec/login_token/token.c
93
tokenseed(TOKEN_CBlock *cb)
libexec/login_token/token.c
95
cb->ul[0] = arc4random();
libexec/login_token/token.c
96
cb->ul[1] = arc4random();
libexec/spamd/spamd.c
149
char *cb;
libexec/spamd/spamd.c
357
cb[cbu++] = '\0';
libexec/spamd/spamd.c
359
start = cb;
libexec/spamd/spamd.c
386
tmp = realloc(cb, cbs + (1024 * 1024));
libexec/spamd/spamd.c
393
cb = tmp;
libexec/spamd/spamd.c
396
n = read(conffd, cb + cbu, cbs - cbu);
libexec/spamd/spamd.c
412
free(cb);
libexec/spamd/spamd.c
413
cb = NULL;
regress/lib/libcrypto/bn/bn_test.c
1443
BN_GENCB *cb = NULL;
regress/lib/libcrypto/bn/bn_test.c
1459
if ((cb = BN_GENCB_new()) == NULL)
regress/lib/libcrypto/bn/bn_test.c
1462
BN_GENCB_set(cb, genprime_cb, NULL);
regress/lib/libcrypto/bn/bn_test.c
1474
if (!BN_generate_prime_ex(b, 512, 0, NULL, NULL, cb))
regress/lib/libcrypto/bn/bn_test.c
1536
BN_GENCB_free(cb);
regress/lib/libcrypto/bn/bn_test.c
1546
BN_GENCB *cb = NULL;
regress/lib/libcrypto/bn/bn_test.c
1559
if ((cb = BN_GENCB_new()) == NULL)
regress/lib/libcrypto/bn/bn_test.c
1562
BN_GENCB_set(cb, genprime_cb, NULL);
regress/lib/libcrypto/bn/bn_test.c
1576
if (!BN_generate_prime_ex(p, 256, 0, a, r, cb))
regress/lib/libcrypto/bn/bn_test.c
1632
BN_GENCB_free(cb);
regress/lib/libcrypto/dh/dhtest.c
102
BN_GENCB_set(_cb, &cb, NULL);
regress/lib/libcrypto/dsa/dsatest.c
117
BN_GENCB *cb;
regress/lib/libcrypto/dsa/dsatest.c
133
if ((cb = BN_GENCB_new()) == NULL)
regress/lib/libcrypto/dsa/dsatest.c
136
BN_GENCB_set(cb, dsa_cb, bio_err);
regress/lib/libcrypto/dsa/dsatest.c
145
if (!DSA_generate_parameters_ex(dsa, 512, seed, 20, &counter, &h, cb))
regress/lib/libcrypto/dsa/dsatest.c
192
BN_GENCB_free(cb);
regress/lib/libsndio/fd/fd.c
19
void cb(void *, int);
regress/lib/libsndio/fd/fd.c
284
sio_onmove(hdl, cb, NULL);
regress/lib/libsndio/play/play.c
105
sio_onmove(hdl, cb, NULL);
regress/lib/libsndio/play/play.c
13
void cb(void *, int);
regress/lib/libsndio/rec/rec.c
13
void cb(void *, int);
regress/lib/libsndio/rec/rec.c
96
sio_onmove(hdl, cb, NULL);
regress/lib/libssl/unit/cipher_list.c
115
CHECK_GOTO(memcmp(buf, cb, cb_len) == 0);
regress/lib/libssl/unit/cipher_list.c
128
const uint8_t *cb, size_t cb_len)
regress/lib/libssl/unit/cipher_list.c
150
CHECK_GOTO(memcmp(buf, cb, cb_len) == 0);
regress/lib/libssl/unit/cipher_list.c
95
const uint8_t *cb, size_t cb_len)
regress/sbin/iked/parser/common.c
128
void (*cb)(struct iked *, void *), void *arg)
sbin/iked/config.c
665
void (*cb)(int, short, void *))
sbin/iked/config.c
702
EV_READ|EV_PERSIST, cb, sock);
sbin/iked/iked.h
1023
void (*cb)(int, short, void *));
sbin/iked/timer.c
38
void (*cb)(struct iked *, void *), void *arg)
sbin/iked/timer.c
45
tmr->tmr_cb = cb;
sbin/isakmpd/conf.c
1015
current_section = cb->section;
sbin/isakmpd/conf.c
1017
dnode->s = cb->tag;
sbin/isakmpd/conf.c
1018
dnode->v = cb->value;
sbin/isakmpd/conf.c
1023
last = cb;
sbin/isakmpd/conf.c
107
struct conf_binding *cb, *next;
sbin/isakmpd/conf.c
109
for (cb = LIST_FIRST(&conf_bindings[conf_hash(section)]); cb;
sbin/isakmpd/conf.c
110
cb = next) {
sbin/isakmpd/conf.c
111
next = LIST_NEXT(cb, link);
sbin/isakmpd/conf.c
112
if (strcasecmp(cb->section, section) == 0 &&
sbin/isakmpd/conf.c
113
strcasecmp(cb->tag, tag) == 0) {
sbin/isakmpd/conf.c
114
LIST_REMOVE(cb, link);
sbin/isakmpd/conf.c
116
tag, cb->value));
sbin/isakmpd/conf.c
117
free(cb->section);
sbin/isakmpd/conf.c
118
free(cb->tag);
sbin/isakmpd/conf.c
119
free(cb->value);
sbin/isakmpd/conf.c
120
free(cb);
sbin/isakmpd/conf.c
130
struct conf_binding *cb, *next;
sbin/isakmpd/conf.c
133
for (cb = LIST_FIRST(&conf_bindings[conf_hash(section)]); cb;
sbin/isakmpd/conf.c
134
cb = next) {
sbin/isakmpd/conf.c
135
next = LIST_NEXT(cb, link);
sbin/isakmpd/conf.c
136
if (strcasecmp(cb->section, section) == 0) {
sbin/isakmpd/conf.c
138
LIST_REMOVE(cb, link);
sbin/isakmpd/conf.c
140
cb->tag, cb->value));
sbin/isakmpd/conf.c
141
free(cb->section);
sbin/isakmpd/conf.c
142
free(cb->tag);
sbin/isakmpd/conf.c
143
free(cb->value);
sbin/isakmpd/conf.c
144
free(cb);
sbin/isakmpd/conf.c
610
struct conf_binding *cb = 0;
sbin/isakmpd/conf.c
653
for (cb = LIST_FIRST(&conf_bindings[i]); cb;
sbin/isakmpd/conf.c
654
cb = LIST_FIRST(&conf_bindings[i]))
sbin/isakmpd/conf.c
655
conf_remove_now(cb->section, cb->tag);
sbin/isakmpd/conf.c
729
struct conf_binding *cb;
sbin/isakmpd/conf.c
731
for (cb = LIST_FIRST(&conf_bindings[conf_hash(section)]); cb;
sbin/isakmpd/conf.c
732
cb = LIST_NEXT(cb, link))
sbin/isakmpd/conf.c
733
if (strcasecmp(section, cb->section) == 0 &&
sbin/isakmpd/conf.c
734
strcasecmp(tag, cb->tag) == 0) {
sbin/isakmpd/conf.c
736
section, tag, cb->value));
sbin/isakmpd/conf.c
737
return cb->value;
sbin/isakmpd/conf.c
805
struct conf_binding *cb;
sbin/isakmpd/conf.c
812
for (cb = LIST_FIRST(&conf_bindings[conf_hash(section)]); cb;
sbin/isakmpd/conf.c
813
cb = LIST_NEXT(cb, link))
sbin/isakmpd/conf.c
814
if (strcasecmp(section, cb->section) == 0) {
sbin/isakmpd/conf.c
819
node->field = strdup(cb->tag);
sbin/isakmpd/conf.c
980
struct conf_binding *cb, *last = 0;
sbin/isakmpd/conf.c
992
for (cb = LIST_FIRST(&conf_bindings[i]); cb;
sbin/isakmpd/conf.c
993
cb = LIST_NEXT(cb, link)) {
sbin/isakmpd/conf.c
994
if (!cb->is_default) {
sbin/isakmpd/conf.c
996
if (!current_section || strcmp(cb->section,
sbin/unwind/libunbound/libunbound/context.c
158
ub_callback_type cb, ub_event_callback_type cb_event, void* cbarg)
sbin/unwind/libunbound/libunbound/context.c
170
q->async = (cb != NULL || cb_event != NULL);
sbin/unwind/libunbound/libunbound/context.c
171
q->cb = cb;
sbin/unwind/libunbound/libunbound/context.h
165
ub_callback_type cb;
sbin/unwind/libunbound/libunbound/context.h
232
int rrclass, ub_callback_type cb, ub_event_callback_type cb_event,
sbin/unwind/libunbound/libunbound/libunbound.c
587
ub_callback_type* cb, void** cbarg, int* err,
sbin/unwind/libunbound/libunbound/libunbound.c
609
*cb = NULL;
sbin/unwind/libunbound/libunbound/libunbound.c
612
*cb = q->cb;
sbin/unwind/libunbound/libunbound/libunbound.c
644
if(*cb) return 2;
sbin/unwind/libunbound/libunbound/libunbound.c
654
ub_callback_type cb;
sbin/unwind/libunbound/libunbound/libunbound.c
659
r = process_answer_detail(ctx, msg, len, &cb, &cbarg, &err, &res);
sbin/unwind/libunbound/libunbound/libunbound.c
664
(*cb)(cbarg, err, res);
sbin/unwind/libunbound/libunbound/libunbound.c
697
ub_callback_type cb;
sbin/unwind/libunbound/libunbound/libunbound.c
733
&cb, &cbarg, &err, &res);
sbin/unwind/libunbound/libunbound/libunbound.c
739
(*cb)(cbarg, err, res);
sbin/unwind/libunbound/libunbound/libworker.c
663
ub_event_callback_type cb = q->cb_event;
sbin/unwind/libunbound/libunbound/libworker.c
682
(*cb)(cb_arg, rcode, (buf?(void*)sldns_buffer_begin(buf):NULL),
sbin/unwind/libunbound/libunbound/unbound-event.h
102
void (*cb)(int, short, void*), void* arg);
sbin/unwind/libunbound/libunbound/unbound-event.h
106
void* wsaevent, void (*cb)(int, short, void*), void* arg);
sbin/unwind/libunbound/libunbound/unbound-event.h
143
void (*cb)(int, short, void*), void* arg, struct timeval*);
sbin/unwind/libunbound/libunbound/unbound-event.h
98
int fd, short bits, void (*cb)(int, short, void*), void* arg);
sbin/unwind/libunbound/services/listen_dnsport.c
1543
comm_point_callback_type* cb, void *cb_arg)
sbin/unwind/libunbound/services/listen_dnsport.c
1565
front->udp_buff, ports->pp2_enabled, cb,
sbin/unwind/libunbound/services/listen_dnsport.c
1574
front->udp_buff, cb, cb_arg, ports->socket,
sbin/unwind/libunbound/services/listen_dnsport.c
1582
ports->ftype, ports->pp2_enabled, cb, cb_arg,
sbin/unwind/libunbound/services/listen_dnsport.c
1591
ports->ftype, ports->pp2_enabled, cb, cb_arg,
sbin/unwind/libunbound/services/listen_dnsport.c
1619
front->udp_buff, ports->pp2_enabled, cb,
sbin/unwind/libunbound/services/listen_dnsport.h
221
comm_point_callback_type* cb, void *cb_arg);
sbin/unwind/libunbound/services/mesh.c
1063
struct mesh_cb* cb;
sbin/unwind/libunbound/services/mesh.c
1077
while((cb = mstate->cb_list)!=NULL) {
sbin/unwind/libunbound/services/mesh.c
1078
mstate->cb_list = cb->next;
sbin/unwind/libunbound/services/mesh.c
1079
fptr_ok(fptr_whitelist_mesh_cb(cb->cb));
sbin/unwind/libunbound/services/mesh.c
1080
(*cb->cb)(cb->cb_arg, LDNS_RCODE_SERVFAIL, NULL,
sbin/unwind/libunbound/services/mesh.c
1336
fptr_ok(fptr_whitelist_mesh_cb(r->cb));
sbin/unwind/libunbound/services/mesh.c
1337
(*r->cb)(r->cb_arg, rcode, r->buf, sec_status_unchecked, NULL,
sbin/unwind/libunbound/services/mesh.c
1356
fptr_ok(fptr_whitelist_mesh_cb(r->cb));
sbin/unwind/libunbound/services/mesh.c
1357
(*r->cb)(r->cb_arg, LDNS_RCODE_SERVFAIL, r->buf,
sbin/unwind/libunbound/services/mesh.c
1360
fptr_ok(fptr_whitelist_mesh_cb(r->cb));
sbin/unwind/libunbound/services/mesh.c
1361
(*r->cb)(r->cb_arg, LDNS_RCODE_NOERROR, r->buf,
sbin/unwind/libunbound/services/mesh.c
1893
int mesh_state_del_cb(struct mesh_state* s, mesh_cb_func_type cb, void* cb_arg)
sbin/unwind/libunbound/services/mesh.c
1898
if(r->cb == cb && r->cb_arg == cb_arg) {
sbin/unwind/libunbound/services/mesh.c
1912
sldns_buffer* buf, mesh_cb_func_type cb, void* cb_arg,
sbin/unwind/libunbound/services/mesh.c
1920
log_assert(fptr_whitelist_mesh_cb(cb)); /* early failure ifmissing*/
sbin/unwind/libunbound/services/mesh.c
1921
r->cb = cb;
sbin/unwind/libunbound/services/mesh.c
2611
uint16_t qflags, mesh_cb_func_type cb, void* cb_arg)
sbin/unwind/libunbound/services/mesh.c
2616
if(!mesh_state_del_cb(s, cb, cb_arg)) return;
sbin/unwind/libunbound/services/mesh.c
601
uint16_t qid, mesh_cb_func_type cb, void* cb_arg, int rpz_passthru)
sbin/unwind/libunbound/services/mesh.c
655
if(!mesh_state_add_cb(s, edns, buf, cb, cb_arg, qid, qflags)) {
sbin/unwind/libunbound/services/mesh.h
277
mesh_cb_func_type cb;
sbin/unwind/libunbound/services/mesh.h
341
uint16_t qid, mesh_cb_func_type cb, void* cb_arg, int rpz_passthru);
sbin/unwind/libunbound/services/mesh.h
571
struct sldns_buffer* buf, mesh_cb_func_type cb, void* cb_arg,
sbin/unwind/libunbound/services/mesh.h
724
uint16_t qflags, mesh_cb_func_type cb, void* cb_arg);
sbin/unwind/libunbound/services/outside_network.c
1248
if(w->cb)
sbin/unwind/libunbound/services/outside_network.c
1467
if(pend->cb) {
sbin/unwind/libunbound/services/outside_network.c
1468
fptr_ok(fptr_whitelist_pending_udp(pend->cb));
sbin/unwind/libunbound/services/outside_network.c
1469
(void)(*pend->cb)(outnet->unused_fds->cp, pend->cb_arg,
sbin/unwind/libunbound/services/outside_network.c
1550
if(p->cb) {
sbin/unwind/libunbound/services/outside_network.c
1551
fptr_ok(fptr_whitelist_pending_udp(p->cb));
sbin/unwind/libunbound/services/outside_network.c
1552
(void)(*p->cb)(p->pc->cp, p->cb_arg, NETEVENT_NOERROR, reply_info);
sbin/unwind/libunbound/services/outside_network.c
1605
if(p->cb) {
sbin/unwind/libunbound/services/outside_network.c
1606
fptr_ok(fptr_whitelist_pending_udp(p->cb));
sbin/unwind/libunbound/services/outside_network.c
1607
(void)(*p->cb)(p->pc->cp, p->cb_arg, NETEVENT_TIMEOUT, NULL);
sbin/unwind/libunbound/services/outside_network.c
1614
p->cb = NULL;
sbin/unwind/libunbound/services/outside_network.c
2275
int timeout, comm_point_callback_type* cb, void* cb_arg)
sbin/unwind/libunbound/services/outside_network.c
2283
pend->cb = cb;
sbin/unwind/libunbound/services/outside_network.c
2489
w->cb = callback;
sbin/unwind/libunbound/services/outside_network.c
2718
w->cb = NULL;
sbin/unwind/libunbound/services/outside_network.c
2790
w->cb = NULL;
sbin/unwind/libunbound/services/outside_network.c
3076
fptr_ok(fptr_whitelist_serviced_query(p->cb));
sbin/unwind/libunbound/services/outside_network.c
3077
(void)(*p->cb)(c, p->cb_arg, error, rep);
sbin/unwind/libunbound/services/outside_network.c
3432
struct service_callback* cb;
sbin/unwind/libunbound/services/outside_network.c
3517
if(!(cb = (struct service_callback*)regional_alloc(
sbin/unwind/libunbound/services/outside_network.c
3518
sq->region, sizeof(*cb)))) {
sbin/unwind/libunbound/services/outside_network.c
3535
if(!(cb = (struct service_callback*)regional_alloc(
sbin/unwind/libunbound/services/outside_network.c
3536
sq->region, sizeof(*cb)))) {
sbin/unwind/libunbound/services/outside_network.c
3541
cb->cb = callback;
sbin/unwind/libunbound/services/outside_network.c
3542
cb->cb_arg = callback_arg;
sbin/unwind/libunbound/services/outside_network.c
3543
cb->next = sq->cblist;
sbin/unwind/libunbound/services/outside_network.c
3544
sq->cblist = cb;
sbin/unwind/libunbound/services/outside_network.c
3655
comm_point_callback_type* cb, void* cb_arg,
sbin/unwind/libunbound/services/outside_network.c
3664
cb, cb_arg, NULL);
sbin/unwind/libunbound/services/outside_network.c
3731
comm_point_callback_type* cb, void* cb_arg,
sbin/unwind/libunbound/services/outside_network.c
3746
cp = comm_point_create_tcp_out(outnet->base, 65552, cb, cb_arg);
sbin/unwind/libunbound/services/outside_network.c
3806
comm_point_callback_type* cb, void* cb_arg,
sbin/unwind/libunbound/services/outside_network.c
3822
cp = comm_point_create_http_out(outnet->base, 65552, cb, cb_arg,
sbin/unwind/libunbound/services/outside_network.c
951
if(w && w->cb) {
sbin/unwind/libunbound/services/outside_network.c
952
fptr_ok(fptr_whitelist_pending_tcp(w->cb));
sbin/unwind/libunbound/services/outside_network.c
953
(void)(*w->cb)(c, w->cb_arg, error, reply_info);
sbin/unwind/libunbound/services/outside_network.h
328
comm_point_callback_type* cb;
sbin/unwind/libunbound/services/outside_network.h
410
comm_point_callback_type* cb;
sbin/unwind/libunbound/services/outside_network.h
434
comm_point_callback_type* cb;
sbin/unwind/libunbound/services/outside_network.h
763
comm_point_callback_type* cb, void* cb_arg,
sbin/unwind/libunbound/services/outside_network.h
785
comm_point_callback_type* cb, void* cb_arg,
sbin/unwind/libunbound/services/outside_network.h
808
comm_point_callback_type* cb, void* cb_arg,
sbin/unwind/libunbound/util/data/msgreply.c
1214
struct inplace_cb* cb;
sbin/unwind/libunbound/util/data/msgreply.c
1221
for(cb=callback_list; cb; cb=cb->next) {
sbin/unwind/libunbound/util/data/msgreply.c
1223
(inplace_cb_reply_func_type*)cb->cb, type));
sbin/unwind/libunbound/util/data/msgreply.c
1224
(void)(*(inplace_cb_reply_func_type*)cb->cb)(qinfo, qstate, rep,
sbin/unwind/libunbound/util/data/msgreply.c
1225
rcode, edns, &opt_list_out, repinfo, region, start_time, cb->id, cb->cb_arg);
sbin/unwind/libunbound/util/data/msgreply.c
1283
struct inplace_cb* cb = env->inplace_cb_lists[inplace_cb_query];
sbin/unwind/libunbound/util/data/msgreply.c
1284
for(; cb; cb=cb->next) {
sbin/unwind/libunbound/util/data/msgreply.c
1286
(inplace_cb_query_func_type*)cb->cb));
sbin/unwind/libunbound/util/data/msgreply.c
1287
(void)(*(inplace_cb_query_func_type*)cb->cb)(qinfo, flags,
sbin/unwind/libunbound/util/data/msgreply.c
1289
cb->id, cb->cb_arg);
sbin/unwind/libunbound/util/data/msgreply.c
1297
struct inplace_cb* cb =
sbin/unwind/libunbound/util/data/msgreply.c
1299
for(; cb; cb=cb->next) {
sbin/unwind/libunbound/util/data/msgreply.c
1301
(inplace_cb_edns_back_parsed_func_type*)cb->cb));
sbin/unwind/libunbound/util/data/msgreply.c
1302
(void)(*(inplace_cb_edns_back_parsed_func_type*)cb->cb)(qstate,
sbin/unwind/libunbound/util/data/msgreply.c
1303
cb->id, cb->cb_arg);
sbin/unwind/libunbound/util/data/msgreply.c
1310
struct inplace_cb* cb =
sbin/unwind/libunbound/util/data/msgreply.c
1312
for(; cb; cb=cb->next) {
sbin/unwind/libunbound/util/data/msgreply.c
1314
(inplace_cb_query_response_func_type*)cb->cb));
sbin/unwind/libunbound/util/data/msgreply.c
1315
(void)(*(inplace_cb_query_response_func_type*)cb->cb)(qstate,
sbin/unwind/libunbound/util/data/msgreply.c
1316
response, cb->id, cb->cb_arg);
sbin/unwind/libunbound/util/mini_event.c
272
void (*cb)(int, short, void *), void* arg)
sbin/unwind/libunbound/util/mini_event.c
277
ev->ev_callback = cb;
sbin/unwind/libunbound/util/mini_event.h
188
#define signal_set(ev, x, cb, arg) \
sbin/unwind/libunbound/util/mini_event.h
189
event_set(ev, x, EV_SIGNAL|EV_PERSIST, cb, arg)
sbin/unwind/libunbound/util/module.c
296
inplace_cb_register(void* cb, enum inplace_cb_list_type type, void* cbarg,
sbin/unwind/libunbound/util/module.c
314
callback->cb = cb;
sbin/unwind/libunbound/util/module.h
242
void* cb;
sbin/unwind/libunbound/util/module.h
931
inplace_cb_register(void* cb, enum inplace_cb_list_type type, void* cbarg,
sbin/unwind/libunbound/util/netevent.c
6902
comm_timer_create(struct comm_base* base, void (*cb)(void*), void* cb_arg)
sbin/unwind/libunbound/util/netevent.c
6912
tm->super.callback = cb;
sbin/unwind/libunbound/util/netevent.h
793
void (*cb)(void*), void* cb_arg);
sbin/unwind/libunbound/util/tube.c
469
tube_callback_type* cb, void* arg)
sbin/unwind/libunbound/util/tube.c
471
tube->listen_cb = cb;
sbin/unwind/libunbound/util/tube.c
735
tube_callback_type* cb, void* arg)
sbin/unwind/libunbound/util/tube.c
737
tube->listen_cb = cb;
sbin/unwind/libunbound/util/tube.h
233
tube_callback_type* cb, void* arg);
sbin/unwind/libunbound/util/ub_event.h
111
void (*cb)(int, short, void*), void* arg, struct timeval*);
sbin/unwind/libunbound/util/ub_event.h
125
void ub_comm_base_now(struct comm_base* cb);
sbin/unwind/libunbound/util/ub_event.h
89
int fd, short bits, void (*cb)(int, short, void*), void* arg);
sbin/unwind/libunbound/util/ub_event.h
92
void (*cb)(int, short, void*), void* arg);
sbin/unwind/libunbound/util/ub_event.h
95
void* wsaevent, void (*cb)(int, short, void*), void* arg);
sbin/unwind/libunbound/util/ub_event_pluggable.c
103
static void (*NATIVE_BITS_CB(void (*cb)(int, short, void*)))(int, short, void*)
sbin/unwind/libunbound/util/ub_event_pluggable.c
105
if(cb == comm_point_udp_callback)
sbin/unwind/libunbound/util/ub_event_pluggable.c
107
else if(cb == comm_point_udp_ancil_callback)
sbin/unwind/libunbound/util/ub_event_pluggable.c
109
else if(cb == comm_point_tcp_accept_callback)
sbin/unwind/libunbound/util/ub_event_pluggable.c
111
else if(cb == comm_point_tcp_handle_callback)
sbin/unwind/libunbound/util/ub_event_pluggable.c
113
else if(cb == comm_timer_callback)
sbin/unwind/libunbound/util/ub_event_pluggable.c
115
else if(cb == comm_signal_callback)
sbin/unwind/libunbound/util/ub_event_pluggable.c
117
else if(cb == comm_point_local_handle_callback)
sbin/unwind/libunbound/util/ub_event_pluggable.c
119
else if(cb == comm_point_raw_handle_callback)
sbin/unwind/libunbound/util/ub_event_pluggable.c
121
else if(cb == tube_handle_signal)
sbin/unwind/libunbound/util/ub_event_pluggable.c
123
else if(cb == comm_base_handle_slow_accept)
sbin/unwind/libunbound/util/ub_event_pluggable.c
193
void (*cb)(int, short, void*), void* arg, struct timeval* tv)
sbin/unwind/libunbound/util/ub_event_pluggable.c
195
event_set(&AS_MY_EVENT(ev)->ev, -1, EV_TIMEOUT,NATIVE_BITS_CB(cb),arg);
sbin/unwind/libunbound/util/ub_event_pluggable.c
277
void (*cb)(int, short, void*), void* arg)
sbin/unwind/libunbound/util/ub_event_pluggable.c
285
event_set(&my_ev->ev, fd, NATIVE_BITS(bits), NATIVE_BITS_CB(cb), arg);
sbin/unwind/libunbound/util/ub_event_pluggable.c
297
void (*cb)(int, short, void*), void* arg)
sbin/unwind/libunbound/util/ub_event_pluggable.c
305
signal_set(&my_ev->ev, fd, NATIVE_BITS_CB(cb), arg);
sbin/unwind/libunbound/util/ub_event_pluggable.c
317
void (*cb)(int, short, void*), void* arg)
sbin/unwind/libunbound/util/ub_event_pluggable.c
327
&my_ev->ev, wsaevent, cb, arg)) {
sbin/unwind/libunbound/util/ub_event_pluggable.c
338
(void)cb;
sbin/unwind/libunbound/util/ub_event_pluggable.c
509
void (*cb)(int, short, void*), void* arg)
sbin/unwind/libunbound/util/ub_event_pluggable.c
514
return (*base->vmt->new_event)(base, fd, bits, cb, arg);
sbin/unwind/libunbound/util/ub_event_pluggable.c
521
void (*cb)(int, short, void*), void* arg)
sbin/unwind/libunbound/util/ub_event_pluggable.c
526
return (*base->vmt->new_signal)(base, fd, cb, arg);
sbin/unwind/libunbound/util/ub_event_pluggable.c
533
void (*cb)(int, short, void*), void* arg)
sbin/unwind/libunbound/util/ub_event_pluggable.c
539
return (*base->vmt->winsock_register_wsaevent)(base, wsaevent, cb, arg);
sbin/unwind/libunbound/util/ub_event_pluggable.c
608
void (*cb)(int, short, void*), void* arg, struct timeval* tv)
sbin/unwind/libunbound/util/ub_event_pluggable.c
613
return (*ev->vmt->add_timer)(ev, base, cb, arg, tv);
sbin/unwind/libunbound/util/ub_event_pluggable.c
674
void ub_comm_base_now(struct comm_base* cb)
sbin/unwind/libunbound/util/ub_event_pluggable.c
681
if (comm_base_internal(cb)->magic == UB_EVENT_MAGIC &&
sbin/unwind/libunbound/util/ub_event_pluggable.c
682
comm_base_internal(cb)->vmt == &default_event_base_vmt)
sbin/unwind/libunbound/util/ub_event_pluggable.c
687
comm_base_timept(cb, &tt, &tv);
sbin/unwind/libunbound/util/winsock_event.c
470
void (*cb)(int, short, void *), void *arg)
sbin/unwind/libunbound/util/winsock_event.c
475
ev->ev_callback = cb;
sbin/unwind/libunbound/util/winsock_event.c
660
WSAEVENT wsaevent, void (*cb)(int, short, void*), void* arg)
sbin/unwind/libunbound/util/winsock_event.c
667
ev->ev_callback = cb;
sbin/unwind/libunbound/util/winsock_event.h
241
#define signal_set(ev, x, cb, arg) \
sbin/unwind/libunbound/util/winsock_event.h
242
event_set(ev, x, EV_SIGNAL|EV_PERSIST, cb, arg)
sbin/unwind/libunbound/util/winsock_event.h
270
WSAEVENT wsaevent, void (*cb)(int, short, void*), void* arg);
sbin/unwind/resolver.c
136
resolve_cb_t cb;
sbin/unwind/resolver.c
1674
cb_data->cb(cb_data->res, cb_data->data, ar->ar_errno == 0 ?
sbin/unwind/resolver.c
1687
cb_data->cb(cb_data->res, cb_data->data, rcode, answer_packet,
sbin/unwind/resolver.c
879
void *mydata, resolve_cb_t cb)
sbin/unwind/resolver.c
889
cb_data->cb = cb;
sys/arch/amd64/stand/libsa/biosdev.c
217
volatile static struct EDD_CB cb;
sys/arch/amd64/stand/libsa/biosdev.c
220
cb.edd_res1 = 0;
sys/arch/amd64/stand/libsa/biosdev.c
221
cb.edd_res2 = 0;
sys/arch/amd64/stand/libsa/biosdev.c
224
cb.edd_len = sizeof(cb);
sys/arch/amd64/stand/libsa/biosdev.c
225
cb.edd_nblk = nblk;
sys/arch/amd64/stand/libsa/biosdev.c
226
cb.edd_seg = ((u_int32_t)buf >> 4) & 0xffff;
sys/arch/amd64/stand/libsa/biosdev.c
227
cb.edd_off = (u_int32_t)buf & 0xf;
sys/arch/amd64/stand/libsa/biosdev.c
228
cb.edd_daddr = daddr;
sys/arch/amd64/stand/libsa/biosdev.c
231
if (!cb.edd_seg && !cb.edd_off)
sys/arch/amd64/stand/libsa/biosdev.c
235
BIOS_regs.biosr_ds = (u_int32_t)&cb >> 4;
sys/arch/amd64/stand/libsa/biosdev.c
238
"d" (dev), "S" ((int) (&cb) & 0xf) : "%ecx", "cc");
sys/arch/armv7/exynos/exdisplay.c
260
void (*cb)(void *, int, int), void *cbarg)
sys/arch/armv7/omap/edma.c
197
edma_intr_dma_en(uint32_t ch, edma_intr_cb_t cb, void *dat)
sys/arch/armv7/omap/edma.c
202
edma_sc->sc_intr_cb[ch] = cb;
sys/arch/armv7/omap/omdisplay.c
429
void (*cb)(void *, int, int), void *cbarg);
sys/arch/armv7/omap/omdisplay.c
659
void (*cb)(void *, int, int), void *cbarg)
sys/arch/i386/stand/libsa/biosdev.c
218
volatile static struct EDD_CB cb;
sys/arch/i386/stand/libsa/biosdev.c
221
cb.edd_res1 = 0;
sys/arch/i386/stand/libsa/biosdev.c
222
cb.edd_res2 = 0;
sys/arch/i386/stand/libsa/biosdev.c
225
cb.edd_len = sizeof(cb);
sys/arch/i386/stand/libsa/biosdev.c
226
cb.edd_nblk = nblk;
sys/arch/i386/stand/libsa/biosdev.c
227
cb.edd_seg = ((u_int32_t)buf >> 4) & 0xffff;
sys/arch/i386/stand/libsa/biosdev.c
228
cb.edd_off = (u_int32_t)buf & 0xf;
sys/arch/i386/stand/libsa/biosdev.c
229
cb.edd_daddr = daddr;
sys/arch/i386/stand/libsa/biosdev.c
232
if (!cb.edd_seg && !cb.edd_off)
sys/arch/i386/stand/libsa/biosdev.c
236
BIOS_regs.biosr_ds = (u_int32_t)&cb >> 4;
sys/arch/i386/stand/libsa/biosdev.c
239
"d" (dev), "S" ((int) (&cb) & 0xf) : "%ecx", "cc");
sys/arch/loongson/dev/bonito.c
989
int (*cb)(void *), void *cbarg, char *name)
sys/arch/loongson/dev/bonito.c
991
return bonito_intr_establish(ih, IST_LEVEL, level, cb, cbarg, name);
sys/arch/loongson/dev/htb.c
348
int (*cb)(void *), void *cbarg, char *name)
sys/arch/loongson/dev/htb.c
350
return loongson3_ht_intr_establish(ih, level, cb, cbarg, name);
sys/arch/loongson/dev/radeonfb.c
339
void (*cb)(void *, int, int), void *cbarg)
sys/arch/loongson/dev/sisfb.c
333
void (*cb)(void *, int, int), void *cbarg)
sys/arch/loongson/dev/smfb.c
300
void (*cb)(void *, int, int), void *cbarg)
sys/arch/loongson/loongson/generic3a_machdep.c
456
int (*cb)(void *), void *cbarg, char *name)
sys/arch/loongson/loongson/generic3a_machdep.c
458
return loongson3_ht_intr_establish(irq, level, cb, cbarg, name);
sys/arch/luna88k/dev/lunafb.c
505
void (*cb)(void *, int, int), void *cbarg)
sys/arch/macppc/pci/vgafb.c
476
void (*cb)(void *, int, int), void *cbarg)
sys/arch/macppc/pci/vgafb.c
484
return rasops_show_screen(ri, cookie, waitok, cb, cbarg);
sys/arch/macppc/pci/vgafb.c
71
int vgafb_show_screen(void *, void *, int, void (*cb)(void *, int, int),
sys/arch/octeon/dev/octeon_pcibus.c
419
int (*cb)(void *), void *cbarg, char *name)
sys/arch/octeon/dev/octeon_pcibus.c
421
return octeon_intr_establish(ih, level, cb, cbarg, name);
sys/arch/octeon/dev/octpcie.c
811
int (*cb)(void *), void *cbarg, char *name)
sys/arch/octeon/dev/octpcie.c
813
return octeon_intr_establish(ih, level, cb, cbarg, name);
sys/arch/sparc64/dev/fb.c
482
fb_show_screen(void *v, void *cookie, int waitok, void (*cb)(void *, int, int),
sys/arch/sparc64/dev/pcons.c
566
void (*cb)(void *, int, int), void *arg)
sys/dev/fdt/bcm2835_dmac.c
223
void (*cb)(uint32_t, uint32_t, void *), void *cbarg)
sys/dev/fdt/bcm2835_dmac.c
242
ch->ch_callback = cb;
sys/dev/fdt/rkdrm.c
313
void (*cb)(void *, int, int), void *cbarg)
sys/dev/fdt/rkdrm.c
321
sc->switchcb = cb;
sys/dev/fdt/rkdrm.c
324
if (cb) {
sys/dev/fdt/ssdfb.c
133
int ssdfb_show_screen(void *, void *, int, void (*cb) (void *, int, int),
sys/dev/fdt/ssdfb.c
719
void (*cb) (void *, int, int), void *cb_arg)
sys/dev/fdt/ssdfb.c
724
return rasops_show_screen(ri, cookie, waitok, cb, cb_arg);
sys/dev/ic/arcofi.c
450
arcofi_start_input(void *v, void *rbuf, int rsz, void (*cb)(void *),
sys/dev/ic/arcofi.c
468
sc->sc_recv.cb = cb;
sys/dev/ic/arcofi.c
479
arcofi_start_output(void *v, void *wbuf, int wsz, void (*cb)(void *),
sys/dev/ic/arcofi.c
497
sc->sc_xmit.cb = cb;
sys/dev/ic/arcofi.c
993
if (sc->sc_recv.cb)
sys/dev/ic/arcofi.c
994
sc->sc_recv.cb(sc->sc_recv.cbarg);
sys/dev/ic/arcofi.c
997
if (sc->sc_xmit.cb)
sys/dev/ic/arcofi.c
998
sc->sc_xmit.cb(sc->sc_xmit.cbarg);
sys/dev/ic/arcofivar.h
42
void (*cb)(void *);
sys/dev/ic/bwfm.c
2782
cmd->cb(sc, cmd->data);
sys/dev/ic/bwfm.c
2800
void (*cb)(struct bwfm_softc *, void *), void *arg, int len)
sys/dev/ic/bwfm.c
2813
cmd->cb = cb;
sys/dev/ic/bwfmvar.h
126
void (*cb)(struct bwfm_softc *, void *);
sys/dev/ic/oosiop.c
1009
struct oosiop_cb *cb = arg;
sys/dev/ic/oosiop.c
1010
struct scsi_xfer *xs = cb->xs;
sys/dev/ic/oosiop.c
1021
cb->flags |= CBF_TIMEOUT;
sys/dev/ic/oosiop.c
1022
oosiop_done(sc, cb);
sys/dev/ic/oosiop.c
1129
struct oosiop_cb *cb;
sys/dev/ic/oosiop.c
1240
cb = sc->sc_curcb = TAILQ_FIRST(&sc->sc_cbq);
sys/dev/ic/oosiop.c
1241
TAILQ_REMOVE(&sc->sc_cbq, cb, chain);
sys/dev/ic/oosiop.c
1242
sc->sc_tgt[cb->id].nexus = cb;
sys/dev/ic/oosiop.c
1246
sc->sc_lastcb = cb;
sys/dev/ic/oosiop.c
1250
if ((cb->xs->flags & SCSI_POLL) == 0) {
sys/dev/ic/oosiop.c
1252
timeout_add_msec(&cb->xs->stimeout, cb->xs->timeout);
sys/dev/ic/oosiop.c
1265
struct oosiop_cb *cb;
sys/dev/ic/oosiop.c
1271
cb = sc->sc_curcb;
sys/dev/ic/oosiop.c
1276
if (cb)
sys/dev/ic/oosiop.c
1277
oosiop_done(sc, cb);
sys/dev/ic/oosiop.c
1281
if (cb)
sys/dev/ic/oosiop.c
1282
oosiop_msgin(sc, cb);
sys/dev/ic/oosiop.c
1290
cb->xferdma->dm_segs[0].ds_addr +
sys/dev/ic/oosiop.c
1310
if (cb) {
sys/dev/ic/oosiop.c
1312
sc->sc_tgt[cb->id].nexus = NULL;
sys/dev/ic/oosiop.c
1313
TAILQ_INSERT_HEAD(&sc->sc_cbq, cb, chain);
sys/dev/ic/oosiop.c
1320
cb = sc->sc_tgt[sc->sc_resid].nexus;
sys/dev/ic/oosiop.c
1322
if (MSG_ISIDENTIFY(resmsg) && cb &&
sys/dev/ic/oosiop.c
1323
(resmsg & MSG_IDENTIFY_LUNMASK) == cb->lun) {
sys/dev/ic/oosiop.c
1324
sc->sc_curcb = cb;
sys/dev/ic/oosiop.c
1325
if (cb != sc->sc_lastcb) {
sys/dev/ic/oosiop.c
1328
sc->sc_lastcb = cb;
sys/dev/ic/oosiop.c
1330
if (cb->curdp != cb->savedp) {
sys/dev/ic/oosiop.c
1331
cb->curdp = cb->savedp;
sys/dev/ic/oosiop.c
1332
oosiop_setup_sgdma(sc, cb);
sys/dev/ic/oosiop.c
1376
oosiop_msgin(struct oosiop_softc *sc, struct oosiop_cb *cb)
sys/dev/ic/oosiop.c
1381
xfer = cb->xfer;
sys/dev/ic/oosiop.c
1385
OOSIOP_XFERMSG_SYNC(sc, cb,
sys/dev/ic/oosiop.c
139
struct oosiop_cb *cb;
sys/dev/ic/oosiop.c
1392
if (sc->sc_tgt[cb->id].flags & TGTF_WAITSDTR) {
sys/dev/ic/oosiop.c
1394
sc->sc_tgt[cb->id].flags &= ~TGTF_WAITSDTR;
sys/dev/ic/oosiop.c
1406
cb->msgoutlen = 5;
sys/dev/ic/oosiop.c
1409
oosiop_set_syncparam(sc, cb->id, (int)xfer->msgin[3],
sys/dev/ic/oosiop.c
1417
cb->msgoutlen = 1;
sys/dev/ic/oosiop.c
142
cb = TAILQ_FIRST(&sc->sc_free_cb);
sys/dev/ic/oosiop.c
1424
cb->savedp = cb->curdp;
sys/dev/ic/oosiop.c
1428
if (cb->curdp != cb->savedp) {
sys/dev/ic/oosiop.c
1429
cb->curdp = cb->savedp;
sys/dev/ic/oosiop.c
143
if (cb)
sys/dev/ic/oosiop.c
1430
oosiop_setup_sgdma(sc, cb);
sys/dev/ic/oosiop.c
1435
if (sc->sc_tgt[cb->id].flags & TGTF_WAITSDTR) {
sys/dev/ic/oosiop.c
1437
sc->sc_tgt[cb->id].flags &= ~TGTF_WAITSDTR;
sys/dev/ic/oosiop.c
1438
oosiop_set_syncparam(sc, cb->id, 0, 0);
sys/dev/ic/oosiop.c
144
TAILQ_REMOVE(&sc->sc_free_cb, cb, chain);
sys/dev/ic/oosiop.c
1446
cb->msgoutlen = 1;
sys/dev/ic/oosiop.c
1450
OOSIOP_XFERMSG_SYNC(sc, cb,
sys/dev/ic/oosiop.c
1455
oosiop_fixup_move(sc, Ent_p_msgout_move, cb->msgoutlen,
sys/dev/ic/oosiop.c
1456
cb->xferdma->dm_segs[0].ds_addr +
sys/dev/ic/oosiop.c
147
return (cb);
sys/dev/ic/oosiop.c
154
struct oosiop_cb *cb = xcb;
sys/dev/ic/oosiop.c
157
TAILQ_INSERT_TAIL(&sc->sc_free_cb, cb, chain);
sys/dev/ic/oosiop.c
167
struct oosiop_cb *cb;
sys/dev/ic/oosiop.c
207
cb = TAILQ_FIRST(&sc->sc_free_cb);
sys/dev/ic/oosiop.c
208
sc->sc_reselbuf = cb->xferdma->dm_segs[0].ds_addr +
sys/dev/ic/oosiop.c
276
struct oosiop_cb *cb;
sys/dev/ic/oosiop.c
285
cb = mallocarray(ncb, sizeof(*cb), M_DEVBUF, M_NOWAIT | M_ZERO);
sys/dev/ic/oosiop.c
286
if (cb == NULL) {
sys/dev/ic/oosiop.c
311
0, BUS_DMA_NOWAIT, &cb->cmddma);
sys/dev/ic/oosiop.c
319
&cb->datadma);
sys/dev/ic/oosiop.c
327
0, BUS_DMA_NOWAIT, &cb->xferdma);
sys/dev/ic/oosiop.c
333
err = bus_dmamap_load(sc->sc_dmat, cb->xferdma, xfer,
sys/dev/ic/oosiop.c
340
cb->xfer = xfer;
sys/dev/ic/oosiop.c
343
TAILQ_INSERT_TAIL(&sc->sc_free_cb, cb, chain);
sys/dev/ic/oosiop.c
346
cb++;
sys/dev/ic/oosiop.c
466
oosiop_setup_sgdma(struct oosiop_softc *sc, struct oosiop_cb *cb)
sys/dev/ic/oosiop.c
468
struct oosiop_xfer *xfer = cb->xfer;
sys/dev/ic/oosiop.c
469
struct scsi_xfer *xs = cb->xs;
sys/dev/ic/oosiop.c
472
OOSIOP_XFERSCR_SYNC(sc, cb,
sys/dev/ic/oosiop.c
475
off = cb->curdp;
sys/dev/ic/oosiop.c
479
for (i = 0; i < cb->datadma->dm_nsegs; i++) {
sys/dev/ic/oosiop.c
480
if (off < cb->datadma->dm_segs[i].ds_len)
sys/dev/ic/oosiop.c
482
off -= cb->datadma->dm_segs[i].ds_len;
sys/dev/ic/oosiop.c
488
while (i < cb->datadma->dm_nsegs) {
sys/dev/ic/oosiop.c
491
(cb->datadma->dm_segs[i].ds_len - off));
sys/dev/ic/oosiop.c
493
htole32(cb->datadma->dm_segs[i].ds_addr +
sys/dev/ic/oosiop.c
505
while (i < cb->datadma->dm_nsegs) {
sys/dev/ic/oosiop.c
508
(cb->datadma->dm_segs[i].ds_len - off));
sys/dev/ic/oosiop.c
510
htole32(cb->datadma->dm_segs[i].ds_addr +
sys/dev/ic/oosiop.c
529
OOSIOP_XFERSCR_SYNC(sc, cb,
sys/dev/ic/oosiop.c
539
struct oosiop_cb *cb;
sys/dev/ic/oosiop.c
542
cb = sc->sc_curcb;
sys/dev/ic/oosiop.c
543
xferbase = cb->xferdma->dm_segs[0].ds_addr;
sys/dev/ic/oosiop.c
547
oosiop_fixup_select(sc, Ent_p_select, cb->id);
sys/dev/ic/oosiop.c
556
oosiop_fixup_move(sc, Ent_p_msgout_move, cb->msgoutlen, xferbase +
sys/dev/ic/oosiop.c
560
oosiop_fixup_move(sc, Ent_p_cmdout_move, cb->cmdlen,
sys/dev/ic/oosiop.c
561
cb->cmddma->dm_segs[0].ds_addr);
sys/dev/ic/oosiop.c
595
struct oosiop_cb *cb;
sys/dev/ic/oosiop.c
599
cb = sc->sc_curcb;
sys/dev/ic/oosiop.c
600
if (cb == NULL)
sys/dev/ic/oosiop.c
607
n = dsp - cb->xferdma->dm_segs[0].ds_addr - 8;
sys/dev/ic/oosiop.c
612
OOSIOP_DINSCR_SYNC(sc, cb,
sys/dev/ic/oosiop.c
615
len += letoh32(cb->xfer->datain_scr[i * 2]) &
sys/dev/ic/oosiop.c
617
OOSIOP_DINSCR_SYNC(sc, cb,
sys/dev/ic/oosiop.c
624
OOSIOP_DOUTSCR_SYNC(sc, cb,
sys/dev/ic/oosiop.c
627
len += letoh32(cb->xfer->dataout_scr[i * 2]) &
sys/dev/ic/oosiop.c
629
OOSIOP_DOUTSCR_SYNC(sc, cb,
sys/dev/ic/oosiop.c
639
if ((sc->sc_tgt[cb->id].sxfer != 0) &&
sys/dev/ic/oosiop.c
653
cb->curdp += len;
sys/dev/ic/oosiop.c
654
oosiop_setup_sgdma(sc, cb);
sys/dev/ic/oosiop.c
722
struct oosiop_cb *cb;
sys/dev/ic/oosiop.c
729
cb = xs->io;
sys/dev/ic/oosiop.c
731
cb->xs = xs;
sys/dev/ic/oosiop.c
732
cb->xsflags = xs->flags;
sys/dev/ic/oosiop.c
733
cb->cmdlen = xs->cmdlen;
sys/dev/ic/oosiop.c
734
cb->datalen = 0;
sys/dev/ic/oosiop.c
735
cb->flags = 0;
sys/dev/ic/oosiop.c
736
cb->id = xs->sc_link->target;
sys/dev/ic/oosiop.c
737
cb->lun = xs->sc_link->lun;
sys/dev/ic/oosiop.c
738
xfer = cb->xfer;
sys/dev/ic/oosiop.c
741
err = bus_dmamap_load(sc->sc_dmat, cb->cmddma, &xs->cmd,
sys/dev/ic/oosiop.c
752
bus_dmamap_sync(sc->sc_dmat, cb->cmddma, 0, xs->cmdlen,
sys/dev/ic/oosiop.c
757
cb->datalen = xs->datalen;
sys/dev/ic/oosiop.c
758
err = bus_dmamap_load(sc->sc_dmat, cb->datadma,
sys/dev/ic/oosiop.c
768
bus_dmamap_unload(sc->sc_dmat, cb->cmddma);
sys/dev/ic/oosiop.c
773
bus_dmamap_sync(sc->sc_dmat, cb->datadma,
sys/dev/ic/oosiop.c
784
timeout_set(&xs->stimeout, oosiop_timeout, cb);
sys/dev/ic/oosiop.c
786
oosiop_setup(sc, cb);
sys/dev/ic/oosiop.c
790
TAILQ_INSERT_TAIL(&sc->sc_cbq, cb, chain);
sys/dev/ic/oosiop.c
808
oosiop_poll(sc, cb);
sys/dev/ic/oosiop.c
812
oosiop_poll(struct oosiop_softc *sc, struct oosiop_cb *cb)
sys/dev/ic/oosiop.c
814
struct scsi_xfer *xs = cb->xs;
sys/dev/ic/oosiop.c
846
oosiop_setup(struct oosiop_softc *sc, struct oosiop_cb *cb)
sys/dev/ic/oosiop.c
848
struct oosiop_xfer *xfer = cb->xfer;
sys/dev/ic/oosiop.c
850
cb->curdp = 0;
sys/dev/ic/oosiop.c
851
cb->savedp = 0;
sys/dev/ic/oosiop.c
853
oosiop_setup_sgdma(sc, cb);
sys/dev/ic/oosiop.c
856
OOSIOP_XFERMSG_SYNC(sc, cb,
sys/dev/ic/oosiop.c
858
xfer->msgout[0] = MSG_IDENTIFY(cb->lun,
sys/dev/ic/oosiop.c
859
(cb->xs->cmd.opcode != REQUEST_SENSE));
sys/dev/ic/oosiop.c
860
cb->msgoutlen = 1;
sys/dev/ic/oosiop.c
862
if (sc->sc_tgt[cb->id].flags & TGTF_SYNCNEG) {
sys/dev/ic/oosiop.c
863
sc->sc_tgt[cb->id].flags &= ~TGTF_SYNCNEG;
sys/dev/ic/oosiop.c
870
cb->msgoutlen = 6;
sys/dev/ic/oosiop.c
871
sc->sc_tgt[cb->id].flags |= TGTF_WAITSDTR;
sys/dev/ic/oosiop.c
874
OOSIOP_XFERMSG_SYNC(sc, cb,
sys/dev/ic/oosiop.c
879
oosiop_done(struct oosiop_softc *sc, struct oosiop_cb *cb)
sys/dev/ic/oosiop.c
885
xs = cb->xs;
sys/dev/ic/oosiop.c
893
autosense = cb->flags & CBF_AUTOSENSE;
sys/dev/ic/oosiop.c
894
cb->flags &= ~CBF_AUTOSENSE;
sys/dev/ic/oosiop.c
896
bus_dmamap_sync(sc->sc_dmat, cb->cmddma, 0, cb->cmdlen,
sys/dev/ic/oosiop.c
898
bus_dmamap_unload(sc->sc_dmat, cb->cmddma);
sys/dev/ic/oosiop.c
900
if (cb->xsflags & (SCSI_DATA_IN | SCSI_DATA_OUT)) {
sys/dev/ic/oosiop.c
901
bus_dmamap_sync(sc->sc_dmat, cb->datadma, 0, cb->datalen,
sys/dev/ic/oosiop.c
902
(cb->xsflags & SCSI_DATA_IN) ?
sys/dev/ic/oosiop.c
904
bus_dmamap_unload(sc->sc_dmat, cb->datadma);
sys/dev/ic/oosiop.c
909
xs->status = cb->xfer->status;
sys/dev/ic/oosiop.c
911
if (cb->flags & CBF_SELTOUT)
sys/dev/ic/oosiop.c
913
else if (cb->flags & CBF_TIMEOUT)
sys/dev/ic/oosiop.c
929
cb->flags |= CBF_AUTOSENSE;
sys/dev/ic/oosiop.c
944
if ((cb->flags & CBF_AUTOSENSE) == 0) {
sys/dev/ic/oosiop.c
950
if (cb == sc->sc_curcb)
sys/dev/ic/oosiop.c
952
if (cb == sc->sc_lastcb)
sys/dev/ic/oosiop.c
954
sc->sc_tgt[cb->id].nexus = NULL;
sys/dev/ic/oosiop.c
963
cb->cmdlen = cmd->length = sizeof(xs->sense);
sys/dev/ic/oosiop.c
965
cb->xsflags &= SCSI_POLL | SCSI_NOSLEEP;
sys/dev/ic/oosiop.c
966
cb->xsflags |= SCSI_DATA_IN;
sys/dev/ic/oosiop.c
967
cb->datalen = sizeof xs->sense;
sys/dev/ic/oosiop.c
970
err = bus_dmamap_load(sc->sc_dmat, cb->cmddma, cmd,
sys/dev/ic/oosiop.c
971
cb->cmdlen, NULL,
sys/dev/ic/oosiop.c
979
bus_dmamap_sync(sc->sc_dmat, cb->cmddma, 0, cb->cmdlen,
sys/dev/ic/oosiop.c
983
err = bus_dmamap_load(sc->sc_dmat, cb->datadma,
sys/dev/ic/oosiop.c
990
bus_dmamap_unload(sc->sc_dmat, cb->cmddma);
sys/dev/ic/oosiop.c
993
bus_dmamap_sync(sc->sc_dmat, cb->datadma,
sys/dev/ic/oosiop.c
996
oosiop_setup(sc, cb);
sys/dev/ic/oosiop.c
998
TAILQ_INSERT_HEAD(&sc->sc_cbq, cb, chain);
sys/dev/ic/oosiop.c
999
if ((cb->xs->flags & SCSI_POLL) == 0) {
sys/dev/ic/oosiopvar.h
56
#define OOSIOP_XFERSCR_SYNC(sc, cb, ops) \
sys/dev/ic/oosiopvar.h
57
bus_dmamap_sync((sc)->sc_dmat, (cb)->xferdma, OOSIOP_DINSCROFF, \
sys/dev/ic/oosiopvar.h
59
#define OOSIOP_DINSCR_SYNC(sc, cb, ops) \
sys/dev/ic/oosiopvar.h
60
bus_dmamap_sync((sc)->sc_dmat, (cb)->xferdma, OOSIOP_DINSCROFF, \
sys/dev/ic/oosiopvar.h
62
#define OOSIOP_DOUTSCR_SYNC(sc, cb, ops) \
sys/dev/ic/oosiopvar.h
63
bus_dmamap_sync((sc)->sc_dmat, (cb)->xferdma, OOSIOP_DOUTSCROFF,\
sys/dev/ic/oosiopvar.h
65
#define OOSIOP_XFERMSG_SYNC(sc, cb, ops) \
sys/dev/ic/oosiopvar.h
66
bus_dmamap_sync((sc)->sc_dmat, (cb)->xferdma, OOSIOP_MSGINOFF, \
sys/dev/ic/qwx.c
24354
void (*cb)(struct qwx_dp *, void *, enum hal_reo_cmd_status))
sys/dev/ic/qwx.c
24374
if (!cb)
sys/dev/ic/qwx.c
24387
dp_cmd->handler = cb;
sys/dev/ic/qwz.c
21518
void (*cb)(struct qwz_dp *, void *, enum hal_reo_cmd_status))
sys/dev/ic/qwz.c
21538
if (!cb)
sys/dev/ic/qwz.c
21551
dp_cmd->handler = cb;
sys/dev/ic/sti.c
1297
void (*cb)(void *, int, int), void *cbarg)
sys/dev/ic/vga.c
751
vga_show_screen(void *v, void *cookie, int waitok, void (*cb)(void *, int, int),
sys/dev/ic/vga.c
763
vc->switchcb = cb;
sys/dev/ic/vga.c
765
if (cb) {
sys/dev/isa/pcdisplay.c
366
void (*cb)(void *, int, int), void *cbarg)
sys/dev/pci/drm/amd/amdgpu/amdgpu.h
494
struct dma_fence_cb cb;
sys/dev/pci/drm/amd/amdgpu/amdgpu_display.c
111
if (!dma_fence_add_callback(fence, &work->cb,
sys/dev/pci/drm/amd/amdgpu/amdgpu_display.c
92
struct dma_fence_cb *cb)
sys/dev/pci/drm/amd/amdgpu/amdgpu_display.c
95
container_of(cb, struct amdgpu_flip_work, cb);
sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c
3702
void (*cb)(void *, int, int), void *cbarg)
sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c
3710
adev->switchcb = cb;
sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c
3713
if (cb) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ids.c
100
struct amdgpu_pasid_cb *cb =
sys/dev/pci/drm/amd/amdgpu/amdgpu_ids.c
101
container_of(_cb, struct amdgpu_pasid_cb, cb);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ids.c
103
amdgpu_pasid_free(cb->pasid);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ids.c
105
kfree(cb);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ids.c
119
struct amdgpu_pasid_cb *cb;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ids.c
132
cb = kmalloc(sizeof(*cb), GFP_KERNEL);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ids.c
133
if (!cb) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ids.c
139
cb->pasid = pasid;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ids.c
140
if (dma_fence_add_callback(fence, &cb->cb,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ids.c
142
amdgpu_pasid_free_cb(fence, &cb->cb);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ids.c
48
struct dma_fence_cb cb;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2368
if (!data->cb)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2379
ret = data->cb(obj->adev, &err_data, entry);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2507
.cb = ras_obj->ras_cb,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
651
ras_ih_cb cb;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
718
ras_ih_cb cb;
sys/dev/pci/drm/amd/amdgpu/amdgpu_uvd.c
1017
r = cb(ctx);
sys/dev/pci/drm/amd/amdgpu/amdgpu_uvd.c
1042
int (*cb)(struct amdgpu_uvd_cs_ctx *ctx))
sys/dev/pci/drm/amd/amdgpu/amdgpu_uvd.c
1054
r = amdgpu_uvd_cs_reg(ctx, cb);
sys/dev/pci/drm/amd/amdgpu/amdgpu_uvd.c
996
int (*cb)(struct amdgpu_uvd_cs_ctx *ctx))
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1089
struct dma_fence_cb *cb)
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1093
tlb_cb = container_of(cb, typeof(*tlb_cb), cb);
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1116
amdgpu_vm_tlb_seq_cb(NULL, &tlb_cb->cb);
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1120
if (!dma_fence_add_callback(*fence, &tlb_cb->cb,
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1125
amdgpu_vm_tlb_seq_cb(NULL, &tlb_cb->cb);
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1515
struct amdgpu_prt_cb *cb = container_of(_cb, struct amdgpu_prt_cb, cb);
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1517
amdgpu_vm_prt_put(cb->adev);
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1518
kfree(cb);
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1530
struct amdgpu_prt_cb *cb;
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1535
cb = kmalloc(sizeof(struct amdgpu_prt_cb), GFP_KERNEL);
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1536
if (!cb) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1543
cb->adev = adev;
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1544
if (!fence || dma_fence_add_callback(fence, &cb->cb,
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1546
amdgpu_vm_prt_cb(fence, &cb->cb);
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
172
struct dma_fence_cb cb;
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
187
struct dma_fence_cb cb;
sys/dev/pci/drm/amd/amdgpu/sdma_v4_4_2.c
1382
.cb = sdma_v4_4_2_process_ras_data_cb,
sys/dev/pci/drm/apple/apldrm.c
212
void (*cb)(void *, int, int), void *cbarg)
sys/dev/pci/drm/apple/apldrm.c
220
sc->sc_switchcb = cb;
sys/dev/pci/drm/apple/apldrm.c
223
if (cb) {
sys/dev/pci/drm/apple/iomfb.c
157
u32 in_len, u32 out_len, void *data, dcp_callback_t cb,
sys/dev/pci/drm/apple/iomfb.c
188
ch->callbacks[depth] = cb;
sys/dev/pci/drm/apple/iomfb.c
295
dcp_callback_t cb;
sys/dev/pci/drm/apple/iomfb.c
304
cb = ch->callbacks[ch->depth];
sys/dev/pci/drm/apple/iomfb.c
310
if (cb)
sys/dev/pci/drm/apple/iomfb.c
311
cb(dcp, data + sizeof(*header) + header->in_len, cookie);
sys/dev/pci/drm/apple/iomfb_internal.h
104
u32 in_len, u32 out_len, void *data, dcp_callback_t cb,
sys/dev/pci/drm/apple/iomfb_internal.h
15
static void func(struct apple_dcp *dcp, bool oob, dcp_callback_t cb, \
sys/dev/pci/drm/apple/iomfb_internal.h
18
dcp_push(dcp, oob, &dcp_methods[handle], 0, 0, NULL, cb, cookie); \
sys/dev/pci/drm/apple/iomfb_internal.h
22
static void func(struct apple_dcp *dcp, bool oob, dcp_callback_t cb, \
sys/dev/pci/drm/apple/iomfb_internal.h
25
dcp_push(dcp, oob, &dcp_methods[handle], 0, sizeof(T), NULL, cb, cookie); \
sys/dev/pci/drm/apple/iomfb_internal.h
30
dcp_callback_t cb, void *cookie) \
sys/dev/pci/drm/apple/iomfb_internal.h
32
dcp_push(dcp, oob, &dcp_methods[handle], sizeof(T), 0, data, cb, cookie); \
sys/dev/pci/drm/apple/iomfb_internal.h
37
dcp_callback_t cb, void *cookie) \
sys/dev/pci/drm/apple/iomfb_internal.h
40
cb, cookie); \
sys/dev/pci/drm/apple/iomfb_internal.h
46
dcp_callback_t cb, void *cookie) \
sys/dev/pci/drm/apple/iomfb_internal.h
51
data, cb, cookie); \
sys/dev/pci/drm/apple/iomfb_internal.h
72
callback_##handler cb = handler; \
sys/dev/pci/drm/apple/iomfb_internal.h
75
cb(dcp, in); \
sys/dev/pci/drm/apple/iomfb_internal.h
85
callback_##handler cb = handler; \
sys/dev/pci/drm/apple/iomfb_internal.h
88
*typed_out = cb(dcp, in); \
sys/dev/pci/drm/drm_bridge.c
1333
void (*cb)(void *data,
sys/dev/pci/drm/drm_bridge.c
1345
bridge->hpd_cb = cb;
sys/dev/pci/drm/drm_edid.c
3125
cea_for_each_detailed_block(const u8 *ext, detailed_cb *cb, void *closure)
sys/dev/pci/drm/drm_edid.c
3136
cb((const struct detailed_timing *)(det_base + 18 * i), closure);
sys/dev/pci/drm/drm_edid.c
3140
vtb_for_each_detailed_block(const u8 *ext, detailed_cb *cb, void *closure)
sys/dev/pci/drm/drm_edid.c
3149
cb((const struct detailed_timing *)(det_base + 18 * i), closure);
sys/dev/pci/drm/drm_edid.c
3153
detailed_cb *cb, void *closure)
sys/dev/pci/drm/drm_edid.c
3163
cb(&drm_edid->edid->detailed_timings[i], closure);
sys/dev/pci/drm/drm_edid.c
3169
cea_for_each_detailed_block(ext, cb, closure);
sys/dev/pci/drm/drm_edid.c
3172
vtb_for_each_detailed_block(ext, cb, closure);
sys/dev/pci/drm/drm_linux.c
1977
dma_fence_add_callback(struct dma_fence *fence, struct dma_fence_cb *cb,
sys/dev/pci/drm/drm_linux.c
1987
INIT_LIST_HEAD(&cb->node);
sys/dev/pci/drm/drm_linux.c
2005
cb->func = func;
sys/dev/pci/drm/drm_linux.c
2006
list_add_tail(&cb->node, &fence->cb_list);
sys/dev/pci/drm/drm_linux.c
2008
INIT_LIST_HEAD(&cb->node);
sys/dev/pci/drm/drm_linux.c
2015
dma_fence_remove_callback(struct dma_fence *fence, struct dma_fence_cb *cb)
sys/dev/pci/drm/drm_linux.c
2021
ret = !list_empty(&cb->node);
sys/dev/pci/drm/drm_linux.c
2023
list_del_init(&cb->node);
sys/dev/pci/drm/drm_linux.c
2044
dma_fence_default_wait_cb(struct dma_fence *fence, struct dma_fence_cb *cb)
sys/dev/pci/drm/drm_linux.c
2047
container_of(cb, struct default_wait_cb, base);
sys/dev/pci/drm/drm_linux.c
2057
struct default_wait_cb cb;
sys/dev/pci/drm/drm_linux.c
2085
cb.base.func = dma_fence_default_wait_cb;
sys/dev/pci/drm/drm_linux.c
2086
cb.proc = curproc;
sys/dev/pci/drm/drm_linux.c
2087
list_add(&cb.base.node, &fence->cb_list);
sys/dev/pci/drm/drm_linux.c
2101
if (!list_empty(&cb.base.node))
sys/dev/pci/drm/drm_linux.c
2102
list_del(&cb.base.node);
sys/dev/pci/drm/drm_linux.c
2130
struct default_wait_cb *cb;
sys/dev/pci/drm/drm_linux.c
2148
cb = mallocarray(count, sizeof(*cb), M_DRM, M_WAITOK|M_CANFAIL|M_ZERO);
sys/dev/pci/drm/drm_linux.c
2149
if (cb == NULL)
sys/dev/pci/drm/drm_linux.c
2154
cb[i].proc = curproc;
sys/dev/pci/drm/drm_linux.c
2155
if (dma_fence_add_callback(fence, &cb[i].base,
sys/dev/pci/drm/drm_linux.c
2176
dma_fence_remove_callback(fences[i], &cb[i].base);
sys/dev/pci/drm/drm_linux.c
2177
free(cb, M_DRM, count * sizeof(*cb));
sys/dev/pci/drm/drm_linux.c
2251
dma_fence_array_cb_func(struct dma_fence *f, struct dma_fence_cb *cb)
sys/dev/pci/drm/drm_linux.c
2254
container_of(cb, struct dma_fence_array_cb, cb);
sys/dev/pci/drm/drm_linux.c
2267
struct dma_fence_array_cb *cb = (void *)(&dfa[1]);
sys/dev/pci/drm/drm_linux.c
2271
cb[i].array = dfa;
sys/dev/pci/drm/drm_linux.c
2273
if (dma_fence_add_callback(dfa->fences[i], &cb[i].cb,
sys/dev/pci/drm/drm_linux.c
2452
dma_fence_chain_cb(struct dma_fence *f, struct dma_fence_cb *cb)
sys/dev/pci/drm/drm_linux.c
2455
container_of(cb, struct dma_fence_chain, cb);
sys/dev/pci/drm/drm_linux.c
2477
if (!dma_fence_add_callback(f, &h->cb, dma_fence_chain_cb)) {
sys/dev/pci/drm/drm_syncobj.c
1090
struct dma_fence_cb *cb)
sys/dev/pci/drm/drm_syncobj.c
1093
container_of(cb, struct syncobj_wait_entry, fence_cb);
sys/dev/pci/drm/drm_syncobj.c
1499
struct dma_fence_cb *cb)
sys/dev/pci/drm/drm_syncobj.c
1502
container_of(cb, struct syncobj_eventfd_entry, fence_cb);
sys/dev/pci/drm/i915/display/intel_fb.c
2148
struct frontbuffer_fence_cb *cb = container_of(data, typeof(*cb), base);
sys/dev/pci/drm/i915/display/intel_fb.c
2150
intel_frontbuffer_queue_flush(cb->front);
sys/dev/pci/drm/i915/display/intel_fb.c
2151
kfree(cb);
sys/dev/pci/drm/i915/display/intel_fb.c
2164
struct frontbuffer_fence_cb *cb;
sys/dev/pci/drm/i915/display/intel_fb.c
2178
cb = kmalloc(sizeof(*cb), GFP_KERNEL);
sys/dev/pci/drm/i915/display/intel_fb.c
2179
if (!cb) {
sys/dev/pci/drm/i915/display/intel_fb.c
2185
cb->front = front;
sys/dev/pci/drm/i915/display/intel_fb.c
2189
ret = dma_fence_add_callback(fence, &cb->base,
sys/dev/pci/drm/i915/display/intel_fb.c
2192
intel_user_framebuffer_fence_wake(fence, &cb->base);
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
299
struct dma_fence_cb cb;
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
407
static void __memcpy_cb(struct dma_fence *fence, struct dma_fence_cb *cb)
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
410
container_of(cb, typeof(*copy_work), cb);
sys/dev/pci/drm/i915/gem/i915_gem_ttm_move.c
445
ret = dma_fence_add_callback(dep, &work->cb, __memcpy_cb);
sys/dev/pci/drm/i915/gt/intel_engine_pm.c
232
dma_fence_add_callback(&rq->fence, &rq->duration.cb, duration);
sys/dev/pci/drm/i915/gt/intel_engine_pm.c
250
struct dma_fence_cb *cb =
sys/dev/pci/drm/i915/gt/intel_engine_pm.c
252
typeof(*cb), node);
sys/dev/pci/drm/i915/gt/intel_engine_pm.c
254
cb->func(ERR_PTR(-EAGAIN), cb);
sys/dev/pci/drm/i915/gt/intel_engine_pm.c
99
static void duration(struct dma_fence *fence, struct dma_fence_cb *cb)
sys/dev/pci/drm/i915/i915_active.c
1114
__list_del_entry(&active->cb.node);
sys/dev/pci/drm/i915/i915_active.c
1117
list_add_tail(&active->cb.node, &fence->cb_list);
sys/dev/pci/drm/i915/i915_active.c
1139
void i915_active_noop(struct dma_fence *fence, struct dma_fence_cb *cb)
sys/dev/pci/drm/i915/i915_active.c
1141
active_fence_cb(fence, cb);
sys/dev/pci/drm/i915/i915_active.c
214
active_fence_cb(struct dma_fence *fence, struct dma_fence_cb *cb)
sys/dev/pci/drm/i915/i915_active.c
217
container_of(cb, typeof(*active), cb);
sys/dev/pci/drm/i915/i915_active.c
223
node_retire(struct dma_fence *fence, struct dma_fence_cb *cb)
sys/dev/pci/drm/i915/i915_active.c
225
if (active_fence_cb(fence, cb))
sys/dev/pci/drm/i915/i915_active.c
226
active_retire(container_of(cb, struct active_node, base.cb)->ref);
sys/dev/pci/drm/i915/i915_active.c
230
excl_retire(struct dma_fence *fence, struct dma_fence_cb *cb)
sys/dev/pci/drm/i915/i915_active.c
232
if (active_fence_cb(fence, cb))
sys/dev/pci/drm/i915/i915_active.c
233
active_retire(container_of(cb, struct i915_active, excl.cb));
sys/dev/pci/drm/i915/i915_active.c
51
return (struct llist_node *)&node->base.cb.node;
sys/dev/pci/drm/i915/i915_active.c
57
return (struct intel_engine_cs *)READ_ONCE(node->base.cb.node.prev);
sys/dev/pci/drm/i915/i915_active.c
70
struct active_node, base.cb.node);
sys/dev/pci/drm/i915/i915_active.c
892
node->base.cb.func = node_retire;
sys/dev/pci/drm/i915/i915_active.c
908
node->base.cb.node.prev = (void *)engine;
sys/dev/pci/drm/i915/i915_active.h
48
void i915_active_noop(struct dma_fence *fence, struct dma_fence_cb *cb);
sys/dev/pci/drm/i915/i915_active.h
68
active->cb.func = fn ?: i915_active_noop;
sys/dev/pci/drm/i915/i915_active_types.h
20
struct dma_fence_cb cb;
sys/dev/pci/drm/i915/i915_driver.c
2052
void (*cb)(void *, int, int), void *cbarg)
sys/dev/pci/drm/i915/i915_driver.c
2060
dev_priv->switchcb = cb;
sys/dev/pci/drm/i915/i915_driver.c
2063
if (cb) {
sys/dev/pci/drm/i915/i915_request.c
195
struct execute_cb *cb = container_of(wrk, typeof(*cb), work);
sys/dev/pci/drm/i915/i915_request.c
197
i915_sw_fence_complete(cb->fence);
sys/dev/pci/drm/i915/i915_request.c
199
kmem_cache_free(slab_execute_cbs, cb);
sys/dev/pci/drm/i915/i915_request.c
201
pool_put(&slab_execute_cbs, cb);
sys/dev/pci/drm/i915/i915_request.c
2034
struct dma_fence_cb cb;
sys/dev/pci/drm/i915/i915_request.c
2042
static void request_wait_wake(struct dma_fence *fence, struct dma_fence_cb *cb)
sys/dev/pci/drm/i915/i915_request.c
2044
struct request_wait *wait = container_of(cb, typeof(*wait), cb);
sys/dev/pci/drm/i915/i915_request.c
208
struct execute_cb *cb, *cn;
sys/dev/pci/drm/i915/i915_request.c
213
llist_for_each_entry_safe(cb, cn,
sys/dev/pci/drm/i915/i915_request.c
2142
if (dma_fence_add_callback(&rq->fence, &wait.cb, request_wait_wake))
sys/dev/pci/drm/i915/i915_request.c
216
fn(&cb->work);
sys/dev/pci/drm/i915/i915_request.c
2184
dma_fence_remove_callback(&rq->fence, &wait.cb);
sys/dev/pci/drm/i915/i915_request.c
2185
GEM_BUG_ON(!list_empty(&wait.cb.node));
sys/dev/pci/drm/i915/i915_request.c
552
struct execute_cb *cb;
sys/dev/pci/drm/i915/i915_request.c
558
cb = kmem_cache_alloc(slab_execute_cbs, gfp);
sys/dev/pci/drm/i915/i915_request.c
560
cb = pool_get(&slab_execute_cbs,
sys/dev/pci/drm/i915/i915_request.c
563
if (!cb)
sys/dev/pci/drm/i915/i915_request.c
566
cb->fence = &rq->submit;
sys/dev/pci/drm/i915/i915_request.c
567
i915_sw_fence_await(cb->fence);
sys/dev/pci/drm/i915/i915_request.c
568
init_irq_work(&cb->work, irq_execute_cb);
sys/dev/pci/drm/i915/i915_request.c
583
if (llist_add(&cb->work.node.llist, &signal->execute_cb)) {
sys/dev/pci/drm/i915/i915_request.h
249
struct dma_fence_cb cb;
sys/dev/pci/drm/i915/i915_sw_fence.c
421
struct i915_sw_dma_fence_cb *cb = container_of(data, typeof(*cb), base);
sys/dev/pci/drm/i915/i915_sw_fence.c
423
i915_sw_fence_set_error_once(cb->fence, dma->error);
sys/dev/pci/drm/i915/i915_sw_fence.c
424
i915_sw_fence_complete(cb->fence);
sys/dev/pci/drm/i915/i915_sw_fence.c
425
kfree(cb);
sys/dev/pci/drm/i915/i915_sw_fence.c
430
struct i915_sw_dma_fence_cb_timer *cb = arg;
sys/dev/pci/drm/i915/i915_sw_fence.c
435
fence = xchg(&cb->base.fence, NULL);
sys/dev/pci/drm/i915/i915_sw_fence.c
440
driver = dma_fence_driver_name(cb->dma);
sys/dev/pci/drm/i915/i915_sw_fence.c
441
timeline = dma_fence_timeline_name(cb->dma);
sys/dev/pci/drm/i915/i915_sw_fence.c
445
cb->dma->seqno,
sys/dev/pci/drm/i915/i915_sw_fence.c
456
struct i915_sw_dma_fence_cb_timer *cb =
sys/dev/pci/drm/i915/i915_sw_fence.c
457
container_of(data, typeof(*cb), base.base);
sys/dev/pci/drm/i915/i915_sw_fence.c
460
fence = xchg(&cb->base.fence, NULL);
sys/dev/pci/drm/i915/i915_sw_fence.c
466
irq_work_queue(&cb->work);
sys/dev/pci/drm/i915/i915_sw_fence.c
471
struct i915_sw_dma_fence_cb_timer *cb =
sys/dev/pci/drm/i915/i915_sw_fence.c
472
container_of(wrk, typeof(*cb), work);
sys/dev/pci/drm/i915/i915_sw_fence.c
474
timer_shutdown_sync(&cb->timer);
sys/dev/pci/drm/i915/i915_sw_fence.c
475
dma_fence_put(cb->dma);
sys/dev/pci/drm/i915/i915_sw_fence.c
477
kfree_rcu(cb, rcu);
sys/dev/pci/drm/i915/i915_sw_fence.c
485
struct i915_sw_dma_fence_cb *cb;
sys/dev/pci/drm/i915/i915_sw_fence.c
497
cb = kmalloc(timeout ?
sys/dev/pci/drm/i915/i915_sw_fence.c
501
if (!cb) {
sys/dev/pci/drm/i915/i915_sw_fence.c
513
cb->fence = fence;
sys/dev/pci/drm/i915/i915_sw_fence.c
519
container_of(cb, typeof(*timer), base);
sys/dev/pci/drm/i915/i915_sw_fence.c
536
ret = dma_fence_add_callback(dma, &cb->base, func);
sys/dev/pci/drm/i915/i915_sw_fence.c
540
func(dma, &cb->base);
sys/dev/pci/drm/i915/i915_sw_fence.c
551
struct i915_sw_dma_fence_cb *cb = container_of(data, typeof(*cb), base);
sys/dev/pci/drm/i915/i915_sw_fence.c
553
i915_sw_fence_set_error_once(cb->fence, dma->error);
sys/dev/pci/drm/i915/i915_sw_fence.c
554
i915_sw_fence_complete(cb->fence);
sys/dev/pci/drm/i915/i915_sw_fence.c
559
struct i915_sw_dma_fence_cb *cb)
sys/dev/pci/drm/i915/i915_sw_fence.c
570
cb->fence = fence;
sys/dev/pci/drm/i915/i915_sw_fence.c
574
if (dma_fence_add_callback(dma, &cb->base, __dma_i915_sw_fence_wake)) {
sys/dev/pci/drm/i915/i915_sw_fence.c
576
__dma_i915_sw_fence_wake(dma, &cb->base);
sys/dev/pci/drm/i915/i915_sw_fence.h
86
struct i915_sw_dma_fence_cb *cb);
sys/dev/pci/drm/i915/i915_sw_fence_work.c
98
return __i915_sw_fence_await_dma_fence(&f->chain, signal, &f->cb);
sys/dev/pci/drm/i915/i915_sw_fence_work.h
29
struct i915_sw_dma_fence_cb cb;
sys/dev/pci/drm/i915/i915_vma.c
360
struct i915_sw_dma_fence_cb cb;
sys/dev/pci/drm/i915/i915_vma.c
569
&work->cb);
sys/dev/pci/drm/i915/selftests/i915_active.c
325
__list_del_entry(&active->cb.node);
sys/dev/pci/drm/i915/selftests/i915_request.c
2561
static void signal_cb(struct dma_fence *fence, struct dma_fence_cb *cb)
sys/dev/pci/drm/i915/selftests/i915_request.c
2563
struct signal_cb *s = container_of(cb, typeof(*s), base);
sys/dev/pci/drm/i915/selftests/i915_request.c
2589
struct signal_cb cb = { .seen = false };
sys/dev/pci/drm/i915/selftests/i915_request.c
2611
dma_fence_add_callback(&rq->fence, &cb.base, signal_cb);
sys/dev/pci/drm/i915/selftests/i915_request.c
2622
while (!READ_ONCE(cb.seen))
sys/dev/pci/drm/include/drm/drm_bridge.h
1367
void (*cb)(void *data,
sys/dev/pci/drm/include/drm/gpu_scheduler.h
182
struct dma_fence_cb cb;
sys/dev/pci/drm/include/drm/gpu_scheduler.h
382
struct dma_fence_cb cb;
sys/dev/pci/drm/include/linux/dma-fence-array.h
10
struct dma_fence_cb cb;
sys/dev/pci/drm/include/linux/dma-fence-chain.h
16
struct dma_fence_cb cb;
sys/dev/pci/drm/include/linux/dma-fence.h
49
typedef void (*dma_fence_func_t)(struct dma_fence *fence, struct dma_fence_cb *cb);
sys/dev/pci/drm/radeon/r100.c
1637
track->cb[0].robj = reloc->robj;
sys/dev/pci/drm/radeon/r100.c
1638
track->cb[0].offset = idx_value;
sys/dev/pci/drm/radeon/r100.c
1746
track->cb[0].pitch = idx_value & RADEON_COLORPITCH_MASK;
sys/dev/pci/drm/radeon/r100.c
1760
track->cb[0].cpp = 1;
sys/dev/pci/drm/radeon/r100.c
1765
track->cb[0].cpp = 2;
sys/dev/pci/drm/radeon/r100.c
1768
track->cb[0].cpp = 4;
sys/dev/pci/drm/radeon/r100.c
2280
if (track->cb[i].robj == NULL) {
sys/dev/pci/drm/radeon/r100.c
2284
size = track->cb[i].pitch * track->cb[i].cpp * track->maxy;
sys/dev/pci/drm/radeon/r100.c
2285
size += track->cb[i].offset;
sys/dev/pci/drm/radeon/r100.c
2286
if (size > radeon_bo_size(track->cb[i].robj)) {
sys/dev/pci/drm/radeon/r100.c
2289
radeon_bo_size(track->cb[i].robj));
sys/dev/pci/drm/radeon/r100.c
2291
i, track->cb[i].pitch, track->cb[i].cpp,
sys/dev/pci/drm/radeon/r100.c
2292
track->cb[i].offset, track->maxy);
sys/dev/pci/drm/radeon/r100.c
2323
size = track->aa.pitch * track->cb[0].cpp * track->maxy;
sys/dev/pci/drm/radeon/r100.c
2330
i, track->aa.pitch, track->cb[0].cpp,
sys/dev/pci/drm/radeon/r100.c
2431
track->cb[i].robj = NULL;
sys/dev/pci/drm/radeon/r100.c
2432
track->cb[i].pitch = 8192;
sys/dev/pci/drm/radeon/r100.c
2433
track->cb[i].cpp = 16;
sys/dev/pci/drm/radeon/r100.c
2434
track->cb[i].offset = 0;
sys/dev/pci/drm/radeon/r100_track.h
70
struct r100_cs_track_cb cb[R300_MAX_CB];
sys/dev/pci/drm/radeon/r200.c
201
track->cb[0].robj = reloc->robj;
sys/dev/pci/drm/radeon/r200.c
202
track->cb[0].offset = idx_value;
sys/dev/pci/drm/radeon/r200.c
304
track->cb[0].pitch = idx_value & RADEON_COLORPITCH_MASK;
sys/dev/pci/drm/radeon/r200.c
318
track->cb[0].cpp = 1;
sys/dev/pci/drm/radeon/r200.c
323
track->cb[0].cpp = 2;
sys/dev/pci/drm/radeon/r200.c
326
track->cb[0].cpp = 4;
sys/dev/pci/drm/radeon/r300.c
672
track->cb[i].robj = reloc->robj;
sys/dev/pci/drm/radeon/r300.c
673
track->cb[i].offset = idx_value;
sys/dev/pci/drm/radeon/r300.c
800
track->cb[i].pitch = idx_value & 0x3FFE;
sys/dev/pci/drm/radeon/r300.c
805
track->cb[i].cpp = 1;
sys/dev/pci/drm/radeon/r300.c
811
track->cb[i].cpp = 2;
sys/dev/pci/drm/radeon/r300.c
821
track->cb[i].cpp = 4;
sys/dev/pci/drm/radeon/r300.c
824
track->cb[i].cpp = 8;
sys/dev/pci/drm/radeon/r300.c
827
track->cb[i].cpp = 16;
sys/dev/pci/drm/radeon/radeon_drv.c
838
void (*cb)(void *, int, int), void *cbarg)
sys/dev/pci/drm/radeon/radeon_drv.c
846
rdev->switchcb = cb;
sys/dev/pci/drm/radeon/radeon_drv.c
849
if (cb) {
sys/dev/pci/drm/radeon/radeon_fence.c
1008
struct radeon_wait_cb cb;
sys/dev/pci/drm/radeon/radeon_fence.c
1010
cb.task = curproc;
sys/dev/pci/drm/radeon/radeon_fence.c
1012
if (dma_fence_add_callback(f, &cb.base, radeon_fence_wait_cb))
sys/dev/pci/drm/radeon/radeon_fence.c
1040
dma_fence_remove_callback(f, &cb.base);
sys/dev/pci/drm/radeon/radeon_fence.c
995
radeon_fence_wait_cb(struct dma_fence *fence, struct dma_fence_cb *cb)
sys/dev/pci/drm/radeon/radeon_fence.c
998
container_of(cb, struct radeon_wait_cb, base);
sys/dev/pci/drm/scheduler/sched_entity.c
181
struct dma_fence_cb *cb);
sys/dev/pci/drm/scheduler/sched_entity.c
224
struct dma_fence_cb *cb)
sys/dev/pci/drm/scheduler/sched_entity.c
226
struct drm_sched_job *job = container_of(cb, struct drm_sched_job,
sys/dev/pci/drm/scheduler/sched_entity.c
359
dma_fence_remove_callback(entity->dependency, &entity->cb);
sys/dev/pci/drm/scheduler/sched_entity.c
388
struct dma_fence_cb *cb)
sys/dev/pci/drm/scheduler/sched_entity.c
391
container_of(cb, struct drm_sched_entity, cb);
sys/dev/pci/drm/scheduler/sched_entity.c
454
if (!dma_fence_add_callback(entity->dependency, &entity->cb,
sys/dev/pci/drm/scheduler/sched_main.c
1272
r = dma_fence_add_callback(fence, &sched_job->cb,
sys/dev/pci/drm/scheduler/sched_main.c
391
static void drm_sched_job_done_cb(struct dma_fence *f, struct dma_fence_cb *cb)
sys/dev/pci/drm/scheduler/sched_main.c
393
struct drm_sched_job *s_job = container_of(cb, struct drm_sched_job, cb);
sys/dev/pci/drm/scheduler/sched_main.c
637
&s_job->cb)) {
sys/dev/pci/drm/scheduler/sched_main.c
714
if (dma_fence_add_callback(fence, &s_job->cb,
sys/dev/pci/sti_pci.c
458
bus_space_handle_t romh, bus_size_t romsize, int (*cb)(bus_space_tag_t,
sys/dev/pci/sti_pci.c
578
rc = (*cb)(romt, romh, offs, &ds, cbarg);
sys/dev/pci/tga.c
741
tga_show_screen(void *v, void *cookie, int waitok, void (*cb)(void *, int, int),
sys/dev/pci/yds.c
400
off_t cb;
sys/dev/pci/yds.c
450
cb = 0;
sys/dev/pci/yds.c
452
YWRITE4(sc, YDS_WORK_BASE, da + cb);
sys/dev/pci/yds.c
453
cb += ws;
sys/dev/pci/yds.c
456
sc->ptbl = (u_int32_t *)(va + cb);
sys/dev/pci/yds.c
457
sc->ptbloff = cb;
sys/dev/pci/yds.c
458
YWRITE4(sc, YDS_PLAY_CTRLBASE, da + cb);
sys/dev/pci/yds.c
459
cb += (N_PLAY_SLOT_CTRL + 1) * sizeof(u_int32_t);
sys/dev/pci/yds.c
462
sc->rbank = (struct rec_slot_ctrl_bank *)(va + cb);
sys/dev/pci/yds.c
463
YWRITE4(sc, YDS_REC_CTRLBASE, da + cb);
sys/dev/pci/yds.c
464
sc->rbankoff = cb;
sys/dev/pci/yds.c
465
cb += N_REC_SLOT_CTRL * N_REC_SLOT_CTRL_BANK * rcs;
sys/dev/pci/yds.c
469
YWRITE4(sc, YDS_EFFECT_CTRLBASE, da + cb);
sys/dev/pci/yds.c
470
cb += N_EFFECT_SLOT_CTRL * N_EFFECT_SLOT_CTRL_BANK * ecs;
sys/dev/pci/yds.c
474
sc->pbankoff = da + cb;
sys/dev/pci/yds.c
476
sc->pbankp[i*2] = (struct play_slot_ctrl_bank *)(va + cb);
sys/dev/pci/yds.c
477
*(sc->ptbl + i+1) = da + cb;
sys/dev/pci/yds.c
478
cb += pcs;
sys/dev/pci/yds.c
480
sc->pbankp[i*2+1] = (struct play_slot_ctrl_bank *)(va + cb);
sys/dev/pci/yds.c
481
cb += pcs;
sys/dev/pcmcia/cfxga.c
654
void (*cb)(void *, int, int), void *cbarg)
sys/dev/pv/vmt.c
1075
vmt_tclo_rpc[i].cb(sc);
sys/dev/pv/vmt.c
329
void (*cb)(struct vmt_softc *);
sys/dev/pv/xenstore.c
821
void (*cb)(void *), void *arg)
sys/dev/pv/xenstore.c
839
task_set(task, cb, arg);
sys/dev/rasops/rasops.c
1446
void (*cb)(void *, int, int), void *cbarg)
sys/dev/rasops/rasops.c
1451
if (cb) {
sys/dev/rasops/rasops.c
1452
ri->ri_switchcb = cb;
sys/dev/usb/if_athn_usb.c
597
cmd->cb(usc, cmd->data);
sys/dev/usb/if_athn_usb.c
607
void (*cb)(struct athn_usb_softc *, void *), void *arg, int len)
sys/dev/usb/if_athn_usb.c
620
cmd->cb = cb;
sys/dev/usb/if_athn_usb.h
407
void (*cb)(struct athn_usb_softc *, void *);
sys/dev/usb/if_mtw.c
1573
cmd->cb(sc, cmd->data);
sys/dev/usb/if_mtw.c
1582
mtw_do_async(struct mtw_softc *sc, void (*cb)(struct mtw_softc *, void *),
sys/dev/usb/if_mtw.c
1594
cmd->cb = cb;
sys/dev/usb/if_mtwvar.h
106
void (*cb)(struct mtw_softc *, void *);
sys/dev/usb/if_otus.c
720
cmd->cb(sc, cmd->data);
sys/dev/usb/if_otus.c
729
otus_do_async(struct otus_softc *sc, void (*cb)(struct otus_softc *, void *),
sys/dev/usb/if_otus.c
738
cmd->cb = cb;
sys/dev/usb/if_otusreg.h
901
void (*cb)(struct otus_softc *, void *);
sys/dev/usb/if_rsu.c
490
cmd->cb(sc, cmd->data);
sys/dev/usb/if_rsu.c
500
void (*cb)(struct rsu_softc *, void *), void *arg, int len)
sys/dev/usb/if_rsu.c
508
cmd->cb = cb;
sys/dev/usb/if_rsureg.h
696
void (*cb)(struct rsu_softc *, void *);
sys/dev/usb/if_run.c
1734
cmd->cb(sc, cmd->data);
sys/dev/usb/if_run.c
1743
run_do_async(struct run_softc *sc, void (*cb)(struct run_softc *, void *),
sys/dev/usb/if_run.c
1755
cmd->cb = cb;
sys/dev/usb/if_runvar.h
104
void (*cb)(struct run_softc *, void *);
sys/dev/usb/if_urtwn.c
155
void (*cb)(struct urtwn_softc *, void *);
sys/dev/usb/if_urtwn.c
743
cmd->cb(sc, cmd->data);
sys/dev/usb/if_urtwn.c
753
void (*cb)(struct urtwn_softc *, void *), void *arg, int len)
sys/dev/usb/if_urtwn.c
761
cmd->cb = cb;
sys/dev/usb/udl.c
1521
struct udl_cmd_buf *cb = &sc->sc_cmd_buf;
sys/dev/usb/udl.c
1523
cb->buf = malloc(UDL_CMD_MAX_XFER_SIZE, M_USBDEV, M_NOWAIT|M_ZERO);
sys/dev/usb/udl.c
1524
if (cb->buf == NULL) {
sys/dev/usb/udl.c
1529
cb->off = 0;
sys/dev/usb/udl.c
1530
cb->compblock = 0;
sys/dev/usb/udl.c
1538
struct udl_cmd_buf *cb = &sc->sc_cmd_buf;
sys/dev/usb/udl.c
1540
if (cb->buf != NULL) {
sys/dev/usb/udl.c
1541
free(cb->buf, M_USBDEV, UDL_CMD_MAX_XFER_SIZE);
sys/dev/usb/udl.c
1542
cb->buf = NULL;
sys/dev/usb/udl.c
1544
cb->off = 0;
sys/dev/usb/udl.c
1550
struct udl_cmd_buf *cb = &sc->sc_cmd_buf;
sys/dev/usb/udl.c
1552
cb->buf[cb->off] = value;
sys/dev/usb/udl.c
1554
cb->off += 1;
sys/dev/usb/udl.c
1561
struct udl_cmd_buf *cb = &sc->sc_cmd_buf;
sys/dev/usb/udl.c
1564
bcopy(&lvalue, cb->buf + cb->off, 2);
sys/dev/usb/udl.c
1566
cb->off += 2;
sys/dev/usb/udl.c
1573
struct udl_cmd_buf *cb = &sc->sc_cmd_buf;
sys/dev/usb/udl.c
1579
bcopy(&lvalue, cb->buf + cb->off, 3);
sys/dev/usb/udl.c
1581
cb->off += 3;
sys/dev/usb/udl.c
1588
struct udl_cmd_buf *cb = &sc->sc_cmd_buf;
sys/dev/usb/udl.c
1591
bcopy(&lvalue, cb->buf + cb->off, 4);
sys/dev/usb/udl.c
1593
cb->off += 4;
sys/dev/usb/udl.c
1599
struct udl_cmd_buf *cb = &sc->sc_cmd_buf;
sys/dev/usb/udl.c
1601
bcopy(buf, cb->buf + cb->off, len);
sys/dev/usb/udl.c
1603
cb->off += len;
sys/dev/usb/udl.c
1609
struct udl_cmd_buf *cb = &sc->sc_cmd_buf;
sys/dev/usb/udl.c
1625
if (cb->compblock >= UDL_CB_RESTART_SIZE) {
sys/dev/usb/udl.c
1626
cb->off -= UDL_CMD_WRITE_HEAD_SIZE;
sys/dev/usb/udl.c
1627
cb->compblock -= UDL_CMD_WRITE_HEAD_SIZE;
sys/dev/usb/udl.c
1655
if (cb->compblock + next >= UDL_CB_BODY_SIZE) {
sys/dev/usb/udl.c
1663
cb->buf[cb->off] = 0;
sys/dev/usb/udl.c
1665
cb->buf[cb->off] |= (bit_cur << bit_pos);
sys/dev/usb/udl.c
1670
cb->off++;
sys/dev/usb/udl.c
1671
cb->compblock++;
sys/dev/usb/udl.c
1682
cb->off++;
sys/dev/usb/udl.c
1683
cb->compblock++;
sys/dev/usb/udl.c
1692
padding = (UDL_CB_BODY_SIZE - cb->compblock);
sys/dev/usb/udl.c
1694
cb->buf[cb->off] = 0;
sys/dev/usb/udl.c
1695
cb->off++;
sys/dev/usb/udl.c
1696
cb->compblock++;
sys/dev/usb/udl.c
1699
cb->compblock = 0;
sys/dev/usb/udl.c
1709
struct udl_cmd_buf *cb = &sc->sc_cmd_buf;
sys/dev/usb/udl.c
1712
if (cb->compblock > UDL_CB_BODY_SIZE) {
sys/dev/usb/udl.c
1713
cb->off -= UDL_CMD_COPY_HEAD_SIZE;
sys/dev/usb/udl.c
1714
cb->compblock -= UDL_CMD_COPY_HEAD_SIZE;
sys/dev/usb/udl.c
1716
padding = (UDL_CB_BODY_SIZE - cb->compblock);
sys/dev/usb/udl.c
1718
cb->buf[cb->off] = 0;
sys/dev/usb/udl.c
1719
cb->off++;
sys/dev/usb/udl.c
1720
cb->compblock++;
sys/dev/usb/udl.c
1723
cb->compblock = 0;
sys/dev/usb/udl.c
1733
struct udl_cmd_buf *cb = &sc->sc_cmd_buf;
sys/dev/usb/udl.c
1737
total = cb->off + len;
sys/dev/usb/udl.c
1741
if (cb->xfer_type == UDL_CMD_XFER_ASYNC)
sys/dev/usb/udl.c
1758
struct udl_cmd_buf *cb = &sc->sc_cmd_buf;
sys/dev/usb/udl.c
1760
cb->xfer_type = xfer_type;
sys/dev/usb/udl.c
1766
struct udl_cmd_buf *cb = &sc->sc_cmd_buf;
sys/dev/usb/udl.c
1768
cb->off_save = cb->off;
sys/dev/usb/udl.c
1769
cb->compblock_save = cb->compblock;
sys/dev/usb/udl.c
1775
struct udl_cmd_buf *cb = &sc->sc_cmd_buf;
sys/dev/usb/udl.c
1777
cb->off = cb->off_save;
sys/dev/usb/udl.c
1778
cb->compblock = cb->compblock_save;
sys/dev/usb/udl.c
1801
struct udl_cmd_buf *cb = &sc->sc_cmd_buf;
sys/dev/usb/udl.c
1810
bcopy(cb->buf, cx->buf, cb->off);
sys/dev/usb/udl.c
1812
len = cb->off;
sys/dev/usb/udl.c
1822
DN(sc), FUNC, len, cb->off);
sys/dev/usb/udl.c
1824
cb->off = 0;
sys/dev/usb/udl.c
1825
cb->compblock = 0;
sys/dev/usb/udl.c
1833
struct udl_cmd_buf *cb = &sc->sc_cmd_buf;
sys/dev/usb/udl.c
1861
bcopy(cb->buf, cx->buf, cb->off);
sys/dev/usb/udl.c
1864
usbd_setup_xfer(cx->xfer, sc->sc_tx_pipeh, cx, cx->buf, cb->off,
sys/dev/usb/udl.c
1873
DN(sc), FUNC, cb->off, i);
sys/dev/usb/udl.c
1876
cb->off = 0;
sys/dev/usb/udl.c
1877
cb->compblock = 0;
sys/dev/usb/udl.c
2025
struct udl_cmd_buf *cb = &sc->sc_cmd_buf;
sys/dev/usb/udl.c
2030
if (cb->xfer_type == UDL_CMD_XFER_ASYNC)
sys/dev/usb/udl.c
2284
struct udl_cmd_buf *cb = &sc->sc_cmd_buf;
sys/dev/usb/udl.c
2301
if (cb->off == 0)
sys/dev/usb/udl.c
2314
cb->compblock += UDL_CMD_WRITE_HEAD_SIZE;
sys/dev/usb/udl.c
2316
count = &cb->buf[cb->off - 1];
sys/dev/usb/udl.c
2374
struct udl_cmd_buf *cb = &sc->sc_cmd_buf;
sys/dev/usb/udl.c
2397
if (cb->off == 0)
sys/dev/usb/udl.c
2410
cb->compblock += UDL_CMD_WRITE_HEAD_SIZE;
sys/dev/usb/udl.c
2412
count = &cb->buf[cb->off - 1];
sys/dev/usb/udl.c
2472
struct udl_cmd_buf *cb = &sc->sc_cmd_buf;
sys/dev/usb/udl.c
2487
if (cb->off == 0)
sys/dev/usb/udl.c
2499
cb->compblock += UDL_CMD_COPY_HEAD_SIZE;
sys/dev/usb/udl.c
699
void (*cb)(void *, int, int), void *cbarg)
sys/dev/usb/umass.c
1396
u_int timeout, umass_callback cb, void *priv)
sys/dev/usb/umass.c
1433
sc->transfer_cb = cb;
sys/dev/usb/umass.c
201
void umass_reset(struct umass_softc *sc, transfer_cb_f cb, void *priv);
sys/dev/usb/umass.c
868
umass_reset(struct umass_softc *sc, transfer_cb_f cb, void *priv)
sys/dev/usb/umass.c
870
sc->transfer_cb = cb;
sys/dev/usb/umass.c
923
umass_callback cb, void *priv)
sys/dev/usb/umass.c
998
sc->transfer_cb = cb;
sys/dev/usb/usbdi.c
216
void *buffer, u_int32_t len, usbd_callback cb, int ival)
sys/dev/usb/usbdi.c
235
USBD_NO_TIMEOUT, cb);
sys/dev/wsfont/wsfont.c
274
wsfont_enum(int (*cb)(void *, struct wsdisplay_font *), void *cbarg)
sys/dev/wsfont/wsfont.c
282
if (cb(cbarg, ent->font) != 0)
sys/kern/kern_watchdog.c
39
wdog_register(int (*cb)(void *, int), void *cb_arg)
sys/kern/kern_watchdog.c
44
wdog_ctl_cb = cb;
usr.bin/cvs/config.c
113
if (cb(p, lineno) < 0)
usr.bin/cvs/config.c
80
cvs_read_config(char *name, int (*cb)(char *, int))
usr.bin/cvs/config.h
23
void cvs_read_config(char *name, int (*cb)(char *, int));
usr.bin/cvs/worklist.c
60
worklist_run(struct wklhead *list, void (*cb)(struct worklist *))
usr.bin/cvs/worklist.c
68
worklist_clean(list, cb);
usr.bin/cvs/worklist.c
82
worklist_clean(struct wklhead *list, void (*cb)(struct worklist *))
usr.bin/cvs/worklist.c
87
cb(wkl);
usr.bin/cvs/worklist.h
41
void worklist_run(struct wklhead *, void (*cb)(struct worklist *));
usr.bin/cvs/worklist.h
42
void worklist_clean(struct wklhead *, void (*cb)(struct worklist *));
usr.bin/openssl/apps.h
377
int (*cb)(int s, unsigned char *context),
usr.bin/openssl/dhparam.c
227
static int dh_cb(int p, int n, BN_GENCB *cb);
usr.bin/openssl/dhparam.c
233
BN_GENCB *cb = NULL;
usr.bin/openssl/dhparam.c
278
if ((cb = BN_GENCB_new()) == NULL) {
usr.bin/openssl/dhparam.c
284
BN_GENCB_set(cb, dh_cb, bio_err);
usr.bin/openssl/dhparam.c
290
NULL, 0, NULL, NULL, cb)) {
usr.bin/openssl/dhparam.c
305
if (!dh || !DH_generate_parameters_ex(dh, num, cfg.g, cb)) {
usr.bin/openssl/dhparam.c
421
BN_GENCB_free(cb);
usr.bin/openssl/dhparam.c
429
dh_cb(int p, int n, BN_GENCB *cb)
usr.bin/openssl/dhparam.c
441
BIO_write(BN_GENCB_get_arg(cb), &c, 1);
usr.bin/openssl/dhparam.c
442
(void) BIO_flush(BN_GENCB_get_arg(cb));
usr.bin/openssl/dsaparam.c
152
static int dsa_cb(int p, int n, BN_GENCB *cb);
usr.bin/openssl/dsaparam.c
160
BN_GENCB *cb = NULL;
usr.bin/openssl/dsaparam.c
213
if ((cb = BN_GENCB_new()) == NULL) {
usr.bin/openssl/dsaparam.c
219
BN_GENCB_set(cb, dsa_cb, bio_err);
usr.bin/openssl/dsaparam.c
228
if (!DSA_generate_parameters_ex(dsa, numbits, NULL, 0, NULL, NULL, cb)) {
usr.bin/openssl/dsaparam.c
290
BN_GENCB_free(cb);
usr.bin/openssl/dsaparam.c
297
dsa_cb(int p, int n, BN_GENCB *cb)
usr.bin/openssl/dsaparam.c
309
BIO_write(BN_GENCB_get_arg(cb), &c, 1);
usr.bin/openssl/dsaparam.c
310
(void) BIO_flush(BN_GENCB_get_arg(cb));
usr.bin/openssl/gendh.c
131
BN_GENCB *cb = NULL;
usr.bin/openssl/gendh.c
142
if ((cb = BN_GENCB_new()) == NULL) {
usr.bin/openssl/gendh.c
147
BN_GENCB_set(cb, dh_cb, bio_err);
usr.bin/openssl/gendh.c
186
!DH_generate_parameters_ex(dh, numbits, cfg.g, cb))
usr.bin/openssl/gendh.c
196
BN_GENCB_free(cb);
usr.bin/openssl/gendh.c
203
dh_cb(int p, int n, BN_GENCB *cb)
usr.bin/openssl/gendh.c
215
BIO_write(BN_GENCB_get_arg(cb), &c, 1);
usr.bin/openssl/gendh.c
216
(void) BIO_flush(BN_GENCB_get_arg(cb));
usr.bin/openssl/gendh.c
87
static int dh_cb(int p, int n, BN_GENCB *cb);
usr.bin/openssl/genrsa.c
274
BN_GENCB *cb = NULL;
usr.bin/openssl/genrsa.c
292
if ((cb = BN_GENCB_new()) == NULL) {
usr.bin/openssl/genrsa.c
297
BN_GENCB_set(cb, genrsa_cb, bio_err);
usr.bin/openssl/genrsa.c
340
!RSA_generate_key_ex(rsa, num, bn, cb))
usr.bin/openssl/genrsa.c
361
BN_GENCB_free(cb);
usr.bin/openssl/genrsa.c
375
genrsa_cb(int p, int n, BN_GENCB *cb)
usr.bin/openssl/genrsa.c
387
BIO_write(BN_GENCB_get_arg(cb), &c, 1);
usr.bin/openssl/genrsa.c
388
(void) BIO_flush(BN_GENCB_get_arg(cb));
usr.bin/openssl/genrsa.c
86
static int genrsa_cb(int p, int n, BN_GENCB *cb);
usr.bin/openssl/s_socket.c
132
int (*cb)(int s, unsigned char *context),
usr.bin/openssl/s_socket.c
155
i = cb(sock, context);
usr.bin/openssl/verify.c
289
X509_STORE_set_verify_cb(cert_ctx, cb);
usr.bin/openssl/verify.c
71
static int cb(int ok, X509_STORE_CTX *ctx);
usr.bin/rcs/worklist.c
65
worklist_run(struct wklhead *list, void (*cb)(struct worklist *))
usr.bin/rcs/worklist.c
73
worklist_clean(list, cb);
usr.bin/rcs/worklist.c
87
worklist_clean(struct wklhead *list, void (*cb)(struct worklist *))
usr.bin/rcs/worklist.c
92
cb(wkl);
usr.bin/rcs/worklist.h
41
void worklist_run(struct wklhead *, void (*cb)(struct worklist *));
usr.bin/rcs/worklist.h
42
void worklist_clean(struct wklhead *, void (*cb)(struct worklist *));
usr.bin/sndiod/file.c
174
to->cb(to->arg);
usr.bin/sndiod/file.c
82
timo_set(struct timo *o, void (*cb)(void *), void *arg)
usr.bin/sndiod/file.c
84
o->cb = cb;
usr.bin/sndiod/file.h
29
void (*cb)(void *arg); /* routine to call on expiration */
usr.bin/ssh/atomicio.c
117
if (cb != NULL && cb(cb_arg, 0) == -1) {
usr.bin/ssh/atomicio.c
150
if (cb != NULL && cb(cb_arg, (size_t)res) == -1) {
usr.bin/ssh/atomicio.c
44
int (*cb)(void *, size_t), void *cb_arg)
usr.bin/ssh/atomicio.c
59
if (cb != NULL && cb(cb_arg, 0) == -1) {
usr.bin/ssh/atomicio.c
74
if (cb != NULL && cb(cb_arg, (size_t)res) == -1) {
usr.bin/ssh/atomicio.c
95
int (*cb)(void *, size_t), void *cb_arg)
usr.bin/ssh/atomicio.h
39
int (*cb)(void *, size_t), void *);
usr.bin/ssh/atomicio.h
49
const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *);
usr.bin/ssh/channels.c
1211
channel_confirm_cb *cb, channel_confirm_abandon_cb *abandon_cb, void *ctx)
usr.bin/ssh/channels.c
1220
cc->cb = cb;
usr.bin/ssh/channels.c
3750
cc->cb(ssh, type, c, cc->ctx);
usr.bin/ssh/channels.h
105
channel_confirm_cb *cb;
usr.bin/ssh/clientloop.c
174
global_confirm_cb *cb;
usr.bin/ssh/clientloop.c
1863
int local_tun, int remote_tun, channel_open_fn *cb, void *cbctx)
usr.bin/ssh/clientloop.c
1885
if (cb != NULL)
usr.bin/ssh/clientloop.c
1886
channel_register_open_confirm(ssh, c->self, cb, cbctx);
usr.bin/ssh/clientloop.c
469
if (gc->cb != NULL)
usr.bin/ssh/clientloop.c
470
gc->cb(ssh, type, seq, gc->ctx);
usr.bin/ssh/clientloop.c
891
client_register_global_confirm(global_confirm_cb *cb, void *ctx)
usr.bin/ssh/clientloop.c
897
if (last_gc && last_gc->cb == cb && last_gc->ctx == ctx) {
usr.bin/ssh/clientloop.c
905
gc->cb = cb;
usr.bin/ssh/pkcs11.h
968
unsigned char cb[16];
usr.bin/ssh/ssh_api.c
229
int (*cb)(struct sshkey *, struct ssh *))
usr.bin/ssh/ssh_api.c
231
if (cb == NULL || ssh->kex == NULL)
usr.bin/ssh/ssh_api.c
234
ssh->kex->verify_host_key = cb;
usr.bin/ssh/ssh_api.h
72
int (*cb)(struct sshkey *, struct ssh *));
usr.bin/tmux/arguments.c
276
if (parse->cb != NULL) {
usr.bin/tmux/arguments.c
277
type = parse->cb(args, args->count, cause);
usr.bin/tmux/cmd-queue.c
65
cmdq_cb cb;
usr.bin/tmux/cmd-queue.c
686
cmdq_get_callback1(const char *name, cmdq_cb cb, void *data)
usr.bin/tmux/cmd-queue.c
697
item->cb = cb;
usr.bin/tmux/cmd-queue.c
726
return (item->cb(item, item->data));
usr.bin/tmux/colour.c
61
int qr, qg, qb, cr, cg, cb, d, idx;
usr.bin/tmux/colour.c
67
qb = colour_to_6cube(b); cb = q2c[qb];
usr.bin/tmux/colour.c
70
if (cr == r && cg == g && cb == b)
usr.bin/tmux/colour.c
82
d = colour_dist_sq(cr, cg, cb, r, g, b);
usr.bin/tmux/control.c
227
control_free_block(struct control_state *cs, struct control_block *cb)
usr.bin/tmux/control.c
229
free(cb->line);
usr.bin/tmux/control.c
230
TAILQ_REMOVE(&cs->all_blocks, cb, all_entry);
usr.bin/tmux/control.c
231
free(cb);
usr.bin/tmux/control.c
271
struct control_block *cb, *cb1;
usr.bin/tmux/control.c
273
TAILQ_FOREACH_SAFE(cb, &cp->blocks, entry, cb1) {
usr.bin/tmux/control.c
274
TAILQ_REMOVE(&cp->blocks, cb, entry);
usr.bin/tmux/control.c
275
control_free_block(cs, cb);
usr.bin/tmux/control.c
410
struct control_block *cb;
usr.bin/tmux/control.c
421
cb = xcalloc(1, sizeof *cb);
usr.bin/tmux/control.c
422
xvasprintf(&cb->line, fmt, ap);
usr.bin/tmux/control.c
423
TAILQ_INSERT_TAIL(&cs->all_blocks, cb, all_entry);
usr.bin/tmux/control.c
424
cb->t = get_timer();
usr.bin/tmux/control.c
426
log_debug("%s: %s: storing line: %s", __func__, c->name, cb->line);
usr.bin/tmux/control.c
437
struct control_block *cb;
usr.bin/tmux/control.c
440
cb = TAILQ_FIRST(&cp->blocks);
usr.bin/tmux/control.c
441
if (cb == NULL)
usr.bin/tmux/control.c
444
if (cb->t >= t)
usr.bin/tmux/control.c
447
age = t - cb->t;
usr.bin/tmux/control.c
473
struct control_block *cb;
usr.bin/tmux/control.c
496
cb = xcalloc(1, sizeof *cb);
usr.bin/tmux/control.c
497
cb->size = new_size;
usr.bin/tmux/control.c
498
TAILQ_INSERT_TAIL(&cs->all_blocks, cb, all_entry);
usr.bin/tmux/control.c
499
cb->t = get_timer();
usr.bin/tmux/control.c
501
TAILQ_INSERT_TAIL(&cp->blocks, cb, entry);
usr.bin/tmux/control.c
503
cb->size, wp->id);
usr.bin/tmux/control.c
594
struct control_block *cb, *cb1;
usr.bin/tmux/control.c
596
TAILQ_FOREACH_SAFE(cb, &cs->all_blocks, all_entry, cb1) {
usr.bin/tmux/control.c
597
if (cb->size != 0)
usr.bin/tmux/control.c
600
cb->line);
usr.bin/tmux/control.c
602
bufferevent_write(cs->write_event, cb->line, strlen(cb->line));
usr.bin/tmux/control.c
604
control_free_block(cs, cb);
usr.bin/tmux/control.c
670
struct control_block *cb, *cb1;
usr.bin/tmux/control.c
675
TAILQ_FOREACH_SAFE(cb, &cp->blocks, entry, cb1) {
usr.bin/tmux/control.c
676
TAILQ_REMOVE(&cp->blocks, cb, entry);
usr.bin/tmux/control.c
677
control_free_block(cs, cb);
usr.bin/tmux/control.c
691
cb = TAILQ_FIRST(&cp->blocks);
usr.bin/tmux/control.c
692
if (cb->t < t)
usr.bin/tmux/control.c
693
age = t - cb->t;
usr.bin/tmux/control.c
697
"(used %zu/%zu)", __func__, c->name, cb->size,
usr.bin/tmux/control.c
700
size = cb->size;
usr.bin/tmux/control.c
707
cb->size -= size;
usr.bin/tmux/control.c
708
if (cb->size == 0) {
usr.bin/tmux/control.c
709
TAILQ_REMOVE(&cp->blocks, cb, entry);
usr.bin/tmux/control.c
710
control_free_block(cs, cb);
usr.bin/tmux/control.c
712
cb = TAILQ_FIRST(&cs->all_blocks);
usr.bin/tmux/control.c
713
if (cb != NULL && cb->size == 0) {
usr.bin/tmux/control.c
829
struct control_block *cb, *cb1;
usr.bin/tmux/control.c
841
TAILQ_FOREACH_SAFE(cb, &cs->all_blocks, all_entry, cb1)
usr.bin/tmux/control.c
842
control_free_block(cs, cb);
usr.bin/tmux/file.c
109
file_create_with_client(struct client *c, int stream, client_file_cb cb,
usr.bin/tmux/file.c
126
cf->cb = cb;
usr.bin/tmux/file.c
164
if (cf->cb != NULL &&
usr.bin/tmux/file.c
166
cf->cb(c, cf->path, cf->error, 1, cf->buffer, cf->data);
usr.bin/tmux/file.c
181
if (cf->cb != NULL)
usr.bin/tmux/file.c
182
cf->cb(cf->c, cf->path, cf->error, 0, cf->buffer, cf->data);
usr.bin/tmux/file.c
296
size_t bsize, client_file_cb cb, void *cbdata)
usr.bin/tmux/file.c
307
cf = file_create_with_client(c, stream, cb, cbdata);
usr.bin/tmux/file.c
320
cf = file_create_with_client(c, stream, cb, cbdata);
usr.bin/tmux/file.c
369
file_read(struct client *c, const char *path, client_file_cb cb, void *cbdata)
usr.bin/tmux/file.c
381
cf = file_create_with_client(c, stream, cb, cbdata);
usr.bin/tmux/file.c
394
cf = file_create_with_client(c, stream, cb, cbdata);
usr.bin/tmux/file.c
543
if (cf->cb != NULL)
usr.bin/tmux/file.c
544
cf->cb(NULL, NULL, 0, -1, NULL, cf->data);
usr.bin/tmux/file.c
555
if (cf->cb != NULL)
usr.bin/tmux/file.c
556
cf->cb(NULL, NULL, 0, -1, NULL, cf->data);
usr.bin/tmux/file.c
570
client_file_cb cb, void *cbdata)
usr.bin/tmux/file.c
593
cf = file_create_with_peer(peer, files, msg->stream, cb, cbdata);
usr.bin/tmux/file.c
730
struct imsg *imsg, int allow_streams, int close_received, client_file_cb cb,
usr.bin/tmux/file.c
754
cf = file_create_with_peer(peer, files, msg->stream, cb, cbdata);
usr.bin/tmux/file.c
84
int stream, client_file_cb cb, void *cbdata)
usr.bin/tmux/file.c
97
cf->cb = cb;
usr.bin/tmux/format.c
129
format_cb cb;
usr.bin/tmux/format.c
3109
format_cb cb;
usr.bin/tmux/format.c
3804
format_each(struct format_tree *ft, void (*cb)(const char *, const char *,
usr.bin/tmux/format.c
3817
value = fte->cb(ft);
usr.bin/tmux/format.c
3823
cb(fte->key, s, arg);
usr.bin/tmux/format.c
3825
cb(fte->key, value, arg);
usr.bin/tmux/format.c
3832
cb(fe->key, s, arg);
usr.bin/tmux/format.c
3834
if (fe->value == NULL && fe->cb != NULL) {
usr.bin/tmux/format.c
3835
fe->value = fe->cb(ft);
usr.bin/tmux/format.c
3839
cb(fe->key, fe->value, arg);
usr.bin/tmux/format.c
3863
fe->cb = NULL;
usr.bin/tmux/format.c
3888
fe->cb = NULL;
usr.bin/tmux/format.c
3896
format_add_cb(struct format_tree *ft, const char *key, format_cb cb)
usr.bin/tmux/format.c
3912
fe->cb = cb;
usr.bin/tmux/format.c
4030
value = fte->cb(ft);
usr.bin/tmux/format.c
4044
if (fe->value == NULL && fe->cb != NULL) {
usr.bin/tmux/format.c
4045
fe->value = fe->cb(ft);
usr.bin/tmux/input.c
1055
screen_write_init_ctx_cb cb, void *arg, const u_char *buf, size_t len)
usr.bin/tmux/input.c
1062
screen_write_start_callback(sctx, s, cb, arg);
usr.bin/tmux/menu.c
298
if (md->cb != NULL)
usr.bin/tmux/menu.c
299
md->cb(md->menu, UINT_MAX, KEYC_NONE, md->data);
usr.bin/tmux/menu.c
49
menu_choice_cb cb;
usr.bin/tmux/menu.c
490
if (md->cb != NULL) {
usr.bin/tmux/menu.c
491
md->cb(md->menu, md->choice, item->key, md->data);
usr.bin/tmux/menu.c
492
md->cb = NULL;
usr.bin/tmux/menu.c
548
const char *border_style, struct cmd_find_state *fs, menu_choice_cb cb,
usr.bin/tmux/menu.c
622
md->cb = cb;
usr.bin/tmux/menu.c
631
const char *border_style, struct cmd_find_state *fs, menu_choice_cb cb,
usr.bin/tmux/menu.c
637
style, selected_style, border_style, fs, cb, data);
usr.bin/tmux/mode-tree.c
461
mode_tree_each_tagged(struct mode_tree_data *mtd, mode_tree_each_cb cb,
usr.bin/tmux/mode-tree.c
473
cb(mtd->modedata, mti->itemdata, c, key);
usr.bin/tmux/mode-tree.c
478
cb(mtd->modedata, mti->itemdata, c, key);
usr.bin/tmux/popup.c
338
if (pd->cb != NULL)
usr.bin/tmux/popup.c
339
pd->cb(pd->status, pd->arg);
usr.bin/tmux/popup.c
51
popup_close_cb cb;
usr.bin/tmux/popup.c
771
popup_close_cb cb, void *arg)
usr.bin/tmux/popup.c
81
popup_finish_edit_cb cb;
usr.bin/tmux/popup.c
813
pd->cb = cb;
usr.bin/tmux/popup.c
901
pe->cb(NULL, 0, pe->arg);
usr.bin/tmux/popup.c
922
pe->cb(buf, len, pe->arg); /* callback now owns buffer */
usr.bin/tmux/popup.c
928
popup_finish_edit_cb cb, void *arg)
usr.bin/tmux/popup.c
956
pe->cb = cb;
usr.bin/tmux/screen-write.c
286
screen_write_init_ctx_cb cb, void *arg)
usr.bin/tmux/screen-write.c
290
ctx->init_ctx_cb = cb;
usr.bin/tmux/sort.c
101
result = strcmp(ca->name, cb->name);
usr.bin/tmux/sort.c
104
result = ca->tty.sx - cb->tty.sx;
usr.bin/tmux/sort.c
106
result = ca->tty.sy - cb->tty.sy;
usr.bin/tmux/sort.c
109
if (timercmp(&ca->creation_time, &cb->creation_time, >))
usr.bin/tmux/sort.c
111
else if (timercmp(&ca->creation_time, &cb->creation_time, <))
usr.bin/tmux/sort.c
115
if (timercmp(&ca->activity_time, &cb->activity_time, >))
usr.bin/tmux/sort.c
117
else if (timercmp(&ca->activity_time, &cb->activity_time, <))
usr.bin/tmux/sort.c
128
result = strcmp(ca->name, cb->name);
usr.bin/tmux/sort.c
96
const struct client *cb = *b;
usr.bin/vi/ex/ex_move.c
34
CB cb;
usr.bin/vi/ex/ex_move.c
50
memset(&cb, 0, sizeof(cb));
usr.bin/vi/ex/ex_move.c
51
TAILQ_INIT(&cb.textq);
usr.bin/vi/ex/ex_move.c
53
if (cut_line(sp, cnt, 0, CUT_LINE_TO_EOL, &cb)) {
usr.bin/vi/ex/ex_move.c
57
cb.flags |= CB_LMODE;
usr.bin/vi/ex/ex_move.c
62
if (put(sp, &cb, NULL, &tm, &m, 1, 1))
usr.bin/vi/ex/ex_move.c
74
err: text_lfree(&cb.textq);
usr.bin/x99token/x99token.c
182
DES_cblock cb;
usr.bin/x99token/x99token.c
184
memcpy(&cb, chal, sizeof(cb));
usr.bin/x99token/x99token.c
186
printf("%.8s: ", (char *)cb);
usr.bin/x99token/x99token.c
187
DES_ecb_encrypt(&cb, &cb, &ks, DES_ENCRYPT);
usr.bin/x99token/x99token.c
189
printf("%c", digits[(cb[i]>>4) & 0xf]);
usr.bin/x99token/x99token.c
190
printf("%c", digits[(cb[i]>>0) & 0xf]);
usr.bin/x99token/x99token.c
194
if ((cb[i] &= 0xf) > 9)
usr.bin/x99token/x99token.c
195
cb[i] -= 10;
usr.bin/x99token/x99token.c
196
cb[i] |= 0x30;
usr.bin/x99token/x99token.c
199
memset(&cb, 0, sizeof(cb));
usr.sbin/amd/amd/rpc_fwd.c
205
struct sockaddr_in *replyto, void *i, fwd_fun cb)
usr.sbin/amd/amd/rpc_fwd.c
287
p->rf_fwd = cb;
usr.sbin/ldapd/evbuffer_tls.c
318
if (buf->off != oldoff && buf->cb != NULL)
usr.sbin/ldapd/evbuffer_tls.c
319
(*buf->cb)(buf, oldoff, buf->off, buf->cbarg);
usr.sbin/ldpd/accept.c
52
accept_add(int fd, void (*cb)(int, short, void *), void *arg)
usr.sbin/ldpd/accept.c
59
av->accept_cb = cb;
usr.sbin/lpd/io.c
220
io_set_callback(struct io *io, void(*cb)(struct io *, int, void *), void *arg)
usr.sbin/lpd/io.c
222
io->cb = cb;
usr.sbin/lpd/io.c
61
void (*cb)(struct io*, int, void *);
usr.sbin/lpd/io.c
754
io->cb(io, evt, io->arg);
usr.sbin/lpd/proc.c
183
void(*cb)(struct imsgproc *, struct imsg *, void *), void *arg)
usr.sbin/lpd/proc.c
185
p->cb = cb;
usr.sbin/lpd/proc.c
272
p->cb(p, imsg, p->arg);
usr.sbin/lpd/proc.c
39
void (*cb)(struct imsgproc *, struct imsg *, void *);
usr.sbin/lpd/resolver.c
104
void(*cb)(void *, int, const char *, const char *), void *arg)
usr.sbin/lpd/resolver.c
112
cb(arg, EAI_MEMORY, NULL, NULL);
usr.sbin/lpd/resolver.c
118
req->cb_ni = cb;
usr.sbin/lpd/resolver.c
72
const struct addrinfo *hints, void (*cb)(void *, int, struct addrinfo *),
usr.sbin/lpd/resolver.c
81
cb(arg, EAI_MEMORY, NULL);
usr.sbin/lpd/resolver.c
87
req->cb_ai = cb;
usr.sbin/npppd/npppd/accept.c
54
accept_add(int fd, void (*cb)(int, short, void *), void *arg)
usr.sbin/npppd/npppd/accept.c
61
av->accept_cb = cb;
usr.sbin/nsd/difffile.c
1613
static void udb_task_walk_chunk(void* base, void* d, uint64_t s, udb_walk_relptr_cb* cb, void *arg)
usr.sbin/nsd/difffile.c
1618
(*cb)(base, &p->next, arg);
usr.sbin/nsd/difffile.c
1622
udb_walk_relptr_cb* cb, void *arg)
usr.sbin/nsd/difffile.c
1627
udb_task_walk_chunk(base, d, s, cb, arg);
usr.sbin/nsd/mini_event.c
324
void (*cb)(int, short, void *), void* arg)
usr.sbin/nsd/mini_event.c
329
ev->ev_callback = cb;
usr.sbin/nsd/mini_event.h
180
#define signal_set(ev, x, cb, arg) \
usr.sbin/nsd/mini_event.h
181
event_set(ev, x, EV_SIGNAL|EV_PERSIST, cb, arg)
usr.sbin/rpki-client/repo.c
1658
repo_tal_stats_collect(void (*cb)(const struct repo *,
usr.sbin/rpki-client/repo.c
1665
cb(rp, &rp->stats[talid], arg);
usr.sbin/rpki-client/repo.c
1670
repo_stats_collect(void (*cb)(const struct repo *, const struct repostats *,
usr.sbin/rpki-client/repo.c
1676
cb(rp, &rp->repostats, arg);
usr.sbin/smtpd/ioev.c
316
io_set_callback(struct io *io, void(*cb)(struct io *, int, void *), void *arg)
usr.sbin/smtpd/ioev.c
318
io->cb = cb;
usr.sbin/smtpd/ioev.c
57
void (*cb)(struct io*, int, void *);
usr.sbin/smtpd/ioev.c
732
io->cb(io, evt, io->arg);
usr.sbin/smtpd/queue_backend.c
728
queue_api_on_close(int(*cb)(void))
usr.sbin/smtpd/queue_backend.c
730
handler_close = cb;
usr.sbin/smtpd/queue_backend.c
734
queue_api_on_message_create(int(*cb)(uint32_t *))
usr.sbin/smtpd/queue_backend.c
736
handler_message_create = cb;
usr.sbin/smtpd/queue_backend.c
740
queue_api_on_message_commit(int(*cb)(uint32_t, const char *))
usr.sbin/smtpd/queue_backend.c
742
handler_message_commit = cb;
usr.sbin/smtpd/queue_backend.c
746
queue_api_on_message_delete(int(*cb)(uint32_t))
usr.sbin/smtpd/queue_backend.c
748
handler_message_delete = cb;
usr.sbin/smtpd/queue_backend.c
752
queue_api_on_message_fd_r(int(*cb)(uint32_t))
usr.sbin/smtpd/queue_backend.c
754
handler_message_fd_r = cb;
usr.sbin/smtpd/queue_backend.c
758
queue_api_on_envelope_create(int(*cb)(uint32_t, const char *, size_t, uint64_t *))
usr.sbin/smtpd/queue_backend.c
760
handler_envelope_create = cb;
usr.sbin/smtpd/queue_backend.c
764
queue_api_on_envelope_delete(int(*cb)(uint64_t))
usr.sbin/smtpd/queue_backend.c
766
handler_envelope_delete = cb;
usr.sbin/smtpd/queue_backend.c
770
queue_api_on_envelope_update(int(*cb)(uint64_t, const char *, size_t))
usr.sbin/smtpd/queue_backend.c
772
handler_envelope_update = cb;
usr.sbin/smtpd/queue_backend.c
776
queue_api_on_envelope_load(int(*cb)(uint64_t, char *, size_t))
usr.sbin/smtpd/queue_backend.c
778
handler_envelope_load = cb;
usr.sbin/smtpd/queue_backend.c
782
queue_api_on_envelope_walk(int(*cb)(uint64_t *, char *, size_t))
usr.sbin/smtpd/queue_backend.c
784
handler_envelope_walk = cb;
usr.sbin/smtpd/queue_backend.c
788
queue_api_on_message_walk(int(*cb)(uint64_t *, char *, size_t,
usr.sbin/smtpd/queue_backend.c
791
handler_message_walk = cb;
usr.sbin/smtpd/resolver.c
104
cb(arg, EAI_MEMORY, NULL, NULL);
usr.sbin/smtpd/resolver.c
110
req->cb_ni = cb;
usr.sbin/smtpd/resolver.c
123
void (*cb)(void *, int, int, int, const void *, int), void *arg)
usr.sbin/smtpd/resolver.c
131
cb(arg, NETDB_INTERNAL, 0, 0, NULL, 0);
usr.sbin/smtpd/resolver.c
137
req->cb_res = cb;
usr.sbin/smtpd/resolver.c
64
const struct addrinfo *hints, void (*cb)(void *, int, struct addrinfo *),
usr.sbin/smtpd/resolver.c
73
cb(arg, EAI_MEMORY, NULL);
usr.sbin/smtpd/resolver.c
79
req->cb_ai = cb;
usr.sbin/smtpd/resolver.c
96
void(*cb)(void *, int, const char *, const char *), void *arg)
usr.sbin/smtpd/runq.c
32
void (*cb)(struct runq *, void *);
usr.sbin/smtpd/runq.c
74
runq->cb(runq, job->arg);
usr.sbin/smtpd/runq.c
83
runq_init(struct runq **runqp, void (*cb)(struct runq *, void *))
usr.sbin/smtpd/runq.c
91
runq->cb = cb;
usr.sbin/smtpd/smtpd.h
1588
void (*cb)(void *, int, int, int, const void *, int), void *);
usr.sbin/smtpd/waitq.c
25
void (*cb)(void *, void *, void *);
usr.sbin/smtpd/waitq.c
55
waitq_wait(void *tag, void (*cb)(void *, void *, void *), void *arg)
usr.sbin/smtpd/waitq.c
70
w->cb = cb;
usr.sbin/smtpd/waitq.c
89
w->cb(tag, w->arg, result);
usr.sbin/syslogd/evbuffer_tls.c
319
if (buf->off != oldoff && buf->cb != NULL)
usr.sbin/syslogd/evbuffer_tls.c
320
(*buf->cb)(buf, oldoff, buf->off, buf->cbarg);
usr.sbin/syslogd/syslogd.c
1086
void (*cb)(int, short, void *),
usr.sbin/syslogd/syslogd.c
1095
event_set(ev, lfd, EV_READ|EV_PERSIST, cb, ev);
usr.sbin/syslogd/syslogd.c
1114
event_set(ev, lfd, 0, cb, ev);
usr.sbin/unbound/dynlibmod/dynlibmod.c
219
return ((inplace_cb_reply_func_type*) cb_pair->cb)(qinfo, qstate, rep, rcode, edns, opt_list_out, repinfo, region, start_time, id, cb_pair->cb_arg);
usr.sbin/unbound/dynlibmod/dynlibmod.c
227
return ((inplace_cb_query_func_type*) cb_pair->cb)(qinfo, flags, qstate, addr, addrlen, zone, zonelen, region, id, cb_pair->cb_arg);
usr.sbin/unbound/dynlibmod/dynlibmod.c
233
return ((inplace_cb_edns_back_parsed_func_type*) cb_pair->cb)(qstate, id, cb_pair->cb_arg);
usr.sbin/unbound/dynlibmod/dynlibmod.c
239
return ((inplace_cb_query_response_func_type*) cb_pair->cb)(qstate, response, id, cb_pair->cb_arg);
usr.sbin/unbound/dynlibmod/dynlibmod.c
243
inplace_cb_register_wrapped(void* cb, enum inplace_cb_list_type type, void* cbarg,
usr.sbin/unbound/dynlibmod/dynlibmod.c
250
cb_pair->cb = cb;
usr.sbin/unbound/dynlibmod/dynlibmod.h
88
inplace_cb_register_wrapped(void* cb, enum inplace_cb_list_type type, void* cbarg,
usr.sbin/unbound/dynlibmod/dynlibmod.h
96
void *cb;
usr.sbin/unbound/libunbound/context.c
158
ub_callback_type cb, ub_event_callback_type cb_event, void* cbarg)
usr.sbin/unbound/libunbound/context.c
170
q->async = (cb != NULL || cb_event != NULL);
usr.sbin/unbound/libunbound/context.c
171
q->cb = cb;
usr.sbin/unbound/libunbound/context.h
165
ub_callback_type cb;
usr.sbin/unbound/libunbound/context.h
232
int rrclass, ub_callback_type cb, ub_event_callback_type cb_event,
usr.sbin/unbound/libunbound/libunbound.c
587
ub_callback_type* cb, void** cbarg, int* err,
usr.sbin/unbound/libunbound/libunbound.c
609
*cb = NULL;
usr.sbin/unbound/libunbound/libunbound.c
612
*cb = q->cb;
usr.sbin/unbound/libunbound/libunbound.c
644
if(*cb) return 2;
usr.sbin/unbound/libunbound/libunbound.c
654
ub_callback_type cb;
usr.sbin/unbound/libunbound/libunbound.c
659
r = process_answer_detail(ctx, msg, len, &cb, &cbarg, &err, &res);
usr.sbin/unbound/libunbound/libunbound.c
664
(*cb)(cbarg, err, res);
usr.sbin/unbound/libunbound/libunbound.c
697
ub_callback_type cb;
usr.sbin/unbound/libunbound/libunbound.c
733
&cb, &cbarg, &err, &res);
usr.sbin/unbound/libunbound/libunbound.c
739
(*cb)(cbarg, err, res);
usr.sbin/unbound/libunbound/libworker.c
663
ub_event_callback_type cb = q->cb_event;
usr.sbin/unbound/libunbound/libworker.c
682
(*cb)(cb_arg, rcode, (buf?(void*)sldns_buffer_begin(buf):NULL),
usr.sbin/unbound/libunbound/unbound-event.h
102
void (*cb)(int, short, void*), void* arg);
usr.sbin/unbound/libunbound/unbound-event.h
106
void* wsaevent, void (*cb)(int, short, void*), void* arg);
usr.sbin/unbound/libunbound/unbound-event.h
143
void (*cb)(int, short, void*), void* arg, struct timeval*);
usr.sbin/unbound/libunbound/unbound-event.h
98
int fd, short bits, void (*cb)(int, short, void*), void* arg);
usr.sbin/unbound/services/listen_dnsport.c
1543
comm_point_callback_type* cb, void *cb_arg)
usr.sbin/unbound/services/listen_dnsport.c
1565
front->udp_buff, ports->pp2_enabled, cb,
usr.sbin/unbound/services/listen_dnsport.c
1574
front->udp_buff, cb, cb_arg, ports->socket,
usr.sbin/unbound/services/listen_dnsport.c
1582
ports->ftype, ports->pp2_enabled, cb, cb_arg,
usr.sbin/unbound/services/listen_dnsport.c
1591
ports->ftype, ports->pp2_enabled, cb, cb_arg,
usr.sbin/unbound/services/listen_dnsport.c
1619
front->udp_buff, ports->pp2_enabled, cb,
usr.sbin/unbound/services/listen_dnsport.h
221
comm_point_callback_type* cb, void *cb_arg);
usr.sbin/unbound/services/mesh.c
1063
struct mesh_cb* cb;
usr.sbin/unbound/services/mesh.c
1077
while((cb = mstate->cb_list)!=NULL) {
usr.sbin/unbound/services/mesh.c
1078
mstate->cb_list = cb->next;
usr.sbin/unbound/services/mesh.c
1079
fptr_ok(fptr_whitelist_mesh_cb(cb->cb));
usr.sbin/unbound/services/mesh.c
1080
(*cb->cb)(cb->cb_arg, LDNS_RCODE_SERVFAIL, NULL,
usr.sbin/unbound/services/mesh.c
1336
fptr_ok(fptr_whitelist_mesh_cb(r->cb));
usr.sbin/unbound/services/mesh.c
1337
(*r->cb)(r->cb_arg, rcode, r->buf, sec_status_unchecked, NULL,
usr.sbin/unbound/services/mesh.c
1356
fptr_ok(fptr_whitelist_mesh_cb(r->cb));
usr.sbin/unbound/services/mesh.c
1357
(*r->cb)(r->cb_arg, LDNS_RCODE_SERVFAIL, r->buf,
usr.sbin/unbound/services/mesh.c
1360
fptr_ok(fptr_whitelist_mesh_cb(r->cb));
usr.sbin/unbound/services/mesh.c
1361
(*r->cb)(r->cb_arg, LDNS_RCODE_NOERROR, r->buf,
usr.sbin/unbound/services/mesh.c
1893
int mesh_state_del_cb(struct mesh_state* s, mesh_cb_func_type cb, void* cb_arg)
usr.sbin/unbound/services/mesh.c
1898
if(r->cb == cb && r->cb_arg == cb_arg) {
usr.sbin/unbound/services/mesh.c
1912
sldns_buffer* buf, mesh_cb_func_type cb, void* cb_arg,
usr.sbin/unbound/services/mesh.c
1920
log_assert(fptr_whitelist_mesh_cb(cb)); /* early failure ifmissing*/
usr.sbin/unbound/services/mesh.c
1921
r->cb = cb;
usr.sbin/unbound/services/mesh.c
2611
uint16_t qflags, mesh_cb_func_type cb, void* cb_arg)
usr.sbin/unbound/services/mesh.c
2616
if(!mesh_state_del_cb(s, cb, cb_arg)) return;
usr.sbin/unbound/services/mesh.c
601
uint16_t qid, mesh_cb_func_type cb, void* cb_arg, int rpz_passthru)
usr.sbin/unbound/services/mesh.c
655
if(!mesh_state_add_cb(s, edns, buf, cb, cb_arg, qid, qflags)) {
usr.sbin/unbound/services/mesh.h
277
mesh_cb_func_type cb;
usr.sbin/unbound/services/mesh.h
341
uint16_t qid, mesh_cb_func_type cb, void* cb_arg, int rpz_passthru);
usr.sbin/unbound/services/mesh.h
571
struct sldns_buffer* buf, mesh_cb_func_type cb, void* cb_arg,
usr.sbin/unbound/services/mesh.h
724
uint16_t qflags, mesh_cb_func_type cb, void* cb_arg);
usr.sbin/unbound/services/outside_network.c
1248
if(w->cb)
usr.sbin/unbound/services/outside_network.c
1467
if(pend->cb) {
usr.sbin/unbound/services/outside_network.c
1468
fptr_ok(fptr_whitelist_pending_udp(pend->cb));
usr.sbin/unbound/services/outside_network.c
1469
(void)(*pend->cb)(outnet->unused_fds->cp, pend->cb_arg,
usr.sbin/unbound/services/outside_network.c
1550
if(p->cb) {
usr.sbin/unbound/services/outside_network.c
1551
fptr_ok(fptr_whitelist_pending_udp(p->cb));
usr.sbin/unbound/services/outside_network.c
1552
(void)(*p->cb)(p->pc->cp, p->cb_arg, NETEVENT_NOERROR, reply_info);
usr.sbin/unbound/services/outside_network.c
1605
if(p->cb) {
usr.sbin/unbound/services/outside_network.c
1606
fptr_ok(fptr_whitelist_pending_udp(p->cb));
usr.sbin/unbound/services/outside_network.c
1607
(void)(*p->cb)(p->pc->cp, p->cb_arg, NETEVENT_TIMEOUT, NULL);
usr.sbin/unbound/services/outside_network.c
1614
p->cb = NULL;
usr.sbin/unbound/services/outside_network.c
2275
int timeout, comm_point_callback_type* cb, void* cb_arg)
usr.sbin/unbound/services/outside_network.c
2283
pend->cb = cb;
usr.sbin/unbound/services/outside_network.c
2489
w->cb = callback;
usr.sbin/unbound/services/outside_network.c
2718
w->cb = NULL;
usr.sbin/unbound/services/outside_network.c
2790
w->cb = NULL;
usr.sbin/unbound/services/outside_network.c
3076
fptr_ok(fptr_whitelist_serviced_query(p->cb));
usr.sbin/unbound/services/outside_network.c
3077
(void)(*p->cb)(c, p->cb_arg, error, rep);
usr.sbin/unbound/services/outside_network.c
3432
struct service_callback* cb;
usr.sbin/unbound/services/outside_network.c
3517
if(!(cb = (struct service_callback*)regional_alloc(
usr.sbin/unbound/services/outside_network.c
3518
sq->region, sizeof(*cb)))) {
usr.sbin/unbound/services/outside_network.c
3535
if(!(cb = (struct service_callback*)regional_alloc(
usr.sbin/unbound/services/outside_network.c
3536
sq->region, sizeof(*cb)))) {
usr.sbin/unbound/services/outside_network.c
3541
cb->cb = callback;
usr.sbin/unbound/services/outside_network.c
3542
cb->cb_arg = callback_arg;
usr.sbin/unbound/services/outside_network.c
3543
cb->next = sq->cblist;
usr.sbin/unbound/services/outside_network.c
3544
sq->cblist = cb;
usr.sbin/unbound/services/outside_network.c
3655
comm_point_callback_type* cb, void* cb_arg,
usr.sbin/unbound/services/outside_network.c
3664
cb, cb_arg, NULL);
usr.sbin/unbound/services/outside_network.c
3731
comm_point_callback_type* cb, void* cb_arg,
usr.sbin/unbound/services/outside_network.c
3746
cp = comm_point_create_tcp_out(outnet->base, 65552, cb, cb_arg);
usr.sbin/unbound/services/outside_network.c
3806
comm_point_callback_type* cb, void* cb_arg,
usr.sbin/unbound/services/outside_network.c
3822
cp = comm_point_create_http_out(outnet->base, 65552, cb, cb_arg,
usr.sbin/unbound/services/outside_network.c
951
if(w && w->cb) {
usr.sbin/unbound/services/outside_network.c
952
fptr_ok(fptr_whitelist_pending_tcp(w->cb));
usr.sbin/unbound/services/outside_network.c
953
(void)(*w->cb)(c, w->cb_arg, error, reply_info);
usr.sbin/unbound/services/outside_network.h
328
comm_point_callback_type* cb;
usr.sbin/unbound/services/outside_network.h
410
comm_point_callback_type* cb;
usr.sbin/unbound/services/outside_network.h
434
comm_point_callback_type* cb;
usr.sbin/unbound/services/outside_network.h
763
comm_point_callback_type* cb, void* cb_arg,
usr.sbin/unbound/services/outside_network.h
785
comm_point_callback_type* cb, void* cb_arg,
usr.sbin/unbound/services/outside_network.h
808
comm_point_callback_type* cb, void* cb_arg,
usr.sbin/unbound/testcode/fake_event.c
1658
void (*cb)(void*), void* cb_arg)
usr.sbin/unbound/testcode/fake_event.c
1664
t->cb = cb;
usr.sbin/unbound/testcode/fake_event.c
1666
fptr_ok(fptr_whitelist_comm_timer(t->cb)); /* check in advance */
usr.sbin/unbound/testcode/fake_event.c
1786
comm_point_callback_type* cb, void* cb_arg,
usr.sbin/unbound/testcode/fake_event.c
1797
fc->cb = cb;
usr.sbin/unbound/testcode/fake_event.c
1805
comm_point_callback_type* cb, void* cb_arg,
usr.sbin/unbound/testcode/fake_event.c
1823
fc->cb = cb;
usr.sbin/unbound/testcode/fake_event.c
1857
pend->callback = cb;
usr.sbin/unbound/testcode/fake_event.c
1878
comm_point_callback_type* cb, void* cb_arg,
usr.sbin/unbound/testcode/fake_event.c
1891
fc->cb = cb;
usr.sbin/unbound/testcode/fake_event.c
1948
pend->callback = fc->cb;
usr.sbin/unbound/testcode/fake_event.c
379
comm_point_callback_type* cb = pend->callback;
usr.sbin/unbound/testcode/fake_event.c
404
if((*cb)(&c, cb_arg, NETEVENT_NOERROR, &repinfo)) {
usr.sbin/unbound/testcode/fake_event.c
502
comm_point_callback_type* cb;
usr.sbin/unbound/testcode/fake_event.c
507
cb = p->callback;
usr.sbin/unbound/testcode/fake_event.c
531
if((*cb)(&c, cb_arg, error, &repinfo)) {
usr.sbin/unbound/testcode/fake_event.c
582
fptr_ok(fptr_whitelist_comm_timer(t->cb));
usr.sbin/unbound/testcode/fake_event.c
583
(*t->cb)(t->cb_arg);
usr.sbin/unbound/testcode/fake_event.c
89
comm_point_callback_type* cb;
usr.sbin/unbound/testcode/fake_event.c
963
comm_point_callback_type* cb, void *cb_arg)
usr.sbin/unbound/testcode/fake_event.c
975
runtime->callback_query = cb;
usr.sbin/unbound/testcode/replay.h
394
void (*cb)(void*);
usr.sbin/unbound/util/data/msgreply.c
1214
struct inplace_cb* cb;
usr.sbin/unbound/util/data/msgreply.c
1221
for(cb=callback_list; cb; cb=cb->next) {
usr.sbin/unbound/util/data/msgreply.c
1223
(inplace_cb_reply_func_type*)cb->cb, type));
usr.sbin/unbound/util/data/msgreply.c
1224
(void)(*(inplace_cb_reply_func_type*)cb->cb)(qinfo, qstate, rep,
usr.sbin/unbound/util/data/msgreply.c
1225
rcode, edns, &opt_list_out, repinfo, region, start_time, cb->id, cb->cb_arg);
usr.sbin/unbound/util/data/msgreply.c
1283
struct inplace_cb* cb = env->inplace_cb_lists[inplace_cb_query];
usr.sbin/unbound/util/data/msgreply.c
1284
for(; cb; cb=cb->next) {
usr.sbin/unbound/util/data/msgreply.c
1286
(inplace_cb_query_func_type*)cb->cb));
usr.sbin/unbound/util/data/msgreply.c
1287
(void)(*(inplace_cb_query_func_type*)cb->cb)(qinfo, flags,
usr.sbin/unbound/util/data/msgreply.c
1289
cb->id, cb->cb_arg);
usr.sbin/unbound/util/data/msgreply.c
1297
struct inplace_cb* cb =
usr.sbin/unbound/util/data/msgreply.c
1299
for(; cb; cb=cb->next) {
usr.sbin/unbound/util/data/msgreply.c
1301
(inplace_cb_edns_back_parsed_func_type*)cb->cb));
usr.sbin/unbound/util/data/msgreply.c
1302
(void)(*(inplace_cb_edns_back_parsed_func_type*)cb->cb)(qstate,
usr.sbin/unbound/util/data/msgreply.c
1303
cb->id, cb->cb_arg);
usr.sbin/unbound/util/data/msgreply.c
1310
struct inplace_cb* cb =
usr.sbin/unbound/util/data/msgreply.c
1312
for(; cb; cb=cb->next) {
usr.sbin/unbound/util/data/msgreply.c
1314
(inplace_cb_query_response_func_type*)cb->cb));
usr.sbin/unbound/util/data/msgreply.c
1315
(void)(*(inplace_cb_query_response_func_type*)cb->cb)(qstate,
usr.sbin/unbound/util/data/msgreply.c
1316
response, cb->id, cb->cb_arg);
usr.sbin/unbound/util/mini_event.c
272
void (*cb)(int, short, void *), void* arg)
usr.sbin/unbound/util/mini_event.c
277
ev->ev_callback = cb;
usr.sbin/unbound/util/mini_event.h
188
#define signal_set(ev, x, cb, arg) \
usr.sbin/unbound/util/mini_event.h
189
event_set(ev, x, EV_SIGNAL|EV_PERSIST, cb, arg)
usr.sbin/unbound/util/module.c
296
inplace_cb_register(void* cb, enum inplace_cb_list_type type, void* cbarg,
usr.sbin/unbound/util/module.c
314
callback->cb = cb;
usr.sbin/unbound/util/module.h
242
void* cb;
usr.sbin/unbound/util/module.h
931
inplace_cb_register(void* cb, enum inplace_cb_list_type type, void* cbarg,
usr.sbin/unbound/util/netevent.c
6902
comm_timer_create(struct comm_base* base, void (*cb)(void*), void* cb_arg)
usr.sbin/unbound/util/netevent.c
6912
tm->super.callback = cb;
usr.sbin/unbound/util/netevent.h
793
void (*cb)(void*), void* cb_arg);
usr.sbin/unbound/util/tube.c
469
tube_callback_type* cb, void* arg)
usr.sbin/unbound/util/tube.c
471
tube->listen_cb = cb;
usr.sbin/unbound/util/tube.c
735
tube_callback_type* cb, void* arg)
usr.sbin/unbound/util/tube.c
737
tube->listen_cb = cb;
usr.sbin/unbound/util/tube.h
233
tube_callback_type* cb, void* arg);
usr.sbin/unbound/util/ub_event.c
129
static void (*NATIVE_BITS_CB(void (*cb)(int, short, void*)))(int, short, void*)
usr.sbin/unbound/util/ub_event.c
131
if(cb == comm_point_udp_callback)
usr.sbin/unbound/util/ub_event.c
133
else if(cb == comm_point_udp_ancil_callback)
usr.sbin/unbound/util/ub_event.c
135
else if(cb == comm_point_tcp_accept_callback)
usr.sbin/unbound/util/ub_event.c
137
else if(cb == comm_point_tcp_handle_callback)
usr.sbin/unbound/util/ub_event.c
139
else if(cb == comm_timer_callback)
usr.sbin/unbound/util/ub_event.c
141
else if(cb == comm_signal_callback)
usr.sbin/unbound/util/ub_event.c
143
else if(cb == comm_point_local_handle_callback)
usr.sbin/unbound/util/ub_event.c
145
else if(cb == comm_point_raw_handle_callback)
usr.sbin/unbound/util/ub_event.c
147
else if(cb == comm_point_http_handle_callback)
usr.sbin/unbound/util/ub_event.c
149
else if(cb == tube_handle_signal)
usr.sbin/unbound/util/ub_event.c
151
else if(cb == comm_base_handle_slow_accept)
usr.sbin/unbound/util/ub_event.c
154
else if(cb == comm_point_doq_callback)
usr.sbin/unbound/util/ub_event.c
157
else if(cb == fast_reload_service_cb)
usr.sbin/unbound/util/ub_event.c
160
else if(cb == dtio_output_cb)
usr.sbin/unbound/util/ub_event.c
162
else if(cb == dtio_cmd_cb)
usr.sbin/unbound/util/ub_event.c
164
else if(cb == dtio_reconnect_timeout_cb)
usr.sbin/unbound/util/ub_event.c
166
else if(cb == dtio_stop_timer_cb)
usr.sbin/unbound/util/ub_event.c
168
else if(cb == dtio_stop_ev_cb)
usr.sbin/unbound/util/ub_event.c
170
else if(cb == dtio_tap_callback)
usr.sbin/unbound/util/ub_event.c
172
else if(cb == dtio_mainfdcallback)
usr.sbin/unbound/util/ub_event.c
176
else if(cb == doq_client_event_cb)
usr.sbin/unbound/util/ub_event.c
178
else if(cb == doq_client_timer_cb)
usr.sbin/unbound/util/ub_event.c
182
else if(cb == worker_win_stop_cb)
usr.sbin/unbound/util/ub_event.c
350
void (*cb)(int, short, void*), void* arg)
usr.sbin/unbound/util/ub_event.c
358
event_set(ev, fd, NATIVE_BITS(bits), NATIVE_BITS_CB(cb), arg);
usr.sbin/unbound/util/ub_event.c
364
if (event_assign(ev, AS_EVENT_BASE(base), fd, bits, cb, arg) != 0) {
usr.sbin/unbound/util/ub_event.c
374
void (*cb)(int, short, void*), void* arg)
usr.sbin/unbound/util/ub_event.c
382
signal_set(ev, fd, NATIVE_BITS_CB(cb), arg);
usr.sbin/unbound/util/ub_event.c
388
if (evsignal_assign(ev, AS_EVENT_BASE(base), fd, cb, arg) != 0) {
usr.sbin/unbound/util/ub_event.c
398
void (*cb)(int, short, void*), void* arg)
usr.sbin/unbound/util/ub_event.c
406
if (winsock_register_wsaevent(AS_EVENT_BASE(base), ev, wsaevent, cb,
usr.sbin/unbound/util/ub_event.c
414
(void)cb;
usr.sbin/unbound/util/ub_event.c
459
void (*cb)(int, short, void*), void* arg, struct timeval* tv)
usr.sbin/unbound/util/ub_event.c
461
event_set(AS_EVENT(ev), -1, EV_TIMEOUT, NATIVE_BITS_CB(cb), arg);
usr.sbin/unbound/util/ub_event.c
507
void ub_comm_base_now(struct comm_base* cb)
usr.sbin/unbound/util/ub_event.c
511
(void)cb; /* nothing to do */
usr.sbin/unbound/util/ub_event.c
516
comm_base_timept(cb, &tt, &tv);
usr.sbin/unbound/util/ub_event.h
111
void (*cb)(int, short, void*), void* arg, struct timeval*);
usr.sbin/unbound/util/ub_event.h
125
void ub_comm_base_now(struct comm_base* cb);
usr.sbin/unbound/util/ub_event.h
89
int fd, short bits, void (*cb)(int, short, void*), void* arg);
usr.sbin/unbound/util/ub_event.h
92
void (*cb)(int, short, void*), void* arg);
usr.sbin/unbound/util/ub_event.h
95
void* wsaevent, void (*cb)(int, short, void*), void* arg);
usr.sbin/unbound/util/ub_event_pluggable.c
103
static void (*NATIVE_BITS_CB(void (*cb)(int, short, void*)))(int, short, void*)
usr.sbin/unbound/util/ub_event_pluggable.c
105
if(cb == comm_point_udp_callback)
usr.sbin/unbound/util/ub_event_pluggable.c
107
else if(cb == comm_point_udp_ancil_callback)
usr.sbin/unbound/util/ub_event_pluggable.c
109
else if(cb == comm_point_tcp_accept_callback)
usr.sbin/unbound/util/ub_event_pluggable.c
111
else if(cb == comm_point_tcp_handle_callback)
usr.sbin/unbound/util/ub_event_pluggable.c
113
else if(cb == comm_timer_callback)
usr.sbin/unbound/util/ub_event_pluggable.c
115
else if(cb == comm_signal_callback)
usr.sbin/unbound/util/ub_event_pluggable.c
117
else if(cb == comm_point_local_handle_callback)
usr.sbin/unbound/util/ub_event_pluggable.c
119
else if(cb == comm_point_raw_handle_callback)
usr.sbin/unbound/util/ub_event_pluggable.c
121
else if(cb == tube_handle_signal)
usr.sbin/unbound/util/ub_event_pluggable.c
123
else if(cb == comm_base_handle_slow_accept)
usr.sbin/unbound/util/ub_event_pluggable.c
193
void (*cb)(int, short, void*), void* arg, struct timeval* tv)
usr.sbin/unbound/util/ub_event_pluggable.c
195
event_set(&AS_MY_EVENT(ev)->ev, -1, EV_TIMEOUT,NATIVE_BITS_CB(cb),arg);
usr.sbin/unbound/util/ub_event_pluggable.c
277
void (*cb)(int, short, void*), void* arg)
usr.sbin/unbound/util/ub_event_pluggable.c
285
event_set(&my_ev->ev, fd, NATIVE_BITS(bits), NATIVE_BITS_CB(cb), arg);
usr.sbin/unbound/util/ub_event_pluggable.c
297
void (*cb)(int, short, void*), void* arg)
usr.sbin/unbound/util/ub_event_pluggable.c
305
signal_set(&my_ev->ev, fd, NATIVE_BITS_CB(cb), arg);
usr.sbin/unbound/util/ub_event_pluggable.c
317
void (*cb)(int, short, void*), void* arg)
usr.sbin/unbound/util/ub_event_pluggable.c
327
&my_ev->ev, wsaevent, cb, arg)) {
usr.sbin/unbound/util/ub_event_pluggable.c
338
(void)cb;
usr.sbin/unbound/util/ub_event_pluggable.c
509
void (*cb)(int, short, void*), void* arg)
usr.sbin/unbound/util/ub_event_pluggable.c
514
return (*base->vmt->new_event)(base, fd, bits, cb, arg);
usr.sbin/unbound/util/ub_event_pluggable.c
521
void (*cb)(int, short, void*), void* arg)
usr.sbin/unbound/util/ub_event_pluggable.c
526
return (*base->vmt->new_signal)(base, fd, cb, arg);
usr.sbin/unbound/util/ub_event_pluggable.c
533
void (*cb)(int, short, void*), void* arg)
usr.sbin/unbound/util/ub_event_pluggable.c
539
return (*base->vmt->winsock_register_wsaevent)(base, wsaevent, cb, arg);
usr.sbin/unbound/util/ub_event_pluggable.c
608
void (*cb)(int, short, void*), void* arg, struct timeval* tv)
usr.sbin/unbound/util/ub_event_pluggable.c
613
return (*ev->vmt->add_timer)(ev, base, cb, arg, tv);
usr.sbin/unbound/util/ub_event_pluggable.c
674
void ub_comm_base_now(struct comm_base* cb)
usr.sbin/unbound/util/ub_event_pluggable.c
681
if (comm_base_internal(cb)->magic == UB_EVENT_MAGIC &&
usr.sbin/unbound/util/ub_event_pluggable.c
682
comm_base_internal(cb)->vmt == &default_event_base_vmt)
usr.sbin/unbound/util/ub_event_pluggable.c
687
comm_base_timept(cb, &tt, &tv);
usr.sbin/unbound/util/winsock_event.c
470
void (*cb)(int, short, void *), void *arg)
usr.sbin/unbound/util/winsock_event.c
475
ev->ev_callback = cb;
usr.sbin/unbound/util/winsock_event.c
660
WSAEVENT wsaevent, void (*cb)(int, short, void*), void* arg)
usr.sbin/unbound/util/winsock_event.c
667
ev->ev_callback = cb;
usr.sbin/unbound/util/winsock_event.h
241
#define signal_set(ev, x, cb, arg) \
usr.sbin/unbound/util/winsock_event.h
242
event_set(ev, x, EV_SIGNAL|EV_PERSIST, cb, arg)
usr.sbin/unbound/util/winsock_event.h
270
WSAEVENT wsaevent, void (*cb)(int, short, void*), void* arg);
usr.sbin/vmd/atomicio.c
143
if (cb != NULL && cb(cb_arg, (size_t)res) == -1) {
usr.sbin/vmd/atomicio.c
47
int (*cb)(void *, size_t), void *cb_arg)
usr.sbin/vmd/atomicio.c
72
if (cb != NULL && cb(cb_arg, (size_t)res) == -1) {
usr.sbin/vmd/atomicio.c
93
int (*cb)(void *, size_t), void *cb_arg)
usr.sbin/vmd/atomicio.h
39
int (*cb)(void *, size_t), void *);
usr.sbin/vmd/atomicio.h
49
const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *);
usr.sbin/vmd/virtio.c
1661
vm_device_pipe(struct virtio_dev *dev, void (*cb)(int, short, void *),
usr.sbin/vmd/virtio.c
1673
iev->handler = cb;
usr.sbin/vmd/vm.c
1015
vm_pipe_init(struct vm_dev_pipe *p, void (*cb)(int, short, void *))
usr.sbin/vmd/vm.c
1017
vm_pipe_init2(p, cb, NULL);
usr.sbin/vmd/vm.c
1032
vm_pipe_init2(struct vm_dev_pipe *p, void (*cb)(int, short, void *), void *arg)
usr.sbin/vmd/vm.c
1046
event_set(&p->read_ev, p->read, EV_READ | EV_PERSIST, cb, arg);
usr.sbin/vmd/vmm.c
419
vmm_pipe(struct vmd_vm *vm, int fd, void (*cb)(int, short, void *))
usr.sbin/vmd/vmm.c
439
iev->handler = cb;
usr.sbin/ypldap/yp.c
253
char *(*cb)(char *, struct svc_req *);
usr.sbin/ypldap/yp.c
269
cb = NULL;
usr.sbin/ypldap/yp.c
286
cb = (void *)ypproc_domain_2_svc;
usr.sbin/ypldap/yp.c
293
cb = (void *)ypproc_domain_nonack_2_svc;
usr.sbin/ypldap/yp.c
300
cb = (void *)ypproc_match_2_svc;
usr.sbin/ypldap/yp.c
307
cb = (void *)ypproc_first_2_svc;
usr.sbin/ypldap/yp.c
314
cb = (void *)ypproc_next_2_svc;
usr.sbin/ypldap/yp.c
333
cb = (void *)ypproc_all_2_svc;
usr.sbin/ypldap/yp.c
340
cb = (void *)ypproc_master_2_svc;
usr.sbin/ypldap/yp.c
353
cb = (void *)ypproc_maplist_2_svc;
usr.sbin/ypldap/yp.c
365
result = (*cb)((char *)&argument, req);