HomeSort by: relevance | last modified time | path
    Searched defs:widx (Results 1 - 4 of 4) sorted by relevancy

  /src/sys/dev/pci/
if_txp.c 1794 uint32_t widx, ridx, nfree; local in function:txp_cmd_desc_numfree
1796 widx = sc->sc_cmdring.lastwrite;
1799 if (widx == ridx) {
1803 if (widx > ridx)
1805 (widx - ridx + sizeof(struct txp_cmd_desc));
1807 nfree = ridx - widx - sizeof(struct txp_cmd_desc);
if_txp.c 1794 uint32_t widx, ridx, nfree; local in function:txp_cmd_desc_numfree
1796 widx = sc->sc_cmdring.lastwrite;
1799 if (widx == ridx) {
1803 if (widx > ridx)
1805 (widx - ridx + sizeof(struct txp_cmd_desc));
1807 nfree = ridx - widx - sizeof(struct txp_cmd_desc);
  /src/sys/dev/hyperv/
vmbus.c 1677 uint32_t widx = rd->rd_ring->br_windex; local in function:vmbus_ring_avail
1681 if (widx >= ridx)
1682 w = rd->rd_dsize - (widx - ridx);
1684 w = ridx - widx;
vmbus.c 1677 uint32_t widx = rd->rd_ring->br_windex; local in function:vmbus_ring_avail
1681 if (widx >= ridx)
1682 w = rd->rd_dsize - (widx - ridx);
1684 w = ridx - widx;

Completed in 28 milliseconds