Searched refs:pidx (Results 26 - 49 of 49) sorted by relevance

12

/freebsd-11-stable/usr.sbin/bhyve/
H A Dvirtio.h479 int vq_getchain(struct vqueue_info *vq, uint16_t *pidx,
H A Dvirtio.c262 vq_getchain(struct vqueue_info *vq, uint16_t *pidx, argument
310 *pidx = next = vq->vq_avail->va_ring[idx & (vq->vq_qsize - 1)];
/freebsd-11-stable/sys/dev/oce/
H A Doce_if.h301 ring->pidx = GET_Q_NEXT(ring->pidx, n, ring->num_items)
308 (void *)(((type *)DBUF_VA(&ring->dma)) + ring->pidx)
310 (uint64_t)(((type *)DBUF_PA(ring->dbuf)) + ring->pidx)
330 uint16_t pidx; /* Put Ptr */ member in struct:oce_ring_buffer_s
H A Doce_queue.c349 wq->ring->pidx = 0;
532 rq->ring->pidx = 0;
1375 rq->ring->pidx = 0;
H A Doce_if.c1191 pd->wqe_idx = wq->ring->pidx;
1203 pd->wqe_idx = wq->ring->pidx;
1576 if (rq->ring->cidx == rq->ring->pidx) {
1822 if (rq->ring->cidx == rq->ring->pidx) {
1942 in = (rq->ring->pidx + 1) % OCE_RQ_PACKET_ARRAY_SIZE;
1944 pd = &rq->pckts[rq->ring->pidx];
/freebsd-11-stable/contrib/libgnuregex/
H A Dregexec.c1272 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-11-stable/sys/dev/cxgb/
H A Dcxgb_adapter.h209 uint32_t pidx; member in struct:sge_fl
237 uint32_t pidx; member in struct:sge_txq
/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/
H A Dcq.c268 while (idx != wq->sq.pidx) {
297 while (cidx != wq->sq.pidx) {
343 while (rptr != wq->sq.pidx) {
H A Dqp.c811 swsqe = &qhp->wq.sq.sw_sq[qhp->wq.sq.pidx];
884 swsqe->idx = qhp->wq.sq.pidx;
891 init_wr_hdr(wqe, qhp->wq.sq.pidx, fw_opcode, fw_flags, len16);
894 "%s cookie 0x%llx pidx 0x%x opcode 0x%x read_len %u",
895 __func__, (unsigned long long)wr->wr_id, qhp->wq.sq.pidx,
950 qhp->wq.rq.sw_rq[qhp->wq.rq.pidx].wr_id = wr->wr_id;
954 wqe->recv.wrid = qhp->wq.rq.pidx;
959 CTR3(KTR_IW_CXGBE, "%s cookie 0x%llx pidx %u", __func__,
960 (unsigned long long) wr->wr_id, qhp->wq.rq.pidx);
/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs_utils.c424 uint32_t pidx; /*<< producer index */ member in struct:ocs_cbuf_s
454 cbuf->pidx = 0;
537 cbuf->array[cbuf->pidx] = elem;
538 if (unlikely(++cbuf->pidx >= cbuf->entry_count)) {
539 cbuf->pidx = 0;
/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_freebsd.c1026 vm_pindex_t pidx; local
1031 pidx = OFF_TO_IDX(offset);
1060 vm_page_insert(page, object, pidx);
/freebsd-11-stable/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_core.h616 int *pidx);
H A Dvchiq_core.c271 int *pidx)
274 int idx = *pidx;
289 *pidx = idx;
270 next_service_by_instance(VCHIQ_STATE_T *state, VCHIQ_INSTANCE_T instance, int *pidx) argument
/freebsd-11-stable/contrib/ofed/libcxgb4/
H A Dverbs.c571 qhp->wq.sq.wq_pidx = qhp->wq.sq.pidx = qhp->wq.sq.in_use = 0;
572 qhp->wq.rq.cidx = qhp->wq.rq.pidx = qhp->wq.rq.in_use = 0;
/freebsd-11-stable/sys/dev/drm2/i915/
H A Di915_gem.c1477 i915_gem_pager_populate(vm_object_t vm_obj, vm_pindex_t pidx, int fault_type, argument
1508 page = vm_page_lookup(vm_obj, pidx);
1538 IDX_TO_OFF(pidx));
1546 IDX_TO_OFF(pidx)), page));
1558 if (vm_page_insert(page, vm_obj, pidx)) {
1569 CTR4(KTR_DRM, "fault %p %jx %x phys %x", gem_obj, pidx, fault_type,
1579 *first = *last = pidx;
1588 CTR4(KTR_DRM, "fault_fail %p %jx %x err %d", gem_obj, pidx, fault_type,
/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_fw_private.h742 int ipfw_objhash_alloc_idx(void *n, uint16_t *pidx);
756 struct obj_idx *oib, struct obj_idx *pidx, struct tid_info *ti);
/freebsd-11-stable/sys/netpfil/pf/
H A Dpf_table.c2201 pfr_pool_get(struct pfr_ktable *kt, int *pidx, struct pf_addr *counter, argument
2226 if (pidx != NULL)
2227 idx = *pidx;
2260 *pidx = idx;
2280 *pidx = idx;
/freebsd-11-stable/sys/kern/
H A Dvfs_bio.c4583 int pidx; local
4588 if ((pidx = vm_fault_quick_hold_pages(&curproc->p_vmspace->vm_map,
4593 bp->b_npages = pidx;
4596 pmap_qenter((vm_offset_t)bp->b_kvabase, bp->b_pages, pidx);
/freebsd-11-stable/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c525 linux_cdev_pager_populate(vm_object_t vm_obj, vm_pindex_t pidx, int fault_type, argument
547 vmf.virtual_address = (void *)(uintptr_t)IDX_TO_OFF(pidx);
576 * busied all the pages itself. If pidx is already
/freebsd-11-stable/sys/powerpc/booke/
H A Dpmap.c593 unsigned int pidx; local
615 pidx = (PTBL_PAGES * pdir_idx) + i;
616 while ((m = vm_page_alloc(NULL, pidx,
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cmd.c911 int vidx, pidx; local
946 pidx = priv->virt2phys_pkey[slave][port - 1][vidx];
947 outtab[vidx % 32] = cpu_to_be16(table[pidx]);
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntp_control.c4500 u_int * pidx
4504 send_restrict_entry(pres, ipv6, *pidx);
4505 (*pidx)++;
/freebsd-11-stable/sys/dev/cxgbe/common/
H A Dt4_msg.h2669 __be16 pidx; member in struct:cpl_sge_egr_update
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_main.c5589 while (spg->cidx != htobe16(eq->pidx))
5593 while (eq->cidx != eq->pidx)

Completed in 531 milliseconds

12