Lines Matching refs:event
206 ct_ctl_ack(int fd, ctevid_t event)
208 if (ioctl(fd, CT_CACK, &event) == -1)
214 ct_ctl_nack(int fd, ctevid_t event)
216 if (ioctl(fd, CT_CNACK, &event) == -1)
222 ct_ctl_qack(int fd, ctevid_t event)
224 if (ioctl(fd, CT_CQREQ, &event) == -1)
389 * Common event routines
417 ct_event_t *event;
424 event = &info->event;
427 event->ctev_nbytes = event_nbytes;
428 event->ctev_buffer = event_buffer;
430 error = ioctl(fd, cmd, event);
436 if (event->ctev_nbytes <= event_nbytes)
441 event_nbytes = event->ctev_nbytes;
449 if (event->ctev_goffset > 0 && (error = unpack_and_merge(&info->nvl,
450 event->ctev_buffer, event->ctev_goffset)) != 0)
453 if (event->ctev_goffset < event->ctev_nbytes &&
455 event->ctev_buffer + event->ctev_goffset,
456 event->ctev_nbytes - event->ctev_goffset)) != 0)
516 return (info->event.ctev_flags);
523 return (info->event.ctev_id);
530 return (info->event.ctev_evid);
537 return (info->event.ctev_type);