Home
last modified time | relevance | path

Searched refs:poison (Results 1 - 25 of 91) sorted by relevance

1234

/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/tm/
H A Dtm-poison.c7 * VMX/VEC/Altivec register vr31 a known value, called poison, calling
11 * present child's poison will leak into parent's f31 or vr31 registers,
12 * otherwise, poison will never leak into parent's f31 and vr31 registers.
31 uint64_t poison = 0xdeadbeefc0dec0fe; in tm_poison_test() local
54 "mtvsrd 31, %[poison];" // f31 = poison in tm_poison_test()
55 "mtvsrd 63, %[poison];" // vr31 = poison in tm_poison_test()
57 : : [poison] "r" (poison) in tm_poison_test()
[all...]
H A DMakefile8 tm-signal-context-force-tm tm-poison tm-signal-pagefault
28 $(OUTPUT)/tm-poison: CFLAGS += -m64
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/tm/
H A Dtm-poison.c7 * VMX/VEC/Altivec register vr31 a known value, called poison, calling
11 * present child's poison will leak into parent's f31 or vr31 registers,
12 * otherwise, poison will never leak into parent's f31 and vr31 registers.
30 uint64_t poison = 0xdeadbeefc0dec0fe; in tm_poison_test() local
54 "mtvsrd 31, %[poison];" // f31 = poison in tm_poison_test()
55 "mtvsrd 63, %[poison];" // vr31 = poison in tm_poison_test()
57 : : [poison] "r" (poison) in tm_poison_test()
[all...]
H A DMakefile8 tm-signal-context-force-tm tm-poison tm-signal-pagefault
28 $(OUTPUT)/tm-poison: CFLAGS += -m64
/kernel/linux/linux-6.6/drivers/cxl/core/
H A Dmbox.c173 static void cxl_set_poison_cmd_enabled(struct cxl_poison_state *poison, in cxl_set_poison_cmd_enabled() argument
178 set_bit(CXL_POISON_ENABLED_LIST, poison->enabled_cmds); in cxl_set_poison_cmd_enabled()
181 set_bit(CXL_POISON_ENABLED_INJECT, poison->enabled_cmds); in cxl_set_poison_cmd_enabled()
184 set_bit(CXL_POISON_ENABLED_CLEAR, poison->enabled_cmds); in cxl_set_poison_cmd_enabled()
187 set_bit(CXL_POISON_ENABLED_SCAN_CAPS, poison->enabled_cmds); in cxl_set_poison_cmd_enabled()
190 set_bit(CXL_POISON_ENABLED_SCAN_MEDIA, poison->enabled_cmds); in cxl_set_poison_cmd_enabled()
193 set_bit(CXL_POISON_ENABLED_SCAN_RESULTS, poison->enabled_cmds); in cxl_set_poison_cmd_enabled()
726 cxl_set_poison_cmd_enabled(&mds->poison, opcode); in cxl_walk_cel()
1119 if (test_bit(CXL_POISON_ENABLED_LIST, mds->poison.enabled_cmds)) { in cxl_dev_state_identify()
1121 mds->poison in cxl_dev_state_identify()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dselftest_lrc.c789 u32 poison; member
804 arg->ce[0]->lrc_reg_state[CTX_TIMESTAMP] = arg->poison; in __lrc_timestamp()
828 if (!timestamp_advanced(arg->poison, slot[1])) { in __lrc_timestamp()
831 arg->poison, slot[1]); in __lrc_timestamp()
854 const u32 poison[] = { in live_lrc_timestamp() local
867 * with a second request (carrying more poison into the timestamp). in live_lrc_timestamp()
893 for (i = 0; i < ARRAY_SIZE(poison); i++) { in live_lrc_timestamp()
894 data.poison = poison[i]; in live_lrc_timestamp()
950 static u32 safe_poison(u32 offset, u32 poison) in safe_poison() argument
1135 load_context(struct intel_context *ce, u32 poison) load_context() argument
1208 poison_registers(struct intel_context *ce, u32 poison, u32 *sema) poison_registers() argument
1261 compare_isolation(struct intel_engine_cs *engine, struct i915_vma *ref[2], struct i915_vma *result[2], struct intel_context *ce, u32 poison) compare_isolation() argument
1401 __lrc_isolation(struct intel_engine_cs *engine, u32 poison) __lrc_isolation() argument
1511 const u32 poison[] = { live_lrc_isolation() local
[all...]
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dprocessor.h124 unsigned long poison) in __stackleak_poison()
138 "0: stg %[poison],0(%[addr])\n" in __stackleak_poison()
142 "1: stg %[poison],0(%[addr])\n" in __stackleak_poison()
146 "2: stg %[poison],0(%[addr])\n" in __stackleak_poison()
151 : [poison] "d" (poison) in __stackleak_poison()
122 __stackleak_poison(unsigned long erase_low, unsigned long erase_high, unsigned long poison) __stackleak_poison() argument
/kernel/linux/linux-6.6/drivers/cxl/
H A Dmem.c135 if (test_bit(CXL_POISON_ENABLED_INJECT, mds->poison.enabled_cmds)) in cxl_mem_probe()
138 if (test_bit(CXL_POISON_ENABLED_CLEAR, mds->poison.enabled_cmds)) in cxl_mem_probe()
226 mds->poison.enabled_cmds)) in cxl_mem_visible()
/kernel/linux/linux-5.10/tools/vm/
H A Dslabinfo.c35 int order, poison, reclaim_account, red_zone; member
93 int poison; variable
555 page_size << s->order, s->partial, onoff(s->poison), in report()
611 if (s->poison) in slabcache()
660 poison = 1; in debug_opt_scan()
674 if (poison) in debug_opt_scan()
676 poison = 1; in debug_opt_scan()
743 if (poison && !s->poison) { in slab_debug()
745 set_obj(s, "poison", in slab_debug()
[all...]
/kernel/linux/linux-6.6/tools/mm/
H A Dslabinfo.c35 int order, poison, reclaim_account, red_zone; member
93 int poison; variable
579 page_size << s->order, s->partial, onoff(s->poison), in report()
635 if (s->poison) in slabcache()
684 poison = 1; in debug_opt_scan()
698 if (poison) in debug_opt_scan()
700 poison = 1; in debug_opt_scan()
767 if (poison && !s->poison) { in slab_debug()
769 set_obj(s, "poison", in slab_debug()
[all...]
/kernel/linux/linux-6.6/kernel/
H A Dstackleak.c3 * This code fills the used part of the kernel stack with a poison value
76 unsigned long poison) in __stackleak_poison()
79 *(unsigned long *)erase_low = poison; in __stackleak_poison()
99 * Write poison to the task's stack between 'erase_low' and in __stackleak_erase()
109 * doesn't change while we write poison. in __stackleak_erase()
123 * Erase and poison the portion of the task stack used since the last erase.
136 * Erase and poison the portion of the task stack used since the last erase.
148 * Erase and poison the portion of the task stack used since the last erase.
165 * STACKLEAK_SEARCH_DEPTH makes the poison search in in stackleak_track_stack()
74 __stackleak_poison(unsigned long erase_low, unsigned long erase_high, unsigned long poison) __stackleak_poison() argument
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Drelo_core.c877 * If instruction has to be poisoned, *poison will be set to true.
890 res->poison = false; in bpf_core_calc_relo()
928 * incorrect, so we poison relocated instruction. in bpf_core_calc_relo()
953 res->poison = true; in bpf_core_calc_relo()
1033 if (res->poison) { in bpf_core_patch_insn()
1034 poison: in bpf_core_patch_insn()
1035 /* poison second part of ldimm64 to avoid confusing error from in bpf_core_patch_insn()
1083 goto poison; in bpf_core_patch_insn()
1324 targ_res->poison = false; in bpf_core_calc_relo_insn()
1369 } else if (cand_res.poison ! in bpf_core_calc_relo_insn()
[all...]
H A Dstr_error.c8 #pragma GCC poison u8 u16 u32 u64 s8 s16 s32 s64
H A Dhashmap.c16 #pragma GCC poison u8 u16 u32 u64 s8 s16 s32 s64
19 #pragma GCC poison reallocarray
H A Dlibbpf_errno.c18 #pragma GCC poison u8 u16 u32 u64 s8 s16 s32 s64
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dstr_error.c8 #pragma GCC poison u8 u16 u32 u64 s8 s16 s32 s64
H A Dlibbpf_internal.h16 #pragma GCC poison u8 u16 u32 u64 s8 s16 s32 s64
19 #pragma GCC poison reallocarray
H A Dhashmap.c16 #pragma GCC poison u8 u16 u32 u64 s8 s16 s32 s64
19 #pragma GCC poison reallocarray
H A Dlibbpf_errno.c17 #pragma GCC poison u8 u16 u32 u64 s8 s16 s32 s64
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dvdso.c300 __le32 poison = cpu_to_le32(COMPAT_SIGPAGE_POISON_WORD); in aarch32_alloc_sigpage() local
307 memset32(sigpage, (__force u32)poison, PAGE_SIZE / sizeof(poison)); in aarch32_alloc_sigpage()
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/sgx/
H A Dmain.c71 * Checking page->poison without holding the node->lock in __sgx_sanitize_pages()
72 * is racy, but losing the race (i.e. poison is set just in __sgx_sanitize_pages()
77 if (page->poison) { in __sgx_sanitize_pages()
610 if (page->poison) in sgx_free_epc_page()
645 section->pages[i].poison = 0; in sgx_setup_epc_section()
673 * context is the task that consumed the poison data. Otherwise
691 * If poison was consumed synchronously. Send a SIGBUS to in arch_memory_failure()
706 if (page->poison) in arch_memory_failure()
709 page->poison = 1; in arch_memory_failure()
713 * poison pag in arch_memory_failure()
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dhashmap.c16 #pragma GCC poison u8 u16 u32 u64 s8 s16 s32 s64
19 #pragma GCC poison reallocarray
/kernel/linux/linux-6.6/tools/perf/util/
H A Dhashmap.c16 #pragma GCC poison u8 u16 u32 u64 s8 s16 s32 s64
19 #pragma GCC poison reallocarray
/kernel/linux/linux-5.10/include/linux/
H A Dscs.h12 #include <linux/poison.h>
/kernel/linux/linux-6.6/include/linux/
H A Dscs.h12 #include <linux/poison.h>

Completed in 17 milliseconds

1234