Lines Matching refs:cnode
27 struct container_node *cnode; in verify_emptyness() local
65 SYS_SLIST_FOR_EACH_CONTAINER(list, cnode, node) { in verify_emptyness()
74 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(list, cnode, s_cnode, node) { in verify_emptyness()
89 struct container_node *cnode; in verify_content_amount() local
128 SYS_SLIST_FOR_EACH_CONTAINER(list, cnode, node) { in verify_content_amount()
137 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(list, cnode, s_cnode, node) { in verify_content_amount()
401 struct container_node *cnode, *s_cnode, *cprev, *cremoved; in ZTEST() local
405 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&test_list, cnode, s_cnode, node) { in ZTEST()
408 sys_slist_remove(&test_list, NULL, &cnode->node); in ZTEST()
409 cremoved = cnode; in ZTEST()
417 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&test_list, cnode, s_cnode, node) { in ZTEST()
419 if (cnode->node.next == NULL) { in ZTEST()
420 sys_slist_remove(&test_list, &cprev->node, &cnode->node); in ZTEST()
421 cremoved = cnode; in ZTEST()
423 cprev = cnode; in ZTEST()
429 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&test_list, cnode, s_cnode, node) { in ZTEST()
431 if (test_list.head == &cnode->node) { in ZTEST()
438 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&test_list, cnode, s_cnode, node) { in ZTEST()
440 if (cnode->node.next == NULL) { in ZTEST()