/Zephyr-Core-3.7.0/tests/kernel/obj_core/obj_core_stats_api/src/ |
D | main.c | 44 status = k_obj_core_stats_enable(K_OBJ_CORE(&test_sem)); in ZTEST() 48 saved_enable = K_OBJ_CORE(test_thread)->type->stats_desc->enable; in ZTEST() 49 K_OBJ_CORE(test_thread)->type->stats_desc->enable = NULL; in ZTEST() 50 status = k_obj_core_stats_enable(K_OBJ_CORE(test_thread)); in ZTEST() 53 K_OBJ_CORE(test_thread)->type->stats_desc->enable = saved_enable; in ZTEST() 75 status = k_obj_core_stats_disable(K_OBJ_CORE(&test_sem)); in ZTEST() 79 saved_disable = K_OBJ_CORE(test_thread)->type->stats_desc->disable; in ZTEST() 80 K_OBJ_CORE(test_thread)->type->stats_desc->disable = NULL; in ZTEST() 81 status = k_obj_core_stats_disable(K_OBJ_CORE(test_thread)); in ZTEST() 84 K_OBJ_CORE(test_thread)->type->stats_desc->disable = saved_disable; in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/tests/kernel/obj_core/obj_core/src/ |
D | main.c | 134 K_OBJ_CORE(thread1), K_OBJ_CORE(&thread2)); in ZTEST() 156 walk_data.obj_core = K_OBJ_CORE(thread1); in ZTEST() 165 walk_data.obj_core = K_OBJ_CORE(&thread2); in ZTEST() 188 K_OBJ_CORE(&_kernel.cpus[i]), NULL); in ZTEST() 192 K_OBJ_CORE(&_kernel), NULL); in ZTEST() 198 K_OBJ_CORE(&block1), NULL); in ZTEST() 205 K_OBJ_CORE(&slab1), K_OBJ_CORE(&slab2)); in ZTEST() 212 K_OBJ_CORE(&timer1), K_OBJ_CORE(&timer2)); in ZTEST() 219 K_OBJ_CORE(&stack1), K_OBJ_CORE(&stack2)); in ZTEST() 226 K_OBJ_CORE(&fifo1), K_OBJ_CORE(&fifo2)); in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/tests/kernel/obj_core/obj_core_stats/src/ |
D | main.c | 74 status = k_obj_core_stats_raw(K_OBJ_CORE(&_kernel), kernel_raw, in ZTEST() 85 status = k_obj_core_stats_raw(K_OBJ_CORE(&_kernel.cpus[i]), in ZTEST() 99 status = k_obj_core_stats_query(K_OBJ_CORE(&_kernel), &kernel_query, in ZTEST() 106 status = k_obj_core_stats_query(K_OBJ_CORE(&_kernel.cpus[i]), in ZTEST() 145 status = k_obj_core_stats_reset(K_OBJ_CORE(&_kernel.cpus[i])); in ZTEST() 157 status = k_obj_core_stats_disable(K_OBJ_CORE(&_kernel.cpus[i])); in ZTEST() 169 status = k_obj_core_stats_enable(K_OBJ_CORE(&_kernel.cpus[i])); in ZTEST() 180 status = k_obj_core_stats_reset(K_OBJ_CORE(&_kernel)); in ZTEST() 189 status = k_obj_core_stats_disable(K_OBJ_CORE(&_kernel)); in ZTEST() 198 status = k_obj_core_stats_enable(K_OBJ_CORE(&_kernel)); in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/subsys/net/lib/sockets/ |
D | socket_obj_core.c | 69 k_obj_core_init_and_link(K_OBJ_CORE(sock), &sock_obj_type); in sock_obj_core_init_and_link() 70 k_obj_core_stats_register(K_OBJ_CORE(sock), &sock->stats, in sock_obj_core_init_and_link() 77 k_obj_core_stats_reset(K_OBJ_CORE(sock)); in sock_obj_core_init_and_link()
|
/Zephyr-Core-3.7.0/kernel/ |
D | condvar.c | 27 k_obj_core_init_and_link(K_OBJ_CORE(condvar), &obj_type_condvar); in z_impl_k_condvar_init() 149 k_obj_core_init_and_link(K_OBJ_CORE(condvar), in init_condvar_obj_core_list()
|
D | mem_slab.c | 156 k_obj_core_init_and_link(K_OBJ_CORE(slab), &obj_type_mem_slab); in init_mem_slab_obj_core_list() 158 k_obj_core_stats_register(K_OBJ_CORE(slab), &slab->info, in init_mem_slab_obj_core_list() 192 k_obj_core_init_and_link(K_OBJ_CORE(slab), &obj_type_mem_slab); in k_mem_slab_init() 195 k_obj_core_stats_register(K_OBJ_CORE(slab), &slab->info, in k_mem_slab_init()
|
D | sem.c | 69 k_obj_core_init_and_link(K_OBJ_CORE(sem), &obj_type_sem); in z_impl_k_sem_init() 223 k_obj_core_init_and_link(K_OBJ_CORE(sem), &obj_type_sem); in init_sem_obj_core_list()
|
D | init.c | 527 k_obj_core_init_and_link(K_OBJ_CORE(&_kernel.cpus[id]), &obj_type_cpu); in z_init_cpu() 529 k_obj_core_stats_register(K_OBJ_CORE(&_kernel.cpus[id]), in z_init_cpu() 741 k_obj_core_init_and_link(K_OBJ_CORE(&_kernel), &obj_type_kernel); in init_kernel_obj_core_list() 743 k_obj_core_stats_register(K_OBJ_CORE(&_kernel), _kernel.usage, in init_kernel_obj_core_list()
|
D | stack.c | 40 k_obj_core_init_and_link(K_OBJ_CORE(stack), &obj_type_stack); in k_stack_init() 214 k_obj_core_init_and_link(K_OBJ_CORE(stack), &obj_type_stack); in init_stack_obj_core_list()
|
D | mutex.c | 65 k_obj_core_init_and_link(K_OBJ_CORE(mutex), &obj_type_mutex); in z_impl_k_mutex_init() 306 k_obj_core_init_and_link(K_OBJ_CORE(mutex), &obj_type_mutex); in init_mutex_obj_core_list()
|
D | timer.c | 134 k_obj_core_init_and_link(K_OBJ_CORE(timer), &obj_type_timer); in k_timer_init() 358 k_obj_core_init_and_link(K_OBJ_CORE(timer), &obj_type_timer); in init_timer_obj_core_list()
|
D | events.c | 64 k_obj_core_init_and_link(K_OBJ_CORE(event), &obj_type_event); in z_impl_k_event_init() 359 k_obj_core_init_and_link(K_OBJ_CORE(event), &obj_type_event); in init_event_obj_core_list()
|
D | mailbox.c | 94 k_obj_core_init_and_link(K_OBJ_CORE(mbox), &obj_type_mailbox); in k_mbox_init() 453 k_obj_core_init_and_link(K_OBJ_CORE(mbox), &obj_type_mailbox); in init_mailbox_obj_core_list()
|
D | queue.c | 449 k_obj_core_init_and_link(K_OBJ_CORE(fifo), &_obj_type_fifo); in init_fifo_obj_core_list() 472 k_obj_core_init_and_link(K_OBJ_CORE(lifo), &_obj_type_lifo); in init_lifo_obj_core_list()
|
D | msg_q.c | 57 k_obj_core_init_and_link(K_OBJ_CORE(msgq), &obj_type_msgq); in k_msgq_init() 433 k_obj_core_init_and_link(K_OBJ_CORE(msgq), &obj_type_msgq); in init_msgq_obj_core_list()
|
D | pipes.c | 59 k_obj_core_init_and_link(K_OBJ_CORE(pipe), &obj_type_pipe); in k_pipe_init() 824 k_obj_core_init_and_link(K_OBJ_CORE(pipe), &obj_type_pipe); in init_pipe_obj_core_list()
|
D | thread.c | 532 k_obj_core_init_and_link(K_OBJ_CORE(new_thread), &obj_type_thread); in z_setup_new_thread() 534 k_obj_core_stats_register(K_OBJ_CORE(new_thread), in z_setup_new_thread()
|
D | sched.c | 1383 k_obj_core_stats_deregister(K_OBJ_CORE(thread)); in halt_thread() 1385 k_obj_core_unlink(K_OBJ_CORE(thread)); in halt_thread()
|
/Zephyr-Core-3.7.0/doc/kernel/object_cores/ |
D | index.rst | 130 k_obj_core_init(K_OBJ_CORE(new_obj), &my_obj_type); 131 k_obj_core_link(K_OBJ_CORE(new_obj)); 132 k_obj_core_stats_register(K_OBJ_CORE(new_obj), &new_obj->raw_stats, 193 status = k_obj_core_stats_query(K_OBJ_CORE(&my_obj), 199 k_obj_core_stats_reset(K_OBJ_CORE(&my_obj));
|
/Zephyr-Core-3.7.0/include/zephyr/kernel/ |
D | obj_core.h | 21 #define K_OBJ_CORE(kobj) (&((kobj)->obj_core)) macro
|
/Zephyr-Core-3.7.0/subsys/net/lib/shell/ |
D | sockets.c | 47 ret = k_obj_core_stats_raw(K_OBJ_CORE(obj), in walk_sockets()
|
/Zephyr-Core-3.7.0/lib/mem_blocks/ |
D | mem_blocks.c | 545 k_obj_core_init_and_link(K_OBJ_CORE(*block_pp), in init_sys_mem_blocks_obj_core_list() 548 k_obj_core_stats_register(K_OBJ_CORE(*block_pp), in init_sys_mem_blocks_obj_core_list()
|
/Zephyr-Core-3.7.0/include/zephyr/ |
D | kernel.h | 2504 K_OBJ_CORE_INIT(K_OBJ_CORE(fifo), _obj_type_fifo); \ 2505 K_OBJ_CORE_LINK(K_OBJ_CORE(fifo)); \ 2744 K_OBJ_CORE_INIT(K_OBJ_CORE(lifo), _obj_type_lifo); \ 2745 K_OBJ_CORE_LINK(K_OBJ_CORE(lifo)); \
|