Home
last modified time | relevance | path

Searched refs:shadow (Results 1 – 21 of 21) sorted by relevance

/arch/x86/mm/kmemcheck/
Dshadow.c31 if (!page->shadow) in kmemcheck_shadow_lookup()
33 return page->shadow + (address & (PAGE_SIZE - 1)); in kmemcheck_shadow_lookup()
44 void *shadow; in mark_shadow() local
52 shadow = kmemcheck_shadow_lookup(addr); in mark_shadow()
53 if (shadow) in mark_shadow()
54 memset(shadow, status, first_n); in mark_shadow()
61 shadow = kmemcheck_shadow_lookup(addr); in mark_shadow()
62 if (shadow) in mark_shadow()
63 memset(shadow, status, PAGE_SIZE); in mark_shadow()
71 shadow = kmemcheck_shadow_lookup(addr); in mark_shadow()
[all …]
Dkmemcheck.c309 void *shadow; in kmemcheck_read_strict() local
312 shadow = kmemcheck_shadow_lookup(addr); in kmemcheck_read_strict()
313 if (!shadow) in kmemcheck_read_strict()
317 status = kmemcheck_shadow_test(shadow, size); in kmemcheck_read_strict()
328 kmemcheck_shadow_set(shadow, size); in kmemcheck_read_strict()
334 void *shadow; in kmemcheck_is_obj_initialized() local
336 shadow = kmemcheck_shadow_lookup(addr); in kmemcheck_is_obj_initialized()
337 if (!shadow) in kmemcheck_is_obj_initialized()
340 status = kmemcheck_shadow_test_all(shadow, size); in kmemcheck_is_obj_initialized()
372 void *shadow; in kmemcheck_write_strict() local
[all …]
Dshadow.h13 enum kmemcheck_shadow kmemcheck_shadow_test(void *shadow, unsigned int size);
14 enum kmemcheck_shadow kmemcheck_shadow_test_all(void *shadow,
16 void kmemcheck_shadow_set(void *shadow, unsigned int size);
DMakefile1 obj-y := error.o kmemcheck.o opcode.o pte.o selftest.o shadow.o
/arch/x86/kernel/
Dpvclock.c44 static u64 pvclock_get_nsec_offset(struct pvclock_shadow_time *shadow) in pvclock_get_nsec_offset() argument
46 u64 delta = native_read_tsc() - shadow->tsc_timestamp; in pvclock_get_nsec_offset()
47 return pvclock_scale_delta(delta, shadow->tsc_to_nsec_mul, in pvclock_get_nsec_offset()
48 shadow->tsc_shift); in pvclock_get_nsec_offset()
93 struct pvclock_shadow_time shadow; in pvclock_clocksource_read() local
99 version = pvclock_get_time_values(&shadow, src); in pvclock_clocksource_read()
101 offset = pvclock_get_nsec_offset(&shadow); in pvclock_clocksource_read()
102 ret = shadow.system_timestamp + offset; in pvclock_clocksource_read()
107 (shadow.flags & PVCLOCK_TSC_STABLE_BIT)) in pvclock_clocksource_read()
/arch/cris/arch-v32/drivers/mach-fs/
Dgpio.c358 unsigned long shadow; in gpio_write() local
389 shadow = *port; in gpio_write()
390 *port = shadow &= ~clk_mask; in gpio_write()
392 *port = shadow |= data_mask; in gpio_write()
394 *port = shadow &= ~data_mask; in gpio_write()
396 *port = shadow |= clk_mask; in gpio_write()
402 shadow = *port; in gpio_write()
403 *port = shadow &= ~clk_mask; in gpio_write()
405 *port = shadow |= data_mask; in gpio_write()
407 *port = shadow &= ~data_mask; in gpio_write()
[all …]
/arch/cris/arch-v32/drivers/mach-a3/
Dgpio.c312 unsigned long shadow = readl(port) & ~clk_mask; in gpio_write_bit() local
313 writel(shadow, port); in gpio_write_bit()
315 shadow |= data_mask; in gpio_write_bit()
317 shadow &= ~data_mask; in gpio_write_bit()
318 writel(shadow, port); in gpio_write_bit()
320 shadow |= clk_mask; in gpio_write_bit()
321 writel(shadow, port); in gpio_write_bit()
528 unsigned long shadow; in gpio_ioctl_unlocked() local
555 shadow = readl(data_out[priv->minor]) | in gpio_ioctl_unlocked()
557 writel(shadow, data_out[priv->minor]); in gpio_ioctl_unlocked()
[all …]
/arch/arm/mach-msm/
Dboard-trout-gpio.c35 u8 shadow; member
54 msm_gpio->shadow |= mask; in msm_gpiolib_set()
56 msm_gpio->shadow &= ~mask; in msm_gpiolib_set()
58 writeb(msm_gpio->shadow, msm_gpio->reg); in msm_gpiolib_set()
93 .shadow = shadow_val, \
/arch/powerpc/platforms/ps3/
Dspu.c124 struct spe_shadow __iomem *shadow; member
136 unsigned long problem, unsigned long ls, unsigned long shadow, in _dump_areas() argument
143 pr_debug("%s:%d: shadow: %lxh\n", func, line, shadow); in _dump_areas()
192 iounmap(spu_pdata(spu)->shadow); in spu_unmap()
210 spu_pdata(spu)->shadow = __ioremap(spu_pdata(spu)->shadow_addr, in setup_areas()
213 if (!spu_pdata(spu)->shadow) { in setup_areas()
248 (unsigned long)spu_pdata(spu)->shadow); in setup_areas()
385 while (in_be64(&spu_pdata(spu)->shadow->spe_execution_status) in ps3_create_spu()
531 return in_be64(&spu_pdata(spu)->shadow->mfc_dar_RW); in mfc_dar_get()
541 return in_be64(&spu_pdata(spu)->shadow->mfc_dsisr_RW); in mfc_dsisr_get()
/arch/cris/arch-v10/drivers/
Dgpio.c59 volatile unsigned char *port, *shadow; member
251 *priv->port = *priv->shadow &= ~(priv->clk_mask); in gpio_write_bit()
253 *priv->port = *priv->shadow |= priv->data_mask; in gpio_write_bit()
255 *priv->port = *priv->shadow &= ~(priv->data_mask); in gpio_write_bit()
258 *priv->port = *priv->shadow |= priv->clk_mask; in gpio_write_bit()
330 priv->shadow = shads[p]; in gpio_open()
337 priv->shadow = NULL; in gpio_open()
529 *priv->port = *priv->shadow |= in gpio_ioctl()
541 *priv->port = *priv->shadow &= in gpio_ioctl()
662 val = *priv->shadow; in gpio_ioctl()
/arch/alpha/include/asm/
Dmce.h25 unsigned long shadow[8]; /* Shadow reg. 8-14, 25 */ member
/arch/blackfin/include/asm/
Dbfin5xx_spi.h60 __BFP(shadow);
/arch/ia64/include/asm/sn/
Dioc3.h15 uint32_t shadow; member
/arch/alpha/kernel/
Dcore_mcpcia.c456 i, i+1, frame->shadow[i], in mcpcia_print_uncorrectable()
457 frame->shadow[i+1]); in mcpcia_print_uncorrectable()
/arch/x86/include/asm/
Dkvm.h282 __u8 shadow; member
/arch/m68k/q40/
DREADME82 shadow ROM.
/arch/cris/arch-v10/kernel/
Dhead.S469 move.d $r0,[genconfig_shadow] ; init a shadow register of R_GEN_CONFIG
505 ;; including their shadow registers
/arch/microblaze/
DKconfig155 bool "Are you using uncached shadow for RAM ?"
/arch/m68k/fpsp040/
Dfpsp.h137 .set FPSR_SHADOW,LV-64 | fpsr shadow reg
/arch/blackfin/kernel/
Ddebug-mmrs.c420 __SPI(SHADOW, shadow); in bfin_debug_mmrs_spi()
/arch/x86/kvm/
Dx86.c2446 events->interrupt.shadow = in kvm_vcpu_ioctl_x86_get_vcpu_events()
2482 events->interrupt.shadow); in kvm_vcpu_ioctl_x86_set_vcpu_events()