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.c1066 eq->pidx += ndesc; in t4_wrq_tx_locked()
1068 if (eq->pidx >= eq->cap) in t4_wrq_tx_locked()
1069 eq->pidx -= eq->cap; in t4_wrq_tx_locked()
1801 eq->pidx = eq->cidx = 0; in alloc_eq()
2263 fl->pidx = 0; in refill_fl()
2853 eq->pidx += ndesc; in write_txpkts_wr()
2855 eq->pidx -= eq->cap; in write_txpkts_wr()
2981 eq->pidx += ndesc; in write_txpkt_wr()
2983 eq->pidx -= eq->cap; in write_txpkt_wr()
3170 i = eq->pidx ? eq->pidx - 1 : eq->cap - 1; in ring_tx_db()
[all …]
H A Dadapter.h256 uint16_t pidx; /* producer idx (desc idx) */ member
286 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()
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()
2083 for (; pidx < npages; a += pgsz, pidx += pgcnt) { in segspt_dismfault()
2173 pgcnt_t pidx; in segspt_shmfault() local
2314 pidx = 0; in segspt_shmfault()
2320 for (; pidx < npages; a += pgsz, pidx += pgcnt) { in segspt_shmfault()
2333 for (; pidx < npages; a += pgsz, pidx += pgcnt) { in segspt_shmfault()
[all …]
/illumos-gate/usr/src/lib/passwdutil/
H A Dldap_attr.c554 int pidx = 0; in ldap_update() local
625 NEW_ATTR(pattrs, pidx, in ldap_update()
657 NEW_ATTR(pattrs, pidx, _PWD_USERPASSWORD, val); in ldap_update()
661 NEW_ATTR(pattrs, pidx, _PWD_DESCRIPTION, p->data.val_s); in ldap_update()
665 NEW_ATTR(pattrs, pidx, _PWD_GECOS, in ldap_update()
674 NEW_ATTR(pattrs, pidx, _PWD_HOMEDIRECTORY, in ldap_update()
683 NEW_ATTR(pattrs, pidx, _PWD_LOGINSHELL, in ldap_update()
941 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
3726 ASSERT(pidx < sinfo->si_max_pages); in rootnex_setup_cookie()
3834 pidx++; in rootnex_setup_cookie()
3997 uint_t pidx; in rootnex_copybuf_window_boundary() local
4000 pidx = 0; in rootnex_copybuf_window_boundary()
4101 (*windowp)->wd_trim.tr_last_pidx = pidx; in rootnex_copybuf_window_boundary()
4103 dma->dp_pgmap[pidx].pm_cbaddr; in rootnex_copybuf_window_boundary()
4139 (*windowp)->wd_trim.tr_first_pidx = pidx; in rootnex_copybuf_window_boundary()
4287 uint_t pidx; in rootnex_coredma_sync() local
4351 ASSERT(pidx < sinfo->si_max_pages); in rootnex_coredma_sync()
[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
1063 freelQ_e *e = &Q->fq_entries[pidx]; in alloc_freelQ_buffers()
1107 if (++pidx == entries_n) { in alloc_freelQ_buffers()
1117 pidx = 0; in alloc_freelQ_buffers()
[all …]
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dt4_hw.h97 __be16 pidx; member
H A Dt4_hw.c6507 int pidx) in compute_mps_bg_map() argument
6520 case 4: return 1 << pidx; in compute_mps_bg_map()
6552 if (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()
6598 mps_bg_map[pidx] = compute_mps_bg_map(adapter, pidx); in t4_get_mps_bg_map()
6599 return mps_bg_map[pidx]; in t4_get_mps_bg_map()
6613 if (pidx >= nports) { in t4_get_tp_e2c_map()
6644 if (pidx >= nports) { in t4_get_tp_ch_map()
[all …]
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()