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

/freebsd-current/sys/dev/virtio/
H A Dvirtio_ring.h163 * just incremented index from old to new_idx, should we trigger an
167 vring_need_event(uint16_t event_idx, uint16_t new_idx, uint16_t old) argument
170 return (uint16_t)(new_idx - event_idx - 1) < (uint16_t)(new_idx - old);
H A Dvirtqueue.c823 uint16_t new_idx, prev_idx, event_idx, flags; local
826 new_idx = vq_htog16(vq, vq->vq_ring.avail->idx);
827 prev_idx = new_idx - vq->vq_queued_cnt;
830 return (vring_need_event(event_idx, new_idx, prev_idx) != 0);
/freebsd-current/sys/net/route/
H A Dnhop_utils.c115 bitmask_copy(const struct bitmask_head *bi, void *new_idx, uint32_t new_items) argument
119 _bitmask_init_idx(new_idx, new_items);
124 memcpy(new_idx, bi->idx, _BLOCKS_TO_SZ(bi->blocks));
136 bitmask_swap(struct bitmask_head *bh, void *new_idx, uint32_t new_items, void **pidx) argument
142 bh->idx = (u_long *)new_idx;
H A Dnhop_utils.h176 void bitmask_swap(struct bitmask_head *bh, void *new_idx, uint32_t new_items, void **pidx);
178 int bitmask_copy(const struct bitmask_head *bi, void *new_idx, uint32_t new_items);
/freebsd-current/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionValueArray.cpp119 uint32_t new_idx = UINT32_MAX;
122 new_idx = array_count - idx;
125 new_idx = idx;
128 if (new_idx < array_count) {
129 if (m_values[new_idx]) {
131 return m_values[new_idx]->GetSubValue(exe_ctx, sub_value, error);
133 return m_values[new_idx];
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStreamTee.h73 size_t new_idx = m_streams.size(); local
76 return new_idx;
/freebsd-current/crypto/openssl/crypto/engine/
H A Deng_dyn.c212 int new_idx = ENGINE_get_ex_new_index(0, NULL, NULL, NULL, local
214 if (new_idx == -1) {
223 dynamic_ex_data_idx = new_idx;
224 new_idx = -1;
228 * In theory we could "give back" the index here if (new_idx>-1), but
/freebsd-current/sys/netpfil/ipfw/
H A Dip_fw_table_value.c180 void *new_idx; local
188 new_idx = NULL;
203 ipfw_objhash_bitmap_alloc(val_size, (void *)&new_idx,
220 ipfw_objhash_bitmap_merge(CHAIN_TO_VI(ch), &new_idx, &new_blocks); local
227 ipfw_objhash_bitmap_swap(CHAIN_TO_VI(ch), &new_idx, &new_blocks); local
240 ipfw_objhash_bitmap_free(new_idx, new_blocks);
H A Dip_fw_table.c1540 void *new_idx, *old_tablestate, *tablestate; local
1557 ipfw_objhash_bitmap_alloc(ntables, (void *)&new_idx, &new_blocks);
1575 ipfw_objhash_bitmap_merge(ni, &new_idx, &new_blocks);
1582 ipfw_objhash_bitmap_swap(ni, &new_idx, &new_blocks);
1604 ipfw_objhash_bitmap_free(new_idx, new_blocks);
H A Dip_fw_sockopt.c4280 u_long *old_idx, *new_idx; local
4285 new_idx = *idx;
4289 memcpy(&new_idx[new_blocks * i], &old_idx[old_blocks * i],
/freebsd-current/usr.sbin/bhyve/
H A Dvirtio.c473 uint16_t event_idx, new_idx, old_idx; local
487 vq->vq_save_used = new_idx = vq->vq_used->idx;
504 intr = (uint16_t)(new_idx - event_idx - 1) <
505 (uint16_t)(new_idx - old_idx);
507 intr = new_idx != old_idx &&
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dbtree.c1161 zfs_btree_index_t new_idx; local
1162 VERIFY3P(zfs_btree_first_helper(tree, subtree, &new_idx), !=,
1164 ASSERT0(new_idx.bti_offset);
1165 ASSERT(!zfs_btree_is_core(new_idx.bti_node));
1167 (zfs_btree_leaf_t *)new_idx.bti_node, buf, 0);
1582 uint32_t new_idx = idx; local
1586 new_idx += keep_hdr->bth_count + 1;
1628 ASSERT3P(keep->btc_children[new_idx], ==, rm_hdr);
1629 bt_shift_core_left(tree, keep, new_idx, keep_hdr->bth_count - new_idx,
[all...]
/freebsd-current/sys/dev/liquidio/base/
H A Dcn23xx_pf_device.c786 uint32_t new_idx; local
798 new_idx = (iq->octeon_read_index +
802 return (new_idx);
/freebsd-current/sys/dev/qlnx/qlnxe/
H A Decore_ll2.c214 u16 new_idx = 0, num_bds = 0, num_bds_in_packet = 0; local
231 new_idx = OSAL_LE16_TO_CPU(*p_tx->p_fw_cons);
232 num_bds = ((s16)new_idx - (s16)p_tx->bds_idx);
770 u16 new_idx = 0, num_bds = 0; local
773 new_idx = OSAL_LE16_TO_CPU(*p_tx->p_fw_cons);
774 num_bds = ((s16)new_idx - (s16)p_tx->bds_idx);
/freebsd-current/sys/dev/iwn/
H A Dif_iwn.c3809 int diff, min_retries, max_retries, new_idx, loop_end; local
3811 new_idx = idx - IWN_LONG_RETRY_LIMIT_LOG;
3812 if (new_idx < 0)
3813 new_idx += IWN_TX_RING_COUNT;
3819 if (!iwn_ampdu_check_bitmap(bitmap, start, new_idx)) {
3820 data = &ring->data[new_idx];
3825 ring->qid, new_idx);
3834 data = &ring->data[new_idx];
3835 diff = idx - new_idx;
3840 if ((new_idx
[all...]
/freebsd-current/sys/arm/arm/
H A Dpmap-v6.c536 int old_idx, new_idx; local
540 new_idx = PTE2_ATTR2IDX(pte2_attr_tab[(int)new_attr]);
543 tex_class[old_idx] = tex_class[new_idx];

Completed in 181 milliseconds