Home
last modified time | relevance | path

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

/trusty/kernel/app/usercopytest/
Dusercopytest.c163 char* dest_kbuf1; in TEST_P() local
168 dest_kbuf1 = paddr_to_kvaddr(vaddr_to_paddr((void*)(uintptr_t)addr)); in TEST_P()
173 EXPECT_EQ((dest_kbuf1 == NULL), (arch_mmu_flags_start == FLAGS_NO_PAGE)); in TEST_P()
176 usercopy_test_init_buf(dest_kbuf1, dest_kbuf2, DEST_DATA, -1); in TEST_P()
184 if (dest_kbuf1) { in TEST_P()
185 EXPECT_EQ(0, checkbuf(dest_kbuf1, DEST_DATA, TEST_BUF1_SIZE)); in TEST_P()
219 dest_kbuf1[TEST_BUF_COPY_START] == SRC_DATA) { in TEST_P()
230 if (dest_kbuf1) { in TEST_P()
232 EXPECT_EQ(DEST_DATA, dest_kbuf1[0]); in TEST_P()
235 EXPECT_EQ(0, checkbuf(dest_kbuf1 + TEST_BUF_COPY_START, expect1, in TEST_P()