Lines Matching refs:shadow
90 u32 *align_shadow_src, shadow;
101 * @src is untracked: zero out destination shadow, ignore the
132 shadow = align_shadow_src[i];
137 * of the first shadow slot.
140 shadow = (shadow >> skip_bits) << skip_bits;
147 * last shadow slot.
150 shadow = (shadow << skip_bits) >> skip_bits;
154 * shadow is nonempty.
156 if (origin_src[i] && (origin_src[i] != old_origin) && shadow) {
167 if (shadow)
177 * This is only done if the part of the source shadow corresponding to
185 * src shadow: |uuuu|uuuu|....|
189 * dst shadow: |.uuu|uuuu|u...|
192 * dst shadow: |.uuu|uuuu|u...|
197 shadow = align_shadow_src[src_slots - 1];
199 shadow = (shadow << skip_bits) >> skip_bits;
200 if (shadow)
205 shadow = align_shadow_src[0];
207 shadow = (shadow >> skip_bits) << skip_bits;
208 if (shadow)
273 * kmsan_metadata_is_contiguous() is true, so either all shadow
277 pr_err("%s: not memsetting %ld bytes starting at %px, because the shadow is NULL\n",
318 unsigned char *shadow = NULL;
329 shadow = kmsan_get_metadata((void *)(addr64 + pos),
331 if (!shadow) {
349 if (!shadow[i]) {
438 pr_err("%s: attempting to access two shadow page ranges.\n", __func__);
442 pr_err("page[0].shadow: %px, page[1].shadow: %px\n", cur_shadow,