Lines Matching refs:lthread

37 void _lthread_exit_handler(struct lthread *lt)  in _lthread_exit_handler()
59 void _lthread_free(struct lthread *lt) in _lthread_free()
105 struct lthread *lt = (struct lthread *)arg; in _lthread_exec()
119 _lthread_init(struct lthread *lt, in _lthread_init()
137 void _lthread_set_stack(struct lthread *lt, void *stack, size_t stack_size) in _lthread_set_stack()
151 lthread_create(struct lthread **new_lt, int lcore_id, in lthread_create()
162 struct lthread *lt = NULL; in lthread_create()
177 bzero(lt, sizeof(struct lthread)); in lthread_create()
201 static inline void _lthread_sched_sleep(struct lthread *lt, uint64_t nsecs) in _lthread_sched_sleep()
221 int _lthread_desched_sleep(struct lthread *lt) in _lthread_desched_sleep()
254 struct lthread *lthread_current(void) in lthread_current()
271 struct lthread *lt = (struct lthread *) arg; in _cancel()
282 int lthread_cancel(struct lthread *cancel_lt) in lthread_cancel()
284 struct lthread *lt; in lthread_cancel()
309 struct lthread *lt = THIS_LTHREAD; in lthread_sleep()
320 struct lthread *lt = THIS_LTHREAD; in lthread_sleep_clks()
336 struct lthread *lt = THIS_LTHREAD; in lthread_yield()
350 struct lthread *lt = THIS_LTHREAD; in lthread_exit()
381 (struct lthread *)lt->lt_join); in lthread_exit()
400 int lthread_join(struct lthread *lt, void **ptr) in lthread_join()
405 struct lthread *current = THIS_LTHREAD; in lthread_join()
449 struct lthread *lt = THIS_LTHREAD; in lthread_detach()
464 struct lthread *lt = THIS_LTHREAD; in lthread_set_funcname()