Lines Matching full:queue

17  * P4 Queue handler callback
22 * @brief P4 Queue Work Item
43 struct k_p4wq *queue; member
51 * @brief P4 Queue
53 * Kernel pooled parallel preemptible priority-based work queue
70 struct rbtree queue; member
82 struct k_p4wq *queue; member
89 * @brief Statically initialize a P4 Work Queue
96 * @param n_threads Number of threads in the work queue pool
110 .queue = &name, \
137 .queue = name, \
142 * @brief Initialize P4 Queue
144 * Initializes a P4 Queue object. These objects must be initialized
148 * @param queue P4 Queue to initialize
150 void k_p4wq_init(struct k_p4wq *queue);
153 * @brief Dynamically add a thread object to a P4 Queue pool
155 * Adds a thread to the pool managed by a P4 queue. The thread object
157 * called on it, it must be aborted before being given to the queue.
159 * @param queue P4 Queue to which to add the thread
164 void k_p4wq_add_thread(struct k_p4wq *queue, struct k_thread *thread,
169 * @brief Submit work item to a P4 queue
171 * Submits the specified work item to the queue. The caller must have
172 * already initialized the relevant fields of the struct. The queue
178 * queue. The memory should remain unchanged until k_p4wq_cancel() is
186 * @param queue P4 Queue to which to submit
189 void k_p4wq_submit(struct k_p4wq *queue, struct k_p4wq_work *item);
195 * queue. Returns true if the item was found in the queue and
201 bool k_p4wq_cancel(struct k_p4wq *queue, struct k_p4wq_work *item);
208 void k_p4wq_enable_static_thread(struct k_p4wq *queue, struct k_thread *thread,