Lines Matching refs:ev
665 ct_kevent_t *ev;
678 for (ev = list_head(queue); ev; ev = list_next(queue, ev)) {
679 if (ev->cte_id == evid) {
680 if (ev->cte_flags & CTE_NEG)
684 if ((ev->cte_flags & (CTE_INFO | CTE_ACK)) == 0) {
685 ev->cte_flags |= CTE_ACK;
687 evtype = ev->cte_type;
745 ct_kevent_t *ev;
753 for (ev = list_head(queue); ev; ev = list_next(queue, ev)) {
754 if (ev->cte_id == evid) {
755 if ((ev->cte_flags & (CTE_NEG | CTE_ACK)) == CTE_NEG) {
756 evtype = ev->cte_type;
785 ct_kevent_t *ev;
793 for (ev = list_head(queue); ev; ev = list_next(queue, ev)) {
794 if ((ev->cte_flags & (CTE_INFO | CTE_ACK)) == 0) {
795 ev->cte_flags |= CTE_ACK;
2532 STRUCT_DECL(ct_event, ev);
2533 STRUCT_INIT(ev, mdl);
2566 result = copyin(uaddr, STRUCT_BUF(ev), STRUCT_SIZE(ev));
2591 if (STRUCT_FGET(ev, ctev_nbytes) >= len) {
2606 result = copyout(buf, STRUCT_FGETP(ev, ctev_buffer),
2619 STRUCT_FSET(ev, ctev_id, temp->cte_contract->ct_id);
2620 STRUCT_FSET(ev, ctev_evid, temp->cte_id);
2621 STRUCT_FSET(ev, ctev_cttype,
2623 STRUCT_FSET(ev, ctev_flags, temp->cte_flags &
2625 STRUCT_FSET(ev, ctev_type, temp->cte_type);
2626 STRUCT_FSET(ev, ctev_nbytes, len);
2627 STRUCT_FSET(ev, ctev_goffset, size);
2628 result = copyout(STRUCT_BUF(ev), uaddr, STRUCT_SIZE(ev));