Lines Matching refs:EV_FD
154 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()
545 if (ioctl(EV_FD(scp), SEV_SUBSCRIBE, (intptr_t)&uargs) != 0) { in sysevent_evc_subscribe_cmn()
723 rc = ioctl(EV_FD(scp), SEV_UNSUBSCRIBE, (intptr_t)&uargs); in sysevent_evc_unsubscribe()
806 rc = ioctl(EV_FD(scp), SEV_CHAN_CONTROL, (intptr_t)&uargs); in sysevent_evc_control()
813 rc = ioctl(EV_FD(scp), SEV_CHAN_CONTROL, (intptr_t)&uargs); in sysevent_evc_control()
849 rc = ioctl(EV_FD(scp), SEV_SETPROPNVL, (intptr_t)&uargs); in sysevent_evc_setpropnvl()
876 rc = ioctl(EV_FD(scp), SEV_GETPROPNVL, (intptr_t)&uargs); in sysevent_evc_getpropnvl()