Searched refs:thread_t (Results 1 – 4 of 4) sorted by relevance
/trusted-firmware-m-3.7.0/secure_fw/spm/core/ |
D | thread.c | 19 struct thread_t *p_curr_thrd; 22 static struct thread_t *p_thrd_head = NULL; /* Point to the first thread. */ 23 static struct thread_t *p_rnbl_head = NULL; /* Point to the first runnable. */ 37 struct thread_t *thrd_next(void) in thrd_next() 39 struct thread_t *p_thrd = RNBL_HEAD; in thrd_next() 68 static void insert_by_prior(struct thread_t **head, struct thread_t *node) in insert_by_prior() 74 struct thread_t *iter = *head; in insert_by_prior() 85 void thrd_start(struct thread_t *p_thrd, thrd_fn_t fn, thrd_fn_t exit_fn, void *param) in thrd_start() 99 void thrd_set_state(struct thread_t *p_thrd, uint32_t new_state) in thrd_set_state() 117 uint32_t thrd_start_scheduler(struct thread_t **ppth) in thrd_start_scheduler() [all …]
|
D | thread.h | 45 struct thread_t { struct 50 struct thread_t *next; /* Next thread in list */ argument 54 typedef uint32_t (*thrd_query_state_t)(struct thread_t *p_thrd, 60 extern struct thread_t *p_curr_thrd; 115 void thrd_set_state(struct thread_t *p_thrd, uint32_t new_state); 129 void thrd_start(struct thread_t *p_thrd, thrd_fn_t fn, thrd_fn_t exit_fn, void *param); 137 struct thread_t *thrd_next(void); 147 uint32_t thrd_start_scheduler(struct thread_t **ppth);
|
D | spm.h | 115 struct thread_t thrd; /* IPC model */
|
D | backend_ipc.c | 63 static uint32_t query_state(struct thread_t *p_thrd, uint32_t *p_retval) in query_state() 463 struct thread_t *pth_next; in ipc_schedule()
|