Searched refs:is_kernel_addr (Results 1 – 23 of 23) sorted by relevance
264 #define is_kernel_addr(x) ((x) >= 0x8000000000000000ul) macro266 #define is_kernel_addr(x) ((x) >= PAGE_OFFSET) macro268 #define is_kernel_addr(x) ((x) >= TASK_SIZE) macro
164 if (unlikely(!is_kernel_addr((unsigned long)src))) in copy_inst_from_kernel_nofault()
363 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()
88 if (!is_kernel_addr(addr)) { in hpte_need_flush()
330 if (!is_kernel_addr(addr)) { in hpte_do_hugepage_flush()
12 return is_kernel_addr((unsigned long)unsafe_src); in copy_from_kernel_nofault_allowed()
127 #define pmd_bad(pmd) (!is_kernel_addr(pmd_val(pmd)) \145 #define pud_bad(pud) (!is_kernel_addr(pud_val(pud)) \
336 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()
70 if (is_kernel_addr(regs->nip) && !(info->type & HW_BRK_TYPE_KERNEL)) in check_dawrx_constraints()
378 if (is_kernel_addr(initrd_start) && is_kernel_addr(initrd_end) && in check_for_initrd()
68 if (!is_kernel_addr(addr)) in can_optimize()
307 if (is_kernel_addr(regs->nip)) in fix_alignment()
1442 return is_kernel_addr(addr); in is_valid_bugaddr()1506 if (!is_kernel_addr(bugaddr) && !(regs->msr & MSR_IR)) in do_program_check()
3224 prom_initrd_start = is_kernel_addr(r3) ? __pa(r3) : r3; in prom_check_initrd()
125 if (unlikely(is_kernel_addr(ea))) in book3e_hugetlb_preload()
227 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()
1317 if (is_kernel_addr(data->ip)) in trace_imc_prepare_sample()
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()
530 BUG_ON(!is_kernel_addr((u64)virt_addr_bmp)); in ps3_vuart_irq_setup()
197 if (IS_ENABLED(CONFIG_PPC_BOOK3E_64) && is_kernel_addr(addr)) in __set_pte_at()
1463 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()
848 if (!is_kernel_addr(ea)) in get_kernel_vsid()
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()1070 if (is_kernel_addr(ea)) { in emulate_dcbz()