Searched refs:unconst (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/misc/lkdtm/ |
| H A D | usercopy.c | 22 static volatile size_t unconst; variable 34 return stack + unconst; in trick_compiler() 92 unconst + sizeof(good_stack))) { in do_usercopy_stack() 99 unconst + sizeof(good_stack))) { in do_usercopy_stack() 113 unconst + sizeof(good_stack))) { in do_usercopy_stack() 120 unconst + sizeof(good_stack))) { in do_usercopy_stack() 140 size_t size = unconst + 1024; in do_usercopy_slab_size() 237 offset = (cache_size / 4) + unconst; in do_usercopy_slab_whitelist() 238 size = (cache_size / 16) + unconst; in do_usercopy_slab_whitelist() 326 unconst + sizeof(test_text))) { in lkdtm_USERCOPY_KERNEL() [all …]
|
| /linux/lib/tests/ |
| H A D | string_kunit.c | 550 static volatile int unconst; variable 579 KUNIT_EXPECT_TRUE(test, strncat(dest, "", 0 + unconst) == dest); in string_test_strncat() 582 KUNIT_EXPECT_TRUE(test, strncat(dest, "", 1 + unconst) == dest); in string_test_strncat() 585 KUNIT_EXPECT_TRUE(test, strncat(dest, "asdf", 0 + unconst) == dest); in string_test_strncat() 589 KUNIT_EXPECT_TRUE(test, strncat(dest, "four\000123", 8 + unconst) == dest); in string_test_strncat() 594 KUNIT_EXPECT_TRUE(test, strncat(dest, "ABCD", 2 + unconst) == dest); in string_test_strncat() 601 int len = sizeof(dest) + unconst; in string_test_strlcat() 609 KUNIT_EXPECT_EQ(test, strlcat(dest, "four", 1 + unconst), 4); in string_test_strlcat() 619 KUNIT_EXPECT_EQ(test, strlcat(dest, "CD", 7 + unconst), 8); in string_test_strlcat()
|