Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/time/
Dtimekeep.rs10 fn ktime_to_ns(kt: ktime_t) -> i64 { in ktime_to_ns()
11 return kt as i64; in ktime_to_ns()
59 let kt: ktime_t = ktime_get_real(); in ktime_get_real_ns() localVariable
60 return ktime_to_ns(kt); in ktime_get_real_ns()
/DragonOS-0.1.8/kernel/src/process/
Dkthread.c116 struct kthread_info_t *kt = to_kthread(current_pcb); in kthread_exit() local
117 kt->result = result; in kthread_exit()
118 kt->exited = true; in kthread_exit()
303 struct kthread_info_t *kt = kzalloc(sizeof(struct kthread_info_t), 0); in kthread_set_worker_private() local
304 if (kt == NULL) in kthread_set_worker_private()
306 pcb->worker_private = kt; in kthread_set_worker_private()