Home
last modified time | relevance | path

Searched refs:pidx (Results 1 – 17 of 17) sorted by relevance

/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_buf.h83 uint16_t pidx; /* Put Ptr */ member
159 ring->pidx = GET_Q_NEXT(ring->pidx, n, ring->num_items)
168 (void *)(((type *)DBUF_VA(ring->dbuf)) + ring->pidx)
171 (uint64_t)(((type *)DBUF_PA(ring->dbuf)) + ring->pidx)
H A Doce_hw.h920 uint32_t pidx:13; member
944 uint32_t pidx:13;
1030 uint32_t pidx:11; member
1050 uint32_t pidx:11;
/titanic_41/usr/src/uts/i86pc/io/
H A Drootnex.c3827 uint_t pidx; in rootnex_setup_cookie() local
3846 pidx = (sinfo->si_buf_offset + cur_offset) >> MMU_PAGESHIFT; in rootnex_setup_cookie()
3847 ASSERT(pidx < sinfo->si_max_pages); in rootnex_setup_cookie()
3874 dma->dp_pgmap[pidx].pm_uses_copybuf = B_TRUE; in rootnex_setup_cookie()
3882 dma->dp_pgmap[pidx].pm_cbaddr = dma->dp_cbaddr + in rootnex_setup_cookie()
3886 dma->dp_pgmap[pidx].pm_cbaddr = (caddr_t)( in rootnex_setup_cookie()
3891 dma->dp_pgmap[pidx].pm_cbaddr = (caddr_t)( in rootnex_setup_cookie()
3903 dma->dp_pgmap[pidx].pm_cbaddr)) + poff; in rootnex_setup_cookie()
3914 dma->dp_pgmap[pidx].pm_kaddr = (caddr_t)(((uintptr_t) in rootnex_setup_cookie()
3922 dma->dp_pgmap[pidx].pm_mapped = B_FALSE; in rootnex_setup_cookie()
[all …]
/titanic_41/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_sge.c867 dst = (void *)&eq->desc[eq->pidx]; in t4_wrq_tx_locked()
871 eq->pidx += ndesc; in t4_wrq_tx_locked()
873 if (eq->pidx >= eq->cap) in t4_wrq_tx_locked()
874 eq->pidx -= eq->cap; in t4_wrq_tx_locked()
1203 fl->pidx = fl->cidx = 0; in alloc_iq_fl()
1538 eq->pidx = eq->cidx = 0; in alloc_eq()
1722 while (eq->cidx != eq->pidx) { in free_txq()
1927 uint64_t *d = &fl->desc[fl->pidx]; in refill_fl()
1928 struct fl_sdesc *sd = &fl->sdesc[fl->pidx]; in refill_fl()
1977 if (++fl->pidx == fl->cap) { in refill_fl()
[all …]
H A Dadapter.h225 uint16_t pidx; /* producer idx (desc idx) */ member
255 uint32_t pidx; /* producer idx (buffer idx, NOT hw desc idx) */ member
/titanic_41/usr/src/uts/common/vm/
H A Dseg_spt.c387 pgcnt_t pidx; in segspt_create() local
568 for (a = addr, pidx = 0; pidx < npages; a += pgsz, pidx += pgcnt) { in segspt_create()
569 sz = MIN(pgsz, ptob(npages - pidx)); in segspt_create()
571 &ppa[pidx], sptd->spt_prot, hat_flags); in segspt_create()
1839 pgcnt_t pidx; in segspt_dismfault() local
1915 pidx = 0; in segspt_dismfault()
1922 for (; pidx < npages; a += pgsz, pidx += pgcnt) { in segspt_dismfault()
1924 a, pgsz, &ppa[pidx], sptd->spt_prot, in segspt_dismfault()
1938 for (; pidx < npages; in segspt_dismfault()
1939 a += pgsz, pidx += pgcnt) { in segspt_dismfault()
[all …]
/titanic_41/usr/src/lib/passwdutil/
H A Dldap_attr.c553 int pidx = 0; in ldap_update() local
624 NEW_ATTR(pattrs, pidx, in ldap_update()
656 NEW_ATTR(pattrs, pidx, _PWD_USERPASSWORD, val); in ldap_update()
660 NEW_ATTR(pattrs, pidx, _PWD_DESCRIPTION, p->data.val_s); in ldap_update()
664 NEW_ATTR(pattrs, pidx, _PWD_GECOS, in ldap_update()
673 NEW_ATTR(pattrs, pidx, _PWD_HOMEDIRECTORY, in ldap_update()
682 NEW_ATTR(pattrs, pidx, _PWD_LOGINSHELL, in ldap_update()
940 pattrs[pidx] = NULL; in ldap_update()
/titanic_41/usr/src/uts/common/syscall/
H A Dutssys.c317 pid_t npids, pidx, *pidlist; in dofusers() local
346 for (pidx = 0; pidx < npids; pidx++) { in dofusers()
353 pid_t pid = pidlist[pidx]; in dofusers()
/titanic_41/usr/src/uts/common/io/chxge/
H A Dsge.c312 uint32_t pidx; in sge_data_out() local
388 pidx = Q->cq_pidx; in sge_data_out()
413 ce = &cq[pidx]; in sge_data_out()
418 e = &q[pidx]; in sge_data_out()
441 if (++pidx == entries_n) { in sge_data_out()
442 pidx = 0; in sge_data_out()
1062 uint32_t pidx = Q->fq_pidx; in alloc_freelQ_buffers() local
1063 struct freelQ_ce *ce = &Q->fq_centries[pidx]; in alloc_freelQ_buffers()
1065 freelQ_e *e = &Q->fq_entries[pidx]; in alloc_freelQ_buffers()
1109 if (++pidx == entries_n) { in alloc_freelQ_buffers()
[all …]
/titanic_41/usr/src/uts/common/io/cxgbe/common/
H A Dt4_hw.h81 volatile __be16 pidx; member
H A Dt4_msg.h1928 __be16 pidx; member
/titanic_41/usr/src/uts/i86pc/cpu/generic_cpu/
H A Dgcpu_mca.c1725 int pidx = mca->gcpu_mca_nextpoll_idx; in gcpu_mca_logout() local
1726 int ppidx = (pidx == GCPU_MCA_LOGOUT_POLLER_1) ? in gcpu_mca_logout()
1729 gcl = mca->gcpu_mca_logout[pidx]; /* current logout */ in gcpu_mca_logout()
/titanic_41/usr/src/uts/common/os/
H A Ddumpsubr.c2674 pid_t npids, pidx; in dumpsys() local
2801 for (pidx = 0; pidx < npids; pidx++) in dumpsys()
2802 (void) dump_process(dumpcfg.pids[pidx]); in dumpsys()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_queue.c647 wq->ring->pidx = 0; in oce_wq_create()
882 rq->ring->pidx = 0; in oce_rq_create()
H A Doce_rx.c293 shadow_rq[rq->ring->pidx] = rqbd; in oce_rq_charge()
/titanic_41/usr/src/uts/common/io/ib/mgt/ibdm/
H A Dibdm.c5363 int h, pp, pidx; in ibdm_ibnex_update_pkey_tbls() local
5412 for (pidx = 0; pidx < port->pa_npkeys; pidx++) { in ibdm_ibnex_update_pkey_tbls()
5413 new_pkey = pinfop[pp].p_pkey_tbl[pidx]; in ibdm_ibnex_update_pkey_tbls()
5414 orig_pkey = &port->pa_pkey_tbl[pidx].pt_pkey; in ibdm_ibnex_update_pkey_tbls()
5437 pidx); in ibdm_ibnex_update_pkey_tbls()
5446 pidx); in ibdm_ibnex_update_pkey_tbls()
/titanic_41/usr/src/cmd/mdb/common/modules/pmcs/
H A Dpmcs.c309 uint_t pidx = 1; in display_iport_dtc() local
350 (void *)&pidx, (uintptr_t)phci.ph_path_head); in display_iport_dtc()