P_ADVLOCK
(p->p_leader->p_flag & P_ADVLOCK) != 0) {
(p->p_leader->p_flag & P_ADVLOCK) != 0) {
if ((td->td_proc->p_leader->p_flag & P_ADVLOCK) != 0) {
P_ADVLOCK) == 0)
if ((p->p_leader->p_flag & P_ADVLOCK) == 0) {
p->p_leader->p_flag |= P_ADVLOCK;
if ((p->p_leader->p_flag & P_ADVLOCK) == 0) {
p->p_leader->p_flag |= P_ADVLOCK;