Lines Matching refs:k_queue

58 void z_impl_k_queue_init(struct k_queue *queue)  in z_impl_k_queue_init()
67 SYS_PORT_TRACING_OBJ_INIT(k_queue, queue); in z_impl_k_queue_init()
73 static inline void z_vrfy_k_queue_init(struct k_queue *queue) in z_vrfy_k_queue_init()
87 static inline void handle_poll_events(struct k_queue *queue, uint32_t state) in handle_poll_events()
97 void z_impl_k_queue_cancel_wait(struct k_queue *queue) in z_impl_k_queue_cancel_wait()
99 SYS_PORT_TRACING_OBJ_FUNC(k_queue, cancel_wait, queue); in z_impl_k_queue_cancel_wait()
115 static inline void z_vrfy_k_queue_cancel_wait(struct k_queue *queue) in z_vrfy_k_queue_cancel_wait()
123 static int32_t queue_insert(struct k_queue *queue, void *prev, void *data, in queue_insert()
129 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_queue, queue_insert, queue, alloc); in queue_insert()
137 SYS_PORT_TRACING_OBJ_FUNC_BLOCKING(k_queue, queue_insert, queue, alloc, K_FOREVER); in queue_insert()
142 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_queue, queue_insert, queue, alloc, 0); in queue_insert()
155 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_queue, queue_insert, queue, alloc, in queue_insert()
167 SYS_PORT_TRACING_OBJ_FUNC_BLOCKING(k_queue, queue_insert, queue, alloc, K_FOREVER); in queue_insert()
173 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_queue, queue_insert, queue, alloc, 0); in queue_insert()
178 void k_queue_insert(struct k_queue *queue, void *prev, void *data) in k_queue_insert()
180 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_queue, insert, queue); in k_queue_insert()
184 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_queue, insert, queue); in k_queue_insert()
187 void k_queue_append(struct k_queue *queue, void *data) in k_queue_append()
189 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_queue, append, queue); in k_queue_append()
193 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_queue, append, queue); in k_queue_append()
196 void k_queue_prepend(struct k_queue *queue, void *data) in k_queue_prepend()
198 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_queue, prepend, queue); in k_queue_prepend()
202 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_queue, prepend, queue); in k_queue_prepend()
205 int32_t z_impl_k_queue_alloc_append(struct k_queue *queue, void *data) in z_impl_k_queue_alloc_append()
207 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_queue, alloc_append, queue); in z_impl_k_queue_alloc_append()
211 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_queue, alloc_append, queue, ret); in z_impl_k_queue_alloc_append()
217 static inline int32_t z_vrfy_k_queue_alloc_append(struct k_queue *queue, in z_vrfy_k_queue_alloc_append()
226 int32_t z_impl_k_queue_alloc_prepend(struct k_queue *queue, void *data) in z_impl_k_queue_alloc_prepend()
228 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_queue, alloc_prepend, queue); in z_impl_k_queue_alloc_prepend()
232 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_queue, alloc_prepend, queue, ret); in z_impl_k_queue_alloc_prepend()
238 static inline int32_t z_vrfy_k_queue_alloc_prepend(struct k_queue *queue, in z_vrfy_k_queue_alloc_prepend()
247 int k_queue_append_list(struct k_queue *queue, void *head, void *tail) in k_queue_append_list()
249 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_queue, append_list, queue); in k_queue_append_list()
253 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_queue, append_list, queue, -EINVAL); in k_queue_append_list()
275 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_queue, append_list, queue, 0); in k_queue_append_list()
282 int k_queue_merge_slist(struct k_queue *queue, sys_slist_t *list) in k_queue_merge_slist()
286 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_queue, merge_slist, queue); in k_queue_merge_slist()
290 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_queue, merge_slist, queue, -EINVAL); in k_queue_merge_slist()
306 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_queue, merge_slist, queue, ret); in k_queue_merge_slist()
312 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_queue, merge_slist, queue, 0); in k_queue_merge_slist()
317 void *z_impl_k_queue_get(struct k_queue *queue, k_timeout_t timeout) in z_impl_k_queue_get()
322 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_queue, get, queue, timeout); in z_impl_k_queue_get()
331 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_queue, get, queue, timeout, data); in z_impl_k_queue_get()
336 SYS_PORT_TRACING_OBJ_FUNC_BLOCKING(k_queue, get, queue, timeout); in z_impl_k_queue_get()
341 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_queue, get, queue, timeout, NULL); in z_impl_k_queue_get()
348 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_queue, get, queue, timeout, in z_impl_k_queue_get()
354 bool k_queue_remove(struct k_queue *queue, void *data) in k_queue_remove()
356 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_queue, remove, queue); in k_queue_remove()
360 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_queue, remove, queue, ret); in k_queue_remove()
365 bool k_queue_unique_append(struct k_queue *queue, void *data) in k_queue_unique_append()
367 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_queue, unique_append, queue); in k_queue_unique_append()
373 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_queue, unique_append, queue, false); in k_queue_unique_append()
381 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_queue, unique_append, queue, true); in k_queue_unique_append()
386 void *z_impl_k_queue_peek_head(struct k_queue *queue) in z_impl_k_queue_peek_head()
390 SYS_PORT_TRACING_OBJ_FUNC(k_queue, peek_head, queue, ret); in z_impl_k_queue_peek_head()
395 void *z_impl_k_queue_peek_tail(struct k_queue *queue) in z_impl_k_queue_peek_tail()
399 SYS_PORT_TRACING_OBJ_FUNC(k_queue, peek_tail, queue, ret); in z_impl_k_queue_peek_tail()
405 static inline void *z_vrfy_k_queue_get(struct k_queue *queue, in z_vrfy_k_queue_get()
413 static inline int z_vrfy_k_queue_is_empty(struct k_queue *queue) in z_vrfy_k_queue_is_empty()
420 static inline void *z_vrfy_k_queue_peek_head(struct k_queue *queue) in z_vrfy_k_queue_peek_head()
427 static inline void *z_vrfy_k_queue_peek_tail(struct k_queue *queue) in z_vrfy_k_queue_peek_tail()