Lines Matching refs:newp
78 struct timer *newp = malloc (sizeof (struct timer)); in ___timer_create() local
79 if (newp == NULL) in ___timer_create()
83 newp->sival = evp->sigev_value; in ___timer_create()
84 newp->thrfunc = evp->sigev_notify_function; in ___timer_create()
89 __pthread_attr_init (&newp->attr); in ___timer_create()
95 nattr = (struct pthread_attr *) &newp->attr; in ___timer_create()
107 __pthread_attr_setdetachstate (&newp->attr, PTHREAD_CREATE_DETACHED); in ___timer_create()
111 { .sigev_value.sival_ptr = newp, in ___timer_create()
119 &newp->ktimerid); in ___timer_create()
122 free (newp); in ___timer_create()
129 newp->next = __timer_active_sigev_thread; in ___timer_create()
130 __timer_active_sigev_thread = newp; in ___timer_create()
133 *timerid = timer_to_timerid (newp); in ___timer_create()
153 timer_t newp; in __timer_create_old() local
155 int res = __timer_create (clock_id, evp, &newp); in __timer_create_old()
162 newp, NULL)) in __timer_create_old()
171 __timer_delete (newp); in __timer_create_old()