Home
last modified time | relevance | path

Searched refs:next_idx (Results 1 – 18 of 18) sorted by relevance

/freebsd/sbin/ipfw/
H A Dnat64lsn.c90 uint64_t next_idx; in nat64lsn_print_states() local
98 next_idx = 0; in nat64lsn_print_states()
100 while (sz > 0 && next_idx != 0xFF) { in nat64lsn_print_states()
101 next_idx = stg->next.index; in nat64lsn_print_states()
155 return (next_idx); in nat64lsn_print_states()
164 uint64_t next_idx; in nat64lsn_states_cb() local
173 next_idx = 0; in nat64lsn_states_cb()
183 od->head.length = sizeof(*od) + sizeof(next_idx); in nat64lsn_states_cb()
184 *((uint64_t *)(od + 1)) = next_idx; in nat64lsn_states_cb()
187 next_idx = nat64lsn_print_states(buf); in nat64lsn_states_cb()
[all …]
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_swp.c224 p->dqrr.next_idx = 0; in dpaa2_swp_init_portal()
646 ? DPAA2_SWP_CENA_DQRR_MEM(swp->dqrr.next_idx) in dpaa2_swp_dqrr_next_locked()
647 : DPAA2_SWP_CENA_DQRR(swp->dqrr.next_idx); in dpaa2_swp_dqrr_next_locked()
668 if (pi == swp->dqrr.next_idx) in dpaa2_swp_dqrr_next_locked()
681 if (swp->dqrr.next_idx == (swp->dqrr.ring_size - 1)) in dpaa2_swp_dqrr_next_locked()
695 *idx = swp->dqrr.next_idx; in dpaa2_swp_dqrr_next_locked()
701 swp->dqrr.next_idx++; in dpaa2_swp_dqrr_next_locked()
702 swp->dqrr.next_idx &= swp->dqrr.ring_size - 1; /* wrap around */ in dpaa2_swp_dqrr_next_locked()
703 if (swp->dqrr.next_idx == 0u) in dpaa2_swp_dqrr_next_locked()
H A Ddpaa2_swp.h472 uint32_t next_idx; member
/freebsd/sys/dev/gve/
H A Dgve_rx_dqo.c241 buf->next_idx = 0; in gve_clear_rx_ring_dqo()
423 gve_rx_post_qpl_buf_dqo(rx, buf, buf->next_idx); in gve_rx_post_new_dqo_qpl_buf()
424 if (buf->next_idx == GVE_DQ_NUM_FRAGS_IN_PAGE - 1) in gve_rx_post_new_dqo_qpl_buf()
425 buf->next_idx = 0; in gve_rx_post_new_dqo_qpl_buf()
427 buf->next_idx++; in gve_rx_post_new_dqo_qpl_buf()
435 if (buf->next_idx == 0) in gve_rx_post_new_dqo_qpl_buf()
926 if (buf->num_nic_frags == 0 && buf->next_idx == 0) in gve_rx_dqo_qpl()
H A Dgve_tx.c616 uint32_t next_idx; in gve_xmit() local
712 next_idx = (tx->req + 1) & tx->mask; in gve_xmit()
713 mtd_desc = &tx->desc_ring[next_idx].mtd; in gve_xmit()
718 next_idx = (tx->req + 1 + mtd_desc_nr + i - payload_iov) & tx->mask; in gve_xmit()
719 seg_desc = &tx->desc_ring[next_idx].seg; in gve_xmit()
H A Dgve_rx.c627 uint32_t next_idx; in gve_rx_work_pending() local
629 next_idx = rx->cnt & rx->mask; in gve_rx_work_pending()
630 desc = rx->desc_ring + next_idx; in gve_rx_work_pending()
H A Dgve.h260 uint8_t next_idx; /* index of the next frag to post */ member
/freebsd/crypto/openssh/
H A Dxmss_fast.h37 unsigned int next_idx; member
H A Dxmss_fast.c264 setLtreeADRS(ltree_addr, treehash->next_idx); in treehash_update()
265 setOTSADRS(ots_addr, treehash->next_idx); in treehash_update()
274 setTreeIndex(node_addr, (treehash->next_idx >> (nodeheight+1))); in treehash_update()
289 treehash->next_idx++; in treehash_update()
509 state->treehash[i].next_idx = startidx; in bds_round()
H A Dsshkey-xmss.c705 (r = sshbuf_put_u32(b, th->next_idx)) != 0 || in sshkey_xmss_serialize_state()
817 (r = sshbuf_get_u32(b, &th->next_idx)) != 0 || in sshkey_xmss_deserialize_state()
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dqplib_fp.c688 srq->swq[idx].next_idx = idx + 1; in bnxt_qplib_create_srq()
689 srq->swq[srq->last_idx].next_idx = -1; in bnxt_qplib_create_srq()
783 srq->start_idx = srq->swq[next].next_idx; in bnxt_qplib_post_srq_recv()
850 que->swq[indx].next_idx = indx + 1; in bnxt_qplib_alloc_init_swq()
851 que->swq[que->swq_last].next_idx = 0; /* Make it circular */ in bnxt_qplib_alloc_init_swq()
870 que->swq_start = que->swq[idx].next_idx; in bnxt_qplib_swq_mod_start()
2658 sq->swq_last = sq->swq[last].next_idx; in __flush_sq()
2712 rq->swq_last = rq->swq[last].next_idx; in __flush_rq()
2916 if (swq->next_idx == cqe_sq_cons && in bnxt_qplib_cq_process_req()
2954 sq->swq_last = swq->next_idx; in bnxt_qplib_cq_process_req()
[all …]
H A Dqplib_fp.h170 int next_idx; member
/freebsd/sys/dev/qlxgbe/
H A Dql_ioctl.h178 uint32_t next_idx; /* index of next entry in slowpath trace log */ member
H A Dql_ioctl.c651 log->next_idx = ha->hw.sp_log_index; in ql_slowpath_log()
656 __func__, rval, log->next_idx, log->num_entries, size); in ql_slowpath_log()
/freebsd/sys/dev/ocs_fc/
H A Docs_sport.c1216 ocs_ddump_value(textbuf, "next_idx", "%d", node_group_dir->next_idx); in ocs_ddump_sport()
1654 node_group_dir->next_idx = 0; in ocs_node_group_dir_alloc()
1889 if (idx == node_group_dir->next_idx) { in ocs_node_group_init()
1897 if (++node_group_dir->next_idx >= node_group_dir->node_group_list_count) { in ocs_node_group_init()
1898 node_group_dir->next_idx = 0; in ocs_node_group_init()
H A Docs_common.h135 uint32_t next_idx; /*<< index of the next node group in list */ member
/freebsd/sys/dev/virtio/
H A Dvirtqueue.c863 uint16_t next_idx = vq_htog16(vq, dp->next); in vq_ring_free_chain() local
864 VQ_RING_ASSERT_VALID_IDX(vq, next_idx); in vq_ring_free_chain()
865 dp = &vq->vq_ring.desc[next_idx]; in vq_ring_free_chain()
/freebsd/sys/netinet6/
H A Dip_fw_nat64.h176 uint64_t next_idx; /* next state index */ member