/freebsd-10.1-release/sys/dev/cxgbe/iw_cxgbe/ |
H A D | t4.h | 84 __be16 cidx; member in struct:t4_status_page 201 u16 cidx; member in struct:t4_cqe::__anon8154::__anon8156 260 #define CQE_WRID_SQ_IDX(x) ((x)->u.scqe.cidx) 309 u16 cidx; member in struct:t4_sq 332 u16 cidx; member in struct:t4_rq 379 if (++wq->rq.cidx == wq->rq.size) 380 wq->rq.cidx = 0; 421 if (++wq->sq.cidx == wq->sq.size) 422 wq->sq.cidx = 0; 484 u16 cidx; member in struct:t4_cq [all...] |
H A D | cq.c | 251 struct t4_swsqe *swsqe = &wq->sq.sw_sq[wq->sq.cidx + count]; 277 CTR3(KTR_IW_CXGBE, "%s flushing hwcq cidx 0x%x swcq pidx 0x%x", 278 __func__, cq->cidx, cq->sw_pidx); 345 u16 ptr = wq->sq.cidx; 377 read_cqe->u.scqe.cidx = wq->sq.oldest_read->idx; 529 if (!SW_CQE(hw_cqe) && (CQE_WRID_SQ_IDX(hw_cqe) != wq->sq.cidx)) { 550 wq->sq.cidx = CQE_WRID_SQ_IDX(hw_cqe); 552 __func__, wq->sq.cidx); 553 *cookie = wq->sq.sw_sq[wq->sq.cidx].wr_id; 557 __func__, wq->rq.cidx); [all...] |
/freebsd-10.1-release/sys/dev/cxgb/ |
H A D | cxgb_sge.c | 794 u_int cidx = q->cidx; local 797 struct rx_sw_desc *d = &q->sdesc[cidx]; 816 if (++cidx == q->size) 817 cidx = 0; 1146 if (((txqs->pidx > txq->cidx) && 1148 (txq->pidx >= txq->cidx)) || 1149 ((txqs->pidx < txq->cidx) && 1150 (txq->pidx >= txq-> cidx)) || 1151 ((txqs->pidx < txq->cidx) 2129 unsigned int cidx, mask; local 2692 int mask, cidx = fl->cidx; local [all...] |
H A D | cxgb_adapter.h | 173 uint32_t cidx; member in struct:sge_rspq 206 uint32_t cidx; member in struct:sge_fl 234 uint32_t cidx; member in struct:sge_txq
|
/freebsd-10.1-release/sys/dev/cxgbe/ |
H A D | t4_sge.c | 1316 struct iq_desc *d = &iq->desc[iq->cidx]; 1435 if (__predict_false(++iq->cidx == iq->sidx)) { 1436 iq->cidx = 0; 1567 struct fl_sdesc *sd = &fl->sdesc[fl->cidx]; 1645 return (m); /* without advancing the cidx */ 1648 if (__predict_false(++fl->cidx % 8 == 0)) { 1649 uint16_t cidx = fl->cidx / 8; local 1651 if (__predict_false(cidx == fl->sidx)) 1652 fl->cidx 1682 uint16_t cidx = fl->cidx / 8; local 4165 unsigned int cidx; local [all...] |
H A D | t4_netmap.c | 378 nm_txq->pidx = nm_txq->cidx = 0; 745 if (nm_txq->cidx > nm_txq->pidx) 746 return (nm_txq->cidx - nm_txq->pidx - 1); 747 else if (nm_txq->cidx > 0) 757 uint16_t hw_cidx = spg->cidx; /* snapshot */ 763 while (nm_txq->cidx != hw_cidx) { 764 wr = (void *)&nm_txq->desc[nm_txq->cidx]; 771 nm_txq->cidx += npkt_to_ndesc(wr->npkt); 775 * back, WR by WR, should never cause the cidx to wrap around 778 MPASS(nm_txq->cidx < [all...] |
H A D | adapter.h | 357 uint16_t cidx; /* consumer index */ member in struct:sge_iq 409 uint16_t cidx; /* consumer idx (desc idx) */ member in struct:sge_eq 445 (IDXDIFF(fl->dbidx * 8, fl->cidx, fl->sidx * 8) <= fl->lowat) 447 (IDXDIFF(fl->dbidx * 8, fl->cidx, fl->sidx * 8) >= 2 * fl->lowat) 464 uint32_t cidx; /* consumer index */ member in struct:sge_fl 627 uint16_t cidx; member in struct:sge_nm_txq
|
/freebsd-10.1-release/sys/dev/cxgbe/common/ |
H A D | t4_hw.h | 95 volatile __be16 cidx; member in struct:sge_qstat
|
H A D | t4_msg.h | 2270 __be16 cidx; member in struct:cpl_sge_egr_update
|
/freebsd-10.1-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | config.c | 1138 apr_hash_index_t *cidx; 1141 for (cidx = apr_hash_first(pool, src_hash); 1142 cidx != NULL; 1143 cidx = apr_hash_next(cidx)) 1151 apr_hash_this(cidx, &ckey, &ckeyLength, &cval); 1123 apr_hash_index_t *cidx; local
|
/freebsd-10.1-release/contrib/ntp/ntpd/ |
H A D | refclock_nmea.c | 259 int cidx; /* current field index */ member in struct:__anon148 1302 data->cidx = 0; 1377 if (fn < data->cidx) { 1378 data->cidx = 0; 1381 while ((fn > data->cidx) && (tmp = *data->cptr) != '\0') { 1382 data->cidx += (tmp == ',');
|
/freebsd-10.1-release/contrib/binutils/gas/ |
H A D | macro.c | 493 int cidx; local 569 cidx = idx; 571 if (idx != cidx && idx >= in->len) 573 idx = cidx; 657 int cidx; local 663 cidx = sb_skip_white (idx, in); 664 idx = sb_skip_comma (cidx, in); 665 if (idx == cidx || idx < in->len) 668 idx = cidx;
|
/freebsd-10.1-release/crypto/openssl/crypto/x509/ |
H A D | x509_vfy.c | 1059 int cidx = ctx->error_depth; local 1062 if (cidx != sk_X509_num(ctx->chain) - 1) 1063 cidx++; 1065 crl_issuer = sk_X509_value(ctx->chain, cidx); 1075 for (cidx++; cidx < sk_X509_num(ctx->chain); cidx++) { 1076 crl_issuer = sk_X509_value(ctx->chain, cidx);
|
/freebsd-10.1-release/sys/dev/oce/ |
H A D | oce_if.h | 292 ring->cidx = GET_Q_NEXT(ring->cidx, n, ring->num_items) 297 (void*)((type *)DBUF_VA(&ring->dma) + ring->cidx) 299 (uint64_t)(((type *)DBUF_PA(ring->dbuf)) + ring->cidx) 322 uint16_t cidx; /* Get ptr */ member in struct:oce_ring_buffer_s
|
H A D | oce_queue.c | 341 wq->ring->cidx = 0; 527 rq->ring->cidx = 0; 1216 rq->ring->cidx = 0;
|
H A D | oce_if.c | 1225 wq->ring->cidx = cqe->u0.s.wqe_index + 1; 1226 if (wq->ring->cidx >= wq->ring->num_items) 1227 wq->ring->cidx -= wq->ring->num_items;
|
/freebsd-10.1-release/sys/dev/cxgb/common/ |
H A D | cxgb_common.h | 799 unsigned int cidx); 802 unsigned int cong_thres, int gen, unsigned int cidx); 805 unsigned int fl_thres, int gen, unsigned int cidx);
|
H A D | cxgb_t3_hw.c | 2550 * @cidx: consumer pointer 2559 unsigned int cidx) 2569 t3_write_reg(adapter, A_SG_CONTEXT_DATA0, V_EC_INDEX(cidx) | 2593 * @cidx: consumer pointer 2601 unsigned int cong_thres, int gen, unsigned int cidx) 2613 V_FL_INDEX_LO(cidx & M_FL_INDEX_LO)); 2615 V_FL_GEN(gen) | V_FL_INDEX_HI(cidx >> 12) | 2632 * @cidx: consumer pointer 2640 unsigned int fl_thres, int gen, unsigned int cidx) 2651 V_CQ_INDEX(cidx)); 2556 t3_sge_init_ecntxt(adapter_t *adapter, unsigned int id, int gts_enable, enum sge_context_type type, int respq, u64 base_addr, unsigned int size, unsigned int token, int gen, unsigned int cidx) argument 2599 t3_sge_init_flcntxt(adapter_t *adapter, unsigned int id, int gts_enable, u64 base_addr, unsigned int size, unsigned int bsize, unsigned int cong_thres, int gen, unsigned int cidx) argument 2638 t3_sge_init_rspcntxt(adapter_t *adapter, unsigned int id, int irq_vec_idx, u64 base_addr, unsigned int size, unsigned int fl_thres, int gen, unsigned int cidx) argument [all...] |
/freebsd-10.1-release/usr.sbin/bsnmpd/modules/snmp_pf/ |
H A D | pf_snmp.c | 1436 int i, numtbls = 1, cidx, naddrs; local 1473 cidx = 1; 1483 if ((naddrs = pfa_table_addrs(cidx, it)) < 0) 1486 cidx += naddrs; 1490 pfa_table_count = cidx;
|
/freebsd-10.1-release/sys/dev/cxgbe/firmware/ |
H A D | t4fw_interface.h | 7602 __be16 cidx; member in struct:fw_error_cmd::fw_error::fw_error_wr 7608 __be16 cidx; member in struct:fw_error_cmd::fw_error::fw_error_acl
|