Lines Matching refs:ps_depth
257 if (ps != NULL && ps->ps_depth > 1) { in pollunlock()
2331 ASSERT(ps->ps_depth == 0); in pollstate_create()
2379 depth_total = ps->ps_depth; in pollstate_contend()
2386 for (i = 0; i < rem->ps_depth; i++) { in pollstate_contend()
2397 for (j = 0; j < ps->ps_depth; j++) { in pollstate_contend()
2431 depth_total += (rem->ps_depth - i); in pollstate_contend()
2497 if (ps->ps_depth >= POLLMAXDEPTH) { in pollstate_enter()
2504 for (i = 0; i < ps->ps_depth; i++) { in pollstate_enter()
2511 if (ps->ps_depth == 0) { in pollstate_enter()
2521 ps->ps_pc_stack[ps->ps_depth++] = pcp; in pollstate_enter()
2531 VERIFY(ps->ps_pc_stack[ps->ps_depth - 1] == pcp); in pollstate_exit()
2534 ps->ps_pc_stack[--ps->ps_depth] = NULL; in pollstate_exit()
2535 VERIFY(ps->ps_depth >= 0); in pollstate_exit()