Home
last modified time | relevance | path

Searched refs:next_idx (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/uts/common/io/nxge/npi/
H A Dnpi.c77 rt->next_idx = 0; in npi_rtrace_buf_init()
92 idx = rt->next_idx; in npi_rtrace_update()
104 rt->next_idx++; in npi_rtrace_update()
105 if (rt->next_idx > rt->last_idx) { in npi_rtrace_update()
106 rt->next_idx = 0; in npi_rtrace_update()
116 idx = rt->next_idx; in npi_trace_update()
138 rt->next_idx++; in npi_trace_update()
139 if (rt->next_idx > rt->last_idx) { in npi_trace_update()
140 rt->next_idx = 0; in npi_trace_update()
161 cursor = rt->next_idx; in npi_trace_dump()
H A Dnpi.h153 uint16_t next_idx; member
/titanic_41/usr/src/uts/common/io/hxge/
H A Dhpi.c74 rt->next_idx = 0; in hpi_rtrace_buf_init()
89 idx = rt->next_idx; in hpi_rtrace_update()
99 rt->next_idx++; in hpi_rtrace_update()
100 if (rt->next_idx > rt->last_idx) { in hpi_rtrace_update()
101 rt->next_idx = 0; in hpi_rtrace_update()
H A Dhpi.h125 uint16_t next_idx; member
H A Dhxge_hw.c734 start_blk = rtp->next_idx; in hxge_rtrace_ioctl()
742 rtp->next_idx = hpi_rtracebuf.next_idx; in hxge_rtrace_ioctl()
/titanic_41/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_isoch_recv.c544 int next_idx; in av1394_ir_ixl_jump_init() local
547 next_idx = (i + 1) % icp->ic_nframes; in av1394_ir_ixl_jump_init()
548 jump_cmd = (ixl1394_command_t *)&irp->ir_ixl_data[next_idx]; in av1394_ir_ixl_jump_init()
552 dp->rd_jump.next_ixlp = (next_idx != 0) ? jump_cmd : NULL; in av1394_ir_ixl_jump_init()
719 int idx, next_idx; in av1394_ir_overflow_resume() local
732 next_idx = (idx + 1) % icp->ic_nframes; in av1394_ir_overflow_resume()
737 new_jmp.label = (ixl1394_command_t *)&irp->ir_ixl_data[next_idx]; in av1394_ir_overflow_resume()
/titanic_41/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_page_tables.c1216 uint16_t next_idx; in amd_iommu_create_pgtables() local
1241 level--, pt = NULL, next_idx = 0) { in amd_iommu_create_pgtables()
1244 &next_idx, path, km_flags)) != DDI_SUCCESS) { in amd_iommu_create_pgtables()
1258 index = next_idx; in amd_iommu_create_pgtables()
1262 ASSERT(next_idx == 0); in amd_iommu_create_pgtables()
/titanic_41/usr/src/uts/common/io/arn/
H A Darn_rc.c497 uint8_t *next_idx) in arn_rc_get_nextvalid_txrate() argument
503 *next_idx = ath_rc_priv->valid_rate_index[i+1]; in arn_rc_get_nextvalid_txrate()
509 *next_idx = 0; in arn_rc_get_nextvalid_txrate()
537 uint8_t cur_valid_txrate, uint8_t *next_idx) in arn_rc_get_nextlowervalid_txrate() argument
543 *next_idx = ath_rc_priv->valid_rate_index[i-1]; in arn_rc_get_nextlowervalid_txrate()
/titanic_41/usr/src/lib/libsqlite/src/
H A Dbtree_rb.c80 int next_idx; /* next available table index */ member
629 (*ppRbtree)->next_idx = 3; in sqliteRbtreeOpen()
651 *n = tree->next_idx++; in memRbtreeCreateTable()
/titanic_41/usr/src/uts/common/io/nxge/
H A Dnxge_hw.c1267 start_blk = rtp->next_idx; in nxge_rtrace_ioctl()
1275 rtp->next_idx = npi_rtracebuf.next_idx; in nxge_rtrace_ioctl()
/titanic_41/usr/src/uts/sun4v/io/
H A Dvdc.c3070 int next_idx; in vdc_populate_descriptor() local
3101 next_idx = idx + 1; in vdc_populate_descriptor()
3102 if (next_idx >= vdcp->dring_len) in vdc_populate_descriptor()
3103 next_idx = VDC_DRING_FIRST_ENTRY; in vdc_populate_descriptor()
3104 vdcp->dring_curr_idx = next_idx; in vdc_populate_descriptor()