Home
last modified time | relevance | path

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

/openbsd/sys/miscfs/fifofs/
H A Dfifo_vnops.c63 long fi_writers; member
176 fip->fi_readers = fip->fi_writers = 0; in fifo_open()
199 if (fip->fi_writers > 0) in fifo_open()
200 wakeup(&fip->fi_writers); in fifo_open()
204 fip->fi_writers++; in fifo_open()
209 if (fip->fi_writers == 1) { in fifo_open()
231 error = tsleep_nsec(&fip->fi_writers, in fifo_open()
268 ap->a_vp->v_fifoinfo->fi_writers == 0) in fifo_read()
357 if (--fip->fi_writers == 0) { in fifo_close()
367 if (fip->fi_readers == 0 && fip->fi_writers == 0) { in fifo_close()
[all …]