Home
last modified time | relevance | path

Searched refs:ps (Results 1 – 5 of 5) sorted by relevance

/unit/src/
H A Dnxt_pollset_engine.c95 engine->u.pollset.ps = -1; in nxt_pollset_create()
124 if (engine->u.pollset.ps == -1) { in nxt_pollset_create()
144 pollset_t ps; in nxt_pollset_free() local
146 ps = engine->u.pollset.ps; in nxt_pollset_free()
150 if (ps != -1 && pollset_destroy(ps) != 0) { in nxt_pollset_free()
152 ps, nxt_errno); in nxt_pollset_free()
495 engine->u.pollset.ps, fd, n); in nxt_pollset_remove()
511 engine->u.pollset.ps, fd); in nxt_pollset_remove()
524 pollset_t ps; in nxt_pollset_write() local
526 ps = engine->u.pollset.ps; in nxt_pollset_write()
[all …]
H A Dnxt_test_build.c105 pollset_destroy(pollset_t ps) in pollset_destroy() argument
112 pollset_query(pollset_t ps, struct pollfd *pollfd_query) in pollset_query() argument
119 pollset_ctl(pollset_t ps, struct poll_ctl *pollctl_array, int array_length) in pollset_ctl() argument
126 pollset_poll(pollset_t ps, struct pollfd *polldata_array, int array_length, in pollset_poll() argument
H A Dnxt_test_build.h199 int pollset_destroy(pollset_t ps);
200 int pollset_query(pollset_t ps, struct pollfd *pollfd_query);
201 int pollset_ctl(pollset_t ps, struct poll_ctl *pollctl_array, int array_length);
202 int pollset_poll(pollset_t ps, struct pollfd *polldata_array, int array_length,
H A Dnxt_event_engine.h291 pollset_t ps; member
/unit/test/
H A Dconftest.py606 ps = _fds_info['main']
607 if not ps['skip']:
611 ps['fds'] += fds_diff
616 ps['fds'] = _count_fds(unit_instance['pid'])
619 ps = _fds_info[name]
620 ps_pid = ps['pid']
621 ps['pid'] = pid_by_name(ps['name'])
623 if not ps['skip']:
624 fds_diff = waitforfds(lambda: _count_fds(ps['pid']) - ps['fds'])
625 ps['fds'] += fds_diff
[all …]