Home
last modified time | relevance | path

Searched refs:lthread (Results 1 – 25 of 26) sorted by relevance

12

/f-stack/dpdk/examples/performance-thread/common/
H A Dlthread.c59 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()
162 struct lthread *lt = NULL; in lthread_create()
177 bzero(lt, sizeof(struct lthread)); in lthread_create()
271 struct lthread *lt = (struct lthread *) arg; in _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()
[all …]
H A Dlthread.h18 struct lthread;
22 typedef void (*lthread_exit_func) (struct lthread *);
24 void _lthread_exit_handler(struct lthread *lt);
28 void _lthread_sched_busy_sleep(struct lthread *lt, uint64_t nsecs);
30 int _lthread_desched_sleep(struct lthread *lt);
32 void _lthread_free(struct lthread *lt);
42 _lthread_init(struct lthread *lt,
45 void _lthread_set_stack(struct lthread *lt, void *stack, size_t stack_size);
H A Dlthread_sched.h24 _ready_queue_insert(struct lthread_sched *sched, struct lthread *lt) in _ready_queue_insert()
35 static inline struct lthread *_ready_queue_remove(struct lthread_queue *q) in _ready_queue_remove()
65 struct lthread *lt = THIS_LTHREAD; in _affinitize()
76 struct lthread *lt = THIS_LTHREAD; in _suspend()
89 struct lthread *lt = THIS_LTHREAD; in _reschedule()
H A Dlthread_api.h83 struct lthread;
228 lthread_create(struct lthread **new_lt,
245 int lthread_cancel(struct lthread *lt);
263 int lthread_join(struct lthread *lt, void **ptr);
361 struct lthread
H A Dlthread_int.h33 struct lthread;
66 struct lthread *current_lthread; /* running thread */
121 struct lthread { struct
136 struct lthread *lt_join; /* lthread to join on */ argument
H A Dlthread_sched.c117 sizeof(struct lthread), in _lthread_sched_alloc_resources()
316 _lthread_resume(struct lthread *lt);
317 static inline void _lthread_resume(struct lthread *lt) in _lthread_resume()
385 struct lthread *lt = (struct lthread *) arg; in _sched_timer_cb()
458 struct lthread *lt = NULL; in lthread_run()
524 struct lthread *lt = THIS_LTHREAD; in lthread_set_affinity()
H A Dlthread_tls.h27 void _lthread_tls_destroy(struct lthread *lt);
29 void _lthread_tls_alloc(struct lthread *lt);
H A Dlthread_mutex.c104 struct lthread *lt = THIS_LTHREAD; in lthread_mutex_lock()
150 struct lthread *lt = THIS_LTHREAD; in lthread_mutex_trylock()
182 struct lthread *lt = THIS_LTHREAD; in lthread_mutex_unlock()
183 struct lthread *unblocked; in lthread_mutex_unlock()
H A Dlthread_timer.h40 _timer_start(struct lthread *lt, uint64_t clks) in _timer_start()
56 _timer_stop(struct lthread *lt) in _timer_stop()
H A Dlthread_cond.c100 struct lthread *lt = THIS_LTHREAD; in lthread_cond_wait()
129 struct lthread *lt; in lthread_cond_signal()
151 struct lthread *lt; in lthread_cond_broadcast()
H A Dlthread_diag.h44 struct lthread *ct = RTE_PER_LCORE(this_sched)->current_lthread;\
69 struct lthread *ct = RTE_PER_LCORE(this_sched)->current_lthread;\
H A Dlthread_tls.c132 void _lthread_tls_destroy(struct lthread *lt) in _lthread_tls_destroy()
206 void _lthread_tls_alloc(struct lthread *lt) in _lthread_tls_alloc()
H A Dlthread_mutex.h19 struct lthread *owner;
H A Dcommon.mk19 SRCS-y += lthread.c lthread_sched.c lthread_cond.c lthread_tls.c lthread_mutex.c lthread_diag.c ctx…
H A Dlthread_diag_api.h224 typedef uint64_t (*diag_callback) (uint64_t time, struct lthread *lt,
H A Dlthread_diag.c238 _lthread_diag_default_cb(uint64_t time, struct lthread *lt, int diag_event, in _lthread_diag_default_cb()
/f-stack/dpdk/examples/performance-thread/l3fwd-thread/
H A Dtest.sh18 --no-lthread
30 --no-lthread
41 --no-lthread
52 --no-lthread
68 --no-lthread
80 --no-lthread
91 --no-lthread
102 --no-lthread
H A Dmeson.build24 '../common/lthread.c',
/f-stack/dpdk/examples/performance-thread/pthread_shim/
H A Dpthread_shim.c391 return lthread_create((struct lthread **)tid, lcore, in pthread_create()
400 struct lthread *lt = (struct lthread *)tid; in pthread_detach()
443 return lthread_join((struct lthread *)tid, val); in pthread_join()
631 lthread_cancel(*(struct lthread **)tid); in pthread_cancel()
690 struct lthread *lt = (struct lthread *)thread; in pthread_setaffinity_np()
H A Dmeson.build25 '../common/lthread.c',
H A Dmain.c210 struct lthread *lt; in lthread_scheduler()
/f-stack/dpdk/examples/performance-thread/common/arch/x86/
H A Dstack.h23 arch_set_stack(struct lthread *lt, void *func) in arch_set_stack()
/f-stack/dpdk/examples/performance-thread/common/arch/arm64/
H A Dstack.h18 arch_set_stack(struct lthread *lt, void *func) in arch_set_stack()
/f-stack/freebsd/contrib/libsodium/m4/
H A Dax_pthread.m4143 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
158 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
160 ax_pthread_flags="-kthread lthread $ax_pthread_flags"
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dperformance_thread.rst651 Neither lthread signal nor broadcast may be called concurrently by L-threads
795 Note that the lthread struct itself remains allocated from memory on the
921 are corresponding L-lthread APIs, and where the default pthread functionality
1166 ``RTE_PER_LCORE(this_sched)``, and the current lthread is stored at
1168 session the current lthread can be obtained by displaying the pthread local
1183 Object creation events (lthread, mutex, and condition variable) accept, and
1187 The lthread reference value is passed back in all subsequent event callbacks,

12