Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libsysevent/
H A Dlibevchannel.c154 EV_FD(scp) = open(DEVSYSEVENT, O_RDWR); in sysevent_evc_bind()
155 if (EV_FD(scp) == -1) { in sysevent_evc_bind()
162 EV_FD(scp) = open(DEVICESYSEVENT, O_RDWR); in sysevent_evc_bind()
163 if (EV_FD(scp) == -1) { in sysevent_evc_bind()
176 (void) fcntl(EV_FD(scp), F_SETFD, FD_CLOEXEC); in sysevent_evc_bind()
182 if (ioctl(EV_FD(scp), SEV_CHAN_OPEN, &uargs) != 0) { in sysevent_evc_bind()
184 (void) close(EV_FD(scp)); in sysevent_evc_bind()
226 if (ioctl(EV_FD(scp), SEV_UNSUBSCRIBE, (intptr_t)&uargs) != 0) { in sysevent_evc_unbind()
253 (void) close(EV_FD(scp)); in sysevent_evc_unbind()
295 rc = ioctl(EV_FD(scp), SEV_PUBLISH, (intptr_t)&uargs); in sysevent_evc_publish()
[all …]
H A Dlibsysevent_impl.h133 #define EV_FD(evcp) (EVCHAN_IMPL_HNDL(evcp)->ev_fd) macro