Searched refs:nidx (Results 1 – 8 of 8) sorted by relevance
/freebsd/sys/dev/dwc/ |
H A D | dwc1000_dma.c | 226 uint32_t nidx; in rxdesc_setup() local 229 nidx = next_rxidx(sc, idx); in rxdesc_setup() 231 (nidx * sizeof(struct dwc_hwdesc)); in rxdesc_setup() 242 return (nidx); in rxdesc_setup() 623 int nidx; in dma1000_init() local 690 nidx = next_txidx(sc, idx); in dma1000_init() 692 (nidx * sizeof(struct dwc_hwdesc)); in dma1000_init()
|
/freebsd/sys/fs/tarfs/ |
H A D | tarfs_io.c | 232 if (++zio->curidx >= zio->nidx) { in tarfs_zio_update_index() 233 if (++zio->nidx > zio->szidx) { in tarfs_zio_update_index() 300 vap->va_size = zio->idx[zio->nidx - 1].o; in tarfs_zgetattr() 348 while (zio->curidx < zio->nidx - 1 && in tarfs_zread_zstd() 626 zio->nidx = 1; in tarfs_zio_init()
|
H A D | tarfs.h | 158 unsigned int nidx; /* number of index entries */ member
|
/freebsd/sys/dev/ffec/ |
H A D | if_ffec.c | 595 uint32_t nidx; in ffec_setup_txdesc() 598 nidx = next_txidx(sc, idx); in ffec_setup_txdesc() 608 if (nidx == 0) in ffec_setup_txdesc() 619 return (nidx); in ffec_setup_txdesc() 750 uint32_t nidx; in ffec_setup_rxdesc() 757 nidx = next_rxidx(sc, idx); in ffec_setup_rxdesc() 760 ((nidx == 0) ? FEC_RXDESC_WRAP : 0); in ffec_setup_rxdesc() 762 return (nidx); in ffec_setup_rxdesc() 594 uint32_t nidx; ffec_setup_txdesc() local 749 uint32_t nidx; ffec_setup_rxdesc() local
|
/freebsd/sys/dev/mmc/host/ |
H A D | dwmmc.c | 234 int nidx; in dma_setup() local 278 nidx = (idx + 1) % IDMAC_DESC_SEGS; in dma_setup() 280 (nidx * sizeof(struct idmac_desc)); in dma_setup()
|
/freebsd/contrib/bc/src/ |
H A D | program.c | 178 size_t vidx, nidx, i = 0; in bc_program_dereference() local 186 nidx = bc_program_index(vec->v, &i); in bc_program_dereference() 188 v = bc_vec_item(bc_vec_item(&p->arrs, vidx), nidx); in bc_program_dereference()
|
/freebsd/sys/netinet/tcp_stacks/ |
H A D | bbr.c | 4172 int idx, nidx; in bbr_calc_thresh_tlp() local 4175 nidx = prsm->r_rtr_cnt - 1; in bbr_calc_thresh_tlp() 4176 if (TSTMP_GEQ(rsm->r_tim_lastsent[nidx], prsm->r_tim_lastsent[idx])) { in bbr_calc_thresh_tlp() 4178 inter_gap = rsm->r_tim_lastsent[idx] - prsm->r_tim_lastsent[nidx]; in bbr_calc_thresh_tlp()
|
H A D | rack.c | 6019 int idx, nidx; in rack_calc_thresh_tlp() local 6022 nidx = prsm->r_rtr_cnt - 1; in rack_calc_thresh_tlp() 6023 if (rsm->r_tim_lastsent[nidx] >= prsm->r_tim_lastsent[idx]) { in rack_calc_thresh_tlp() 6025 inter_gap = rsm->r_tim_lastsent[idx] - prsm->r_tim_lastsent[nidx]; in rack_calc_thresh_tlp()
|