Home
last modified time | relevance | path

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

/trusty/kernel/app/usercopytest/
Dusercopytest.c42 #define TEST_BUF_COPY_SIZE (TEST_BUF_SIZE - TEST_BUF_COPY_START - 1) macro
44 #define TEST_BUF2_COPY_SIZE (TEST_BUF_COPY_SIZE - TEST_BUF1_COPY_SIZE)
193 src_buf + TEST_BUF_COPY_START, TEST_BUF_COPY_SIZE); in TEST_P()
279 addr + TEST_BUF_COPY_START, TEST_BUF_COPY_SIZE); in TEST_P()
362 addr + TEST_BUF_COPY_START, TEST_BUF_COPY_SIZE); in TEST_P()
433 dest_len = strnlen(dest_buf + TEST_BUF_COPY_START, TEST_BUF_COPY_SIZE); in usercopy_test_strlcpy_from_user_inner()
438 EXPECT_NE(TEST_BUF_COPY_SIZE, dest_len, " null_off=%d, copy_size=%d\n", in usercopy_test_strlcpy_from_user_inner()
444 EXPECT_EQ(TEST_BUF_COPY_SIZE, dest_len, " null_off=%d, copy_size=%d\n", in usercopy_test_strlcpy_from_user_inner()
520 size_t copy_sizes[] = {0, TEST_BUF1_COPY_SIZE, TEST_BUF_COPY_SIZE}; in TEST_P()