Searched refs:widx (Results 1 - 5 of 5) sorted by relevance

/netbsd-current/external/bsd/ntp/dist/sntp/libevent/test/
H A Dbench.c78 ev_intptr_t idx = (ev_intptr_t) arg, widx = idx + 1; local
88 if (widx >= num_pipes)
89 widx -= num_pipes;
90 n = send(pipes[2 * widx + 1], "e", 1, 0);
/netbsd-current/external/bsd/libevent/dist/test/
H A Dbench.c82 ev_intptr_t idx = (ev_intptr_t) arg, widx = idx + 1; local
92 if (widx >= num_pipes)
93 widx -= num_pipes;
94 n = send(pipes[2 * widx + 1], "e", 1, 0);
/netbsd-current/sys/dev/pci/
H A Dif_txp.c1794 uint32_t widx, ridx, nfree; local
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);
/netbsd-current/external/bsd/ntp/dist/ntpd/
H A Dntp_control.c923 u_int widx, bidx, mask; local
928 while (0 != (widx = (u_char)*name++)) {
929 bidx = (widx & 15) << 1;
930 widx = widx >> 4;
931 if (widx >= sizeof(chclass)/sizeof(chclass[0]))
933 if (0 == ((chclass[widx] >> bidx) & mask))
/netbsd-current/sys/dev/hyperv/
H A Dvmbus.c1659 uint32_t widx = rd->rd_ring->br_windex; local
1662 if (widx >= ridx)
1663 w = rd->rd_dsize - (widx - ridx);
1665 w = ridx - widx;

Completed in 203 milliseconds