Lines Matching full:zero
4 * -ftrivial-auto-var-init={zero,pattern} or CONFIG_GCC_PLUGIN_STRUCTLEAK*.
81 #define ZERO_CLONE_SCALAR(zero) memset(&(zero), 0x00, sizeof(zero)) argument
82 #define ZERO_CLONE_STRING(zero) memset(&(zero), 0x00, sizeof(zero)) argument
87 #define ZERO_CLONE_STRUCT(zero) \ argument
89 memset(&(zero), 0xFF, sizeof(zero)); \
90 zero.one = 0; \
91 zero.two = 0; \
92 zero.three = 0; \
93 zero.four = 0; \
160 var_type zero INIT_CLONE_ ## which; \
165 BUILD_BUG_ON(sizeof(zero) > MAX_VAR_SIZE); \
167 /* Fill clone type with zero for per-field init. */ \
168 ZERO_CLONE_ ## which(zero); \
173 FETCH_ARG_ ## which(zero)); \
181 FETCH_ARG_ ## which(zero)); \
346 DEFINE_SCALAR_TESTS(zero, ALWAYS_PASS);
347 DEFINE_STRUCT_TESTS(zero, ALWAYS_PASS);
440 KUNIT_test_scalars(zero),
441 KUNIT_test_structs(zero),