/freebsd/sbin/ipfw/ |
H A D | nat64lsn.c | 90 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 D | dpaa2_swp.c | 224 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 D | dpaa2_swp.h | 472 uint32_t next_idx; member
|
/freebsd/sys/dev/gve/ |
H A D | gve_rx_dqo.c | 241 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 D | gve_tx.c | 616 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 D | gve_rx.c | 627 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 D | gve.h | 260 uint8_t next_idx; /* index of the next frag to post */ member
|
/freebsd/crypto/openssh/ |
H A D | xmss_fast.h | 37 unsigned int next_idx; member
|
H A D | xmss_fast.c | 264 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 D | sshkey-xmss.c | 705 (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 D | qplib_fp.c | 688 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 D | qplib_fp.h | 170 int next_idx; member
|
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_ioctl.h | 178 uint32_t next_idx; /* index of next entry in slowpath trace log */ member
|
H A D | ql_ioctl.c | 651 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 D | ocs_sport.c | 1216 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 D | ocs_common.h | 135 uint32_t next_idx; /*<< index of the next node group in list */ member
|
/freebsd/sys/dev/virtio/ |
H A D | virtqueue.c | 863 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 D | ip_fw_nat64.h | 176 uint64_t next_idx; /* next state index */ member
|