Home
last modified time | relevance | path

Searched refs:poking_addr (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/arch/x86/kernel/
Dalternative.c786 __ro_after_init unsigned long poking_addr; variable
831 ptep = get_locked_pte(poking_mm, poking_addr, &ptl); in __text_poke()
839 set_pte_at(poking_mm, poking_addr, ptep, pte); in __text_poke()
843 set_pte_at(poking_mm, poking_addr + PAGE_SIZE, ptep + 1, pte); in __text_poke()
853 memcpy((u8 *)poking_addr + offset_in_page(addr), opcode, len); in __text_poke()
862 pte_clear(poking_mm, poking_addr, ptep); in __text_poke()
864 pte_clear(poking_mm, poking_addr + PAGE_SIZE, ptep + 1); in __text_poke()
877 flush_tlb_mm_range(poking_mm, poking_addr, poking_addr + in __text_poke()
/Linux-v5.4/arch/x86/mm/
Dinit.c723 poking_addr = TASK_UNMAPPED_BASE; in poking_init()
725 poking_addr += (kaslr_get_random_long("Poking") & PAGE_MASK) % in poking_init()
728 if (((poking_addr + PAGE_SIZE) & ~PMD_MASK) == 0) in poking_init()
729 poking_addr += PAGE_SIZE; in poking_init()
736 ptep = get_locked_pte(poking_mm, poking_addr, &ptl); in poking_init()
/Linux-v5.4/arch/x86/include/asm/
Dtext-patching.h58 extern __ro_after_init unsigned long poking_addr;