Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_files.c38 static evFile *FindFD(const evContext_p *ctx, int fd, int eventmask);
43 int eventmask, in evSelectFD() argument
54 ctx, fd, eventmask, func, uap); in evSelectFD()
55 if (eventmask == 0 || (eventmask & ~EV_MASK_ALL) != 0) in evSelectFD()
94 if (id != NULL && FindFD(ctx, fd, eventmask) != NULL) in evSelectFD()
102 id->eventmask = eventmask; in evSelectFD()
133 if (eventmask & EV_READ) in evSelectFD()
135 if (eventmask & EV_WRITE) in evSelectFD()
137 if (eventmask & EV_EXCEPT) in evSelectFD()
156 int mode, eventmask; in evDeselectFD() local
[all …]
H A Deventlib.c401 int fd, eventmask; in evGetNext() local
430 eventmask = 0; in evGetNext()
432 eventmask |= EV_READ; in evGetNext()
434 eventmask |= EV_WRITE; in evGetNext()
436 eventmask |= EV_EXCEPT; in evGetNext()
437 eventmask &= fid->eventmask; in evGetNext()
438 if (eventmask != 0) { in evGetNext()
439 if ((eventmask & EV_READ) != 0) { in evGetNext()
443 if ((eventmask & EV_WRITE) != 0) { in evGetNext()
447 if ((eventmask & EV_EXCEPT) != 0) { in evGetNext()
[all …]
H A Deventlib_p.h116 int eventmask; member
170 struct { evFile *this; int eventmask; } file; member
/illumos-gate/usr/src/lib/libc/inc/
H A Dtdb_agent.h48 td_thr_events_t eventmask; /* Which events are enabled? */ member
55 td_thr_events_t eventmask; /* Which events are enabled? */ member
266 td_eventismember(&(ulwp)->ul_td_evbuf.eventmask, (event))) || \
/illumos-gate/usr/src/cmd/mdb/common/modules/libc/
H A Dlibc.c607 OFFSET(ul_td_evbuf.eventmask.event_bits[0]), in d_ulwp()
608 ulwp.ul_td_evbuf.eventmask.event_bits[0], in d_ulwp()
609 ulwp.ul_td_evbuf.eventmask.event_bits[1], in d_ulwp()
/illumos-gate/usr/src/lib/libc_db/common/
H A Dthread_db.c1341 ti_p->ti_events = ulwp->ul_td_evbuf.eventmask; in td_thr2to()
1385 ti_p->ti_events = ulwp->ul_td_evbuf.eventmask; in td_thr2to32()
1511 psaddr_evset = (psaddr_t)&ulwp->ul_td_evbuf.eventmask; in mod_eventset()
1516 psaddr_evset = (psaddr_t)&ulwp->ul_td_evbuf.eventmask; in mod_eventset()
/illumos-gate/usr/src/uts/common/pcmcia/nexus/
H A Dpcmcia.c2290 pcm_mapevents(uint32_t eventmask) in pcm_mapevents() argument
2295 for (i = 0, mask = 0; eventmask && i < 32; i++) { in pcm_mapevents()
2296 if (eventmask & (1 << i)) { in pcm_mapevents()
2298 eventmask &= ~(1 << i); in pcm_mapevents()