Searched refs:next_idx (Results 1 – 11 of 11) sorted by relevance
77 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()
153 uint16_t next_idx; member
74 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()
125 uint16_t next_idx; member
734 start_blk = rtp->next_idx; in hxge_rtrace_ioctl()742 rtp->next_idx = hpi_rtracebuf.next_idx; in hxge_rtrace_ioctl()
544 int next_idx; in av1394_ir_ixl_jump_init() local547 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() local732 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()
1216 uint16_t next_idx; in amd_iommu_create_pgtables() local1241 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()
497 uint8_t *next_idx) in arn_rc_get_nextvalid_txrate() argument503 *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() argument543 *next_idx = ath_rc_priv->valid_rate_index[i-1]; in arn_rc_get_nextlowervalid_txrate()
80 int next_idx; /* next available table index */ member629 (*ppRbtree)->next_idx = 3; in sqliteRbtreeOpen()651 *n = tree->next_idx++; in memRbtreeCreateTable()
1267 start_blk = rtp->next_idx; in nxge_rtrace_ioctl()1275 rtp->next_idx = npi_rtracebuf.next_idx; in nxge_rtrace_ioctl()
3070 int next_idx; in vdc_populate_descriptor() local3101 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()