/Linux-v5.10/arch/powerpc/include/asm/ |
D | page.h | 257 #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
|
D | uaccess.h | 139 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/ |
D | maccess.c | 8 return is_kernel_addr((unsigned long)unsafe_src); in copy_from_kernel_nofault_allowed()
|
/Linux-v5.10/arch/powerpc/mm/book3s64/ |
D | slb.c | 387 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()
|
D | hash_tlb.c | 88 if (!is_kernel_addr(addr)) { in hpte_need_flush()
|
D | hash_pgtable.c | 329 if (!is_kernel_addr(addr)) { in hpte_do_hugepage_flush()
|
/Linux-v5.10/arch/s390/kernel/ |
D | kprobes.c | 100 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/ |
D | op_model_power4.c | 317 if (!is_kernel_addr(pc)) in get_pc() 329 is_kernel = is_kernel_addr(pc); in get_kernel()
|
D | op_model_7450.c | 180 is_kernel = is_kernel_addr(pc); in fsl7450_handle_interrupt()
|
D | op_model_pa6t.c | 191 int is_kernel = is_kernel_addr(pc); in pa6t_handle_interrupt()
|
D | op_model_fsl_emb.c | 349 is_kernel = is_kernel_addr(pc); in fsl_emb_handle_interrupt()
|
D | op_model_cell.c | 1634 is_kernel = is_kernel_addr(pc); in cell_handle_interrupt_ppu()
|
/Linux-v5.10/arch/powerpc/include/asm/nohash/64/ |
D | pgtable.h | 144 #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/ |
D | hw_breakpoint.c | 310 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()
|
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 | 378 if (is_kernel_addr(initrd_start) && is_kernel_addr(initrd_end) && in check_for_initrd()
|
D | optprobes.c | 84 if (!is_kernel_addr((unsigned long)p->addr)) in can_optimize()
|
D | traps.c | 1434 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/ |
D | book3e_hugetlbpage.c | 135 if (unlikely(is_kernel_addr(ea))) in book3e_hugetlb_preload()
|
/Linux-v5.10/arch/powerpc/platforms/ps3/ |
D | mm.c | 127 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()
|
D | interrupt.c | 529 BUG_ON(!is_kernel_addr((u64)virt_addr_bmp)); in ps3_vuart_irq_setup()
|
/Linux-v5.10/arch/powerpc/include/asm/nohash/ |
D | pgtable.h | 217 if (IS_ENABLED(CONFIG_PPC_BOOK3E_64) && is_kernel_addr(addr)) in __set_pte_at()
|
/Linux-v5.10/arch/powerpc/xmon/ |
D | xmon.c | 1370 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/ |
D | core-book3s.c | 211 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/ |
D | mmu-hash.h | 836 if (!is_kernel_addr(ea)) in get_kernel_vsid()
|