Searched refs:last_idx (Results 1 – 4 of 4) sorted by relevance
/dragonfly/usr.sbin/powerd/ |
H A D | powerd.c | 1436 static int last_idx = -1; in mon_cputemp() local 1496 last_idx = -1; in mon_cputemp() 1522 last_idx = -1; in mon_cputemp() 1541 printf("Temp index %d (use %d)\n", idx, last_idx); in mon_cputemp() 1542 if (last_idx >= 0 && idx < last_idx) in mon_cputemp() 1543 idx = last_idx - 1; in mon_cputemp() 1544 else if (last_idx >= 0 && idx > last_idx) in mon_cputemp() 1545 idx = last_idx + 1; in mon_cputemp() 1546 last_idx = idx; in mon_cputemp()
|
/dragonfly/sys/dev/netif/bfe/ |
H A D | if_bfe.c | 1206 int i, first_idx, last_idx, cur, error, maxsegs, nsegs; in bfe_encap() local 1222 last_idx = -1; in bfe_encap() 1242 last_idx = cur; in bfe_encap() 1245 KKASSERT(last_idx >= 0); in bfe_encap() 1248 sc->bfe_tx_list[last_idx].bfe_ctrl |= BFE_DESC_EOF; in bfe_encap() 1256 sc->bfe_tx_ring[first_idx].bfe_map = sc->bfe_tx_ring[last_idx].bfe_map; in bfe_encap() 1257 sc->bfe_tx_ring[last_idx].bfe_map = map; in bfe_encap() 1258 sc->bfe_tx_ring[last_idx].bfe_mbuf = *m_head; in bfe_encap()
|
/dragonfly/sys/dev/netif/et/ |
H A D | if_et.c | 1936 int error, maxsegs, nsegs, first_idx, last_idx, i; in et_encap() local 1962 last_idx = -1; in et_encap() 1974 last_idx = idx; in et_encap() 1986 KKASSERT(last_idx >= 0); in et_encap() 1987 tbd->tbd_buf[first_idx].tb_dmap = tbd->tbd_buf[last_idx].tb_dmap; in et_encap() 1988 tbd->tbd_buf[last_idx].tb_dmap = map; in et_encap() 1989 tbd->tbd_buf[last_idx].tb_mbuf = *m0; in et_encap()
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | tree-ssa-reassoc.c | 3903 unsigned int first_idx, last_idx; member 4032 bb_ent.last_idx = bb_ent.first_idx; in maybe_optimize_range_tests() 4094 bb_ent.last_idx++; in maybe_optimize_range_tests() 4110 bb_ent.last_idx++; in maybe_optimize_range_tests() 4115 bb_ent.last_idx = ops.length (); in maybe_optimize_range_tests() 4152 bb_ent.last_idx++; in maybe_optimize_range_tests() 4157 bb_ent.last_idx = ops.length (); in maybe_optimize_range_tests() 4178 if (bbinfo[idx].first_idx < bbinfo[idx].last_idx in maybe_optimize_range_tests() 4257 if (bbinfo[idx].first_idx < bbinfo[idx].last_idx in maybe_optimize_range_tests()
|