Home
last modified time | relevance | path

Searched refs:last_idx (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stack_store.cpp80 uptr last_idx = GetBlockIdx(start + count - 1); in Alloc()
81 if (LIKELY(block_idx == last_idx)) { in Alloc()
96 *pack += blocks_[last_idx].Stored(count - in_first); in Map()
77 uptr last_idx = GetBlockIdx(start + count - 1); Alloc() local
/freebsd/sys/dev/dwc/
H A Ddwc1000_dma.c427 int idx, last_idx; in dma1000_txfinish_locked() local
438 last_idx = next_txidx(sc, bmap->last_desc_idx); in dma1000_txfinish_locked()
439 while (idx != last_idx) { in dma1000_txfinish_locked()
456 while (sc->tx_desc_tail != last_idx) { in dma1000_txfinish_locked()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DDWARFExpression.cpp1299 size_t last_idx = stack.size() - 1; in Evaluate() local
1300 Value old_top = stack[last_idx]; in Evaluate()
1301 stack[last_idx] = stack[last_idx - 1]; in Evaluate()
1302 stack[last_idx - 1] = stack[last_idx - 2]; in Evaluate()
1303 stack[last_idx - 2] = old_top; in Evaluate()
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dutils.c231 u8 iwl_mvm_next_antenna(struct iwl_mvm *mvm, u8 valid, u8 last_idx) in iwl_mvm_next_antenna() argument
233 u8 ind = last_idx; in iwl_mvm_next_antenna()
243 return last_idx; in iwl_mvm_next_antenna()
H A Dmvm.h1810 u8 iwl_mvm_next_antenna(struct iwl_mvm *mvm, u8 valid, u8 last_idx);
/freebsd/sys/dev/et/
H A Dif_et.c2150 int error, i, idx, first_idx, last_idx, nsegs; in et_encap() local
2202 last_idx = -1; in et_encap()
2212 last_idx = idx; in et_encap()
2226 MPASS(last_idx >= 0); in et_encap()
2227 tbd->tbd_buf[first_idx].tb_dmap = tbd->tbd_buf[last_idx].tb_dmap; in et_encap()
2228 tbd->tbd_buf[last_idx].tb_dmap = map; in et_encap()
2229 tbd->tbd_buf[last_idx].tb_mbuf = m; in et_encap()
/freebsd/sys/dev/enic/
H A Denic.h398 uint32_t last_idx; /* Used by RX rings only member
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/
H A Dmac.c1094 int first_idx = 0, last_idx; in mt7603_fill_txs() local
1115 last_idx = FIELD_GET(MT_TXS4_LAST_TX_RATE, txs); in mt7603_fill_txs()
1137 first_idx = max_t(int, 0, last_idx - (count - 1) / MT7603_RATE_RETRY); in mt7603_fill_txs()
1166 for (i = 0, idx = first_idx; count && idx <= last_idx; idx++) { in mt7603_fill_txs()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dmac.c1324 int first_idx = 0, last_idx; in mt7615_fill_txs() local
1337 last_idx = FIELD_GET(MT_TXS3_LAST_TX_RATE, txs); in mt7615_fill_txs()
1360 first_idx = max_t(int, 0, last_idx - (count - 1) / MT7615_RATE_RETRY); in mt7615_fill_txs()
1392 for (i = 0, idx = first_idx; count && idx <= last_idx; idx++) { in mt7615_fill_txs()
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dqplib_fp.h93 int last_idx; member
H A Dqplib_fp.c686 srq->last_idx = srq->hwq.depth - 1; in bnxt_qplib_create_srq()
689 srq->swq[srq->last_idx].next_idx = -1; in bnxt_qplib_create_srq()
775 if (srq->start_idx == srq->last_idx) { in bnxt_qplib_post_srq_recv()
2975 srq->swq[srq->last_idx].next_idx = (int)tag; in bnxt_qplib_release_srqe()
2976 srq->last_idx = (int)tag; in bnxt_qplib_release_srqe()
2977 srq->swq[srq->last_idx].next_idx = -1; in bnxt_qplib_release_srqe()
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt.h577 uint32_t last_idx; /* Used by RX rings only
576 uint32_t last_idx; /* Used by RX rings only global() member
H A Dif_bnxt.c2815 softc->nq_rings[i].last_idx = UINT32_MAX; in bnxt_init()
2828 softc->rx_cp_rings[i].last_idx = UINT32_MAX; in bnxt_init()
/freebsd/sys/dev/bxe/
H A Dbxe.c7813 char last_idx; in bxe_mc_assert() local
7818 last_idx = REG_RD8(sc, BAR_XSTRORM_INTMEM + XSTORM_ASSERT_LIST_INDEX_OFFSET); in bxe_mc_assert()
7819 if (last_idx) in bxe_mc_assert()
7820 BLOGE(sc, "XSTORM_ASSERT_LIST_INDEX 0x%x\n", last_idx); in bxe_mc_assert()
7840 last_idx = REG_RD8(sc, BAR_TSTRORM_INTMEM + TSTORM_ASSERT_LIST_INDEX_OFFSET); in bxe_mc_assert()
7841 if (last_idx) { in bxe_mc_assert()
7842 BLOGE(sc, "TSTORM_ASSERT_LIST_INDEX 0x%x\n", last_idx); in bxe_mc_assert()
7863 last_idx = REG_RD8(sc, BAR_CSTRORM_INTMEM + CSTORM_ASSERT_LIST_INDEX_OFFSET); in bxe_mc_assert()
7864 if (last_idx) { in bxe_mc_assert()
7865 BLOGE(sc, "CSTORM_ASSERT_LIST_INDEX 0x%x\n", last_idx); in bxe_mc_assert()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp7267 const size_t last_idx = args_size - 1; in GetNthTemplateArgument() local
7271 if (idx < last_idx) in GetNthTemplateArgument()
7276 if (!expand_pack || args[last_idx].getKind() != clang::TemplateArgument::Pack) in GetNthTemplateArgument()
7282 const auto &pack = args[last_idx]; in GetNthTemplateArgument()
7283 const size_t pack_idx = idx - last_idx; in GetNthTemplateArgument()