/freebsd/contrib/ofed/librdmacm/examples/ |
H A D | rping.c | 164 struct rping_cb *cb = cma_id->context; in rping_cma_event_handler() local 168 (cma_id == cb->cm_id) ? "parent" : "child"); in rping_cma_event_handler() 172 cb->state = ADDR_RESOLVED; in rping_cma_event_handler() 175 cb->state = ERROR; in rping_cma_event_handler() 177 sem_post(&cb->sem); in rping_cma_event_handler() 182 cb->state = ROUTE_RESOLVED; in rping_cma_event_handler() 183 sem_post(&cb->sem); in rping_cma_event_handler() 187 cb->state = CONNECT_REQUEST; in rping_cma_event_handler() 188 cb->child_cm_id = cma_id; in rping_cma_event_handler() 189 DEBUG_LOG("child cma %p\n", cb->child_cm_id); in rping_cma_event_handler() [all …]
|
/freebsd/sys/contrib/rdma/krping/ |
H A D | krping.c | 249 struct krping_cb *cb = cma_id->context; in krping_cma_event_handler() local 252 (cma_id == cb->cm_id) ? "parent" : "child"); in krping_cma_event_handler() 256 cb->state = ADDR_RESOLVED; in krping_cma_event_handler() 261 wake_up_interruptible(&cb->sem); in krping_cma_event_handler() 266 cb->state = ROUTE_RESOLVED; in krping_cma_event_handler() 267 wake_up_interruptible(&cb->sem); in krping_cma_event_handler() 271 cb->state = CONNECT_REQUEST; in krping_cma_event_handler() 272 cb->child_cm_id = cma_id; in krping_cma_event_handler() 273 DEBUG_LOG("child cma %p\n", cb->child_cm_id); in krping_cma_event_handler() 274 wake_up_interruptible(&cb->sem); in krping_cma_event_handler() [all …]
|
/freebsd/crypto/openssl/crypto/bio/ |
H A D | ossl_core_bio.c | 26 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() 29 OPENSSL_free(cb); in core_bio_new() 32 cb->ref_cnt = 1; in core_bio_new() 33 return cb; in core_bio_new() 36 int ossl_core_bio_up_ref(OSSL_CORE_BIO *cb) in ossl_core_bio_up_ref() argument 40 return CRYPTO_UP_REF(&cb->ref_cnt, &ref, cb->ref_lock); in ossl_core_bio_up_ref() 43 int ossl_core_bio_free(OSSL_CORE_BIO *cb) in ossl_core_bio_free() argument 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() [all …]
|
/freebsd/sys/netlink/ |
H A D | netlink_snl_route_parsers.h | 61 { .type = NL_RTAX_MTU, .off = _OUT(rtax_mtu), .cb = snl_attr_get_uint32 }, 66 { .type = NL_RTA_GATEWAY, .off = _OUT(gw), .cb = snl_attr_get_ip }, 67 { .type = NL_RTA_METRICS, .arg = &_metrics_mp_nh_parser, .cb = snl_attr_get_nested }, 68 { .type = NL_RTA_RTFLAGS, .off = _OUT(rta_rtflags), .cb = snl_attr_get_uint32 }, 69 { .type = NL_RTA_VIA, .off = _OUT(gw), .cb = snl_attr_get_ipvia }, 73 { .off_in = _IN(rtnh_flags), .off_out = _OUT(rtnh_flags), .cb = snl_field_get_uint8 }, 74 { .off_in = _IN(rtnh_hops), .off_out = _OUT(rtnh_weight), .cb = snl_field_get_uint8 }, 75 { .off_in = _IN(rtnh_ifindex), .off_out = _OUT(ifindex), .cb = snl_field_get_uint32 }, 132 { .type = NL_RTAX_MTU, .off = _OUT(rtax_mtu), .cb = snl_attr_get_uint32 }, 137 { .type = NL_RTA_DST, .off = _OUT(rta_dst), .cb = snl_attr_get_ip }, [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zfs/ |
H A D | zfs_iter.c | 76 zfs_include_snapshots(zfs_handle_t *zhp, callback_data_t *cb) in zfs_include_snapshots() argument 80 if ((cb->cb_flags & ZFS_ITER_PROP_LISTSNAPS) == 0) in zfs_include_snapshots() 81 return (cb->cb_types & ZFS_TYPE_SNAPSHOT); in zfs_include_snapshots() 94 callback_data_t *cb = data; in zfs_callback() local 96 boolean_t include_snaps = zfs_include_snapshots(zhp, cb); in zfs_callback() 97 boolean_t include_bmarks = (cb->cb_types & ZFS_TYPE_BOOKMARK); in zfs_callback() 99 if ((zfs_get_type(zhp) & cb->cb_types) || in zfs_callback() 106 if (uu_avl_find(cb->cb_avl, node, cb->cb_sortcol, in zfs_callback() 108 if (cb->cb_proplist) { in zfs_callback() 109 if ((*cb->cb_proplist) && in zfs_callback() [all …]
|
H A D | zfs_main.c | 499 usage_prop_cb(int prop, void *cb) in usage_prop_cb() argument 501 FILE *fp = cb; in usage_prop_cb() 1419 destroy_batched(destroy_cbdata_t *cb) in destroy_batched() argument 1422 cb->cb_batchedsnaps, B_FALSE); in destroy_batched() 1423 fnvlist_free(cb->cb_batchedsnaps); in destroy_batched() 1424 cb->cb_batchedsnaps = fnvlist_alloc(); in destroy_batched() 1431 destroy_cbdata_t *cb = data; in destroy_callback() local 1435 if (cb->cb_verbose) { in destroy_callback() 1436 if (cb->cb_parsable) { in destroy_callback() 1438 } else if (cb->cb_dryrun) { in destroy_callback() [all …]
|
/freebsd/sys/dev/usb/video/ |
H A D | udl.c | 367 struct udl_cmd_buf *cb = &sc->sc_cmd_buf_temp[i]; in udl_attach() local 369 TAILQ_INSERT_TAIL(&sc->sc_cmd_buf_free, cb, entry); in udl_attach() 508 struct udl_cmd_buf *cb; in udl_cmd_buf_alloc_locked() local 510 while ((cb = TAILQ_FIRST(&sc->sc_cmd_buf_free)) == NULL) { in udl_cmd_buf_alloc_locked() 515 if (cb != NULL) { in udl_cmd_buf_alloc_locked() 516 TAILQ_REMOVE(&sc->sc_cmd_buf_free, cb, entry); in udl_cmd_buf_alloc_locked() 517 cb->off = 0; in udl_cmd_buf_alloc_locked() 519 return (cb); in udl_cmd_buf_alloc_locked() 525 struct udl_cmd_buf *cb; in udl_cmd_buf_alloc() local 528 cb = udl_cmd_buf_alloc_locked(sc, flags); in udl_cmd_buf_alloc() [all …]
|
/freebsd/contrib/netbsd-tests/ipf/expected/ |
H A D | ni5 | 1 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 8 4500 006f ffde 4000 ef06 5330 96cb e002 c0a8 0103 0015 8032 3786 76c5 bd6b c9c9 5018 269c 967e 0000… 10 4500 0028 0002 4000 ff06 02fe 0101 0101 96cb e002 8032 0015 bd6b c9c9 3786 770c 5010 269c 5a59 0000 12 4500 00c7 ffdf 4000 ef06 52d7 96cb e002 c0a8 0103 0015 8032 3786 770c bd6b c9c9 5018 269c 1087 0000… 14 4500 0028 0003 4000 ff06 02fd 0101 0101 96cb e002 8032 0015 bd6b c9c9 3786 77ab 5010 269c 59ba 0000 16 4500 0038 0004 4000 ff06 02ec 0101 0101 96cb e002 8032 0015 bd6b c9c9 3786 77ab 5018 269c d1c5 0000… 18 4500 0028 ffe0 4000 ef06 5375 96cb e002 c0a8 0103 0015 8032 3786 77ab bd6b c9d9 5010 269c 9a00 0000 20 4500 006c ffe1 4000 ef06 5330 96cb e002 c0a8 0103 0015 8032 3786 77ab bd6b c9d9 5018 269c b00f 0000… [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_deadlock_detector2.cpp | 92 void MutexInit(DDCallback *cb, DDMutex *m); 93 void MutexBeforeLock(DDCallback *cb, DDMutex *m, bool wlock); 94 void MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, 96 void MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock); 97 void MutexDestroy(DDCallback *cb, DDMutex *m); 99 DDReport *GetReport(DDCallback *cb); 103 u32 allocateId(DDCallback *cb); 148 void DD::MutexInit(DDCallback *cb, DDMutex *m) { in MutexInit() argument 149 VPrintf(2, "#%llu: DD::MutexInit(%p)\n", cb->lt->ctx, m); in MutexInit() 168 u32 DD::allocateId(DDCallback *cb) { in allocateId() argument [all …]
|
H A D | sanitizer_deadlock_detector1.cpp | 48 void MutexInit(DDCallback *cb, DDMutex *m) override; 49 void MutexBeforeLock(DDCallback *cb, DDMutex *m, bool wlock) override; 50 void MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, 52 void MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock) override; 53 void MutexDestroy(DDCallback *cb, DDMutex *m) override; 55 DDReport *GetReport(DDCallback *cb) override; 58 void ReportDeadlock(DDCallback *cb, DDMutex *m); 92 void DD::MutexInit(DDCallback *cb, DDMutex *m) { in MutexInit() argument 94 m->stk = cb->Unwind(); in MutexInit() 103 void DD::MutexBeforeLock(DDCallback *cb, in MutexBeforeLock() argument [all …]
|
/freebsd/sys/dev/nvmf/ |
H A D | nvmf_tcp.c | 179 struct nvmf_tcp_command_buffer *cb; in tcp_alloc_command_buffer() local 181 cb = malloc(sizeof(*cb), M_NVMF_TCP, M_WAITOK); in tcp_alloc_command_buffer() 182 cb->qp = qp; in tcp_alloc_command_buffer() 183 cb->io = *io; in tcp_alloc_command_buffer() 184 cb->data_offset = data_offset; in tcp_alloc_command_buffer() 185 cb->data_len = data_len; in tcp_alloc_command_buffer() 186 cb->data_xfered = 0; in tcp_alloc_command_buffer() 187 refcount_init(&cb->refs, 1); in tcp_alloc_command_buffer() 188 cb->error = 0; in tcp_alloc_command_buffer() 189 cb->cid = cid; in tcp_alloc_command_buffer() [all …]
|
/freebsd/contrib/netbsd-tests/ipf/input/ |
H A D | ni5 | 4 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/sys/contrib/openzfs/cmd/zpool/ |
H A D | zpool_main.c | 593 print_pool_prop_cb(int prop, void *cb) in print_pool_prop_cb() argument 595 FILE *fp = cb; in print_pool_prop_cb() 616 print_vdev_prop_cb(int prop, void *cb) in print_vdev_prop_cb() argument 618 FILE *fp = cb; in print_vdev_prop_cb() 2416 export_cbdata_t *cb = data; in zpool_export_one() local 2422 if (cb->tpool != NULL) in zpool_export_one() 2423 pthread_mutex_lock(&cb->mnttab_lock); in zpool_export_one() 2425 int retval = zpool_disable_datasets(zhp, cb->force); in zpool_export_one() 2427 if (cb->tpool != NULL) in zpool_export_one() 2428 pthread_mutex_unlock(&cb->mnttab_lock); in zpool_export_one() [all …]
|
/freebsd/crypto/openssl/crypto/pem/ |
H A D | pem_pk8.c | 24 pem_password_cb *cb, void *u, 31 pem_password_cb *cb, void *u, 43 pem_password_cb *cb, void *u) in PEM_write_bio_PKCS8PrivateKey_nid() argument 45 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u, NULL); in PEM_write_bio_PKCS8PrivateKey_nid() 50 pem_password_cb *cb, void *u) in PEM_write_bio_PKCS8PrivateKey() argument 52 return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u, NULL); in PEM_write_bio_PKCS8PrivateKey() 57 pem_password_cb *cb, void *u) in i2d_PKCS8PrivateKey_bio() argument 59 return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u, NULL); in i2d_PKCS8PrivateKey_bio() 64 pem_password_cb *cb, void *u) in i2d_PKCS8PrivateKey_nid_bio() argument 66 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, u, NULL); in i2d_PKCS8PrivateKey_nid_bio() [all …]
|
H A D | pem_pkey.c | 34 pem_password_cb *cb, void *u, in pem_read_bio_key_decoder() argument 53 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() 100 pem_password_cb *cb, void *u, in pem_read_bio_key_legacy() argument 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() 215 pem_password_cb *cb, void *u, in pem_read_bio_key() argument [all …]
|
/freebsd/crypto/openssl/crypto/ |
H A D | self_test_core.c | 17 OSSL_CALLBACK *cb; member 27 OSSL_CALLBACK *cb; member 60 void OSSL_SELF_TEST_set_callback(OSSL_LIB_CTX *libctx, OSSL_CALLBACK *cb, in OSSL_SELF_TEST_set_callback() argument 66 stcb->cb = cb; in OSSL_SELF_TEST_set_callback() 71 void OSSL_SELF_TEST_get_callback(OSSL_LIB_CTX *libctx, OSSL_CALLBACK **cb, in OSSL_SELF_TEST_get_callback() argument 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() 101 OSSL_SELF_TEST *OSSL_SELF_TEST_new(OSSL_CALLBACK *cb, void *cbarg) in OSSL_SELF_TEST_new() argument 108 ret->cb = cb; in OSSL_SELF_TEST_new() [all …]
|
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_els.h | 57 …ocs_send_plogi(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb, void *cbarg); 58 …ocs_send_flogi(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb, void *cbarg); 59 …ocs_send_fdisc(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb, void *cbarg); 60 …*ocs_send_prli(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb, void *cbarg); 61 …*ocs_send_prlo(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb, void *cbarg); 62 …*ocs_send_logo(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb, void *cbarg); 63 …ocs_send_adisc(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb, void *cbarg); 64 …ocs_send_pdisc(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb, void *cbarg); 65 extern ocs_io_t *ocs_send_scr(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb… 66 extern ocs_io_t *ocs_send_rrq(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb… [all …]
|
/freebsd/contrib/unbound/util/ |
H A D | ub_event.c | 102 static void (*NATIVE_BITS_CB(void (*cb)(int, short, void*)))(int, short, void*) in UB_EV_BITS_CB() 104 if(cb == comm_point_udp_callback) in UB_EV_BITS_CB() 106 else if(cb == comm_point_udp_ancil_callback) in UB_EV_BITS_CB() 108 else if(cb == comm_point_tcp_accept_callback) in UB_EV_BITS_CB() 110 else if(cb == comm_point_tcp_handle_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() 116 else if(cb == comm_point_local_handle_callback) in UB_EV_BITS_CB() 118 else if(cb == comm_point_raw_handle_callback) in UB_EV_BITS_CB() 120 else if(cb == comm_point_http_handle_callback) in UB_EV_BITS_CB() [all …]
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_dma.c | 125 static void bcm_dma_cb_dump(struct bcm_dma_cb *cb); 133 struct bcm_dma_cb * cb; member 176 struct bcm_dma_cb *cb; in bcm_dma_reset() local 211 cb = sc->sc_dma_ch[ch].cb; in bcm_dma_reset() 212 bzero(cb, sizeof(*cb)); in bcm_dma_reset() 213 cb->info = INFO_WAIT_RESP; in bcm_dma_reset() 305 ch->cb = cb_virt; in bcm_dma_init() 308 ch->cb->info = INFO_WAIT_RESP; in bcm_dma_init() 393 struct bcm_dma_cb *cb; in bcm_dma_setup_intr() local 406 cb = sc->sc_dma_ch[ch].cb; in bcm_dma_setup_intr() [all …]
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_prime.c | 28 int do_trial_division, BN_GENCB *cb); 101 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() 124 const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb, in BN_generate_prime_ex2() argument 167 if (!BN_GENCB_call(cb, 0, c1++)) in BN_generate_prime_ex2() 172 i = bn_is_prime_int(ret, checks, ctx, 0, cb); in BN_generate_prime_ex2() [all …]
|
H A D | bn_depr.c | 26 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/sys/netpfil/pf/ |
H A D | pf_nl.c | 68 { .type = PF_ST_ID, .off = _OUT(id), .cb = nlattr_get_uint32 }, 69 { .type = PF_ST_CREATORID, .off = _OUT(creatorid), .cb = nlattr_get_uint32 }, 70 …{ .type = PF_ST_IFNAME, .arg = (const void *)IFNAMSIZ, .off = _OUT(ifname), .cb = nlattr_get_chara… 71 { .type = PF_ST_AF, .off = _OUT(af), .cb = nlattr_get_uint8 }, 72 { .type = PF_ST_PROTO, .off = _OUT(proto), .cb = nlattr_get_uint16 }, 73 { .type = PF_ST_FILTER_ADDR, .off = _OUT(addr), .cb = nlattr_get_in6_addr }, 74 { .type = PF_ST_FILTER_MASK, .off = _OUT(mask), .cb = nlattr_get_in6_addr }, 77 { .off_in = _IN(version), .off_out = _OUT(version), .cb = nlf_get_u8 }, 418 { .type = PF_AT_ADDR, .off = _OUT(v.a.addr), .cb = nlattr_get_in6_addr }, 419 { .type = PF_AT_MASK, .off = _OUT(v.a.mask), .cb = nlattr_get_in6_addr }, [all …]
|
/freebsd/lib/libpfctl/ |
H A D | libpfctl.c | 297 { .type = PF_C_COUNTER, .off = _OUT(counter), .cb = snl_attr_get_uint64 }, 298 { .type = PF_C_NAME, .off = _OUT(name), .cb = snl_attr_get_string }, 299 { .type = PF_C_ID, .off = _OUT(id), .cb = snl_attr_get_uint32 }, 355 { .cb = snl_attr_get_uint64_element }, 378 { .type = PF_GS_IFNAME, .off = _OUT(ifname), .arg_u32 = IFNAMSIZ, .cb = snl_attr_copy_string }, 379 { .type = PF_GS_RUNNING, .off = _OUT(running), .cb = snl_attr_get_bool }, 380 { .type = PF_GS_SINCE, .off = _OUT(since), .cb = snl_attr_get_uint32 }, 381 { .type = PF_GS_DEBUG, .off = _OUT(debug), .cb = snl_attr_get_uint32 }, 382 { .type = PF_GS_HOSTID, .off = _OUT(hostid), .cb = snl_attr_get_uint32 }, 383 { .type = PF_GS_STATES, .off = _OUT(states), .cb = snl_attr_get_uint32 }, [all …]
|
/freebsd/usr.sbin/bluetooth/btpand/ |
H A D | event.h | 53 void (*cb)(int, short, void *); member 80 #define event_set(ev, fd, flags, cb, cbarg) \ argument 81 _event_set(__FILE__, __LINE__, ev, fd, flags, cb, cbarg) 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() 109 "timeout=%p", file, line, ev, ev->fd, ev->flags, ev->cb, in _event_add() 122 file, line, ev, ev->fd, ev->flags, ev->cb, ev->cbarg); in _event_del() [all …]
|
/freebsd/sys/opencrypto/ |
H A D | criov.c | 301 const struct crypto_buffer *cb) in crypto_cursor_init() argument 304 cc->cc_type = cb->cb_type; in crypto_cursor_init() 307 cc->cc_buf = cb->cb_buf; in crypto_cursor_init() 308 cc->cc_buf_len = cb->cb_buf_len; in crypto_cursor_init() 312 cc->cc_mbuf = cb->cb_mbuf; in crypto_cursor_init() 315 cc->cc_vmpage = cb->cb_vm_page; in crypto_cursor_init() 316 cc->cc_buf_len = cb->cb_vm_page_len; in crypto_cursor_init() 317 cc->cc_offset = cb->cb_vm_page_offset; in crypto_cursor_init() 320 cc->cc_iov = cb->cb_uio->uio_iov; in crypto_cursor_init() 321 cc->cc_buf_len = cb->cb_uio->uio_resid; in crypto_cursor_init() [all …]
|