/Zephyr-latest/kernel/ |
D | userspace_handler.c | 13 enum k_objects otype, in validate_kernel_object() argument 27 k_object_dump_error(ret, obj, ko, otype); in validate_kernel_object() 40 bool k_object_is_valid(const void *obj, enum k_objects otype) in k_object_is_valid() argument 44 ko = validate_kernel_object(obj, otype, _OBJ_INIT_TRUE); in k_object_is_valid() 79 static inline void *z_vrfy_k_object_alloc(enum k_objects otype) in z_vrfy_k_object_alloc() argument 81 return z_impl_k_object_alloc(otype); in z_vrfy_k_object_alloc() 85 static inline void *z_vrfy_k_object_alloc_size(enum k_objects otype, size_t size) in z_vrfy_k_object_alloc_size() argument 87 return z_impl_k_object_alloc_size(otype, size); in z_vrfy_k_object_alloc_size()
|
D | userspace.c | 83 const char *otype_to_str(enum k_objects otype) in otype_to_str() argument 91 switch (otype) { in otype_to_str() 104 ARG_UNUSED(otype); in otype_to_str() 191 static size_t obj_size_get(enum k_objects otype) in obj_size_get() argument 195 switch (otype) { in obj_size_get() 205 static size_t obj_align_get(enum k_objects otype) in obj_align_get() argument 209 switch (otype) { in obj_align_get() 321 static struct k_object *dynamic_object_create(enum k_objects otype, size_t align, in dynamic_object_create() argument 331 if (otype == K_OBJ_THREAD_STACK_ELEMENT) { in dynamic_object_create() 365 dyn->data = z_thread_aligned_alloc(align, obj_size_get(otype) + size); in dynamic_object_create() [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | kobject.h | 148 bool k_object_is_valid(const void *obj, enum k_objects otype); 187 static inline bool k_object_is_valid(const void *obj, enum k_objects otype) in k_object_is_valid() argument 190 ARG_UNUSED(otype); in k_object_is_valid() 217 __syscall void *k_object_alloc(enum k_objects otype); 238 __syscall void *k_object_alloc_size(enum k_objects otype, size_t size); 256 static inline void *z_impl_k_object_alloc(enum k_objects otype) in z_impl_k_object_alloc() argument 258 ARG_UNUSED(otype); in z_impl_k_object_alloc() 263 static inline void *z_impl_k_object_alloc_size(enum k_objects otype, in z_impl_k_object_alloc_size() argument 266 ARG_UNUSED(otype); in z_impl_k_object_alloc_size()
|
/Zephyr-latest/cmake/ |
D | kobj.cmake | 11 set(KOBJ_OTYPE ${gen_dir}/otype-to-str.h) 12 set(KOBJ_SIZE ${gen_dir}/otype-to-size.h) 22 --kobj-otype-output ${KOBJ_OTYPE}
|
/Zephyr-latest/include/zephyr/internal/ |
D | syscall_handler.h | 92 int k_object_validate(struct k_object *ko, enum k_objects otype, 107 struct k_object *ko, enum k_objects otype); 524 enum k_objects otype, in k_object_validation_check() argument 529 ret = k_object_validate(ko, otype, init); in k_object_validation_check() 533 k_object_dump_error(ret, obj, ko, otype); in k_object_validation_check()
|
/Zephyr-latest/tests/kernel/mem_protect/mem_protect/src/ |
D | kobject.c | 1384 extern const char *otype_to_str(enum k_objects otype); 1395 enum k_objects otype = K_OBJ_ANY; in ZTEST() local 1400 c = otype_to_str(otype); in ZTEST() 1402 if (otype != K_OBJ_LAST) { in ZTEST() 1404 "otype %d unexpectedly maps to last entry \"?\"", otype); in ZTEST() 1407 "otype %d does not map to last entry \"?\"", otype); in ZTEST() 1409 otype++; in ZTEST() 1410 } while (otype <= K_OBJ_LAST); in ZTEST()
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_stm32.c | 290 uint32_t mode, otype, ospeed, pupd; in gpio_stm32_configure_raw() local 293 otype = conf & (STM32_OTYPER_MASK << STM32_OTYPER_SHIFT); in gpio_stm32_configure_raw() 309 LL_GPIO_SetPinOutputType(gpio, pin_ll, otype >> STM32_OTYPER_SHIFT); in gpio_stm32_configure_raw()
|
/Zephyr-latest/scripts/ |
D | checkpatch.pl | 6581 my $otype = $4; 6585 ($arg, $otype) = ($otype, $arg) if ($arg =~ /^(?:true|false)$/i); 6587 my $type = lc($otype); 6595 "Using comparison to $otype is error prone\n" . $herecurr);
|
/Zephyr-latest/doc/releases/ |
D | migration-guide-3.7.rst | 43 * - ``otype-to-size.h`` 44 * - ``otype-to-str.h``
|