Home
last modified time | relevance | path

Searched refs:cothread_t (Results 1 – 5 of 5) sorted by relevance

/dragonfly/sys/platform/vkernel64/include/
H A Dcothread.h53 typedef struct cothread *cothread_t; typedef
55 cothread_t cothread_create(void (*thr_func)(cothread_t cotd),
56 void (*thr_intr)(cothread_t cotd),
58 void cothread_delete(cothread_t *cotdp);
59 void cothread_intr(cothread_t cotd);
60 void cothread_signal(cothread_t cotd);
61 void cothread_wait(cothread_t cotd);
62 void cothread_lock(cothread_t cotd, int is_cotd);
63 void cothread_unlock(cothread_t cotd, int is_cotd);
65 void cothread_sleep(cothread_t cotd, struct timespec *ts);
[all …]
/dragonfly/sys/platform/vkernel64/platform/
H A Dcothread.c78 cothread_t
80 void (*thr_intr)(cothread_t cotd), in cothread_create()
83 cothread_t cotd; in cothread_create()
123 cothread_delete(cothread_t *cotdp) in cothread_delete()
125 cothread_t cotd; in cothread_delete()
141 cothread_t cotd = arg; in cothread_thread()
157 cothread_intr(cothread_t cotd) in cothread_intr()
167 cothread_signal(cothread_t cotd) in cothread_signal()
177 cothread_wait(cothread_t cotd) in cothread_wait()
210 cothread_lock(cothread_t cotd, int is_cotd) in cothread_lock()
[all …]
H A Dsystimer.c75 static cothread_t vktimer_cotd;
88 static void vktimer_thread(cothread_t cotd);
217 vktimer_thread(cothread_t cotd) in vktimer_thread()
/dragonfly/sys/dev/virtual/vkernel/disk/
H A Dvdisk.c61 cothread_t cotd;
72 static void vkd_io_thread(cothread_t cotd);
73 static void vkd_io_intr(cothread_t cotd);
238 vkd_io_intr(cothread_t cotd) in vkd_io_intr()
273 vkd_io_thread(cothread_t cotd) in vkd_io_thread()
/dragonfly/sys/dev/virtual/vkernel/net/
H A Dif_vke.c96 cothread_t cotd_tx;
97 cothread_t cotd_rx;
135 static void vke_tx_intr(cothread_t cotd);
136 static void vke_tx_thread(cothread_t cotd);
137 static void vke_rx_intr(cothread_t cotd);
138 static void vke_rx_thread(cothread_t cotd);
370 cothread_t cotd = sc->cotd_tx; in vke_start()
531 vke_rx_intr(cothread_t cotd) in vke_rx_intr()
582 vke_tx_intr(cothread_t cotd) in vke_tx_intr()
625 vke_rx_thread(cothread_t cotd) in vke_rx_thread()
[all …]