Home
last modified time | relevance | path

Searched refs:walk_data (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.6.0/tests/kernel/obj_core/obj_core/src/
Dmain.c89 struct obj_core_find_data walk_data; in common_obj_core_test() local
99 walk_data.obj_core = static_obj_core; in common_obj_core_test()
101 &walk_data); in common_obj_core_test()
106 &walk_data); in common_obj_core_test()
114 walk_data.obj_core = dyn_obj_core; in common_obj_core_test()
116 &walk_data); in common_obj_core_test()
121 &walk_data); in common_obj_core_test()
147 struct obj_core_find_data walk_data; in ZTEST() local
156 walk_data.obj_core = K_OBJ_CORE(thread1); in ZTEST()
158 &walk_data); in ZTEST()
[all …]
/Zephyr-Core-3.6.0/kernel/
Dpipes.c224 struct waitq_walk_data *walk_data = data; in pipe_walk_op() local
227 sys_dlist_append(walk_data->list, &desc->node); in pipe_walk_op()
229 walk_data->bytes_available += desc->bytes_to_xfer; in pipe_walk_op()
231 if (walk_data->bytes_available >= walk_data->bytes_requested) { in pipe_walk_op()
251 struct waitq_walk_data walk_data; in pipe_waiter_list_populate() local
253 walk_data.list = list; in pipe_waiter_list_populate()
254 walk_data.bytes_requested = bytes_to_xfer; in pipe_waiter_list_populate()
255 walk_data.bytes_available = 0; in pipe_waiter_list_populate()
257 (void) z_sched_waitq_walk(wait_q, pipe_walk_op, &walk_data); in pipe_waiter_list_populate()
259 return walk_data.bytes_available; in pipe_waiter_list_populate()