Home
last modified time | relevance | path

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

/Linux-v6.1/arch/powerpc/include/asm/
Dpage.h264 #define is_kernel_addr(x) ((x) >= 0x8000000000000000ul) macro
266 #define is_kernel_addr(x) ((x) >= PAGE_OFFSET) macro
268 #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-v6.1/arch/powerpc/mm/book3s64/
Dslb.c363 if (!is_kernel_addr(exec)) { in slb_setup_new_exec()
369 if (!is_kernel_addr(mm->mmap_base)) { in slb_setup_new_exec()
395 if (!is_kernel_addr(start)) { in preload_new_slb_context()
401 if (!is_kernel_addr(sp)) { in preload_new_slb_context()
407 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-v6.1/arch/powerpc/mm/
Dmaccess.c12 return is_kernel_addr((unsigned long)unsafe_src); in copy_from_kernel_nofault_allowed()
/Linux-v6.1/arch/powerpc/include/asm/nohash/64/
Dpgtable.h127 #define pmd_bad(pmd) (!is_kernel_addr(pmd_val(pmd)) \
145 #define pud_bad(pud) (!is_kernel_addr(pud_val(pud)) \
/Linux-v6.1/arch/powerpc/kernel/
Dhw_breakpoint.c336 if (is_kernel_addr(bp->attr.bp_addr)) in arch_reserve_bp_slot()
366 if (!is_kernel_addr(bp->attr.bp_addr)) { in arch_release_bp_slot()
401 return is_kernel_addr(hw->address); in arch_check_bp_in_kernelspace()
Dhw_breakpoint_constraints.c70 if (is_kernel_addr(regs->nip) && !(info->type & HW_BRK_TYPE_KERNEL)) in check_dawrx_constraints()
Dsetup-common.c378 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()
Dtraps.c1442 return is_kernel_addr(addr); in is_valid_bugaddr()
1506 if (!is_kernel_addr(bugaddr) && !(regs->msr & MSR_IR)) in do_program_check()
Dprom_init.c3224 prom_initrd_start = is_kernel_addr(r3) ? __pa(r3) : r3; in prom_check_initrd()
/Linux-v6.1/arch/powerpc/mm/nohash/
De500_hugetlbpage.c125 if (unlikely(is_kernel_addr(ea))) in book3e_hugetlb_preload()
/Linux-v6.1/arch/powerpc/perf/
Dcore-book3s.c227 if (is_kernel_addr(mfspr(SPRN_SDAR)) && event->attr.exclude_kernel) in perf_get_data_addr()
284 if (is_kernel_addr(siar)) in perf_get_misc_flags()
288 if (is_kernel_addr(regs->nip)) in perf_get_misc_flags()
302 if (is_kernel_addr(siar)) in perf_get_misc_flags()
468 if (is_kernel_addr(addr)) { in power_pmu_bhrb_to()
521 is_kernel_addr(addr) && event->attr.exclude_kernel) in power_pmu_bhrb_read()
2298 is_kernel_addr(mfspr(SPRN_SIAR))) in record_and_restart()
Dimc-pmu.c1317 if (is_kernel_addr(data->ip)) in trace_imc_prepare_sample()
/Linux-v6.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-v6.1/arch/powerpc/include/asm/nohash/
Dpgtable.h197 if (IS_ENABLED(CONFIG_PPC_BOOK3E_64) && is_kernel_addr(addr)) in __set_pte_at()
/Linux-v6.1/arch/powerpc/xmon/
Dxmon.c1463 if (!is_kernel_addr(addr)) { in check_bp_loc()
1553 if (!is_kernel_addr(dabr[i].address)) { in bpt_cmds()
1735 if (!is_kernel_addr(sp)) { in xmon_show_stack()
1763 if (!is_kernel_addr(lr) in xmon_show_stack()
1768 } else if (is_kernel_addr(lr) in xmon_show_stack()
1828 if (!is_kernel_addr(addr)) in print_bug_trap()
/Linux-v6.1/arch/powerpc/include/asm/book3s/64/
Dmmu-hash.h848 if (!is_kernel_addr(ea)) in get_kernel_vsid()
/Linux-v6.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()
1070 if (is_kernel_addr(ea)) { in emulate_dcbz()