Home
last modified time | relevance | path

Searched refs:k_array_index_sanitize (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/tests/kernel/common/src/
Dmain.c57 index = k_array_index_sanitize(index, 24); in ZTEST()
61 index = k_array_index_sanitize(index, 5); in ZTEST()
/Zephyr-latest/include/zephyr/sys/
Dspeculation.h33 static inline uint32_t k_array_index_sanitize(uint32_t index, uint32_t array_size) in k_array_index_sanitize() function
/Zephyr-latest/drivers/gpio/
Dgpio_intel.c266 pin = k_array_index_sanitize(pin, GPIO_GET_PIN_MAX(dev) + 1); in gpio_intel_config()
342 pin = k_array_index_sanitize(pin, GPIO_GET_PIN_MAX(dev) + 1); in gpio_intel_pin_interrupt_configure()
/Zephyr-latest/lib/os/
Dfdtable.c131 fd = k_array_index_sanitize(fd, ARRAY_SIZE(fdtable)); in _check_fd()