Home
last modified time | relevance | path

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

12

/Linux-v5.10/arch/powerpc/include/asm/
Dpage.h257 #define is_kernel_addr(x) ((x) >= 0x8000000000000000ul) macro
259 #define is_kernel_addr(x) ((x) >= PAGE_OFFSET) macro
261 #define is_kernel_addr(x) ((x) >= TASK_SIZE) macro
Duaccess.h139 if (!is_kernel_addr((unsigned long)__pu_addr)) \
219 if (!is_kernel_addr((unsigned long)__pu_addr)) \
316 if (!is_kernel_addr((unsigned long)__gu_addr)) \
/Linux-v5.10/arch/powerpc/mm/
Dmaccess.c8 return is_kernel_addr((unsigned long)unsafe_src); in copy_from_kernel_nofault_allowed()
/Linux-v5.10/arch/powerpc/mm/book3s64/
Dslb.c387 if (!is_kernel_addr(exec)) { in slb_setup_new_exec()
393 if (!is_kernel_addr(mm->mmap_base)) { in slb_setup_new_exec()
419 if (!is_kernel_addr(start)) { in preload_new_slb_context()
425 if (!is_kernel_addr(sp)) { in preload_new_slb_context()
431 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.c329 if (!is_kernel_addr(addr)) { in hpte_do_hugepage_flush()
/Linux-v5.10/arch/s390/kernel/
Dkprobes.c100 static inline int is_kernel_addr(void *addr) in is_kernel_addr() function
113 if (is_kernel_addr(p->addr)) in s390_get_insn_slot()
125 if (is_kernel_addr(p->addr)) in s390_free_insn_slot()
/Linux-v5.10/arch/powerpc/oprofile/
Dop_model_power4.c317 if (!is_kernel_addr(pc)) in get_pc()
329 is_kernel = is_kernel_addr(pc); in get_kernel()
Dop_model_7450.c180 is_kernel = is_kernel_addr(pc); in fsl7450_handle_interrupt()
Dop_model_pa6t.c191 int is_kernel = is_kernel_addr(pc); in pa6t_handle_interrupt()
Dop_model_fsl_emb.c349 is_kernel = is_kernel_addr(pc); in fsl_emb_handle_interrupt()
Dop_model_cell.c1634 is_kernel = is_kernel_addr(pc); in cell_handle_interrupt_ppu()
/Linux-v5.10/arch/powerpc/include/asm/nohash/64/
Dpgtable.h144 #define pmd_bad(pmd) (!is_kernel_addr(pmd_val(pmd)) \
161 #define pud_bad(pud) (!is_kernel_addr(pud_val(pud)) \
/Linux-v5.10/arch/powerpc/kernel/
Dhw_breakpoint.c310 if (is_kernel_addr(bp->attr.bp_addr)) in arch_reserve_bp_slot()
340 if (!is_kernel_addr(bp->attr.bp_addr)) { in arch_release_bp_slot()
375 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.c84 if (!is_kernel_addr((unsigned long)p->addr)) in can_optimize()
Dtraps.c1434 return is_kernel_addr(addr); in is_valid_bugaddr()
1500 if (!is_kernel_addr(bugaddr) && !(regs->msr & MSR_IR)) in program_check_exception()
/Linux-v5.10/arch/powerpc/mm/nohash/
Dbook3e_hugetlbpage.c135 if (unlikely(is_kernel_addr(ea))) in book3e_hugetlb_preload()
/Linux-v5.10/arch/powerpc/platforms/ps3/
Dmm.c127 BUG_ON(is_kernel_addr(phys_addr)); in ps3_mm_phys_to_lpar()
778 unsigned long phys_addr = is_kernel_addr(virt_addr) ? __pa(virt_addr) in dma_sb_map_area()
833 unsigned long phys_addr = is_kernel_addr(virt_addr) ? __pa(virt_addr) in dma_ioc0_map_area()
1074 unsigned long phys_addr = is_kernel_addr(virt_addr) ? __pa(virt_addr) in dma_sb_map_area_linear()
Dinterrupt.c529 BUG_ON(!is_kernel_addr((u64)virt_addr_bmp)); in ps3_vuart_irq_setup()
/Linux-v5.10/arch/powerpc/include/asm/nohash/
Dpgtable.h217 if (IS_ENABLED(CONFIG_PPC_BOOK3E_64) && is_kernel_addr(addr)) in __set_pte_at()
/Linux-v5.10/arch/powerpc/xmon/
Dxmon.c1370 if (!is_kernel_addr(addr)) { in check_bp_loc()
1462 if (!is_kernel_addr(dabr[i].address)) { in bpt_cmds()
1645 if (!is_kernel_addr(sp)) { in xmon_show_stack()
1673 if (!is_kernel_addr(lr) in xmon_show_stack()
1678 } else if (is_kernel_addr(lr) in xmon_show_stack()
1738 if (!is_kernel_addr(addr)) in print_bug_trap()
/Linux-v5.10/arch/powerpc/perf/
Dcore-book3s.c211 if (is_kernel_addr(mfspr(SPRN_SDAR)) && perf_allow_kernel(&event->attr) != 0) in perf_get_data_addr()
265 if (is_kernel_addr(siar)) in perf_get_misc_flags()
424 if (is_kernel_addr(addr)) { in power_pmu_bhrb_to()
477 is_kernel_addr(addr) && perf_allow_kernel(&event->attr) != 0) in power_pmu_bhrb_read()
/Linux-v5.10/arch/powerpc/include/asm/book3s/64/
Dmmu-hash.h836 if (!is_kernel_addr(ea)) in get_kernel_vsid()

12