Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/rcm_daemon/common/
H A Drcm_lock.c1341 } polllist; variable
1348 for (i = 0; i < polllist.n_pids; i++) { in find_pid_index()
1349 if (polllist.pids[i] == pid) { in find_pid_index()
1365 int index = polllist.n_pids; in get_pid_index()
1367 if (polllist.n_pids < polllist.n_max_pids) { in get_pid_index()
1368 polllist.n_pids++; in get_pid_index()
1372 if (polllist.n_max_pids == 0) { in get_pid_index()
1374 polllist.pids = s_calloc(n_max, sizeof (pid_t)); in get_pid_index()
1375 polllist.refcnt = s_calloc(n_max, sizeof (int)); in get_pid_index()
1376 polllist.fds = s_calloc(n_max, sizeof (struct pollfd)); in get_pid_index()
[all …]