last_idx 398 arch/powerpc/platforms/ps3/os-area.c struct db_index *last_idx; last_idx 426 arch/powerpc/platforms/ps3/os-area.c i->last_idx = i->idx + db->count_64; last_idx 434 arch/powerpc/platforms/ps3/os-area.c if (i->idx >= i->last_idx) { last_idx 25 arch/powerpc/platforms/pseries/dtl.c u64 last_idx; last_idx 202 arch/powerpc/platforms/pseries/dtl.c dtl->last_idx = 0; last_idx 255 arch/powerpc/platforms/pseries/dtl.c u64 cur_idx, last_idx, i; last_idx 271 arch/powerpc/platforms/pseries/dtl.c last_idx = dtl->last_idx; last_idx 273 arch/powerpc/platforms/pseries/dtl.c if (last_idx + dtl->buf_entries <= cur_idx) last_idx 274 arch/powerpc/platforms/pseries/dtl.c last_idx = cur_idx - dtl->buf_entries + 1; last_idx 276 arch/powerpc/platforms/pseries/dtl.c if (last_idx + n_req > cur_idx) last_idx 277 arch/powerpc/platforms/pseries/dtl.c n_req = cur_idx - last_idx; last_idx 280 arch/powerpc/platforms/pseries/dtl.c dtl->last_idx = last_idx + n_req; last_idx 287 arch/powerpc/platforms/pseries/dtl.c i = last_idx % dtl->buf_entries; last_idx 71 drivers/cpuidle/governors/ladder.c int last_residency, last_idx = dev->last_state_idx; last_idx 77 drivers/cpuidle/governors/ladder.c ladder_do_selection(dev, ldev, last_idx, 0); last_idx 81 drivers/cpuidle/governors/ladder.c last_state = &ldev->states[last_idx]; last_idx 83 drivers/cpuidle/governors/ladder.c last_residency = dev->last_residency - drv->states[last_idx].exit_latency; last_idx 86 drivers/cpuidle/governors/ladder.c if (last_idx < drv->state_count - 1 && last_idx 87 drivers/cpuidle/governors/ladder.c !drv->states[last_idx + 1].disabled && last_idx 88 drivers/cpuidle/governors/ladder.c !dev->states_usage[last_idx + 1].disable && last_idx 90 drivers/cpuidle/governors/ladder.c drv->states[last_idx + 1].exit_latency <= latency_req) { last_idx 94 drivers/cpuidle/governors/ladder.c ladder_do_selection(dev, ldev, last_idx, last_idx + 1); last_idx 95 drivers/cpuidle/governors/ladder.c return last_idx + 1; last_idx 100 drivers/cpuidle/governors/ladder.c if (last_idx > first_idx && last_idx 101 drivers/cpuidle/governors/ladder.c (drv->states[last_idx].disabled || last_idx 102 drivers/cpuidle/governors/ladder.c dev->states_usage[last_idx].disable || last_idx 103 drivers/cpuidle/governors/ladder.c drv->states[last_idx].exit_latency > latency_req)) { last_idx 106 drivers/cpuidle/governors/ladder.c for (i = last_idx - 1; i > first_idx; i--) { last_idx 110 drivers/cpuidle/governors/ladder.c ladder_do_selection(dev, ldev, last_idx, i); last_idx 114 drivers/cpuidle/governors/ladder.c if (last_idx > first_idx && last_idx 119 drivers/cpuidle/governors/ladder.c ladder_do_selection(dev, ldev, last_idx, last_idx - 1); last_idx 120 drivers/cpuidle/governors/ladder.c return last_idx - 1; last_idx 125 drivers/cpuidle/governors/ladder.c return last_idx; last_idx 464 drivers/cpuidle/governors/menu.c int last_idx = dev->last_state_idx; last_idx 465 drivers/cpuidle/governors/menu.c struct cpuidle_state *target = &drv->states[last_idx]; last_idx 495 drivers/cpuidle/governors/menu.c } else if ((drv->states[last_idx].flags & CPUIDLE_FLAG_POLLING) && last_idx 592 drivers/infiniband/hw/bnxt_re/qplib_fp.c srq->last_idx = srq->hwq.max_elements - 1; last_idx 595 drivers/infiniband/hw/bnxt_re/qplib_fp.c srq->swq[srq->last_idx].next_idx = -1; last_idx 670 drivers/infiniband/hw/bnxt_re/qplib_fp.c if (srq->start_idx == srq->last_idx) { last_idx 2322 drivers/infiniband/hw/bnxt_re/qplib_fp.c srq->swq[srq->last_idx].next_idx = (int)tag; last_idx 2323 drivers/infiniband/hw/bnxt_re/qplib_fp.c srq->last_idx = (int)tag; last_idx 2324 drivers/infiniband/hw/bnxt_re/qplib_fp.c srq->swq[srq->last_idx].next_idx = -1; last_idx 56 drivers/infiniband/hw/bnxt_re/qplib_fp.h int last_idx; last_idx 121 drivers/infiniband/hw/cxgb4/restrack.c u16 last_idx, struct t4_swsqe *last_sqe) last_idx 129 drivers/infiniband/hw/cxgb4/restrack.c if (fill_swsqe(msg, sq, last_idx, last_sqe)) last_idx 285 drivers/md/bcache/journal.c ja->last_idx = ja->discard_idx = (i + 1) % last_idx 604 drivers/md/bcache/journal.c ja->discard_idx = ja->last_idx; last_idx 620 drivers/md/bcache/journal.c if (ja->discard_idx == ja->last_idx) last_idx 659 drivers/md/bcache/journal.c while (ja->last_idx != ja->cur_idx && last_idx 660 drivers/md/bcache/journal.c ja->seq[ja->last_idx] < last_seq) last_idx 661 drivers/md/bcache/journal.c ja->last_idx = (ja->last_idx + 1) % last_idx 139 drivers/md/bcache/journal.h unsigned int last_idx; last_idx 376 drivers/media/rc/ite-cir.c int remaining_us, fifo_avail, fifo_remaining, last_idx = 0; last_idx 435 drivers/media/rc/ite-cir.c last_sent[last_idx++] = val; last_idx 436 drivers/media/rc/ite-cir.c last_idx &= (ITE_TX_FIFO_LEN); last_idx 488 drivers/media/rc/ite-cir.c last_idx--; last_idx 489 drivers/media/rc/ite-cir.c last_idx &= (ITE_TX_FIFO_LEN - 1); last_idx 490 drivers/media/rc/ite-cir.c remaining_us += last_sent[last_idx]; last_idx 2877 drivers/net/ethernet/broadcom/bnx2.c u16 last_idx, last_ring_idx; last_idx 2879 drivers/net/ethernet/broadcom/bnx2.c last_idx = sw_cons + tx_buf->nr_frags + 1; last_idx 2882 drivers/net/ethernet/broadcom/bnx2.c last_idx++; last_idx 2884 drivers/net/ethernet/broadcom/bnx2.c if (((s16) ((s16) last_idx - (s16) hw_cons)) > 0) { last_idx 692 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c char last_idx; last_idx 716 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c last_idx = REG_RD8(bp, bar_storm_intmem[storm] + last_idx 718 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (last_idx) last_idx 720 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c storms_string[storm], last_idx); last_idx 2589 drivers/net/ethernet/myricom/myri10ge/myri10ge.c int last_idx; last_idx 2592 drivers/net/ethernet/myricom/myri10ge/myri10ge.c last_idx = (idx + 1) & tx->mask; last_idx 2611 drivers/net/ethernet/myricom/myri10ge/myri10ge.c } while (idx != last_idx); last_idx 1050 drivers/net/ethernet/natsemi/ns83820.c unsigned tx_done_idx, last_idx; last_idx 1069 drivers/net/ethernet/natsemi/ns83820.c last_idx = free_idx = dev->tx_free_idx; last_idx 1133 drivers/net/ethernet/natsemi/ns83820.c last_idx = free_idx; last_idx 1159 drivers/net/ethernet/natsemi/ns83820.c dev->tx_skbs[last_idx] = skb; last_idx 1474 drivers/net/ethernet/netronome/nfp/nfp_net_common.c unsigned int wr_idx, last_idx; last_idx 1484 drivers/net/ethernet/netronome/nfp/nfp_net_common.c last_idx = rx_ring->cnt - 1; last_idx 1485 drivers/net/ethernet/netronome/nfp/nfp_net_common.c rx_ring->rxbufs[wr_idx].dma_addr = rx_ring->rxbufs[last_idx].dma_addr; last_idx 1486 drivers/net/ethernet/netronome/nfp/nfp_net_common.c rx_ring->rxbufs[wr_idx].frag = rx_ring->rxbufs[last_idx].frag; last_idx 1487 drivers/net/ethernet/netronome/nfp/nfp_net_common.c rx_ring->rxbufs[last_idx].dma_addr = 0; last_idx 1488 drivers/net/ethernet/netronome/nfp/nfp_net_common.c rx_ring->rxbufs[last_idx].frag = NULL; last_idx 431 drivers/net/wireless/intel/iwlegacy/3945-rs.c int scale_rate_idx, first_idx, last_idx; last_idx 464 drivers/net/wireless/intel/iwlegacy/3945-rs.c last_idx = first_idx; last_idx 479 drivers/net/wireless/intel/iwlegacy/3945-rs.c last_idx = scale_rate_idx; last_idx 482 drivers/net/wireless/intel/iwlegacy/3945-rs.c last_idx = il3945_rs_next_rate(il, scale_rate_idx); last_idx 494 drivers/net/wireless/intel/iwlegacy/3945-rs.c scale_rate_idx = last_idx; last_idx 498 drivers/net/wireless/intel/iwlegacy/3945-rs.c D_RATE("Update rate %d with %s.\n", last_idx, last_idx 500 drivers/net/wireless/intel/iwlegacy/3945-rs.c il3945_collect_tx_data(rs_sta, &rs_sta->win[last_idx], last_idx 502 drivers/net/wireless/intel/iwlegacy/3945-rs.c last_idx); last_idx 1496 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h u8 iwl_mvm_next_antenna(struct iwl_mvm *mvm, u8 valid, u8 last_idx); last_idx 279 drivers/net/wireless/intel/iwlwifi/mvm/utils.c u8 iwl_mvm_next_antenna(struct iwl_mvm *mvm, u8 valid, u8 last_idx) last_idx 281 drivers/net/wireless/intel/iwlwifi/mvm/utils.c u8 ind = last_idx; last_idx 291 drivers/net/wireless/intel/iwlwifi/mvm/utils.c return last_idx; last_idx 3682 drivers/net/wireless/mac80211_hwsim.c int last_idx = cb->args[0] - 1; last_idx 3690 drivers/net/wireless/mac80211_hwsim.c if (last_idx >= hwsim_radio_idx-1) last_idx 3694 drivers/net/wireless/mac80211_hwsim.c if (data->idx <= last_idx) last_idx 3707 drivers/net/wireless/mac80211_hwsim.c last_idx = data->idx; last_idx 3710 drivers/net/wireless/mac80211_hwsim.c cb->args[0] = last_idx + 1; last_idx 952 drivers/net/wireless/mediatek/mt76/mt7603/mac.c int first_idx = 0, last_idx; last_idx 973 drivers/net/wireless/mediatek/mt76/mt7603/mac.c last_idx = FIELD_GET(MT_TXS4_LAST_TX_RATE, txs); last_idx 995 drivers/net/wireless/mediatek/mt76/mt7603/mac.c first_idx = max_t(int, 0, last_idx - (count + 1) / MT7603_RATE_RETRY); last_idx 1024 drivers/net/wireless/mediatek/mt76/mt7603/mac.c for (i = 0, idx = first_idx; count && idx <= last_idx; idx++) { last_idx 840 drivers/net/wireless/mediatek/mt76/mt7615/mac.c int first_idx = 0, last_idx; last_idx 856 drivers/net/wireless/mediatek/mt76/mt7615/mac.c last_idx = FIELD_GET(MT_TXS3_LAST_TX_RATE, txs); last_idx 878 drivers/net/wireless/mediatek/mt76/mt7615/mac.c first_idx = max_t(int, 0, last_idx - (count + 1) / MT7615_RATE_RETRY); last_idx 906 drivers/net/wireless/mediatek/mt76/mt7615/mac.c for (i = 0, idx = first_idx; count && idx <= last_idx; idx++) { last_idx 887 drivers/pcmcia/cistpl.c config->last_idx = *(++p); last_idx 1500 drivers/target/iscsi/cxgbit/cxgbit_target.c u8 pdu_idx = 0, last_idx = 0; last_idx 1521 drivers/target/iscsi/cxgbit/cxgbit_target.c last_idx = lro_cb->pdu_idx - 1; last_idx 1523 drivers/target/iscsi/cxgbit/cxgbit_target.c for (; pdu_idx <= last_idx; pdu_idx++) { last_idx 391 fs/binfmt_elf.c int i, first_idx = -1, last_idx = -1; last_idx 395 fs/binfmt_elf.c last_idx = i; last_idx 403 fs/binfmt_elf.c return cmds[last_idx].p_vaddr + cmds[last_idx].p_memsz - last_idx 22 include/linux/ipc_namespace.h int last_idx; /* For wrap around detection */ last_idx 383 include/pcmcia/cistpl.h u_char last_idx; last_idx 122 ipc/util.c ids->last_idx = -1; last_idx 238 ipc/util.c if (idx <= ids->last_idx) { last_idx 243 ipc/util.c ids->last_idx = idx; last_idx 638 kernel/bpf/verifier.c int i, last_idx; last_idx 640 kernel/bpf/verifier.c last_idx = state->acquired_refs - 1; last_idx 643 kernel/bpf/verifier.c if (last_idx && i != last_idx) last_idx 644 kernel/bpf/verifier.c memcpy(&state->refs[i], &state->refs[last_idx], last_idx 646 kernel/bpf/verifier.c memset(&state->refs[last_idx], 0, sizeof(*state->refs)); last_idx 1665 kernel/bpf/verifier.c int last_idx = env->insn_idx; last_idx 1719 kernel/bpf/verifier.c verbose(env, "last_idx %d first_idx %d\n", last_idx, first_idx); last_idx 1720 kernel/bpf/verifier.c for (i = last_idx;;) { last_idx 1817 kernel/bpf/verifier.c last_idx = st->last_insn_idx; last_idx 533 net/ipv4/fib_semantics.c struct fib_info **last_resort, int *last_idx, last_idx 559 net/ipv4/fib_semantics.c (*last_idx < 0 && order > dflt && state != NUD_INCOMPLETE)) { last_idx 561 net/ipv4/fib_semantics.c *last_idx = order; last_idx 1995 net/ipv4/fib_semantics.c int order = -1, last_idx = -1; last_idx 2036 net/ipv4/fib_semantics.c &last_idx, fa1->fa_default)) { last_idx 2051 net/ipv4/fib_semantics.c if (!fib_detect_death(fi, order, &last_resort, &last_idx, last_idx 2058 net/ipv4/fib_semantics.c if (last_idx >= 0) last_idx 2060 net/ipv4/fib_semantics.c fa1->fa_default = last_idx;