Lines Matching refs:ps_depth
260 if (ps != NULL && ps->ps_depth > 1) { in pollunlock()
2326 ASSERT(ps->ps_depth == 0); in pollstate_create()
2374 depth_total = ps->ps_depth; in pollstate_contend()
2381 for (i = 0; i < rem->ps_depth; i++) { in pollstate_contend()
2392 for (j = 0; j < ps->ps_depth; j++) { in pollstate_contend()
2426 depth_total += (rem->ps_depth - i); in pollstate_contend()
2492 if (ps->ps_depth >= POLLMAXDEPTH) { in pollstate_enter()
2499 for (i = 0; i < ps->ps_depth; i++) { in pollstate_enter()
2506 if (ps->ps_depth == 0) { in pollstate_enter()
2516 ps->ps_pc_stack[ps->ps_depth++] = pcp; in pollstate_enter()
2526 VERIFY(ps->ps_pc_stack[ps->ps_depth - 1] == pcp); in pollstate_exit()
2529 ps->ps_pc_stack[--ps->ps_depth] = NULL; in pollstate_exit()
2530 VERIFY(ps->ps_depth >= 0); in pollstate_exit()