Home
last modified time | relevance | path

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

/trusty/kernel/app/usercopytest/
Dusercopytest.c39 #define TEST_BUF1_SIZE (TEST_BUF_SIZE / 2) macro
40 #define TEST_BUF2_SIZE (TEST_BUF_SIZE - TEST_BUF1_SIZE)
43 #define TEST_BUF1_COPY_SIZE (TEST_BUF1_SIZE - TEST_BUF_COPY_START)
46 #define TEST_BUF2_COPY_LAST (TEST_BUF_COPY_LAST - TEST_BUF1_SIZE)
62 ((user_addr_t)((uintptr_t)(START_PAGE_ADDR + PAGE_SIZE - TEST_BUF1_SIZE)))
97 memset(kbuf1, val, TEST_BUF1_SIZE); in usercopy_test_init_buf()
98 if (null_offset >= 0 && null_offset < TEST_BUF1_SIZE) { in usercopy_test_init_buf()
104 if (null_offset >= TEST_BUF1_SIZE && null_offset < TEST_BUF_SIZE) { in usercopy_test_init_buf()
105 kbuf2[null_offset - TEST_BUF1_SIZE] = '\0'; in usercopy_test_init_buf()
170 vaddr_to_paddr((void*)(uintptr_t)addr + TEST_BUF1_SIZE)); in TEST_P()
[all …]