/freebsd-10.0-release/sys/contrib/rdma/krping/ |
H A D | krping.c | 60 #define DEBUG_LOG(cb, x...) if (krping_debug) krping_printf((cb)->cookie, x) 61 #define PRINTF(cb, x...) krping_printf((cb)->cookie, x) 248 struct krping_cb *cb = cma_id->context; local 250 DEBUG_LOG(cb, "cma_event type %d cma_id %p (%s)\n", event->event, 251 cma_id, (cma_id == cb->cm_id) ? "parent" : "child"); 255 cb->state = ADDR_RESOLVED; 258 PRINTF(cb, "rdma_resolve_route error %d\n", ret); 259 wake_up_interruptible(&cb 312 server_recv(struct krping_cb *cb, struct ib_wc *wc) argument 335 client_recv(struct krping_cb *cb, struct ib_wc *wc) argument 353 struct krping_cb *cb = ctx; local 445 krping_accept(struct krping_cb *cb) argument 473 krping_setup_wr(struct krping_cb *cb) argument 536 krping_setup_buffers(struct krping_cb *cb) argument 724 krping_free_buffers(struct krping_cb *cb) argument 761 krping_create_qp(struct krping_cb *cb) argument 789 krping_free_qp(struct krping_cb *cb) argument 796 krping_setup_qp(struct krping_cb *cb, struct rdma_cm_id *cm_id) argument 845 krping_rdma_rkey(struct krping_cb *cb, u64 buf, int post_inv) argument 935 krping_format_send(struct krping_cb *cb, u64 buf) argument 955 krping_test_server(struct krping_cb *cb) argument 1093 rlat_test(struct krping_cb *cb) argument 1172 wlat_test(struct krping_cb *cb) argument 1316 bw_test(struct krping_cb *cb) argument 1442 krping_rlat_test_server(struct krping_cb *cb) argument 1475 krping_wlat_test_server(struct krping_cb *cb) argument 1509 krping_bw_test_server(struct krping_cb *cb) argument 1544 fastreg_supported(struct krping_cb *cb) argument 1565 krping_bind_server(struct krping_cb *cb) argument 1603 krping_run_server(struct krping_cb *cb) argument 1653 krping_test_client(struct krping_cb *cb) argument 1727 krping_rlat_test_client(struct krping_cb *cb) argument 1817 krping_wlat_test_client(struct krping_cb *cb) argument 1856 krping_bw_test_client(struct krping_cb *cb) argument 1895 krping_fr_test(struct krping_cb *cb) argument 2010 krping_connect_client(struct krping_cb *cb) argument 2036 krping_bind_client(struct krping_cb *cb) argument 2069 krping_run_client(struct krping_cb *cb) argument 2121 struct krping_cb *cb; local 2318 struct krping_cb *cb; local [all...] |
/freebsd-10.0-release/contrib/ofed/librdmacm/examples/ |
H A D | rping.c | 165 struct rping_cb *cb = cma_id->context; local 169 (cma_id == cb->cm_id) ? "parent" : "child"); 173 cb->state = ADDR_RESOLVED; 176 cb->state = ERROR; 178 sem_post(&cb->sem); 183 cb->state = ROUTE_RESOLVED; 184 sem_post(&cb->sem); 188 cb->state = CONNECT_REQUEST; 189 cb->child_cm_id = cma_id; 190 DEBUG_LOG("child cma %p\n", cb 237 server_recv(struct rping_cb *cb, struct ibv_wc *wc) argument 258 client_recv(struct rping_cb *cb, struct ibv_wc *wc) argument 273 rping_cq_event_handler(struct rping_cb *cb) argument 342 rping_accept(struct rping_cb *cb) argument 367 rping_setup_wr(struct rping_cb *cb) argument 391 rping_setup_buffers(struct rping_cb *cb) argument 464 rping_free_buffers(struct rping_cb *cb) argument 477 rping_create_qp(struct rping_cb *cb) argument 504 rping_free_qp(struct rping_cb *cb) argument 512 rping_setup_qp(struct rping_cb *cb, struct rdma_cm_id *cm_id) argument 566 struct rping_cb *cb = arg; local 585 struct rping_cb *cb = arg; local 616 rping_format_send(struct rping_cb *cb, char *buf, struct ibv_mr *mr) argument 628 rping_test_server(struct rping_cb *cb) argument 728 rping_bind_server(struct rping_cb *cb) argument 756 struct rping_cb *cb = malloc(sizeof *cb); local 764 free_cb(struct rping_cb *cb) argument 771 struct rping_cb *cb = arg; local 825 struct rping_cb *cb; local 847 rping_run_server(struct rping_cb *cb) argument 900 rping_test_client(struct rping_cb *cb) argument 969 rping_connect_client(struct rping_cb *cb) argument 995 rping_bind_client(struct rping_cb *cb) argument 1021 rping_run_client(struct rping_cb *cb) argument 1108 struct rping_cb *cb; local [all...] |
/freebsd-10.0-release/sys/netipx/ |
H A D | spx_reass.c | 102 spx_reass_flush(struct spxpcb *cb) argument 106 while ((q = LIST_FIRST(&cb->s_q)) != NULL) { 117 spx_reass_init(struct spxpcb *cb) argument 120 LIST_INIT(&cb->s_q); 129 spx_reass(struct spxpcb *cb, struct mbuf *msi, struct spx *si) argument 133 struct socket *so = cb->s_ipxpcb->ipxp_socket; 134 char packetp = cb->s_flags & SF_HI; 138 IPX_LOCK_ASSERT(cb->s_ipxpcb); 147 cb->s_flags |= (spx_use_delack ? SF_DELACK : SF_ACKNOW); 148 if (SSEQ_GT(si->si_alo, cb [all...] |
H A D | spx_usrreq.c | 111 static void spx_close(struct spxpcb *cb); 112 static void spx_disconnect(struct spxpcb *cb); 113 static void spx_drop(struct spxpcb *cb, int errno); 114 static void spx_setpersist(struct spxpcb *cb); 115 static void spx_template(struct spxpcb *cb); 116 static void spx_timers(struct spxpcb *cb, int timer); 117 static void spx_usrclosed(struct spxpcb *cb); 187 struct spxpcb *cb; local 206 cb = ipxtospxpcb(ipxp); 207 KASSERT(cb ! 435 spx_output(struct spxpcb *cb, struct mbuf *m0) argument 853 spx_setpersist(struct spxpcb *cb) argument 877 struct spxpcb *cb; local 1034 struct spxpcb *cb; local 1077 struct spxpcb *cb; local 1139 struct spxpcb *cb; local 1177 struct spxpcb *cb; local 1204 struct spxpcb *cb; local 1253 struct spxpcb *cb; local 1280 struct spxpcb *cb; local 1308 struct spxpcb *cb; local 1345 struct spxpcb *cb; local 1372 struct spxpcb *cb; local 1407 struct spxpcb *cb; local 1454 struct spxpcb *cb; local 1482 struct spxpcb *cb; local 1510 spx_template(struct spxpcb *cb) argument 1544 spx_close(struct spxpcb *cb) argument 1564 spx_usrclosed(struct spxpcb *cb) argument 1577 spx_disconnect(struct spxpcb *cb) argument 1591 spx_drop(struct spxpcb *cb, int errno) argument 1619 struct spxpcb *cb; local 1649 struct spxpcb *cb; local 1691 spx_timers(struct spxpcb *cb, int timer) argument [all...] |
/freebsd-10.0-release/sys/i386/isa/ |
H A D | ccbque.h | 75 register struct CCBTYPE *cb; \ 81 cb = TAILQ_FIRST(&(CCBTYPE##que.CCBTYPE##tab)); \ 82 if (cb != NULL) \ 84 TAILQ_REMOVE(&CCBTYPE##que.CCBTYPE##tab, cb, CHAIN);\ 89 cb = malloc(sizeof(*cb), M_DEVBUF, M_NOWAIT); \ 90 if (cb != NULL) \ 92 bzero(cb, sizeof(*cb)); \ 99 cb [all...] |
/freebsd-10.0-release/contrib/ntp/libntp/ |
H A D | statestr.c | 197 char *cb; local 200 LIB_GETBUF(cb); 204 (void)strcpy(cb, getcode(CTL_SYS_LI(st), leap_codes)); 205 (void)strcat(cb, ", "); 206 (void)strcat(cb, getcode(CTL_SYS_SOURCE(st) & ~CTL_SST_TS_PPS, sync_codes)); 208 (void)strcat(cb, "/PPS"); 209 (void)strcat(cb, ", "); 210 (void)strcat(cb, getevents(CTL_SYS_NEVNT(st))); 211 (void)strcat(cb, ", "); 212 (void)strcat(cb, getcod [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/dh/ |
H A D | dh_depr.c | 70 BN_GENCB cb; local 76 BN_GENCB_set_old(&cb, callback, cb_arg); 78 if(DH_generate_parameters_ex(ret, prime_len, generator, &cb))
|
/freebsd-10.0-release/sys/dev/wtap/wtap_hal/ |
H A D | handler.h | 38 struct callout cb; member in struct:timehandler
|
/freebsd-10.0-release/crypto/openssl/crypto/bn/ |
H A D | bn_depr.c | 72 BN_GENCB cb; local 76 BN_GENCB_set_old(&cb, callback, cb_arg); 84 if(!BN_generate_prime_ex(rnd, bits, safe, add, rem, &cb)) 97 BN_GENCB cb; local 98 BN_GENCB_set_old(&cb, callback, cb_arg); 99 return BN_is_prime_ex(a, checks, ctx_passed, &cb); 107 BN_GENCB cb; local 108 BN_GENCB_set_old(&cb, callback, cb_arg); 110 do_trial_division, &cb);
|
H A D | bn_x931p.c | 70 BN_GENCB *cb) 80 BN_GENCB_call(cb, 0, i); 82 if (BN_is_prime_fasttest_ex(pi, 27, ctx, 1, cb)) 87 BN_GENCB_call(cb, 2, i); 98 const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb) 121 if (!bn_x931_derive_pi(p1, Xp1, ctx, cb)) 124 if (!bn_x931_derive_pi(p2, Xp2, ctx, cb)) 163 BN_GENCB_call(cb, 0, i++); 175 && BN_is_prime_fasttest_ex(p, 50, ctx, 1, cb)) 181 BN_GENCB_call(cb, 69 bn_x931_derive_pi(BIGNUM *pi, const BIGNUM *Xpi, BN_CTX *ctx, BN_GENCB *cb) argument 96 BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, const BIGNUM *Xp, const BIGNUM *Xp1, const BIGNUM *Xp2, const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb) argument 243 BN_X931_generate_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, BIGNUM *Xp1, BIGNUM *Xp2, const BIGNUM *Xp, const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb) argument [all...] |
/freebsd-10.0-release/lib/libc/iconv/ |
H A D | citrus_prop.h | 73 } cb; member in struct:_citrus_prop_hint_t 76 #define _CITRUS_PROP_HINT_BOOL(name, cb) \ 77 { name, _CITRUS_PROP_BOOL, { .boolean = { cb } } } 78 #define _CITRUS_PROP_HINT_STR(name, cb) \ 79 { name, _CITRUS_PROP_STR, { .str = { cb } } } 80 #define _CITRUS_PROP_HINT_CHR(name, cb) \ 81 { name, _CITRUS_PROP_CHR, { .chr = { cb } } } 82 #define _CITRUS_PROP_HINT_NUM(name, cb) \ 83 { name, _CITRUS_PROP_NUM, { .num = { cb } } }
|
/freebsd-10.0-release/contrib/apr/strings/ |
H A D | apr_strnatcmp.c | 91 char ca, cb; local 95 ca = a[ai]; cb = b[bi]; 101 while (apr_isspace(cb)) 102 cb = b[++bi]; 105 if (apr_isdigit(ca) && apr_isdigit(cb)) { 106 fractional = (ca == '0' || cb == '0'); 117 if (!ca && !cb) { 125 cb = apr_toupper(cb); 128 if (ca < cb) [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/pem/ |
H A D | pem_pk8.c | 72 pem_password_cb *cb, void *u); 76 pem_password_cb *cb, void *u); 86 pem_password_cb *cb, void *u) 88 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u); 93 pem_password_cb *cb, void *u) 95 return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u); 100 pem_password_cb *cb, void *u) 102 return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u); 107 pem_password_cb *cb, void *u) 109 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, 84 PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 91 PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 98 i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 105 i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 112 do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 152 d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u) argument 183 i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 190 i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 197 PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 204 PEM_write_PKCS8PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 210 do_pk8pkey_fp(FILE *fp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 225 d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u) argument [all...] |
H A D | pem_all.c | 176 RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb, argument 180 pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u); 186 RSA *PEM_read_RSAPrivateKey(FILE *fp, RSA **rsa, pem_password_cb *cb, argument 190 pktmp = PEM_read_PrivateKey(fp, NULL, cb, u); 200 pem_password_cb *cb, void *u) 211 ret = PEM_write_bio_PrivateKey(bp, k, enc, kstr, klen, cb, u); 217 PEM_STRING_RSA,bp,x,enc,kstr,klen,cb,u); 223 pem_password_cb *cb, void *u) 235 ret = PEM_write_PrivateKey(fp, k, enc, kstr, klen, cb, u); 241 PEM_STRING_RSA,fp,x,enc,kstr,klen,cb, 198 PEM_write_bio_RSAPrivateKey(BIO *bp, RSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument 221 PEM_write_RSAPrivateKey(FILE *fp, RSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument 272 PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb, void *u) argument 282 PEM_write_bio_DSAPrivateKey(BIO *bp, DSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument 305 PEM_write_DSAPrivateKey(FILE *fp, DSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument 368 PEM_read_bio_ECPrivateKey(BIO *bp, EC_KEY **key, pem_password_cb *cb, void *u) argument 406 PEM_write_ECPrivateKey(FILE *fp, EC_KEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument [all...] |
/freebsd-10.0-release/sys/cam/scsi/ |
H A D | scsi_low.c | 217 scsi_low_activate_qtag(cb) 218 struct slccb *cb; 220 struct lun_info *li = cb->li; 222 if (cb->ccb_tag != SCSI_LOW_UNKTAG) 226 cb->ccb_tag = cb->ccb_otag; 230 scsi_low_deactivate_qtag(cb) 231 struct slccb *cb; 233 struct lun_info *li = cb->li; 235 if (cb 319 struct slccb *cb; local 432 struct slccb *cb; local 1293 struct slccb *cb = NULL; /* XXX */ local 1623 struct slccb *cb; local 1772 struct slccb *cb; local 2307 struct slccb *cb, *topcb; local 2397 struct slccb *cb; local 2458 struct slccb *cb; local 2532 struct slccb *cb = slp->sl_Qnexus; local 2571 struct slccb *cb = slp->sl_Qnexus; local 2756 struct slccb *cb = slp->sl_Qnexus; local 2819 struct slccb *cb = slp->sl_Qnexus; local 3082 struct slccb *ncb, *cb; local 3176 struct slccb *cb = slp->sl_Qnexus; local 3256 struct slccb *cb = slp->sl_Qnexus; local 3307 struct slccb *cb = slp->sl_Qnexus; local 3354 struct slccb *cb = slp->sl_Qnexus; local 3375 struct slccb *cb = slp->sl_Qnexus; local 3631 struct slccb *cb = slp->sl_Qnexus; local 3852 struct slccb *cb, *ncb, *ecb; local 4038 struct slccb *cb; local 4211 struct slccb *cb; local [all...] |
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/zfs/ |
H A D | zfs_iter.c | 74 zfs_include_snapshots(zfs_handle_t *zhp, callback_data_t *cb) argument 78 if ((cb->cb_flags & ZFS_ITER_PROP_LISTSNAPS) == 0) 79 return (cb->cb_types & ZFS_TYPE_SNAPSHOT); 92 callback_data_t *cb = data; local 94 int include_snaps = zfs_include_snapshots(zhp, cb); 96 if ((zfs_get_type(zhp) & cb->cb_types) || 103 if (uu_avl_find(cb->cb_avl, node, cb->cb_sortcol, 105 if (cb->cb_proplist) { 106 if ((*cb 371 callback_data_t cb = {0}; local [all...] |
/freebsd-10.0-release/crypto/openssh/ |
H A D | atomicio.h | 37 int (*cb)(void *, size_t), void *); 47 const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *);
|
/freebsd-10.0-release/crypto/openssl/crypto/dsa/ |
H A D | dsa_locl.h | 60 int *counter_ret, unsigned long *h_ret, BN_GENCB *cb);
|
H A D | dsa_depr.c | 92 BN_GENCB cb; local 97 BN_GENCB_set_old(&cb, callback, cb_arg); 100 counter_ret, h_ret, &cb))
|
/freebsd-10.0-release/contrib/ntp/libisc/ |
H A D | error.c | 40 isc_error_setunexpected(isc_errorcallback_t cb) { argument 41 if (cb == NULL) 44 unexpected_callback = cb; 48 isc_error_setfatal(isc_errorcallback_t cb) { argument 49 if (cb == NULL) 52 fatal_callback = cb;
|
H A D | assertions.c | 43 isc_assertion_setcallback(isc_assertioncallback_t cb) { argument 44 if (cb == NULL) 47 isc_assertion_failed = cb;
|
/freebsd-10.0-release/usr.sbin/bluetooth/btpand/ |
H A D | event.h | 52 void (*cb)(int, short, void *); member in struct:event 79 #define event_set(ev, fd, flags, cb, cbarg) \ 80 _event_set(__FILE__, __LINE__, ev, fd, flags, cb, cbarg) 86 #define evtimer_set(ev, cb, cbarg) \ 87 _event_set(__FILE__, __LINE__, ev, -1, 0, cb, cbarg) 93 void (*cb)(int, short, void *), void *cbarg) 95 event_log_debug("set %s:%d ev=%p, fd=%d, flags=%#x, cb=%p, cbarg=%p", 96 file, line, ev, fd, flags, cb, cbarg); 101 __event_set(ev, fd, flags, cb, cbarg); 107 event_log_debug("add %s:%d ev=%p, fd=%d, flags=%#x, cb 92 _event_set(char const *file, int line, struct event *ev, int fd, short flags, void (*cb)(int, short, void *), void *cbarg) argument [all...] |
/freebsd-10.0-release/sys/contrib/altq/altq/ |
H A D | altq_cdnr.c | 141 struct cdnr_block *cb; local 165 cb = acc_classify(&top->tc_classifier, m, af); 166 if (cb != NULL) 167 tca = &cb->cb_action; 199 cb = tca->tca_next; 200 tca = (*cb->cb_input)(cb, &pktinfo); 227 struct cdnr_block *cb; local 229 cb = (struct cdnr_block *)handle; 230 if (handle != ALIGN(cb)) 252 struct cdnr_block *cb; local 311 struct cdnr_block *cb = cblock; local 385 struct cdnr_block *cb; local 407 struct cdnr_block *cb; local 445 struct cdnr_block *cb; local 485 struct cdnr_block *cb; local 906 struct cdnr_block *cb; local 924 struct cdnr_block *cb; local 943 struct cdnr_block *cb; local 1054 struct cdnr_block *cb; local 1129 struct cdnr_block *cb; local [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/rsa/ |
H A D | rsa_depr.c | 74 BN_GENCB cb; local 90 BN_GENCB_set_old(&cb, callback, cb_arg); 92 if(RSA_generate_key_ex(rsa, bits, e, &cb)) {
|
/freebsd-10.0-release/crypto/openssh/openbsd-compat/ |
H A D | openssl-compat.c | 73 BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, void *cb) argument 75 if (cb != NULL) 83 RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *bn_e, void *cb) argument 88 if (cb != NULL) 108 int seed_len, int *counter_ret, unsigned long *h_ret, void *cb) 112 if (cb != NULL) 107 DSA_generate_parameters_ex(DSA *dsa, int bits, const unsigned char *seed, int seed_len, int *counter_ret, unsigned long *h_ret, void *cb) argument
|