Home
last modified time | relevance | path

Searched refs:is_kernel_addr (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.12.1/arch/powerpc/include/asm/
Dpage.h265 #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
Dinst.h164 if (unlikely(!is_kernel_addr((unsigned long)src))) in copy_inst_from_kernel_nofault()
/linux-6.12.1/arch/powerpc/mm/book3s64/
Dslb.c364 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()
Dhash_tlb.c88 if (!is_kernel_addr(addr)) { in hpte_need_flush()
Dhash_pgtable.c330 if (!is_kernel_addr(addr)) { in hpte_do_hugepage_flush()
/linux-6.12.1/arch/powerpc/mm/
Dmaccess.c12 return is_kernel_addr((unsigned long)unsafe_src); in copy_from_kernel_nofault_allowed()
Dpgtable.c55 if (!is_kernel_addr(addr)) in pte_looks_normal()
/linux-6.12.1/arch/powerpc/include/asm/nohash/64/
Dpgtable.h102 #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/
Dpgtable.h91 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/
Dmmu.c130 if (!is_kernel_addr(virt)) in setibat()
288 if (!is_kernel_addr(virt)) in setbat()
/linux-6.12.1/arch/powerpc/mm/nohash/
De500_hugetlbpage.c128 if (unlikely(is_kernel_addr(ea))) in book3e_hugetlb_preload()
De500.c125 if (!is_kernel_addr(virt)) { in settlbcam()
/linux-6.12.1/arch/powerpc/kernel/
Dhw_breakpoint_constraints.c70 if (is_kernel_addr(regs->nip) && !(info->type & HW_BRK_TYPE_KERNEL)) in check_dawrx_constraints()
Dsetup-common.c368 if (is_kernel_addr(initrd_start) && is_kernel_addr(initrd_end) && in check_for_initrd()
Doptprobes.c68 if (!is_kernel_addr(addr)) in can_optimize()
Dalign.c307 if (is_kernel_addr(regs->nip)) in fix_alignment()
Dhw_breakpoint.c122 return is_kernel_addr(hw->address); in arch_check_bp_in_kernelspace()
Dtraps.c1445 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/
Dmm.c127 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()
Dinterrupt.c530 BUG_ON(!is_kernel_addr((u64)virt_addr_bmp)); in ps3_vuart_irq_setup()
/linux-6.12.1/arch/powerpc/perf/
Dcore-book3s.c227 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()
Dimc-pmu.c1320 if (is_kernel_addr(data->ip)) in trace_imc_prepare_sample()
/linux-6.12.1/arch/powerpc/xmon/
Dxmon.c1460 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/
Dmmu-hash.h848 if (!is_kernel_addr(ea)) in get_kernel_vsid()
/linux-6.12.1/arch/powerpc/lib/
Dsstep.c334 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()

12