Home
last modified time | relevance | path

Searched refs:BUF_OFFSET (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.4.0/lib/os/
Dcbprintf_packaged.c245 #define BUF_OFFSET ((uintptr_t)buf - (uintptr_t)buf0) in cbvprintf_package() macro
327 if (buf0 != NULL && BUF_OFFSET + sizeof(char *) > len) { in cbvprintf_package()
360 if (buf0 != NULL && BUF_OFFSET + size > len) { in cbvprintf_package()
435 if (BUF_OFFSET + size > len) { in cbvprintf_package()
582 if (BUF_OFFSET + size > len) { in cbvprintf_package()
608 if (buf0 != NULL && BUF_OFFSET + size > len) { in cbvprintf_package()
626 uint32_t s_ptr_idx = BUF_OFFSET / sizeof(int); in cbvprintf_package()
720 if (BUF_OFFSET / sizeof(int) > 255) { in cbvprintf_package()
730 return BUF_OFFSET + len - CBPRINTF_PACKAGE_ALIGNMENT; in cbvprintf_package()
737 pkg_hdr->desc.len = BUF_OFFSET / sizeof(int); in cbvprintf_package()
[all …]
/Zephyr-Core-3.4.0/tests/kernel/mem_protect/mem_map/src/
Dmain.c26 #define BUF_OFFSET 1238 macro
28 #define TEST_PAGE_SZ ROUND_UP(BUF_OFFSET + BUF_SIZE, CONFIG_MMU_PAGE_SIZE)
55 uint8_t *buf = test_page + BUF_OFFSET; in ZTEST()
226 uint8_t *buf = test_page + BUF_OFFSET; in ZTEST()