Lines Matching refs:id
56 static const struct k_clock *clockid_to_kclock(const clockid_t id);
120 timer_t id) in __posix_timers_find() argument
126 if ((timer->it_signal == sig) && (timer->it_id == id)) in __posix_timers_find()
132 static struct k_itimer *posix_timer_by_id(timer_t id) in posix_timer_by_id() argument
135 struct hlist_head *head = &posix_timers_hashtable[hash(sig, id)]; in posix_timer_by_id()
137 return __posix_timers_find(head, sig, id); in posix_timer_by_id()
1440 static const struct k_clock *clockid_to_kclock(const clockid_t id) in clockid_to_kclock() argument
1442 clockid_t idx = id; in clockid_to_kclock()
1444 if (id < 0) { in clockid_to_kclock()
1445 return (id & CLOCKFD_MASK) == CLOCKFD ? in clockid_to_kclock()
1449 if (id >= ARRAY_SIZE(posix_clocks)) in clockid_to_kclock()