Searched refs:susp_thread_n_flag (Results 1 – 3 of 3) sorted by relevance
| /components/drivers/ipc/ |
| A D | completion_mp.c | 62 IPC_STORE(&completion->susp_thread_n_flag, RT_UNCOMPLETED, in rt_completion_init() 102 IPC_CAS(&completion->susp_thread_n_flag, &expected_value, in rt_completion_wait_flags_noisr() 131 &completion->susp_thread_n_flag, &expected_value, in rt_completion_wait_flags_noisr() 225 RT_ASSERT(rt_atomic_load(&completion->susp_thread_n_flag) == in _comp_susp_thread() 227 IPC_STORE(&completion->susp_thread_n_flag, RT_UNCOMPLETED, in _comp_susp_thread() 234 RT_ASSERT(rt_atomic_load(&completion->susp_thread_n_flag) == in _comp_susp_thread() 236 IPC_STORE(&completion->susp_thread_n_flag, comp_waiting, in _comp_susp_thread() 265 RT_ASSERT(rt_atomic_load(&completion->susp_thread_n_flag) != in _comp_susp_thread() 273 if (!IPC_CAS(&completion->susp_thread_n_flag, &comp_waiting, in _comp_susp_thread() 316 IPC_CAS(&completion->susp_thread_n_flag, &expected_value, in rt_completion_wakeup_by_errno() [all …]
|
| A D | completion_up.c | 29 #define RT_COMPLETION_FLAG(comp) ((comp)->susp_thread_n_flag & 1) 30 #define RT_COMPLETION_THREAD(comp) ((rt_thread_t)((comp)->susp_thread_n_flag & ~1)) 44 completion->susp_thread_n_flag = RT_COMPLETION_NEW_STAT(RT_NULL, RT_UNCOMPLETED); in rt_completion_init() 103 completion->susp_thread_n_flag = waiting_stat; in rt_completion_wait_flags() 125 if (completion->susp_thread_n_flag != waiting_stat) in rt_completion_wait_flags() 143 completion->susp_thread_n_flag = RT_COMPLETION_NEW_STAT(RT_NULL, RT_UNCOMPLETED); in rt_completion_wait_flags() 221 completion->susp_thread_n_flag = RT_COMPLETION_NEW_STAT(RT_NULL, RT_COMPLETED); in rt_completion_wakeup_by_errno()
|
| /components/drivers/include/ipc/ |
| A D | completion.h | 29 rt_atomic_t susp_thread_n_flag; member
|
Completed in 4 milliseconds