Searched refs:new_idx (Results 1 - 7 of 7) sorted by relevance

/freebsd-10.2-release/sys/dev/virtio/
H A Dvirtio_ring.h156 * just incremented index from old to new_idx, should we trigger an
160 vring_need_event(uint16_t event_idx, uint16_t new_idx, uint16_t old) argument
163 return (uint16_t)(new_idx - event_idx - 1) < (uint16_t)(new_idx - old);
H A Dvirtqueue.c772 uint16_t new_idx, prev_idx, event_idx; local
775 new_idx = vq->vq_ring.avail->idx;
776 prev_idx = new_idx - vq->vq_queued_cnt;
779 return (vring_need_event(event_idx, new_idx, prev_idx) != 0);
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Interpreter/
H A DOptionValueArray.cpp102 uint32_t new_idx = UINT32_MAX; local
106 new_idx = array_count - idx;
111 new_idx = idx;
114 if (new_idx < array_count)
116 if (m_values[new_idx])
119 return m_values[new_idx]->GetSubValue (exe_ctx, sub_value, will_modify, error);
121 return m_values[new_idx];
/freebsd-10.2-release/contrib/llvm/tools/lldb/include/lldb/Core/
H A DStreamTee.h127 size_t new_idx = m_streams.size(); local
130 return new_idx;
/freebsd-10.2-release/crypto/openssl/crypto/engine/
H A Deng_dyn.c264 int new_idx = ENGINE_get_ex_new_index(0, NULL, NULL, NULL, local
266 if (new_idx == -1) {
274 dynamic_ex_data_idx = new_idx;
275 new_idx = -1;
279 * In theory we could "give back" the index here if (new_idx>-1), but
/freebsd-10.2-release/contrib/llvm/include/llvm/Support/
H A DCFG.h183 unsigned new_idx = idx + Right; local
184 assert(index_is_valid(new_idx) && "Iterator index out of bound");
185 idx = new_idx;
/freebsd-10.2-release/usr.sbin/bhyve/
H A Dvirtio.c445 uint16_t event_idx, new_idx, old_idx; local
459 vq->vq_save_used = new_idx = vq->vq_used->vu_idx;
469 intr = (uint16_t)(new_idx - event_idx - 1) <
470 (uint16_t)(new_idx - old_idx);
472 intr = new_idx != old_idx &&

Completed in 95 milliseconds