Home
last modified time | relevance | path

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

/trusty/kernel/app/usercopytest/
Dusercopytest.c164 char* dest_kbuf2; in TEST_P() local
169 dest_kbuf2 = paddr_to_kvaddr( in TEST_P()
174 EXPECT_EQ((dest_kbuf2 == NULL), (arch_mmu_flags_end == FLAGS_NO_PAGE)); in TEST_P()
176 usercopy_test_init_buf(dest_kbuf1, dest_kbuf2, DEST_DATA, -1); in TEST_P()
187 if (dest_kbuf2) { in TEST_P()
188 EXPECT_EQ(0, checkbuf(dest_kbuf2, DEST_DATA, TEST_BUF2_SIZE)); in TEST_P()
239 if (dest_kbuf2) { in TEST_P()
241 EXPECT_EQ(0, checkbuf(dest_kbuf2, expect2, TEST_BUF2_COPY_SIZE)); in TEST_P()
244 EXPECT_EQ(DEST_DATA, dest_kbuf2[TEST_BUF2_SIZE - 1]); in TEST_P()