zephyr/tests/kernel
Daniel Leung d47b1c05f3 kernel: userspace: add k_object_is_valid()
This adds a function k_object_is_valid() to check if a kernel
object exists, of certain type, and has been initialized.
This replaces the same (or very similar) code that has been
copied from kernel into the network subsystem.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-09-28 17:28:43 -04:00
..
cache tests/kernel: Also run tests using minimallibc 2023-09-04 15:29:13 -04:00
common tests: byteorder: Add tests for sys_uint*_to_array macros 2023-09-28 07:39:09 -04:00
condvar/condvar_api samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
context tests/kernel: Also run tests using minimallibc 2023-09-04 15:29:13 -04:00
device tests: kernel: device: drop APPLICATION level 2023-09-21 15:02:45 +02:00
early_sleep tests/kernel: Also run tests using minimallibc 2023-09-04 15:29:13 -04:00
events kernel: move wait_q.h header to be internal 2023-09-12 12:55:36 -04:00
fatal tests: cleanup metadata and filtering 2023-06-13 09:38:27 -04:00
fifo tests: remove linker_generator sub tests from kernel 2023-06-02 04:47:06 -04:00
fpu_sharing modules: cmsis: move glue code to modules/cmsis 2023-08-24 13:20:21 +02:00
gen_isr_table scripts: build: gen_isr_tables: make bit masks configurable 2023-08-10 10:55:41 -04:00
interrupt tests interrupt_offload: Set a proper interrupt for POSIX arch targets 2023-09-18 10:42:25 +01:00
lifo tests: kernel: renames shadow variables 2023-08-10 08:14:12 +00:00
mbox tests: remove linker_generator sub tests from kernel 2023-06-02 04:47:06 -04:00
mem_heap memory-attr: Rationalize _MASK and _GET(x) macros 2023-09-22 09:27:57 +02:00
mem_protect kernel: userspace: add k_object_is_valid() 2023-09-28 17:28:43 -04:00
mem_slab kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
mp tests/kernel: Also run tests using minimallibc 2023-09-04 15:29:13 -04:00
msgq tests: kernel: renames shadow variables 2023-08-10 08:14:12 +00:00
mutex tests: kernel: renames shadow variables 2023-08-10 08:14:12 +00:00
obj_tracking tests/kernel: Also run tests using minimallibc 2023-09-04 15:29:13 -04:00
pending tests/kernel: Also run tests using minimallibc 2023-09-04 15:29:13 -04:00
pipe tracing: remove references to deprecated k_pipe_block_put 2023-09-18 19:20:02 -04:00
poll kernel: Remove references to _EXPIRED 2023-09-15 19:16:20 -04:00
profiling/profiling_api samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
queue kernel: remove reference to non existing z_thread_heap_assign 2023-09-17 07:59:30 -04:00
sched test: fix ITRERATION_COUNT typo 2023-09-19 09:53:03 -04:00
semaphore tests: Kernel: semaphore: semaphore: Set test case to 1cpu 2023-09-22 09:25:12 +02:00
sleep tests/kernel: Also run tests using minimallibc 2023-09-04 15:29:13 -04:00
smp tests/kernel: Also run tests using minimallibc 2023-09-04 15:29:13 -04:00
smp_boot_delay tests/kernel: Also run tests using minimallibc 2023-09-04 15:29:13 -04:00
spinlock tests: spinlock: Make local functions static 2023-09-28 15:46:07 +02:00
stack/stack tests: kernel: renames shadow variables 2023-08-10 08:14:12 +00:00
threads tests: kernel: threads: dynamic_thread: increase the heap size 2023-09-22 09:25:12 +02:00
tickless/tickless_concept pm: rt5xx: Enable OS Timer as wakeup source 2023-05-16 18:19:35 +02:00
timer test/kernel: Adjust timer test to deal with time_units macros 2023-09-28 16:15:27 +02:00
usage/thread_runtime_stats tests: kernel: usage: skip for mr_canhubk3 board 2023-09-18 10:37:22 +01:00
workq tests: work_queue: fix few mismatched CONTAINER_OF 2023-08-29 20:06:23 -04:00
xip tests: kernel: xip: exclude qemu_riscv32_xip 2023-09-22 17:39:38 +01:00