HomeSort by: relevance | last modified time | path
    Searched refs:shadow (Results 1 - 25 of 60) sorted by relevancy

1 2 3

  /src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_poisoning.h 12 // Shadow memory poisoning by ASan RTL and by user application.
26 // Poisons the shadow memory for "size" bytes starting from "addr".
29 // Poisons the shadow memory for "redzone_size" bytes starting from
46 // for mapping shadow and zeroing out pages doesn't "just work", so we should
50 // TODO(mcgrathr): Fuchsia doesn't allow the shadow mapping to be
82 u8 *shadow = (u8*)MEM_TO_SHADOW(aligned_addr); local in function:__asan::FastPoisonShadowPartialRightRedzone
83 for (uptr i = 0; i < redzone_size; i += SHADOW_GRANULARITY, shadow++) {
85 *shadow = 0; // fully addressable
87 *shadow = (SHADOW_GRANULARITY == 128) ? 0xff : value; // unaddressable
90 *shadow = poison_partial ? static_cast<u8>(size - i) : 0
    [all...]
asan_premap_shadow.cc 12 // Reserve shadow memory with an ifunc resolver.
55 uptr shadow = reinterpret_cast<uptr>(&__asan_shadow); local in function:__asan::PremapShadowFailed
57 // shadow == resolver is how Android KitKat and older handles ifunc.
58 // shadow == 0 just in case.
59 if (shadow == 0 || shadow == resolver)
67 // The resolver may be called multiple times. Map the shadow just once.
74 // the shadow mapping.
asan_descriptions.h 90 static const char *const ShadowNames[] = {"low shadow", "shadow gap",
91 "high shadow"};
171 // a shadow, global (variable), stack, or heap address.
193 ShadowAddressDescription shadow; member in union:__asan::AddressDescription::AddressDescriptionData::__anon1fc955ce010a
217 return data.shadow.addr;
233 return data.shadow.Print();
248 return data.kind == kAddressKindShadow ? &data.shadow : nullptr;
asan_debugging.cc 89 if (auto shadow = descr.AsShadow()) { local in function:__asan_locate_address
91 switch (shadow->kind) {
93 region_kind = "low shadow";
96 region_kind = "shadow gap";
99 region_kind = "high shadow";
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_vm_sdma.c 49 if (table->shadow)
50 r = amdgpu_ttm_alloc_gart(&table->shadow->tbo);
241 if (bo->shadow)
242 amdgpu_vm_sdma_set_ptes(p, bo->shadow, pe, addr,
251 (bo->shadow ? 2 : 1);
266 if (bo->shadow)
267 amdgpu_vm_sdma_copy_ptes(p, bo->shadow, pe, nptes);
  /src/sys/modules/drmkms/
Makefile 34 COPTS.drm_atomic_helper.c+= -Wno-shadow
38 COPTS.drm_crtc.c+= -Wno-shadow
39 COPTS.drm_client_modeset.c+= -Wno-shadow
41 COPTS.drm_fb_helper.c+= -Wno-shadow
42 COPTS.drm_edid.c+= -Wno-shadow
43 COPTS.drm_ioctl.c+= -Wno-shadow
45 COPTS.drm_modes.c+= -Wno-shadow
  /src/sys/external/bsd/compiler_rt/dist/include/sanitizer/
msan_interface.h 53 void __msan_partial_poison(const volatile void *data, void *shadow,
76 /* Print shadow and origin for the memory range to stderr in a human-readable
80 /* Print shadow for the memory range to stderr in a minimalistic
101 /* Update shadow for the application copy of size bytes from src to dst.
103 actual application memory, it only updates shadow and origin for such
  /src/sys/modules/drmkms_ttm/
Makefile 18 CWARNFLAGS+= -Wno-shadow
  /src/sys/arch/alpha/common/
comlogout.c 68 mcucev5p->shadow[i], mcucev5p->shadow[i+1]);
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/
nouveau_nvkm_subdev_bios_shadow.c 35 struct shadow { struct
44 shadow_fetch(struct nvkm_bios *bios, struct shadow *mthd, u32 upto)
57 shadow_image(struct nvkm_bios *bios, int idx, u32 offset, struct shadow *mthd)
115 shadow_method(struct nvkm_bios *bios, struct shadow *mthd, const char *name)
176 struct shadow mthds[] = {
  /src/sys/external/bsd/compiler_rt/dist/lib/msan/
msan.h 37 INVALID, APP, SHADOW, ORIGIN
52 {0x002200000000ULL, 0x004000000000ULL, MappingDesc::SHADOW, "shadow-2"},
56 {0x006200000000ULL, 0x008000000000ULL, MappingDesc::SHADOW, "shadow-3"},
57 {0x008000000000ULL, 0x008200000000ULL, MappingDesc::SHADOW, "shadow-1"},
65 #define SHADOW_TO_ORIGIN(shadow) (((uptr)(shadow)) + 0x2000000000ULL)
84 {0x01000000000ULL, 0x02000000000ULL, MappingDesc::SHADOW, "shadow-2"}
    [all...]
  /src/distrib/miniroot/
upgrade.sh 38 trap "unmount_fs -fast /tmp/fstab.shadow > /dev/null 2>&1; rm -f /tmp/fstab.shadow" 0
275 munge_fstab /tmp/fstab /tmp/fstab.shadow
283 check_fs /tmp/fstab.shadow
286 mount_fs /tmp/fstab.shadow
380 unmount_fs /tmp/fstab.shadow
install.sh 113 echo "# disktab" > /tmp/disktab.shadow
280 /tmp/resolv.conf.shadow
381 munge_fstab /tmp/fstab /tmp/fstab.shadow
382 mount_fs /tmp/fstab.shadow
447 unmount_fs /tmp/fstab.shadow
  /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/
pci.h 47 void nvkm_pci_rom_shadow(struct nvkm_pci *, bool shadow);
  /src/sys/modules/viadrmums/
Makefile 17 COPTS.via_verifier.c+= -Wno-shadow
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/mxm/
nouveau_nvkm_subdev_mxm_base.c 233 struct mxm_shadow_h *shadow = _mxm_shadow; local in function:mxm_shadow
235 nvkm_debug(&mxm->subdev, "checking %s\n", shadow->name);
236 if (shadow->exec(mxm, version)) {
242 } while ((++shadow)->name);
  /src/tests/usr.bin/c++/
t_msan_shadow.sh 42 atf_test_case shadow
44 atf_set "descr" "Test memory sanitizer for shadow interface"
50 atf_set "descr" "Test memory sanitizer for shadow with profiling option"
55 atf_set "descr" "Test memory sanitizer for shadow with position independent code (PIC) flag"
60 atf_set "descr" "Test memory sanitizer for shadow with position independent execution (PIE) flag"
184 atf_add_test_case shadow
  /src/tests/usr.bin/cc/
t_msan_shadow.sh 42 atf_test_case shadow
44 atf_set "descr" "Test memory sanitizer for shadow interface"
50 atf_set "descr" "Test memory sanitizer for shadow with profiling option"
55 atf_set "descr" "Test memory sanitizer for shadow with position independent code (PIC) flag"
60 atf_set "descr" "Test memory sanitizer for shadow with position independent execution (PIE) flag"
184 atf_add_test_case shadow
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/
asan_noinst_test.cc 114 fprintf(stderr, "%s shadow: %lx size % 3ld: ", tag, (long)ptr, (long)size);
117 uptr shadow = __asan::MemToShadow(ptr + i); local in function:PrintShadow
120 if (shadow != prev_shadow) {
121 prev_shadow = shadow;
122 fprintf(stderr, "%02x", (int)*(u8*)shadow);
224 // Check that __asan_region_is_poisoned works for shadow regions.
  /src/sys/external/bsd/drm2/dist/drm/i915/gvt/
scheduler.h 88 bool shadow; /* if workload has done shadow of guest request */ member in struct:intel_vgpu_workload
113 /* shadow batch buffer */
scheduler.c 85 * when populating shadow ctx from guest, we should not overrride oa related
336 /* allocate shadow ring buffer */
339 gvt_vgpu_err("fail to alloc size =%ld shadow ring buffer\n",
346 /* get shadow ring buffer va */
399 rq = i915_request_create(s->shadow[workload->ring_id]);
411 * shadow it as well, include ringbuffer,wa_ctx and ctx.
425 if (workload->shadow)
429 shadow_context_descriptor_update(s->shadow[workload->ring_id],
442 workload->shadow = true;
471 /* for non-priv bb, scan&shadow is only fo
    [all...]
  /src/usr.sbin/rpc.pcnfsd/
pcnfsd_misc.c 49 #include <shadow.h>
113 ** Check the existence of SHADOW. If it is there, then we are
117 if (access(SHADOW, 0))
118 shadowfile = 0; /* SHADOW is not there */
124 (void) setspent(); /* Setting the shadow password file */
144 * may have an 'x' in which case look in /etc/shadow ..
147 struct spwd *shadow = getspnam(usrnam); local in function:get_password
149 if (!shadow)
151 pswd = shadow->sp_pwdp;
  /src/sys/external/bsd/drm2/dist/drm/i915/gem/
i915_gem_execbuffer.c 221 * copy the user's batchbuffer to a shadow (so that the user doesn't have
2007 struct i915_vma *shadow; member in struct:eb_parse_work
2021 pw->shadow,
2031 i915_active_release(&pw->shadow->active);
2042 struct i915_vma *shadow,
2056 err = i915_active_acquire(&shadow->active);
2072 pw->shadow = shadow;
2096 dma_resv_lock(shadow->resv, NULL);
2097 dma_resv_add_excl_fence(shadow->resv, &pw->base.dma)
2120 struct i915_vma *shadow, *trampoline; local in function:eb_parse
    [all...]
  /src/distrib/sun2/miniroot/
list 33 COPY ${CURDIR}/fstab tmp/fstab.shadow
34 SYMLINK /tmp/fstab.shadow etc/fstab
35 SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf
  /src/distrib/sun3/miniroot/
list 32 COPY ${CURDIR}/fstab tmp/fstab.shadow
33 SYMLINK /tmp/fstab.shadow etc/fstab
34 SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf

Completed in 20 milliseconds

1 2 3