Home
last modified time | relevance | path

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

/netbsd-src/usr.sbin/powerd/
H A Dpowerd.c249 static struct kevent changebuf[8]; variable
256 if (nchanges == __arraycount(changebuf)) { in allocchange()
261 return &changebuf[nchanges++]; in allocchange()
269 while ((rv = prog_kevent(kq, nchanges ? changebuf : NULL, nchanges, in wait_for_events()
/netbsd-src/usr.sbin/inetd/
H A Dinetd.c254 struct kevent changebuf[64]; variable
417 n = my_kevent(changebuf, changes, eventbuf, __arraycount(eventbuf)); in main()
1599 if (changes == __arraycount(changebuf)) { in allocchange()
1600 (void) my_kevent(changebuf, __arraycount(changebuf), NULL, 0); in allocchange()
1604 return (&changebuf[changes++]); in allocchange()