/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/pthread/ |
A D | timer_settime.c | 34 struct timer_node *timer; local 41 if (timer == NULL) 66 timer_addref (timer); 71 if (! timer_valid(timer)) 81 if (timer->armed) 89 timer_addref (timer); 101 timer->value = *value; 104 timer->armed = 0; 106 thread = timer->thread; 122 timer->armed = 1; [all …]
|
A D | timer_routines.c | 332 timer->event.sigev_notify_function (timer->event.sigev_value); in thread_expire_timer() 396 timer->overrun_count = 0; in thread_func() 397 timespec_add (&timer->expirytime, &timer->expirytime, in thread_func() 398 &timer->value.it_interval); in thread_func() 401 timespec_add (&timer->expirytime, &timer->expirytime, in thread_func() 404 ++timer->overrun_count; in thread_func() 423 if (timer != NULL) in thread_func() 425 &timer->expirytime); in thread_func() 547 timer->refcount = 1; in __timer_alloc() 548 return timer; in __timer_alloc() [all …]
|
A D | timer_delete.c | 32 struct timer_node *timer; local 37 timer = timer_id2ptr (timerid); 38 if (! timer_valid (timer)) 43 if (timer->armed && timer->thread != NULL) 45 struct thread_node *thread = timer->thread; 53 while (thread->current_timer == timer) 60 timer->inuse = TIMER_DELETED; 61 list_unlink_ip (&timer->links); 62 timer_delref (timer);
|
A D | posix-timer.h | 101 timer_ptr2id (struct timer_node *timer) in timer_ptr2id() argument 103 return timer - __timer_array; in timer_ptr2id() 108 timer_valid (struct timer_node *timer) in timer_valid() argument 110 return timer && timer->inuse == TIMER_INUSE; in timer_valid() 114 extern void __timer_dealloc (struct timer_node *timer); 117 timer_addref (struct timer_node *timer) in timer_addref() argument 119 timer->refcount++; in timer_addref() 123 timer_delref (struct timer_node *timer) in timer_delref() argument 125 if (--timer->refcount == 0) in timer_delref() 126 __timer_dealloc (timer); in timer_delref()
|
A D | timer_gettime.c | 32 struct timer_node *timer; local 39 timer = timer_id2ptr (timerid); 40 valid = timer_valid (timer); 43 armed = timer->armed; 44 expiry = timer->expirytime; 45 clock = timer->clock; 46 value->it_interval = timer->value.it_interval;
|
A D | timer_getoverr.c | 31 struct timer_node *timer; local 36 if (! timer_valid (timer = timer_id2ptr (timerid))) 39 retval = timer->overrun_count;
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/pthread/ |
A D | timer_settime.c | 34 struct timer_node *timer; local 41 if (timer == NULL) 66 timer_addref (timer); 71 if (! timer_valid(timer)) 81 if (timer->armed) 89 timer_addref (timer); 101 timer->value = *value; 104 timer->armed = 0; 106 thread = timer->thread; 122 timer->armed = 1; [all …]
|
A D | timer_routines.c | 333 timer->event.sigev_notify_function (timer->event.sigev_value); in thread_expire_timer() 397 timer->overrun_count = 0; in thread_func() 398 timespec_add (&timer->expirytime, &timer->expirytime, in thread_func() 399 &timer->value.it_interval); in thread_func() 402 timespec_add (&timer->expirytime, &timer->expirytime, in thread_func() 405 ++timer->overrun_count; in thread_func() 424 if (timer != NULL) in thread_func() 426 &timer->expirytime); in thread_func() 552 timer->refcount = 1; in __timer_alloc() 553 return timer; in __timer_alloc() [all …]
|
A D | timer_delete.c | 32 struct timer_node *timer; in timer_delete() local 37 timer = timer_id2ptr (timerid); in timer_delete() 38 if (! timer_valid (timer)) in timer_delete() 43 if (timer->armed && timer->thread != NULL) in timer_delete() 45 struct thread_node *thread = timer->thread; in timer_delete() 53 while (thread->current_timer == timer) in timer_delete() 60 timer->inuse = TIMER_DELETED; in timer_delete() 61 list_unlink_ip (&timer->links); in timer_delete() 62 timer_delref (timer); in timer_delete()
|
A D | timer_gettime.c | 32 struct timer_node *timer; local 39 timer = timer_id2ptr (timerid); 40 valid = timer_valid (timer); 43 armed = timer->armed; 44 expiry = timer->expirytime; 45 clock = timer->clock; 46 value->it_interval = timer->value.it_interval;
|
A D | posix-timer.h | 100 timer_valid (struct timer_node *timer) in timer_valid() argument 102 return timer && timer->inuse == TIMER_INUSE; in timer_valid() 106 extern void __timer_dealloc (struct timer_node *timer); 109 timer_addref (struct timer_node *timer) in timer_addref() argument 111 timer->refcount++; in timer_addref() 115 timer_delref (struct timer_node *timer) in timer_delref() argument 117 if (--timer->refcount == 0) in timer_delref() 118 __timer_dealloc (timer); in timer_delref()
|
A D | timer_getoverr.c | 31 struct timer_node *timer; local 36 if (! timer_valid (timer = timer_id2ptr (timerid))) 39 retval = timer->overrun_count;
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/ |
A D | timer_create.c | 78 struct timer *newp = (struct timer *) malloc (offsetof (struct timer, in timer_create() 161 struct timer *newp; in timer_create() 162 newp = (struct timer *) malloc (sizeof (struct timer)); in timer_create()
|
A D | timer_delete.c | 49 struct timer *kt = (struct timer *) timerid; in timer_delete() 64 struct timer *prevp = __active_timer_sigev_thread; in timer_delete()
|
A D | timer_routines.c | 30 struct timer *__active_timer_sigev_thread; 102 struct timer *tk = (struct timer *) si.si_ptr; in timer_helper_thread() 108 struct timer *runp = __active_timer_sigev_thread; in timer_helper_thread()
|
A D | timer_getoverr.c | 48 struct timer *kt = (struct timer *) timerid; in timer_getoverrun()
|
A D | timer_gettime.c | 50 struct timer *kt = (struct timer *) timerid; in timer_gettime()
|
A D | timer_settime.c | 54 struct timer *kt = (struct timer *) timerid; in timer_settime()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/librt/ |
A D | kernel-posix-timers.h | 27 extern struct timer *__active_timer_sigev_thread attribute_hidden; 36 struct timer { struct 57 struct timer *next; argument
|
A D | timer_getoverr.c | 20 struct timer *kt = (struct timer *)timerid; in timer_getoverrun()
|
A D | timer_gettime.c | 21 struct timer *kt = (struct timer *)timerid; in timer_gettime()
|
A D | timer_delete.c | 21 struct timer *kt = (struct timer *)timerid; in timer_delete()
|
A D | timer_settime.c | 22 struct timer *kt = (struct timer *)timerid; in timer_settime()
|
A D | timer_create.c | 27 struct timer *newp; in timer_create() 48 newp = malloc(offsetof(struct timer, thrfunc)); in timer_create()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/time/ |
A D | time.c | 536 struct tm *gmtime(const time_t *timer) in gmtime() argument 540 _time_t2tm(timer, 0, ptm); /* Can return NULL... */ in gmtime() 549 struct tm *gmtime_r(const time_t *__restrict timer, in gmtime_r() argument 552 return _time_t2tm(timer, 0, result); in gmtime_r() 559 struct tm *localtime(const time_t *timer) in localtime() argument 565 localtime_r(timer, ptm); /* Can return NULL... */ in localtime() 580 _time_tzset(*timer < new_rule_starts); in libc_hidden_def() 582 __time_localtime_tzi(timer, result, _time_tzinfo); in libc_hidden_def() 737 if (*timer > (LONG_MAX - 604800L)) { in __time_localtime_tzi() 741 *x = *timer + offset; in __time_localtime_tzi() [all …]
|