Searched refs:rwait (Results 1 – 7 of 7) sorted by relevance
/netbsd-src/usr.sbin/timed/timed/ |
H A D | readmsg.c | 55 struct timeval rtime, rwait, rtout; variable 178 timersub(&rtout, &rtime, &rwait); in readmsg() 179 if (rwait.tv_sec < 0) in readmsg() 180 rwait.tv_sec = rwait.tv_usec = 0; in readmsg() 181 else if (rwait.tv_sec == 0 in readmsg() 182 && rwait.tv_usec < 1000000/CLK_TCK) in readmsg() 183 rwait.tv_usec = 1000000/CLK_TCK; in readmsg() 187 (long int)rwait.tv_sec, (long int)rwait.tv_usec, in readmsg() 195 if (rwait.tv_sec != 0 in readmsg() 200 if (!poll(set, 1, (int)(rwait.tv_sec * 1000 + rwait.tv_usec / 1000))) { in readmsg() [all …]
|
/netbsd-src/games/tetris/ |
H A D | input.c | 75 rwait(struct timeval *tvp) in rwait() function 130 if (rwait(&tv) && read(0, &c, 1) != 1) in tsleep() 157 if (!rwait(&timeleft)) in tgetchar()
|
H A D | input.h | 37 int rwait(struct timeval *);
|
H A D | tetris.c | 275 } while (rwait(NULL) == -1); in main()
|
/netbsd-src/lib/librumpuser/ |
H A D | rumpfiber.c | 769 struct waithead rwait; member 782 TAILQ_INIT(&rw->rwait); in rumpuser_rw_init() 800 w = &rw->rwait; in rumpuser_rw_enter() 856 } else if (!TAILQ_EMPTY(&rw->rwait) && rw->o == NULL) { in rumpuser_rw_exit() 857 wakeup_all(&rw->rwait); in rumpuser_rw_exit()
|
/netbsd-src/lib/libpuffs/ |
H A D | framebuf.c | 567 fio->rwait++; in puffs_framev_enqueue_waitevent() 577 fio->rwait--; in puffs_framev_enqueue_waitevent() 578 if (fio->rwait == 0 && (fio->stat & FIO_ENABLE_R) == 0) { in puffs_framev_enqueue_waitevent() 867 if (what & PUFFS_FBIO_READ && fio->rwait == 0) { in puffs_framev_enablefd() 899 if (what & PUFFS_FBIO_READ && fio->rwait == 0) { in puffs_framev_disablefd()
|
H A D | puffs_priv.h | 58 int rwait; member
|