Lines Matching refs:pd
29 struct pthread *pd = (struct pthread *) threadid; in __pthread_setschedparam() local
32 if (INVALID_TD_P (pd)) in __pthread_setschedparam()
39 lll_lock (pd->lock, LLL_PRIVATE); in __pthread_setschedparam()
46 if (__builtin_expect (pd->tpp != NULL, 0) in __pthread_setschedparam()
47 && pd->tpp->priomax > param->sched_priority) in __pthread_setschedparam()
50 p.sched_priority = pd->tpp->priomax; in __pthread_setschedparam()
55 if (__builtin_expect (__sched_setscheduler (pd->tid, policy, in __pthread_setschedparam()
62 pd->schedpolicy = policy; in __pthread_setschedparam()
63 memcpy (&pd->schedparam, orig_param, sizeof (struct sched_param)); in __pthread_setschedparam()
64 pd->flags |= ATTR_FLAG_SCHED_SET | ATTR_FLAG_POLICY_SET; in __pthread_setschedparam()
67 lll_unlock (pd->lock, LLL_PRIVATE); in __pthread_setschedparam()