Home
last modified time | relevance | path

Searched refs:kc (Results 1 – 2 of 2) sorted by relevance

/kernel/time/
Dposix-timers.c501 const struct k_clock *kc = clockid_to_kclock(which_clock); in do_timer_create() local
506 if (!kc) in do_timer_create()
508 if (!kc->timer_create) in do_timer_create()
525 new_timer->kclock = kc; in do_timer_create()
556 error = kc->timer_create(new_timer); in do_timer_create()
672 const struct k_clock *kc = timr->kclock; in common_timer_get() local
691 now = kc->clock_get_ktime(timr->it_clock); in common_timer_get()
698 timr->it_overrun += kc->timer_forward(timr, now); in common_timer_get()
700 remaining = kc->timer_remaining(timr, now); in common_timer_get()
718 const struct k_clock *kc; in do_timer_gettime() local
[all …]
/kernel/
Dpid_namespace.c41 struct kmem_cache *kc; in create_pid_cachep() local
45 kc = READ_ONCE(*pkc); in create_pid_cachep()
46 if (kc) in create_pid_cachep()
47 return kc; in create_pid_cachep()