/freebsd-10.1-release/sys/dev/cxgbe/ |
H A D | t4_netmap.c | 378 nm_txq->pidx = nm_txq->cidx = 0; 467 j /= 8; /* driver pidx to hardware pidx */ 582 #define NMIDXDIFF(q, idx) IDXDIFF((q)->pidx, (q)->idx, (q)->sidx) 590 MPASS(nm_txq->pidx != nm_txq->dbidx); 612 __func__, nm_txq->doorbells, n, nm_txq->pidx, nm_txq)); 633 nm_txq->dbidx = nm_txq->pidx; 649 struct fw_eth_tx_pkts_wr *wr = (void *)&nm_txq->desc[nm_txq->pidx]; 660 wr = (void *)&nm_txq->desc[nm_txq->pidx]; 700 nm_txq->pidx [all...] |
H A D | t4_sge.c | 1839 dst = (void *)&eq->desc[eq->pidx]; 1842 eq->pidx += ndesc; 1844 if (__predict_false(eq->pidx >= eq->cap)) 1845 eq->pidx -= eq->cap; 1916 prefetch(&eq->desc[eq->pidx]); 1917 prefetch(&txq->sdesc[eq->pidx]); 2037 struct tx_sdesc *txsd = &txq->sdesc[eq->pidx]; 2332 fl->pidx = fl->cidx = 0; 2462 SYSCTL_ADD_UINT(ctx, children, OID_AUTO, "pidx", CTLFLAG_RD, &fl->pidx, 3368 uint16_t pidx = fl->pidx / 8; local [all...] |
H A D | adapter.h | 410 uint16_t pidx; /* producer idx (desc idx) */ member in struct:sge_eq 459 uint16_t dbidx; /* hw pidx after last doorbell */ 465 uint32_t pidx; /* producer index */ member in struct:sge_fl 628 uint16_t pidx; member in struct:sge_nm_txq 630 uint16_t equiqidx; /* EQUIQ last requested at this pidx */ 631 uint16_t equeqidx; /* EQUEQ last requested at this pidx */ 632 uint16_t dbidx; /* pidx of the most recent doorbell */
|
/freebsd-10.1-release/sys/dev/cxgb/ |
H A D | cxgb_sge.c | 200 unsigned int pidx; member in struct:txq_state 708 struct rx_sw_desc *sd = &q->sdesc[q->pidx]; 709 struct rx_desc *d = &q->desc[q->pidx]; 765 if (++q->pidx == q->size) { 766 q->pidx = 0; 849 struct rx_desc *to = &q->desc[q->pidx]; 851 q->sdesc[q->pidx] = q->sdesc[idx]; 859 if (++q->pidx == q->size) { 860 q->pidx = 0; 1143 txqs->pidx 2203 write_ofld_wr(adapter_t *adap, struct mbuf *m, struct sge_txq *q, unsigned int pidx, unsigned int gen, unsigned int ndesc) argument 2275 unsigned int pidx, gen; local 2327 unsigned int gen, pidx; local [all...] |
H A D | cxgb_adapter.h | 207 uint32_t pidx; member in struct:sge_fl 235 uint32_t pidx; member in struct:sge_txq
|
/freebsd-10.1-release/sys/dev/cxgbe/iw_cxgbe/ |
H A D | t4.h | 85 __be16 pidx; member in struct:t4_status_page 310 u16 pidx; member in struct:t4_sq 333 u16 pidx; member in struct:t4_rq 368 if (++wq->rq.pidx == wq->rq.size) 369 wq->rq.pidx = 0; 411 if (++wq->sq.pidx == wq->sq.size) 412 wq->sq.pidx = 0;
|
H A D | qp.c | 618 swsqe = &qhp->wq.sq.sw_sq[qhp->wq.sq.pidx]; 672 swsqe->idx = qhp->wq.sq.pidx; 677 init_wr_hdr(wqe, qhp->wq.sq.pidx, fw_opcode, fw_flags, len16); 680 "%s cookie 0x%llx pidx 0x%x opcode 0x%x read_len %u", 681 __func__, (unsigned long long)wr->wr_id, qhp->wq.sq.pidx, 734 qhp->wq.rq.sw_rq[qhp->wq.rq.pidx].wr_id = wr->wr_id; 738 wqe->recv.wrid = qhp->wq.rq.pidx; 743 CTR3(KTR_IW_CXGBE, "%s cookie 0x%llx pidx %u", __func__, 744 (unsigned long long) wr->wr_id, qhp->wq.rq.pidx);
|
H A D | cq.c | 277 CTR3(KTR_IW_CXGBE, "%s flushing hwcq cidx 0x%x swcq pidx 0x%x", 396 while (rptr != wq->sq.pidx) {
|
/freebsd-10.1-release/sys/dev/cxgbe/common/ |
H A D | t4_hw.h | 96 volatile __be16 pidx; member in struct:sge_qstat
|
H A D | t4_msg.h | 2271 __be16 pidx; member in struct:cpl_sge_egr_update
|
/freebsd-10.1-release/sys/dev/netmap/ |
H A D | netmap_freebsd.c | 498 vm_pindex_t pidx; local 503 pidx = OFF_TO_IDX(offset); 532 vm_page_insert(page, object, pidx);
|
/freebsd-10.1-release/sys/vm/ |
H A D | device_pager.c | 295 vm_pindex_t pidx; local 305 pidx = OFF_TO_IDX(offset);
|
/freebsd-10.1-release/sys/x86/iommu/ |
H A D | intel_idpgtbl.c | 337 vm_pindex_t idx, pidx; local 342 for (pidx = idx = 0, i = 0; i < lvl; i++, pidx = idx) 343 idx = ctx_pgtbl_pte_off(ctx, base, i) + pidx * DMAR_NPTEPG + 1;
|
/freebsd-10.1-release/sys/dev/oce/ |
H A D | oce_if.h | 294 ring->pidx = GET_Q_NEXT(ring->pidx, n, ring->num_items) 301 (void *)(((type *)DBUF_VA(&ring->dma)) + ring->pidx) 303 (uint64_t)(((type *)DBUF_PA(ring->dbuf)) + ring->pidx) 323 uint16_t pidx; /* Put Ptr */ member in struct:oce_ring_buffer_s
|
H A D | oce_queue.c | 342 wq->ring->pidx = 0; 528 rq->ring->pidx = 0; 1217 rq->ring->pidx = 0;
|
H A D | oce_if.c | 977 pd->wqe_idx = wq->ring->pidx; 989 pd->wqe_idx = wq->ring->pidx;
|
/freebsd-10.1-release/contrib/libgnuregex/ |
H A D | regexec.c | 1272 int *pidx, int node, re_node_set *eps_via_nodes, 1279 re_node_set *cur_nodes = &mctx->state_log[*pidx]->nodes; 1303 && push_fail_stack (fs, *pidx, candidate, nregs, regs, 1320 naccepted = check_node_accept_bytes (dfa, node, &mctx->input, *pidx); 1334 if (memcmp (buf + regs[subexp_idx].rm_so, buf + *pidx, 1347 if (re_node_set_contains (&mctx->state_log[*pidx]->nodes, 1354 || check_node_accept (mctx, dfa->nodes + node, *pidx)) 1357 *pidx = (naccepted == 0) ? *pidx + 1 : *pidx 1268 proceed_next_node(const re_match_context_t *mctx, int nregs, regmatch_t *regs, int *pidx, int node, re_node_set *eps_via_nodes, struct re_fail_stack_t *fs) argument 1395 pop_fail_stack(struct re_fail_stack_t *fs, int *pidx, int nregs, regmatch_t *regs, re_node_set *eps_via_nodes) argument [all...] |
/freebsd-10.1-release/sys/netpfil/pf/ |
H A D | pf_table.c | 2058 pfr_pool_get(struct pfr_ktable *kt, int *pidx, struct pf_addr *counter, argument 2083 if (pidx != NULL) 2084 idx = *pidx; 2117 *pidx = idx; 2137 *pidx = idx;
|
/freebsd-10.1-release/sys/ofed/drivers/net/mlx4/ |
H A D | cmd.c | 896 int vidx, pidx; local 921 pidx = priv->virt2phys_pkey[slave][port - 1][vidx]; 922 outtab[vidx % 32] = cpu_to_be16(table[pidx]);
|
/freebsd-10.1-release/sys/powerpc/booke/ |
H A D | pmap.c | 566 unsigned int pidx; local 588 pidx = (PTBL_PAGES * pdir_idx) + i; 589 while ((m = vm_page_alloc(NULL, pidx,
|
/freebsd-10.1-release/sys/kern/ |
H A D | vfs_bio.c | 4293 int pidx; local 4300 if ((pidx = vm_fault_quick_hold_pages(&curproc->p_vmspace->vm_map, 4304 bp->b_npages = pidx; 4306 pmap_qenter((vm_offset_t)bp->b_saveaddr, bp->b_pages, pidx);
|
/freebsd-10.1-release/contrib/ntp/ntpd/ |
H A D | ntp_control.c | 4495 u_int * pidx 4499 send_restrict_entry(pres, ipv6, *pidx); 4500 (*pidx)++;
|