Lines Matching refs:beg
48 uptr beg = d & ~3UL;
50 if (beg < d) {
51 u32 o = GetOriginIfPoisoned((uptr)src, beg + 4 - d);
54 *(u32 *)MEM_TO_ORIGIN(beg) = o;
56 beg += 4;
61 if (end < beg) return;
72 if (beg < end) {
79 u32 *src_end = (u32 *)MEM_TO_ORIGIN(s + (end - beg));
80 u32 *dst = (u32 *)MEM_TO_ORIGIN(beg);
92 REAL(memcpy)((void *)MEM_TO_ORIGIN(beg), (void *)MEM_TO_ORIGIN(s),
93 end - beg);
116 uptr beg = d & ~3UL;
118 if (beg + 4 < end) {
122 u32 *src = (u32 *)MEM_TO_ORIGIN(s + end - beg - 4);
123 u32 *src_s = (u32 *)MEM_TO_SHADOW(s + end - beg - 4);
139 ((void *)MEM_TO_ORIGIN(beg), (void *)MEM_TO_ORIGIN(s), end - beg - 4);
144 if (beg < d) {
145 u32 o = GetOriginIfPoisoned((uptr)src, beg + 4 - d);
149 *(u32 *)MEM_TO_ORIGIN(beg) = o;
235 uptr beg = x & ~3UL; // align down.
240 if (beg & 7ULL) {
241 *(u32 *)beg = origin;
242 beg += 4;
244 for (uptr addr = beg; addr < (end & ~7UL); addr += 8) *(u64 *)addr = origin64;