Home
last modified time | relevance | path

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

/illumos-gate/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;
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_sge.c1225 fl->pidx = fl->cidx = 0; in alloc_iq_fl()
1497 eq->pidx = eq->cidx = 0; in alloc_eq()
1650 while (eq->cidx != eq->pidx) { in free_txq()
1844 uint64_t *d = &fl->desc[fl->pidx]; in refill_fl()
1845 struct fl_sdesc *sd = &fl->sdesc[fl->pidx]; in refill_fl()
1894 if (++fl->pidx == fl->cap) { in refill_fl()
1895 fl->pidx = 0; in refill_fl()
2404 txsd = &txq->sdesc[eq->pidx]; in add_to_txpkts()
2439 txpkts->flitp = &eq->desc[eq->pidx].flit[2]; in add_to_txpkts()
2442 txsd = &txq->sdesc[eq->pidx]; in add_to_txpkts()
[all …]
H A Dadapter.h264 uint16_t pidx; /* producer idx (desc idx) */ member
294 uint32_t pidx; /* producer idx (buffer idx, NOT hw desc idx) */ member
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_spt.c535 pgcnt_t pidx; in segspt_create() local
713 for (a = addr, pidx = 0; pidx < npages; a += pgsz, pidx += pgcnt) { in segspt_create()
714 sz = MIN(pgsz, ptob(npages - pidx)); in segspt_create()
716 &ppa[pidx], sptd->spt_prot, hat_flags); in segspt_create()
1988 pgcnt_t pidx; in segspt_dismfault() local
2064 pidx = 0; in segspt_dismfault()
2071 for (; pidx < npages; a += pgsz, pidx += pgcnt) { in segspt_dismfault()
2073 a, pgsz, &ppa[pidx], sptd->spt_prot, in segspt_dismfault()
2083 for (; pidx < npages; a += pgsz, pidx += pgcnt) { in segspt_dismfault()
2085 a, pgsz, &ppa[pidx], in segspt_dismfault()
[all …]
/illumos-gate/usr/src/lib/passwdutil/
H A Dldap_attr.c556 int pidx = 0; in ldap_update() local
627 NEW_ATTR(pattrs, pidx, in ldap_update()
659 NEW_ATTR(pattrs, pidx, _PWD_USERPASSWORD, val); in ldap_update()
663 NEW_ATTR(pattrs, pidx, _PWD_DESCRIPTION, p->data.val_s); in ldap_update()
667 NEW_ATTR(pattrs, pidx, _PWD_GECOS, in ldap_update()
676 NEW_ATTR(pattrs, pidx, _PWD_HOMEDIRECTORY, in ldap_update()
685 NEW_ATTR(pattrs, pidx, _PWD_LOGINSHELL, in ldap_update()
943 pattrs[pidx] = NULL; in ldap_update()
/illumos-gate/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()
/illumos-gate/usr/src/uts/i86pc/io/
H A Drootnex.c3710 uint_t pidx; in rootnex_setup_cookie() local
3725 pidx = (sinfo->si_buf_offset + cur_offset) >> MMU_PAGESHIFT; in rootnex_setup_cookie()
3726 ASSERT(pidx < sinfo->si_max_pages); in rootnex_setup_cookie()
3751 dma->dp_pgmap[pidx].pm_uses_copybuf = B_TRUE; in rootnex_setup_cookie()
3759 dma->dp_pgmap[pidx].pm_cbaddr = dma->dp_cbaddr + in rootnex_setup_cookie()
3763 dma->dp_pgmap[pidx].pm_cbaddr = (caddr_t)( in rootnex_setup_cookie()
3768 dma->dp_pgmap[pidx].pm_cbaddr = (caddr_t)( in rootnex_setup_cookie()
3780 dma->dp_pgmap[pidx].pm_cbaddr)) + poff; in rootnex_setup_cookie()
3791 dma->dp_pgmap[pidx].pm_kaddr = (caddr_t)(((uintptr_t) in rootnex_setup_cookie()
3801 dma->dp_pgmap[pidx].pm_kaddr = hat_kpm_pfn2va(pfn); in rootnex_setup_cookie()
[all …]
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dsge.c311 uint32_t pidx; in sge_data_out() local
387 pidx = Q->cq_pidx; in sge_data_out()
412 ce = &cq[pidx]; in sge_data_out()
417 e = &q[pidx]; in sge_data_out()
440 if (++pidx == entries_n) { in sge_data_out()
441 pidx = 0; in sge_data_out()
1060 uint32_t pidx = Q->fq_pidx; in alloc_freelQ_buffers() local
1061 struct freelQ_ce *ce = &Q->fq_centries[pidx]; in alloc_freelQ_buffers()
1063 freelQ_e *e = &Q->fq_entries[pidx]; in alloc_freelQ_buffers()
1107 if (++pidx == entries_n) { in alloc_freelQ_buffers()
[all …]
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dt4_hw.c6507 int pidx) in compute_mps_bg_map() argument
6519 case 2: return 3 << (2 * pidx); in compute_mps_bg_map()
6520 case 4: return 1 << pidx; in compute_mps_bg_map()
6526 case 2: return 1 << (2 * pidx); in compute_mps_bg_map()
6546 unsigned int t4_get_mps_bg_map(struct adapter *adapter, int pidx) in t4_get_mps_bg_map() argument
6552 if (pidx >= nports) { in t4_get_mps_bg_map()
6553 CH_WARN(adapter, "MPS Port Index %d >= Nports %d\n", pidx, nports); in t4_get_mps_bg_map()
6560 if (mps_bg_map[pidx]) in t4_get_mps_bg_map()
6561 return mps_bg_map[pidx]; in t4_get_mps_bg_map()
6590 return mps_bg_map[pidx]; in t4_get_mps_bg_map()
[all …]
H A Dt4_hw.h97 __be16 pidx; member
H A Dcommon.h714 unsigned int t4_get_mps_bg_map(struct adapter *adapter, int pidx);
715 unsigned int t4_get_tp_e2c_map(struct adapter *adapter, int pidx);
716 unsigned int t4_get_tp_ch_map(struct adapter *adapter, int pidx);
H A Dt4_msg.h2622 __be16 pidx; member
/illumos-gate/usr/src/uts/i86pc/cpu/generic_cpu/
H A Dgcpu_mca.c1816 int pidx = mca->gcpu_mca_nextpoll_idx; in gcpu_mca_logout() local
1817 int ppidx = (pidx == GCPU_MCA_LOGOUT_POLLER_1) ? in gcpu_mca_logout()
1820 gcl = mca->gcpu_mca_logout[pidx]; /* current logout */ in gcpu_mca_logout()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/mdb/common/modules/pmcs/
H A Dpmcs.c310 uint_t pidx = 1; in display_iport_dtc() local
351 (void *)&pidx, (uintptr_t)phci.ph_path_head); in display_iport_dtc()