Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/misc/lkdtm/
Dusercopy.c22 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-v6.1/lib/
Doverflow_kunit.c656 volatile int unconst = 0; in overflow_size_helpers_test() local
712 check_one_size_helper(0, flex_array_size, obj, data, 0 + unconst); in overflow_size_helpers_test()
714 flex_array_size, obj, data, 1 + unconst); in overflow_size_helpers_test()
716 flex_array_size, obj, data, 7 + unconst); in overflow_size_helpers_test()
718 flex_array_size, obj, data, -1 + unconst); in overflow_size_helpers_test()
720 flex_array_size, obj, data, SIZE_MAX - 4 + unconst); in overflow_size_helpers_test()
727 check_one_size_helper(sizeof(*obj), struct_size, obj, data, 0 + unconst); in overflow_size_helpers_test()
729 struct_size, obj, data, 1 + unconst); in overflow_size_helpers_test()
731 struct_size, obj, data, -3 + unconst); in overflow_size_helpers_test()
733 struct_size, obj, data, SIZE_MAX - 3 + unconst); in overflow_size_helpers_test()