Searched refs:hwcur (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/sys/net/
H A Dnetmap.h768 uint32_t hwcur; /* AR+ KW+ the hwcur of the kern netmap_kring */ member in struct:nm_csb_ktoa
855 /* Application side of sync-kloop: Read kring pointers (hwcur, hwtail) from
859 uint32_t *hwcur)
863 * overtakes the update of hwcur.
868 *hwcur = ktoa->hwcur;
870 /* Make sure that loads from ktoa->hwtail and ktoa->hwcur are not delayed
858 nm_sync_kloop_appl_read(struct nm_csb_ktoa *ktoa, uint32_t *hwtail, uint32_t *hwcur) argument
/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dlib_driver.c147 code = CallDriver_4(sp, hwcur, yold, xold, ynew, xnew);
/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_generic.c501 u_int hwcur = kring->nr_hwcur; local
505 nm_prdis("hwcur = %d, hwtail = %d", kring->nr_hwcur, kring->nr_hwtail);
507 while (nm_i != hwcur) { /* buffers not completed */
583 generic_set_tx_event(struct netmap_kring *kring, u_int hwcur) argument
590 if (ntc == hwcur) {
596 * and hwcur, and we have to chose one of these slot to
605 e = ring_middle(ntc, hwcur, lim);
676 nm_prdis("Place txqdisc event (hwcur=%u,event=%u,"
774 /* Update hwcur to the next slot to transmit. Here nm_i
H A Dnetmap_kloop.c63 /* Write kring pointers (hwcur, hwtail) to the CSB.
66 sync_kloop_kernel_write(struct nm_csb_ktoa __user *ptr, uint32_t hwcur, argument
70 * netmap ring do not overcome updates on ktoa->hwcur and ktoa->hwtail. */
75 * We allow the application to read a value of hwcur more recent than the value
77 * ring state (and hwcur can never wraparound hwtail, since hwcur must be
84 * STORE(hwcur) LOAD(hwtail)
86 * STORE(hwtail) LOAD(hwcur)
88 CSB_WRITE(ptr, hwcur, hwcur);
[all...]
H A Dnetmap.c1160 * Scan the buffers from hwcur to ring->head, and put a copy of those
1289 /* Take packets from hwcur to head and pass them up.
1290 * Force hwcur = head since netmap_grab_packets() stops at head
1625 * hwcur is the next packet to send to the ring.
1628 * hwcur <= *rhead <= head <= cur <= tail = *rtail <= hwtail
1630 * hwcur, rhead, rtail and hwtail are reliable
1690 * hwcur <= head <= cur <= tail <= hwtail
1693 * hwcur and hwtail are reliable.
1709 * - head is not an issue because the previous value is hwcur;
1720 /* want hwcur <
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/win32con/
H A Dwin_driver.c449 TCB->drv->hwcur(TCB,
1569 drv_mvcur, /* hwcur */

Completed in 84 milliseconds