Searched refs:k_p4wq_work (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/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-latest/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() 215 void k_p4wq_submit(struct k_p4wq *queue, struct k_p4wq_work *item) in k_p4wq_submit() 251 struct k_p4wq_work *wi; in k_p4wq_submit() 292 bool k_p4wq_cancel(struct k_p4wq *queue, struct k_p4wq_work *item) in k_p4wq_cancel()
|
/Zephyr-latest/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()
|
/Zephyr-latest/subsys/rtio/ |
D | rtio_workq.c | 23 static void rtio_work_handler(struct k_p4wq_work *work) in rtio_work_handler() 67 struct k_p4wq_work *work = &req->work; in rtio_work_req_submit()
|
/Zephyr-latest/include/zephyr/rtio/ |
D | work.h | 34 struct k_p4wq_work work;
|