Home
last modified time | relevance | path

Searched refs:zo (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/kernel/threads/thread_stack/src/
Dmain.c366 struct k_object *zo; in scenario_entry() local
368 zo = k_object_find(stack_obj); in scenario_entry()
369 if (zo != NULL) { in scenario_entry()
372 metadata_size = zo->data.stack_data->size; in scenario_entry()
374 metadata_size = zo->data.stack_size; in scenario_entry()
/Zephyr-latest/kernel/
Duserspace.c398 struct k_object *zo; in z_object_alloc() local
425 zo = dynamic_object_create(otype, obj_align_get(otype), size); in z_object_alloc()
426 if (zo == NULL) { in z_object_alloc()
434 zo->data.thread_id = tidx; in z_object_alloc()
440 k_thread_perms_set(zo, arch_current_thread()); in z_object_alloc()
445 zo->flags |= K_OBJ_FLAG_ALLOC; in z_object_alloc()
447 return zo->name; in z_object_alloc()
/Zephyr-latest/subsys/net/lib/sockets/
Dsocketpair.c231 struct k_object *zo = k_object_create_dynamic(sizeof(*spair)); in spair_new() local
233 if (zo == NULL) { in spair_new()
236 spair = zo->name; in spair_new()
237 zo->type = K_OBJ_NET_SOCKET; in spair_new()