/linux-6.12.1/arch/powerpc/include/asm/ |
D | page.h | 265 #define is_kernel_addr(x) ((x) >= 0x8000000000000000ul) macro 267 #define is_kernel_addr(x) ((x) >= PAGE_OFFSET) macro 269 #define is_kernel_addr(x) ((x) >= TASK_SIZE) macro
|
D | inst.h | 164 if (unlikely(!is_kernel_addr((unsigned long)src))) in copy_inst_from_kernel_nofault()
|
/linux-6.12.1/arch/powerpc/mm/book3s64/ |
D | slb.c | 364 if (!is_kernel_addr(exec)) { in slb_setup_new_exec() 370 if (!is_kernel_addr(mm->mmap_base)) { in slb_setup_new_exec() 396 if (!is_kernel_addr(start)) { in preload_new_slb_context() 402 if (!is_kernel_addr(sp)) { in preload_new_slb_context() 408 if (heap && !is_kernel_addr(heap)) { in preload_new_slb_context()
|
D | hash_tlb.c | 88 if (!is_kernel_addr(addr)) { in hpte_need_flush()
|
D | hash_pgtable.c | 330 if (!is_kernel_addr(addr)) { in hpte_do_hugepage_flush()
|
/linux-6.12.1/arch/powerpc/mm/ |
D | maccess.c | 12 return is_kernel_addr((unsigned long)unsafe_src); in copy_from_kernel_nofault_allowed()
|
D | pgtable.c | 55 if (!is_kernel_addr(addr)) in pte_looks_normal()
|
/linux-6.12.1/arch/powerpc/include/asm/nohash/64/ |
D | pgtable.h | 102 #define pmd_bad(pmd) (!is_kernel_addr(pmd_val(pmd)) \ 120 #define pud_bad(pud) (!is_kernel_addr(pud_val(pud)) \
|
/linux-6.12.1/arch/powerpc/include/asm/nohash/ |
D | pgtable.h | 91 if (IS_ENABLED(CONFIG_44x) && !is_kernel_addr(addr) && (old & _PAGE_EXEC)) in pte_update() 341 if (IS_ENABLED(CONFIG_PPC_BOOK3E_64) && is_kernel_addr(addr)) in __set_pte_at()
|
/linux-6.12.1/arch/powerpc/mm/book3s32/ |
D | mmu.c | 130 if (!is_kernel_addr(virt)) in setibat() 288 if (!is_kernel_addr(virt)) in setbat()
|
/linux-6.12.1/arch/powerpc/mm/nohash/ |
D | e500_hugetlbpage.c | 128 if (unlikely(is_kernel_addr(ea))) in book3e_hugetlb_preload()
|
D | e500.c | 125 if (!is_kernel_addr(virt)) { in settlbcam()
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | hw_breakpoint_constraints.c | 70 if (is_kernel_addr(regs->nip) && !(info->type & HW_BRK_TYPE_KERNEL)) in check_dawrx_constraints()
|
D | setup-common.c | 368 if (is_kernel_addr(initrd_start) && is_kernel_addr(initrd_end) && in check_for_initrd()
|
D | optprobes.c | 68 if (!is_kernel_addr(addr)) in can_optimize()
|
D | align.c | 307 if (is_kernel_addr(regs->nip)) in fix_alignment()
|
D | hw_breakpoint.c | 122 return is_kernel_addr(hw->address); in arch_check_bp_in_kernelspace()
|
D | traps.c | 1445 return is_kernel_addr(addr); in is_valid_bugaddr() 1510 if (!is_kernel_addr(bugaddr) && !(regs->msr & MSR_IR)) in do_program_check()
|
/linux-6.12.1/arch/powerpc/platforms/ps3/ |
D | mm.c | 127 BUG_ON(is_kernel_addr(phys_addr)); in ps3_mm_phys_to_lpar() 780 unsigned long phys_addr = is_kernel_addr(virt_addr) ? __pa(virt_addr) in dma_sb_map_area() 835 unsigned long phys_addr = is_kernel_addr(virt_addr) ? __pa(virt_addr) in dma_ioc0_map_area() 1076 unsigned long phys_addr = is_kernel_addr(virt_addr) ? __pa(virt_addr) in dma_sb_map_area_linear()
|
D | interrupt.c | 530 BUG_ON(!is_kernel_addr((u64)virt_addr_bmp)); in ps3_vuart_irq_setup()
|
/linux-6.12.1/arch/powerpc/perf/ |
D | core-book3s.c | 227 if (is_kernel_addr(mfspr(SPRN_SDAR)) && event->attr.exclude_kernel) in perf_get_data_addr() 283 if (is_kernel_addr(siar)) in perf_get_misc_flags() 303 if (!is_kernel_addr(addr)) in perf_get_misc_flags() 461 if (is_kernel_addr(addr)) { in power_pmu_bhrb_to() 514 is_kernel_addr(addr) && event->attr.exclude_kernel) in power_pmu_bhrb_read() 2290 is_kernel_addr(mfspr(SPRN_SIAR))) in record_and_restart()
|
D | imc-pmu.c | 1320 if (is_kernel_addr(data->ip)) in trace_imc_prepare_sample()
|
/linux-6.12.1/arch/powerpc/xmon/ |
D | xmon.c | 1460 if (!is_kernel_addr(addr)) { in check_bp_loc() 1550 if (!is_kernel_addr(dabr[i].address)) { in bpt_cmds() 1732 if (!is_kernel_addr(sp)) { in xmon_show_stack() 1760 if (!is_kernel_addr(lr) in xmon_show_stack() 1765 } else if (is_kernel_addr(lr) in xmon_show_stack() 1824 if (!is_kernel_addr(addr)) in print_bug_trap()
|
/linux-6.12.1/arch/powerpc/include/asm/book3s/64/ |
D | mmu-hash.h | 848 if (!is_kernel_addr(ea)) in get_kernel_vsid()
|
/linux-6.12.1/arch/powerpc/lib/ |
D | sstep.c | 334 if (is_kernel_addr(ea)) in read_mem_aligned() 390 if (is_kernel_addr(ea)) in copy_mem_in() 470 if (is_kernel_addr(ea)) in write_mem_aligned() 526 if (is_kernel_addr(ea)) in copy_mem_out() 1080 if (is_kernel_addr(ea)) { in emulate_dcbz()
|