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

/freebsd-11-stable/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.c804 uint16_t new_idx, prev_idx, event_idx; local
807 new_idx = vq->vq_ring.avail->idx;
808 prev_idx = new_idx - vq->vq_queued_cnt;
811 return (vring_need_event(event_idx, new_idx, prev_idx) != 0);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionValueArray.cpp112 uint32_t new_idx = UINT32_MAX;
115 new_idx = array_count - idx;
118 new_idx = idx;
121 if (new_idx < array_count) {
122 if (m_values[new_idx]) {
124 return m_values[new_idx]->GetSubValue(exe_ctx, sub_value,
127 return m_values[new_idx];
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStreamTee.h76 size_t new_idx = m_streams.size(); local
79 return new_idx;
/freebsd-11-stable/crypto/openssl/crypto/engine/
H A Deng_dyn.c266 int new_idx = ENGINE_get_ex_new_index(0, NULL, NULL, NULL, local
268 if (new_idx == -1) {
276 dynamic_ex_data_idx = new_idx;
277 new_idx = -1;
281 * In theory we could "give back" the index here if (new_idx>-1), but
/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_fw_table_value.c183 void *new_idx; local
191 new_idx = NULL;
206 ipfw_objhash_bitmap_alloc(val_size, (void *)&new_idx,
223 ipfw_objhash_bitmap_merge(CHAIN_TO_VI(ch), &new_idx, &new_blocks); local
230 ipfw_objhash_bitmap_swap(CHAIN_TO_VI(ch), &new_idx, &new_blocks); local
243 ipfw_objhash_bitmap_free(new_idx, new_blocks);
H A Dip_fw_table.c1538 void *new_idx, *old_tablestate, *tablestate; local
1555 ipfw_objhash_bitmap_alloc(ntables, (void *)&new_idx, &new_blocks);
1574 ipfw_objhash_bitmap_merge(ni, &new_idx, &new_blocks);
1581 ipfw_objhash_bitmap_swap(ni, &new_idx, &new_blocks);
1604 ipfw_objhash_bitmap_free(new_idx, new_blocks);
H A Dip_fw_sockopt.c4287 u_long *old_idx, *new_idx; local
4292 new_idx = *idx;
4296 memcpy(&new_idx[new_blocks * i], &old_idx[old_blocks * i],
/freebsd-11-stable/usr.sbin/bhyve/
H A Dvirtio.c457 uint16_t event_idx, new_idx, old_idx; local
471 vq->vq_save_used = new_idx = vq->vq_used->vu_idx;
488 intr = (uint16_t)(new_idx - event_idx - 1) <
489 (uint16_t)(new_idx - old_idx);
491 intr = new_idx != old_idx &&
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Darwin/
H A DNativeThreadListDarwin.cpp502 for (uint32_t new_idx = 0; new_idx < num_new_threads; ++new_idx)
504 if (thread == new_threads[new_idx].get())
/freebsd-11-stable/sys/dev/liquidio/base/
H A Dcn23xx_pf_device.c787 uint32_t new_idx; local
799 new_idx = (iq->octeon_read_index +
803 return (new_idx);
/freebsd-11-stable/sys/arm/arm/
H A Dpmap-v6.c524 int old_idx, new_idx; local
528 new_idx = pte2_attr_tab[(int)new_attr];
531 tex_class[old_idx] = tex_class[new_idx];

Completed in 156 milliseconds