Home
last modified time | relevance | path

Searched refs:poison (Results 1 – 25 of 37) sorted by relevance

12

/linux/tools/testing/selftests/bpf/libarena/selftests/
H A Dtest_buddy.bpf.c14 u8 poison; member
101 u8 poison; in test_buddy_alloc_multiple() local
117 poison = (u8)i; in test_buddy_alloc_multiple()
128 segarr[i].poison = poison; in test_buddy_alloc_multiple()
131 mem[j] = poison; in test_buddy_alloc_multiple()
132 if (mem[j] != poison) { in test_buddy_alloc_multiple()
151 poison = segarr[idx].poison; in test_buddy_alloc_multiple()
154 if (mem[j] != poison) { in test_buddy_alloc_multiple()
158 mem[j], poison); in test_buddy_alloc_multiple()
/linux/tools/testing/selftests/powerpc/tm/
H A Dtm-poison.c30 uint64_t poison = 0xdeadbeefc0dec0fe; in tm_poison_test() local
57 : : [poison] "r" (poison) : ); in tm_poison_test()
H A DMakefile8 tm-signal-context-force-tm tm-poison tm-signal-pagefault
29 $(OUTPUT)/tm-poison: CFLAGS += -m64
H A D.gitignore22 tm-poison
/linux/Documentation/translations/zh_CN/mm/
H A Dhwpoison.rst42 该代码由mm/memory-failure.c中的高级处理程序、一个新的页面poison位和虚拟机中的
43 各种检查组成,用来处理poison的页面。
133 page-types -p `pidof usemem` --hwpoison # poison its pages
136 当指定时,只有在((page_flags & mask) == value)的情况下才会poison页面。
/linux/drivers/cxl/core/
H A Dmbox.c184 static void cxl_set_poison_cmd_enabled(struct cxl_poison_state *poison, in cxl_set_poison_cmd_enabled() argument
189 set_bit(CXL_POISON_ENABLED_LIST, poison->enabled_cmds); in cxl_set_poison_cmd_enabled()
192 set_bit(CXL_POISON_ENABLED_INJECT, poison->enabled_cmds); in cxl_set_poison_cmd_enabled()
195 set_bit(CXL_POISON_ENABLED_CLEAR, poison->enabled_cmds); in cxl_set_poison_cmd_enabled()
198 set_bit(CXL_POISON_ENABLED_SCAN_CAPS, poison->enabled_cmds); in cxl_set_poison_cmd_enabled()
201 set_bit(CXL_POISON_ENABLED_SCAN_MEDIA, poison->enabled_cmds); in cxl_set_poison_cmd_enabled()
204 set_bit(CXL_POISON_ENABLED_SCAN_RESULTS, poison->enabled_cmds); in cxl_set_poison_cmd_enabled()
781 cxl_set_poison_cmd_enabled(&mds->poison, opcode); in cxl_walk_cel()
1224 if (test_bit(CXL_POISON_ENABLED_LIST, mds->poison.enabled_cmds)) { in cxl_dev_state_identify()
1226 mds->poison.max_errors = min_t(u32, val, CXL_POISON_LIST_MAX); in cxl_dev_state_identify()
[all …]
/linux/kernel/
H A Dkstack_erase.c76 unsigned long poison) in __stackleak_poison() argument
79 *(unsigned long *)erase_low = poison; in __stackleak_poison()
/linux/arch/s390/include/asm/
H A Dprocessor.h133 unsigned long poison) in __stackleak_poison() argument
159 : [poison] "d" (poison) in __stackleak_poison()
/linux/tools/mm/
H A Dslabinfo.c35 int order, poison, reclaim_account, red_zone; member
93 int poison; variable
581 page_size << s->order, s->partial, onoff(s->poison), in report()
637 if (s->poison) in slabcache()
686 poison = 1; in debug_opt_scan()
700 if (poison) in debug_opt_scan()
702 poison = 1; in debug_opt_scan()
769 if (poison && !s->poison) { in slab_debug()
771 set_obj(s, "poison", in slab_debug()
[all...]
/linux/arch/arm64/kernel/
H A Dvdso.c205 __le32 poison = cpu_to_le32(COMPAT_SIGPAGE_POISON_WORD); in aarch32_alloc_sigpage() local
212 memset32(sigpage, (__force u32)poison, PAGE_SIZE / sizeof(poison)); in aarch32_alloc_sigpage()
/linux/tools/lib/bpf/
H A Drelo_core.c907 res->poison = false; in bpf_core_calc_relo()
970 res->poison = true; in bpf_core_calc_relo()
1065 if (res->poison) in bpf_core_patch_insn()
1083 if (res->poison) in bpf_core_patch_insn()
1143 if (res->poison) in bpf_core_patch_insn()
1345 targ_res->poison = false; in bpf_core_calc_relo_insn()
1390 } else if (cand_res.poison != targ_res->poison || in bpf_core_calc_relo_insn()
1398 cand_res.poison ? "failure" : "success", in bpf_core_calc_relo_insn()
1400 targ_res->poison ? "failure" : "success", in bpf_core_calc_relo_insn()
H A Dhashmap.c16 #pragma GCC poison u8 u16 u32 u64 s8 s16 s32 s64
19 #pragma GCC poison reallocarray
H A Drelo_core.h53 bool poison; member
H A Dlibbpf_internal.h38 #pragma GCC poison u8 u16 u32 u64 s8 s16 s32 s64
41 #pragma GCC poison reallocarray
H A Dlibbpf_utils.c25 #pragma GCC poison u8 u16 u32 u64 s8 s16 s32 s64
/linux/tools/testing/memblock/
H A Dinternal.h28 free_reserved_area(void * start,void * end,int poison,const char * s) free_reserved_area() argument
/linux/tools/perf/util/
H A Dhashmap.c16 #pragma GCC poison u8 u16 u32 u64 s8 s16 s32 s64
19 #pragma GCC poison reallocarray
/linux/tools/testing/selftests/bpf/
H A Dbpf_util.h90 #pragma GCC poison gettid
/linux/mm/
H A DKconfig.debug29 fill the pages with poison patterns after free_pages() and verify
150 Fill the pages with poison patterns after free_pages() and verify
156 Note that "poison" here is not the same thing as the "HWPoison"
160 checking the poison pattern on alloc, you can boot the kernel with
H A Dmemblock.c898 int poison) in __free_reserved_area() argument
923 if ((unsigned int)poison <= 0xFF) in __free_reserved_area()
924 memset(direct_map_addr, poison, PAGE_SIZE); in __free_reserved_area()
932 unsigned long free_reserved_area(void *start, void *end, int poison, const char *s) in free_reserved_area() argument
957 pages = __free_reserved_area(start_pa, end_pa, poison); in free_reserved_area()
/linux/Documentation/admin-guide/mm/
H A Dslab.rst70 example, here's how you can poison the dentry cache as well as all kmalloc
111 P poison
263 typically contain poison values. Any non-poison value shows a
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-nfit183 the address (cache line) where the MCE happened to the poison
190 insert the address of the memory error into the poison and
/linux/Documentation/admin-guide/hw-vuln/
H A Dspectre.rst118 One other variant 2 attack vector is for the attacker to poison the
121 imbalanced subroutine call instructions might "poison" entries in the
134 Yet another variant 2 attack vector is for the attacker to poison the
203 A spectre variant 2 attacker can :ref:`poison <poison_btb>` the branch
284 For Spectre variant 2 attacks, rogue guests can :ref:`poison
/linux/arch/x86/kernel/
H A Dalternative.c1149 u32 poison = gen_endbr_poison(); in poison_endbr() local
1160 DUMP_BYTES(ENDBR, ((u8*)&poison), 4, "%px: repl: ", addr); in poison_endbr()
1161 text_poke_early(addr, &poison, 4); in poison_endbr()
/linux/include/linux/
H A Dbpf_verifier.h621 bool poison; member
1660 return aux->map_ptr_state.poison; in bpf_map_ptr_poisoned()

12