Searched refs:k_p4wq_work (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.5.0/include/zephyr/sys/ |
D | p4wq.h | 14 struct k_p4wq_work; 19 typedef void (*k_p4wq_handler_t)(struct k_p4wq_work *work); 29 struct k_p4wq_work { struct 189 void k_p4wq_submit(struct k_p4wq *queue, struct k_p4wq_work *item); 201 bool k_p4wq_cancel(struct k_p4wq *queue, struct k_p4wq_work *item); 206 int k_p4wq_wait(struct k_p4wq_work *work, k_timeout_t timeout);
|
/Zephyr-Core-3.5.0/lib/os/ |
D | p4wq.c | 19 static void set_prio(struct k_thread *th, struct k_p4wq_work *item) in set_prio() 28 struct k_p4wq_work *aw = CONTAINER_OF(a, struct k_p4wq_work, rbnode); in rb_lessthan() 29 struct k_p4wq_work *bw = CONTAINER_OF(b, struct k_p4wq_work, rbnode); in rb_lessthan() 62 static inline bool item_lessthan(struct k_p4wq_work *a, struct k_p4wq_work *b) in item_lessthan() 86 struct k_p4wq_work *w in p4wq_loop() 87 = CONTAINER_OF(r, struct k_p4wq_work, rbnode); in p4wq_loop() 117 int k_p4wq_wait(struct k_p4wq_work *work, k_timeout_t timeout) in k_p4wq_wait() 218 void k_p4wq_submit(struct k_p4wq *queue, struct k_p4wq_work *item) in k_p4wq_submit() 254 struct k_p4wq_work *wi; in k_p4wq_submit() 295 bool k_p4wq_cancel(struct k_p4wq *queue, struct k_p4wq_work *item) in k_p4wq_cancel()
|
/Zephyr-Core-3.5.0/tests/lib/p4workq/src/ |
D | main.c | 18 static struct k_p4wq_work simple_item; 24 struct k_p4wq_work item; 35 static void stress_handler(struct k_p4wq_work *item); 52 static void stress_handler(struct k_p4wq_work *item) in stress_handler() 137 static void spin_handler(struct k_p4wq_work *item) in spin_handler() 152 struct k_p4wq_work *item = &items[num_items++].item; in add_new_item() 219 static void resubmit_handler(struct k_p4wq_work *item) in resubmit_handler() 236 simple_item = (struct k_p4wq_work){}; in ZTEST() 244 void simple_handler(struct k_p4wq_work *work) in simple_handler()
|