Lines Matching full:node
27 sys_snode_t node; member
32 sys_snode_t node; member
58 sys_slist_append(list, &ctx->node); in put_ctx_to_busy_list()
63 curr_ctx = CONTAINER_OF(curr, struct delayable_msg_ctx, node); in put_ctx_to_busy_list()
66 sys_slist_prepend(list, &ctx->node); in put_ctx_to_busy_list()
68 sys_slist_insert(list, prev, &ctx->node); in put_ctx_to_busy_list()
75 sys_slist_append(list, &ctx->node); in put_ctx_to_busy_list()
81 sys_snode_t *node = sys_slist_peek_head(&access_delayable_msg.busy_ctx); in peek_pending_msg() local
83 if (node) { in peek_pending_msg()
84 pending_msg = CONTAINER_OF(node, struct delayable_msg_ctx, node); in peek_pending_msg()
116 sys_snode_t *node; in allocate_delayable_msg_chunks() local
119 node = sys_slist_get(&access_delayable_msg.free_chunks); in allocate_delayable_msg_chunks()
120 if (!node) { in allocate_delayable_msg_chunks()
124 sys_slist_append(&msg->chunks, node); in allocate_delayable_msg_chunks()
132 sys_snode_t *node; in release_delayable_msg_chunks() local
134 while ((node = sys_slist_get(&msg->chunks))) { in release_delayable_msg_chunks()
135 sys_slist_append(&access_delayable_msg.free_chunks, node); in release_delayable_msg_chunks()
142 sys_snode_t *node; in allocate_delayable_msg_ctx() local
151 node = sys_slist_get(&access_delayable_msg.free_ctx); in allocate_delayable_msg_ctx()
152 msg = CONTAINER_OF(node, struct delayable_msg_ctx, node); in allocate_delayable_msg_ctx()
160 if (sys_slist_find_and_remove(&access_delayable_msg.busy_ctx, &ctx->node)) { in release_delayable_msg_ctx()
161 sys_slist_append(&access_delayable_msg.free_ctx, &ctx->node); in release_delayable_msg_ctx()
167 sys_snode_t *node; in push_msg_from_delayable_msgs() local
181 SYS_SLIST_FOR_EACH_NODE(&msg->chunks, node) { in push_msg_from_delayable_msgs()
184 chunk = CONTAINER_OF(node, struct delayable_msg_chunk, node); in push_msg_from_delayable_msgs()
210 sys_snode_t *node = sys_slist_get(&access_delayable_msg.busy_ctx); in delayable_msg_handler() local
212 CONTAINER_OF(node, struct delayable_msg_ctx, node); in delayable_msg_handler()
224 sys_snode_t *node; in bt_mesh_delayable_msg_manage() local
262 SYS_SLIST_FOR_EACH_NODE(&msg->chunks, node) { in bt_mesh_delayable_msg_manage()
266 CONTAINER_OF(node, struct delayable_msg_chunk, node); in bt_mesh_delayable_msg_manage()
292 sys_slist_append(&access_delayable_msg.free_ctx, &delayable_msgs_ctx[i].node); in bt_mesh_delayable_msg_init()
296 sys_slist_append(&access_delayable_msg.free_chunks, &delayable_msg_chunks[i].node); in bt_mesh_delayable_msg_init()
302 sys_snode_t *node; in bt_mesh_delayable_msg_stop() local
307 while ((node = sys_slist_peek_head(&access_delayable_msg.busy_ctx))) { in bt_mesh_delayable_msg_stop()
308 ctx = CONTAINER_OF(node, struct delayable_msg_ctx, node); in bt_mesh_delayable_msg_stop()