Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 25 of 1025) sorted by relevance

12345678910>>...41

/freebsd-14.2/contrib/ofed/librdmacm/examples/
H A Drping.c250 cb->remote_rkey, cb->remote_addr, cb->remote_len); in server_recv()
400 cb->recv_mr = ibv_reg_mr(cb->pd, &cb->recv_buf, sizeof cb->recv_buf, in rping_setup_buffers()
407 cb->send_mr = ibv_reg_mr(cb->pd, &cb->send_buf, sizeof cb->send_buf, 0); in rping_setup_buffers()
421 cb->rdma_mr = ibv_reg_mr(cb->pd, cb->rdma_buf, cb->size, in rping_setup_buffers()
439 cb->start_mr = ibv_reg_mr(cb->pd, cb->start_buf, cb->size, in rping_setup_buffers()
501 cb->qp = cb->cm_id->qp; in rping_create_qp()
762 memset(cb, 0, sizeof *cb); in clone_cb()
963 rping_format_send(cb, cb->start_buf, cb->start_mr); in rping_test_client()
979 rping_format_send(cb, cb->rdma_buf, cb->rdma_mr); in rping_test_client()
996 if (memcmp(cb->start_buf, cb->rdma_buf, cb->size)) { in rping_test_client()
[all …]
/freebsd-14.2/sys/contrib/rdma/krping/
H A Dkrping.c367 if (!cb->wlat && !cb->rlat && !cb->bw) in krping_cq_event_handler()
412 if (cb->wlat || cb->rlat || cb->bw) in krping_cq_event_handler()
465 if (!cb->wlat && !cb->rlat && !cb->bw) { in krping_accept()
493 if (cb->server || cb->wlat || cb->rlat || cb->bw) { in krping_setup_wr()
548 if (!cb->server || cb->wlat || cb->rlat || cb->bw) { in krping_setup_buffers()
638 cb->qp = cb->cm_id->qp; in krping_create_qp()
676 if (!cb->wlat && !cb->rlat && !cb->bw && !cb->frtest) { in krping_setup_qp()
761 if (!cb->server || cb->wlat || cb->rlat || cb->bw) { in krping_format_send()
791 cb->rdma_sgl.lkey = krping_rdma_rkey(cb, cb->rdma_dma_addr, !cb->read_inv); in krping_test_server()
2153 if ((cb->frtest + cb->bw + cb->rlat + cb->wlat) > 1) { in krping_doit()
[all …]
/freebsd-14.2/crypto/openssl/crypto/bio/
H A Dossl_core_bio.c26 OSSL_CORE_BIO *cb = OPENSSL_malloc(sizeof(*cb)); in core_bio_new() local
28 if (cb == NULL || (cb->ref_lock = CRYPTO_THREAD_lock_new()) == NULL) { in core_bio_new()
32 cb->ref_cnt = 1; in core_bio_new()
33 return cb; in core_bio_new()
40 return CRYPTO_UP_REF(&cb->ref_cnt, &ref, cb->ref_lock); in ossl_core_bio_up_ref()
47 if (cb != NULL) { in ossl_core_bio_free()
48 CRYPTO_DOWN_REF(&cb->ref_cnt, &ref, cb->ref_lock); in ossl_core_bio_free()
66 cb->bio = bio; in ossl_core_bio_new_from_bio()
67 return cb; in ossl_core_bio_new_from_bio()
80 cb->bio = bio; in core_bio_new_from_new_bio()
[all …]
/freebsd-14.2/sys/netlink/
H A Dnetlink_snl_route_parsers.h66 { .type = NL_RTA_GATEWAY, .off = _OUT(gw), .cb = snl_attr_get_ip },
69 { .type = NL_RTA_VIA, .off = _OUT(gw), .cb = snl_attr_get_ipvia },
137 { .type = NL_RTA_DST, .off = _OUT(rta_dst), .cb = snl_attr_get_ip },
138 { .type = NL_RTA_OIF, .off = _OUT(rta_oif), .cb = snl_attr_get_uint32 },
139 { .type = NL_RTA_GATEWAY, .off = _OUT(rta_gw), .cb = snl_attr_get_ip },
146 { .type = NL_RTA_VIA, .off = _OUT(rta_gw), .cb = snl_attr_get_ipvia },
264 { .type = NDA_DST, .off = _OUT(nda_dst), .cb = snl_attr_get_ip },
314 { .type = IFA_LOCAL, .off = _OUT(ifa_local), .cb = snl_attr_get_ip },
372 { .type = NHA_ID, .off = _OUT(nha_id), .cb = snl_attr_get_uint32 },
374 { .type = NHA_OIF, .off = _OUT(nha_oif), .cb = snl_attr_get_uint32 },
[all …]
/freebsd-14.2/sys/contrib/openzfs/cmd/zfs/
H A Dzfs_iter.c106 if (uu_avl_find(cb->cb_avl, node, cb->cb_sortcol, in zfs_callback()
108 if (cb->cb_proplist) { in zfs_callback()
134 cb->cb_depth < cb->cb_depth_limit)) { in zfs_callback()
135 cb->cb_depth++; in zfs_callback()
141 if ((cb->cb_depth < cb->cb_depth_limit || in zfs_callback()
143 (cb->cb_types & in zfs_callback()
162 cb->cb_depth--; in zfs_callback()
448 cb.cb_sortcol = sortcol; in zfs_for_each()
449 cb.cb_flags = flags; in zfs_for_each()
451 cb.cb_types = types; in zfs_for_each()
[all …]
H A Dzfs_main.c494 FILE *fp = cb; in usage_prop_cb()
1463 if (cb->cb_snap_count % 10 == 0 && cb->cb_defer_destroy) { in destroy_callback()
1507 if (cb->cb_firstsnap == NULL || cb->cb_prevsnap == NULL) in destroy_print_cb()
1565 if (!cb->cb_doclones && !cb->cb_defer_destroy) { in snapshot_to_nvl_cb()
1860 cb.cb_batchedsnaps, cb.cb_defer_destroy); in zfs_do_destroy()
2068 memset(&cb.cb_columns, 0, sizeof (cb.cb_columns)); in zfs_do_get()
2226 &cb.cb_proplist, limit, get_callback, &cb); in zfs_do_get()
2461 if (cb->cb_lastfs[0] && !same_pool(zhp, cb->cb_lastfs)) { in upgrade_set_callback()
3765 if (ret == 0 && cb.cb_first && !cb.cb_scripted) in zfs_do_list()
8386 if (cb.cb_recursive && cb.cb_keylocation != NULL && in load_unload_keys()
[all …]
/freebsd-14.2/sys/dev/usb/video/
H A Dudl.c514 cb->off = 0; in udl_cmd_buf_alloc_locked()
516 return (cb); in udl_cmd_buf_alloc_locked()
527 return (cb); in udl_cmd_buf_alloc()
609 usbd_xfer_set_frame_data(xfer, i, cb->buf, cb->off); in udl_bulk_write_callback()
853 cb->buf[cb->off] = value; in udl_cmd_insert_int_1()
854 cb->off += 1; in udl_cmd_insert_int_1()
864 bcopy(&lvalue, cb->buf + cb->off, 2);
881 bcopy(&lvalue, cb->buf + cb->off, 3); in udl_cmd_insert_int_3()
893 bcopy(&lvalue, cb->buf + cb->off, 4);
907 cb->buf[cb->off + x + 0] = buf[x + 1]; in udl_cmd_insert_buf_le16()
[all …]
/freebsd-14.2/contrib/netbsd-tests/ipf/expected/
H A Dni51 4500 002c 0000 4000 ff06 02fc 0101 0101 96cb e002 8032 0015 bd6b c9c8 0000 0000 6002 2238 f5a2 0000…
3 4500 002c ffdd 4000 ef06 5374 96cb e002 c0a8 0103 0015 8032 3786 76c4 bd6b c9c9 6012 269c 8369 0000…
5 4500 0028 0001 4000 ff06 02ff 0101 0101 96cb e002 8032 0015 bd6b c9c9 3786 76c5 5010 269c 5aa0 0000
10 4500 0028 0002 4000 ff06 02fe 0101 0101 96cb e002 8032 0015 bd6b c9c9 3786 770c 5010 269c 5a59 0000
14 4500 0028 0003 4000 ff06 02fd 0101 0101 96cb e002 8032 0015 bd6b c9c9 3786 77ab 5010 269c 59ba 0000
18 4500 0028 ffe0 4000 ef06 5375 96cb e002 c0a8 0103 0015 8032 3786 77ab bd6b c9d9 5010 269c 9a00 0000
22 4500 0028 0005 4000 ff06 02fb 0101 0101 96cb e002 8032 0015 bd6b c9d9 3786 77ef 5010 269c 5966 0000
29 4500 0028 0007 4000 ff06 02f9 0101 0101 96cb e002 8032 0015 bd6b c9e7 3786 7826 5010 269c 5921 0000
33 4500 0028 0008 4000 ff06 02f8 0101 0101 96cb e002 8032 0015 bd6b c9e7 3786 7897 5010 269c 58b0 0000
39 4500 0028 000a 4000 ff06 02f6 0101 0101 96cb e002 8032 0015 bd6b c9ef 3786 78a7 5010 269c 5898 0000
[all …]
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_deadlock_detector2.cpp189 cb->lt->ctx, m, wlock, cb->lt->nlocked); in MutexBeforeLock()
196 cb->lt->ctx); in MutexBeforeLock()
204 m->id = allocateId(cb); in MutexBeforeLock()
209 tm->stk = cb->Unwind(); in MutexBeforeLock()
212 cb->lt->ctx); in MutexBeforeLock()
259 cb->lt->ctx); in MutexBeforeLock()
269 cb->lt->ctx, m, wlock, trylock, cb->lt->nlocked); in MutexAfterLock()
292 m->id = allocateId(cb); in MutexAfterLock()
301 cb->lt->ctx, m, wlock, cb->lt->nlocked); in MutexBeforeUnlock()
325 cb->lt->ctx, m); in MutexDestroy()
[all …]
H A Dsanitizer_deadlock_detector1.cpp94 m->stk = cb->Unwind(); in MutexInit()
105 DDLogicalThread *lt = cb->lt; in MutexBeforeLock()
114 dd.addEdges(&lt->dd, m->id, cb->Unwind(), cb->UniqueTid()); in MutexBeforeLock()
115 ReportDeadlock(cb, m); in MutexBeforeLock()
120 DDLogicalThread *lt = cb->lt; in ReportDeadlock()
153 DDLogicalThread *lt = cb->lt; in MutexAfterLock()
156 stk = cb->Unwind(); in MutexAfterLock()
168 dd.addEdges(&lt->dd, m->id, stk ? stk : cb->Unwind(), cb->UniqueTid()); in MutexAfterLock()
187 if (!cb->lt->report_pending) in GetReport()
189 cb->lt->report_pending = false; in GetReport()
[all …]
/freebsd-14.2/contrib/netbsd-tests/ipf/input/
H A Dni54 96cb e002 8032 0015 bd6b c9c8 0000 0000
9 4500 002c ffdd 4000 ef06 131e 96cb e002
16 96cb e002 8032 0015 bd6b c9c9 3786 76c5
21 4500 006f ffde 4000 ef06 12da 96cb e002
31 4500 0028 10cb 4000 ff06 328b c0a8 0103
32 96cb e002 8032 0015 bd6b c9c9 3786 770c
40 4500 00c7 ffdf 4000 ef06 1281 96cb e002
57 96cb e002 8032 0015 bd6b c9c9 3786 77ab
63 96cb e002 8032 0015 bd6b c9c9 3786 77ab
69 4500 0028 ffe0 4000 ef06 131f 96cb e002
[all …]
/freebsd-14.2/crypto/openssl/crypto/
H A Dself_test_core.c17 OSSL_CALLBACK *cb; member
27 OSSL_CALLBACK *cb; member
66 stcb->cb = cb; in OSSL_SELF_TEST_set_callback()
76 if (cb != NULL) in OSSL_SELF_TEST_get_callback()
77 *cb = (stcb != NULL ? stcb->cb : NULL); in OSSL_SELF_TEST_get_callback()
87 if (st->cb != NULL) { in self_test_setparams()
108 ret->cb = cb; in OSSL_SELF_TEST_new()
126 if (st != NULL && st->cb != NULL) { in OSSL_SELF_TEST_onbegin()
131 (void)st->cb(st->params, st->cb_arg); in OSSL_SELF_TEST_onbegin()
141 if (st != NULL && st->cb != NULL) { in OSSL_SELF_TEST_onend()
[all …]
/freebsd-14.2/crypto/openssl/crypto/pem/
H A Dpem_pk8.c24 pem_password_cb *cb, void *u,
31 pem_password_cb *cb, void *u,
57 pem_password_cb *cb, void *u) in i2d_PKCS8PrivateKey_bio() argument
87 if (kstr == NULL && cb == NULL) { in do_pk8pkey()
92 cb = PEM_def_callback; in do_pk8pkey()
120 else if (cb != NULL in do_pk8pkey()
138 klen = cb(buf, PEM_BUFSIZE, 1, u); in do_pk8pkey()
181 if (cb != NULL) in d2i_PKCS8PrivateKey_bio()
182 klen = cb(psbuf, PEM_BUFSIZE, 0, u); in d2i_PKCS8PrivateKey_bio()
210 pem_password_cb *cb, void *u) in i2d_PKCS8PrivateKey_fp() argument
[all …]
H A Dpem_pkey.c53 if (cb == NULL) in pem_read_bio_key_decoder()
54 cb = PEM_def_callback; in pem_read_bio_key_decoder()
56 if (!OSSL_DECODER_CTX_set_pem_password_cb(dctx, cb, u)) in pem_read_bio_key_decoder()
116 bp, cb, u)) { in pem_read_bio_key_legacy()
127 bp, cb, u)) { in pem_read_bio_key_legacy()
154 if (cb != NULL) in pem_read_bio_key_legacy()
155 klen = cb(psbuf, PEM_BUFSIZE, 0, u); in pem_read_bio_key_legacy()
233 if (cb == NULL) in pem_read_bio_key()
234 cb = PEM_def_callback; in pem_read_bio_key()
236 if (!ossl_pw_set_pem_password_cb(&pwdata, cb, u) in pem_read_bio_key()
[all …]
H A Dpem_all.c69 RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb, in PEM_read_bio_RSAPrivateKey() argument
73 pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u); in PEM_read_bio_RSAPrivateKey()
82 pktmp = PEM_read_PrivateKey(fp, NULL, cb, u); in PEM_read_RSAPrivateKey()
109 DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb, in PEM_read_bio_DSAPrivateKey() argument
113 pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u); in PEM_read_bio_DSAPrivateKey()
123 pktmp = PEM_read_PrivateKey(fp, NULL, cb, u); in IMPLEMENT_PEM_write_cb()
154 pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u); in PEM_read_bio_ECPrivateKey()
170 pktmp = PEM_read_PrivateKey(fp, NULL, cb, u); in IMPLEMENT_PEM_rw()
184 DH *PEM_read_bio_DHparams(BIO *bp, DH **x, pem_password_cb *cb, void *u) in IMPLEMENT_PEM_write()
209 DH *PEM_read_DHparams(FILE *fp, DH **x, pem_password_cb *cb, void *u) in PEM_read_DHparams() argument
[all …]
/freebsd-14.2/sys/dev/ocs_fc/
H A Docs_els.h65 extern ocs_io_t *ocs_send_scr(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb
71 void *port_ids, uint32_t port_ids_count, els_cb_t cb, void *cbarg);
75 extern ocs_io_t *ocs_send_ls_acc(ocs_io_t *io, uint32_t ox_id, els_cb_t cb, void *cbarg);
77 uint32_t vendor_unique, els_cb_t cb, void *cbarg);
78 extern ocs_io_t *ocs_send_flogi_p2p_acc(ocs_io_t *io, uint32_t ox_id, uint32_t s_id, els_cb_t cb, v…
79 extern ocs_io_t *ocs_send_flogi_acc(ocs_io_t *io, uint32_t ox_id, uint32_t is_fport, els_cb_t cb, v…
80 extern ocs_io_t *ocs_send_plogi_acc(ocs_io_t *io, uint32_t ox_id, els_cb_t cb, void *cbarg);
81 extern ocs_io_t *ocs_send_prli_acc(ocs_io_t *io, uint32_t ox_id, uint8_t fc_type, els_cb_t cb, void…
82 extern ocs_io_t *ocs_send_logo_acc(ocs_io_t *io, uint32_t ox_id, els_cb_t cb, void *cbarg);
83 extern ocs_io_t *ocs_send_prlo_acc(ocs_io_t *io, uint32_t ox_id, uint8_t fc_type, els_cb_t cb, void…
[all …]
/freebsd-14.2/contrib/unbound/util/
H A Dub_event.c104 if(cb == comm_point_udp_callback) in UB_EV_BITS_CB()
112 else if(cb == comm_timer_callback) in UB_EV_BITS_CB()
114 else if(cb == comm_signal_callback) in UB_EV_BITS_CB()
122 else if(cb == tube_handle_signal) in UB_EV_BITS_CB()
124 else if(cb == comm_base_handle_slow_accept) in UB_EV_BITS_CB()
291 void (*cb)(int, short, void*), void* arg) in ub_event_new()
315 void (*cb)(int, short, void*), void* arg) in ub_signal_new()
339 void (*cb)(int, short, void*), void* arg) in ub_winsock_register_wsaevent()
355 (void)cb; in ub_winsock_register_wsaevent()
452 (void)cb; /* nothing to do */ in ub_comm_base_now()
[all …]
H A Dub_event_pluggable.c105 if(cb == comm_point_udp_callback) in UB_EV_BITS_CB()
113 else if(cb == comm_timer_callback) in UB_EV_BITS_CB()
115 else if(cb == comm_signal_callback) in UB_EV_BITS_CB()
121 else if(cb == tube_handle_signal) in UB_EV_BITS_CB()
123 else if(cb == comm_base_handle_slow_accept) in UB_EV_BITS_CB()
277 void (*cb)(int, short, void*), void* arg) in my_event_new()
297 void (*cb)(int, short, void*), void* arg) in my_signal_new()
317 void (*cb)(int, short, void*), void* arg) in my_winsock_register_wsaevent()
327 &my_ev->ev, wsaevent, cb, arg)) { in my_winsock_register_wsaevent()
338 (void)cb; in my_winsock_register_wsaevent()
[all …]
/freebsd-14.2/sys/arm/broadcom/bcm2835/
H A Dbcm2835_dma.c134 struct bcm_dma_cb * cb; member
177 struct bcm_dma_cb *cb; in bcm_dma_reset() local
212 cb = sc->sc_dma_ch[ch].cb; in bcm_dma_reset()
213 bzero(cb, sizeof(*cb)); in bcm_dma_reset()
306 ch->cb = cb_virt; in bcm_dma_init()
394 struct bcm_dma_cb *cb; in bcm_dma_setup_intr() local
407 cb = sc->sc_dma_ch[ch].cb; in bcm_dma_setup_intr()
577 cb = sc->sc_dma_ch[ch].cb; in bcm_dma_start()
581 cb->len = len; in bcm_dma_start()
619 cb = sc->sc_dma_ch[ch].cb; in bcm_dma_length()
[all …]
/freebsd-14.2/crypto/openssl/crypto/bn/
H A Dbn_prime.c101 int BN_GENCB_call(BN_GENCB *cb, int a, int b) in BN_GENCB_call() argument
104 if (!cb) in BN_GENCB_call()
106 switch (cb->ver) { in BN_GENCB_call()
109 if (!cb->cb.cb_1) in BN_GENCB_call()
111 cb->cb.cb_1(a, b, cb->arg); in BN_GENCB_call()
115 return cb->cb.cb_2(a, b, cb); in BN_GENCB_call()
167 if (!BN_GENCB_call(cb, 0, c1++)) in BN_generate_prime_ex2()
198 if (!BN_GENCB_call(cb, 2, c1 - 1)) in BN_generate_prime_ex2()
231 BN_GENCB *cb) in BN_is_prime_ex() argument
303 if (!BN_GENCB_call(cb, 1, -1)) in bn_is_prime_int()
[all …]
H A Dbn_depr.c26 BN_GENCB cb; in BN_generate_prime() local
29 BN_GENCB_set_old(&cb, callback, cb_arg); in BN_generate_prime()
36 if (!BN_generate_prime_ex(rnd, bits, safe, add, rem, &cb)) in BN_generate_prime()
50 BN_GENCB cb; in BN_is_prime() local
51 BN_GENCB_set_old(&cb, callback, cb_arg); in BN_is_prime()
52 return ossl_bn_check_prime(a, checks, ctx_passed, 0, &cb); in BN_is_prime()
60 BN_GENCB cb; in BN_is_prime_fasttest() local
61 BN_GENCB_set_old(&cb, callback, cb_arg); in BN_is_prime_fasttest()
62 return ossl_bn_check_prime(a, checks, ctx_passed, do_trial_division, &cb); in BN_is_prime_fasttest()
/freebsd-14.2/usr.sbin/bluetooth/btpand/
H A Devent.h53 void (*cb)(int, short, void *); member
80 #define event_set(ev, fd, flags, cb, cbarg) \ argument
87 #define evtimer_set(ev, cb, cbarg) \ argument
88 _event_set(__FILE__, __LINE__, ev, -1, 0, cb, cbarg)
94 void (*cb)(int, short, void *), void *cbarg) in _event_set()
97 file, line, ev, fd, flags, cb, cbarg); in _event_set()
102 __event_set(ev, fd, flags, cb, cbarg); in _event_set()
135 #define event_set(ev, fd, flags, cb, cbarg) \ argument
136 __event_set(ev, fd, flags, cb, cbarg)
142 #define evtimer_set(ev, cb, cbarg) \ argument
[all …]
/freebsd-14.2/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c5239 cb, 0); in print_iostat()
5241 !cb->cb_scripted && cb->cb_verbose && in print_iostat()
6072 &cb); in zpool_do_iostat()
6676 if (!cb.cb_scripted && (first || cb.cb_verbose)) { in zpool_do_list()
7582 err = zpool_scan(zhp, cb->cb_type, cb->cb_scrub_cmd); in scrub_callback()
9247 cb.cb_literal, status_callback, &cb); in zpool_do_status()
9253 else if (cb.cb_explain && cb.cb_first && cb.cb_allpools) in zpool_do_status()
10589 memset(&cb.cb_columns, 0, sizeof (cb.cb_columns)); in zpool_do_get()
10708 cb.cb_literal, get_callback, &cb); in zpool_do_get()
10804 cb->cb_propname, cb->cb_value); in set_callback()
[all …]
/freebsd-14.2/sys/opencrypto/
H A Dcriov.c305 cc->cc_type = cb->cb_type; in crypto_cursor_init()
308 cc->cc_buf = cb->cb_buf; in crypto_cursor_init()
313 cc->cc_mbuf = cb->cb_mbuf; in crypto_cursor_init()
678 struct crypto_buffer *cb; in crypto_copyback() local
681 cb = &crp->crp_obuf; in crypto_copyback()
683 cb = &crp->crp_buf; in crypto_copyback()
684 switch (cb->cb_type) { in crypto_copyback()
693 cb->cb_vm_page_len + cb->cb_vm_page_offset); in crypto_copyback()
752 switch (cb->cb_type) { in crypto_apply_buf()
831 switch (cb->cb_type) { in crypto_buffer_contiguous_subsegment()
[all …]
/freebsd-14.2/lib/libc/iconv/
H A Dcitrus_prop.h74 } cb; member
77 #define _CITRUS_PROP_HINT_BOOL(name, cb) \ argument
78 { name, _CITRUS_PROP_BOOL, { .boolean = { cb } } }
79 #define _CITRUS_PROP_HINT_STR(name, cb) \ argument
80 { name, _CITRUS_PROP_STR, { .str = { cb } } }
81 #define _CITRUS_PROP_HINT_CHR(name, cb) \ argument
82 { name, _CITRUS_PROP_CHR, { .chr = { cb } } }
83 #define _CITRUS_PROP_HINT_NUM(name, cb) \ argument
84 { name, _CITRUS_PROP_NUM, { .num = { cb } } }

12345678910>>...41