Lines Matching refs:ctl
55 struct poll_ctl *ctl, int n);
385 struct poll_ctl *ctl, *write_changes; in nxt_pollset_commit_changes() local
405 ctl = &write_changes[n++]; in nxt_pollset_commit_changes()
406 ctl->cmd = PS_DELETE; in nxt_pollset_commit_changes()
407 ctl->events = 0; in nxt_pollset_commit_changes()
408 ctl->fd = ev->fd; in nxt_pollset_commit_changes()
411 ctl = &write_changes[n++]; in nxt_pollset_commit_changes()
412 ctl->cmd = change->cmd; in nxt_pollset_commit_changes()
413 ctl->events = change->events; in nxt_pollset_commit_changes()
414 ctl->fd = ev->fd; in nxt_pollset_commit_changes()
486 struct poll_ctl ctl; in nxt_pollset_remove() local
513 ctl.cmd = PS_DELETE; in nxt_pollset_remove()
514 ctl.events = 0; in nxt_pollset_remove()
515 ctl.fd = fd; in nxt_pollset_remove()
517 nxt_pollset_write(engine, &ctl, 1); in nxt_pollset_remove()
522 nxt_pollset_write(nxt_event_engine_t *engine, struct poll_ctl *ctl, int n) in nxt_pollset_write() argument
532 n = pollset_ctl(ps, ctl, n); in nxt_pollset_write()