Lines Matching refs:src_kbuf2

255     char* src_kbuf2;  in TEST_P()  local
261 src_kbuf2 = paddr_to_kvaddr( in TEST_P()
266 EXPECT_EQ((src_kbuf2 == NULL), (arch_mmu_flags_end == FLAGS_NO_PAGE)); in TEST_P()
268 usercopy_test_init_buf(src_kbuf1, src_kbuf2, SRC_DATA, -1); in TEST_P()
319 if (src_kbuf2) { in TEST_P()
320 EXPECT_EQ(0, checkbuf(src_kbuf2, SRC_DATA, TEST_BUF2_SIZE)); in TEST_P()
338 char* src_kbuf2; in TEST_P() local
344 src_kbuf2 = paddr_to_kvaddr( in TEST_P()
349 EXPECT_EQ((src_kbuf2 == NULL), (arch_mmu_flags_end == FLAGS_NO_PAGE)); in TEST_P()
351 usercopy_test_init_buf(src_kbuf1, src_kbuf2, SRC_DATA, -1); in TEST_P()
402 if (src_kbuf2) { in TEST_P()
403 EXPECT_EQ(0, checkbuf(src_kbuf2, SRC_DATA, TEST_BUF2_SIZE)); in TEST_P()
415 char* src_kbuf2; in usercopy_test_strlcpy_from_user_inner() local
421 src_kbuf2 = paddr_to_kvaddr( in usercopy_test_strlcpy_from_user_inner()
426 EXPECT_EQ((src_kbuf2 == NULL), (arch_mmu_flags_end == FLAGS_NO_PAGE)); in usercopy_test_strlcpy_from_user_inner()
428 usercopy_test_init_buf(src_kbuf1, src_kbuf2, SRC_DATA, null_off); in usercopy_test_strlcpy_from_user_inner()
498 if (src_kbuf2) { in usercopy_test_strlcpy_from_user_inner()
501 EXPECT_EQ(0, checkbuf(src_kbuf2, SRC_DATA, null_off2)); in usercopy_test_strlcpy_from_user_inner()
502 EXPECT_EQ('\0', src_kbuf2[null_off2]); in usercopy_test_strlcpy_from_user_inner()
503 EXPECT_EQ(0, checkbuf(src_kbuf2 + null_off2 + 1, SRC_DATA, in usercopy_test_strlcpy_from_user_inner()
506 EXPECT_EQ(0, checkbuf(src_kbuf2, SRC_DATA, TEST_BUF2_SIZE)); in usercopy_test_strlcpy_from_user_inner()