Lines Matching full:zero
4 * -ftrivial-auto-var-init={zero,pattern} or CONFIG_GCC_PLUGIN_STRUCTLEAK*.
72 #define ZERO_CLONE_SCALAR(zero) memset(&(zero), 0x00, sizeof(zero)) argument
73 #define ZERO_CLONE_STRING(zero) memset(&(zero), 0x00, sizeof(zero)) argument
78 #define ZERO_CLONE_STRUCT(zero) \ argument
80 memset(&(zero), 0xFF, sizeof(zero)); \
81 zero.one = 0; \
82 zero.two = 0; \
83 zero.three = 0; \
84 zero.four = 0; \
151 var_type zero INIT_CLONE_ ## which; \
156 BUILD_BUG_ON(sizeof(zero) > MAX_VAR_SIZE); \
158 /* Fill clone type with zero for per-field init. */ \
159 ZERO_CLONE_ ## which(zero); \
164 FETCH_ARG_ ## which(zero)); \
174 FETCH_ARG_ ## which(zero)); \
333 DEFINE_SCALAR_TESTS(zero, ALWAYS_PASS);
334 DEFINE_STRUCT_TESTS(zero, ALWAYS_PASS);
427 KUNIT_test_scalars(zero),
428 KUNIT_test_structs(zero),