/arch/x86/um/os-Linux/ |
D | task_size.c | 80 unsigned long top = 0xffffd000 >> UM_KERN_PAGE_SHIFT; in os_get_top_address() local 101 for (bottom = 0; bottom < top; bottom++) { in os_get_top_address() 107 if (bottom == top) { in os_get_top_address() 120 if (page_ok(top)) in os_get_top_address() 124 test = bottom + (top - bottom) / 2; in os_get_top_address() 128 top = test; in os_get_top_address() 129 } while (top - bottom > 1); in os_get_top_address() 137 top <<= UM_KERN_PAGE_SHIFT; in os_get_top_address() 138 printf("0x%lx\n", top); in os_get_top_address() 140 return top; in os_get_top_address()
|
/arch/x86/math-emu/ |
D | fpu_tags.c | 20 fpu_tag_word |= 3 << ((top & 7) * 2); in FPU_pop() 21 top++; in FPU_pop() 26 return (fpu_tag_word >> ((top & 7) * 2)) & 3; in FPU_gettag0() 31 return (fpu_tag_word >> (((top + stnr) & 7) * 2)) & 3; in FPU_gettagi() 41 int regnr = top; in FPU_settag0() 49 int regnr = stnr + top; in FPU_settagi() 83 int regnr = (top + stnr) & 7; in FPU_empty_i() 92 return ((fpu_tag_word >> (((top - 1) & 7) * 2)) & 3) != TAG_Empty; in FPU_stackoverflow() 109 int regnr = top; in FPU_copy_to_reg0()
|
D | load_store.c | 35 #define pop_0() { FPU_settag0(TAG_Empty); top++; } 106 top--; in FPU_load_store() 129 top++; in FPU_load_store() 148 top++; in FPU_load_store()
|
D | fpu_aux.c | 137 int regnr = top & 7, regnri = ((regnr + i) & 7); in fxch_i() 180 int regnr = top & 7; in fcmovCC() 181 int regnri = (top + i) & 7; in fcmovCC()
|
D | status_w.h | 51 ((partial_status & ~SW_Top & 0xffff) | ((top << SW_Top_Shift) & SW_Top))
|
/arch/s390/kernel/ |
D | dumpstack.c | 66 unsigned long frame_size, top; in in_irq_stack() local 69 top = S390_lowcore.async_stack + frame_size; in in_irq_stack() 70 return in_stack(sp, info, STACK_TYPE_IRQ, top - THREAD_SIZE, top); in in_irq_stack() 75 unsigned long frame_size, top; in in_nodat_stack() local 78 top = S390_lowcore.nodat_stack + frame_size; in in_nodat_stack() 79 return in_stack(sp, info, STACK_TYPE_NODAT, top - THREAD_SIZE, top); in in_nodat_stack() 84 unsigned long frame_size, top; in in_mcck_stack() local 87 top = S390_lowcore.mcck_stack + frame_size; in in_mcck_stack() 88 return in_stack(sp, info, STACK_TYPE_MCCK, top - THREAD_SIZE, top); in in_mcck_stack() 93 unsigned long frame_size, top; in in_restart_stack() local [all …]
|
/arch/powerpc/mm/nohash/ |
D | 8xx.c | 129 static void mmu_mapin_ram_chunk(unsigned long offset, unsigned long top, in mmu_mapin_ram_chunk() argument 135 WARN_ON(!IS_ALIGNED(offset, SZ_512K) || !IS_ALIGNED(top, SZ_512K)); in mmu_mapin_ram_chunk() 137 for (; p < ALIGN(p, SZ_8M) && p < top; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk() 139 for (; p < ALIGN_DOWN(top, SZ_8M) && p < top; p += SZ_8M, v += SZ_8M) in mmu_mapin_ram_chunk() 141 for (; p < ALIGN_DOWN(top, SZ_512K) && p < top; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk() 145 flush_tlb_kernel_range(PAGE_OFFSET + v, PAGE_OFFSET + top); in mmu_mapin_ram_chunk() 148 unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) in mmu_mapin_ram() argument 156 WARN_ON(top < einittext8); in mmu_mapin_ram() 165 top = boundary; in mmu_mapin_ram() 168 mmu_mapin_ram_chunk(einittext8, top, PAGE_KERNEL, true); in mmu_mapin_ram() [all …]
|
/arch/powerpc/mm/book3s32/ |
D | mmu.c | 103 unsigned int bat_block_size(unsigned long base, unsigned long top) in bat_block_size() argument 107 unsigned int block_shift = (fls(top - base) - 1) & 31; in bat_block_size() 143 static unsigned long __init __mmu_mapin_ram(unsigned long base, unsigned long top) in __mmu_mapin_ram() argument 147 while ((idx = find_free_bat()) != -1 && base != top) { in __mmu_mapin_ram() 148 unsigned int size = bat_block_size(base, top); in __mmu_mapin_ram() 159 unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) in mmu_mapin_ram() argument 172 if (top >= border) in mmu_mapin_ram() 173 top = border; in mmu_mapin_ram() 176 if (!strict_kernel_rwx_enabled() || base >= border || top <= border) in mmu_mapin_ram() 177 return __mmu_mapin_ram(base, top); in mmu_mapin_ram() [all …]
|
/arch/openrisc/kernel/ |
D | unwinder.c | 22 unsigned long top; member 35 frameinfo->fp > &frameinfo->top)) && in or1k_frameinfo_valid() 70 top); in unwind_stack() 75 next_fp == &frameinfo->top)) { in unwind_stack()
|
/arch/arm/mach-omap1/ |
D | lcd_dma.c | 132 unsigned long top, bottom; in set_b1_regs() local 167 top = PIXADDR(0, 0); in set_b1_regs() 177 top = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs() 187 top = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs() 192 top = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1); in set_b1_regs() 202 top = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1); in set_b1_regs() 207 top = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs() 217 top = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs() 222 top = PIXADDR(0, 0); in set_b1_regs() 236 omap_writew(top >> 16, OMAP1510_DMA_LCD_TOP_F1_U); in set_b1_regs() [all …]
|
/arch/powerpc/mm/ |
D | pgtable_32.c | 103 static void __init __mapin_ram_chunk(unsigned long offset, unsigned long top) in __mapin_ram_chunk() argument 112 for (; s < top; s += PAGE_SIZE) { in __mapin_ram_chunk() 127 phys_addr_t top = min(end, total_lowmem); in mapin_ram() local 129 if (base >= top) in mapin_ram() 131 base = mmu_mapin_ram(base, top); in mapin_ram() 132 __mapin_ram_chunk(base, top); in mapin_ram()
|
D | mmu_decl.h | 114 extern unsigned long wii_mmu_mapin_mem2(unsigned long top); 124 unsigned long mmu_mapin_ram(unsigned long base, unsigned long top);
|
/arch/powerpc/xmon/ |
D | ppc-dis.c | 44 unsigned long top = operand->bitm; in operand_value_powerpc() local 47 top |= (top & -top) - 1; in operand_value_powerpc() 48 top &= ~(top >> 1); in operand_value_powerpc() 49 value = (value ^ top) - top; in operand_value_powerpc()
|
/arch/sh/kernel/ |
D | dumpstack.c | 20 unsigned long top) in dump_mem() argument 25 printk("%s%s(0x%08lx to 0x%08lx)\n", loglvl, str, bottom, top); in dump_mem() 27 for (p = bottom & ~31; p < top; ) { in dump_mem() 33 if (p < bottom || p >= top) in dump_mem()
|
/arch/powerpc/perf/ |
D | callchain.h | 13 unsigned long top = STACK_TOP - (is_32bit_task() ? 16 : 32); in invalid_user_sp() local 15 return (!sp || (sp & mask) || (sp > top)); in invalid_user_sp()
|
/arch/arm/mach-sti/ |
D | Kconfig | 34 Electronics family StiH415 parts, primarily targeted at set-top-box 43 Electronics family StiH416 parts, primarily targeted at set-top-box 53 Electronics family StiH407 parts, targetted at set-top-box
|
/arch/sparc/kernel/ |
D | setup_32.c | 339 unsigned long top; in setup_arch() local 343 top = sp_banks[i].base_addr + in setup_arch() 345 if (highest_paddr < top) in setup_arch() 346 highest_paddr = top; in setup_arch()
|
/arch/nds32/kernel/ |
D | traps.c | 25 void dump_mem(const char *lvl, unsigned long bottom, unsigned long top) in dump_mem() argument 30 pr_emerg("%s(0x%08lx to 0x%08lx)\n", lvl, bottom, top); in dump_mem() 32 for (first = bottom & ~31; first < top; first += 32) { in dump_mem() 39 for (p = first, i = 0; i < 8 && p < top; i++, p += 4) { in dump_mem() 40 if (p >= bottom && p < top) { in dump_mem()
|
/arch/x86/events/intel/ |
D | ds.c | 664 struct bts_record *at, *base, *top; in intel_pmu_drain_bts_buffer() local 678 top = (struct bts_record *)(unsigned long)ds->bts_index; in intel_pmu_drain_bts_buffer() 680 if (top <= base) in intel_pmu_drain_bts_buffer() 699 for (at = base; at < top; at++) { in intel_pmu_drain_bts_buffer() 719 header.size * (top - base - skip))) in intel_pmu_drain_bts_buffer() 722 for (at = base; at < top; at++) { in intel_pmu_drain_bts_buffer() 1769 get_next_pebs_record_by_bit(void *base, void *top, int bit) in get_next_pebs_record_by_bit() argument 1785 for (at = base; at < top; at += cpuc->pebs_record_size) { in get_next_pebs_record_by_bit() 1880 void *base, void *top, in __intel_pmu_pebs_event() argument 1892 void *at = get_next_pebs_record_by_bit(base, top, bit); in __intel_pmu_pebs_event() [all …]
|
/arch/powerpc/mm/kasan/ |
D | kasan_init_32.c | 145 phys_addr_t top = min(end, total_lowmem); in kasan_init() local 147 if (base >= top) in kasan_init() 150 ret = kasan_init_region(__va(base), top - base); in kasan_init()
|
/arch/sh/include/asm/ |
D | kdebug.h | 17 unsigned long bottom, unsigned long top);
|
/arch/mips/kernel/ |
D | process.c | 685 unsigned long top = TASK_SIZE & PAGE_MASK; in mips_stack_top() local 689 top -= PAGE_SIZE; in mips_stack_top() 693 top -= PAGE_ALIGN(current->thread.abi->vdso->size); in mips_stack_top() 694 top -= PAGE_SIZE; in mips_stack_top() 695 top -= mips_gic_present() ? PAGE_SIZE : 0; in mips_stack_top() 699 top -= shm_align_mask + 1; in mips_stack_top() 703 top -= VDSO_RANDOMIZE_SIZE; in mips_stack_top() 705 return top; in mips_stack_top()
|
/arch/arm/mm/ |
D | proc-feroceon.S | 249 add r1, r0, #PAGE_SZ - CACHE_DLINESIZE @ top addr is inclusive 253 mcr p15, 5, r1, c15, c15, 1 @ D clean/inv range top 295 subne r1, r1, #1 @ top address is inclusive 299 mcr p15, 5, r1, c15, c14, 1 @ D inv range top 327 subne r1, r1, #1 @ top address is inclusive 331 mcr p15, 5, r1, c15, c13, 1 @ D clean range top 358 subne r1, r1, #1 @ top address is inclusive 362 mcr p15, 5, r1, c15, c15, 1 @ D clean/inv range top
|
/arch/sh/kernel/cpu/sh2a/ |
D | entry.S | 56 mov r15,r2 ! r2 = user stack top 71 mov r2,r8 ! r8 = previus stack top 84 mov r2,r8 ! r8 = previous stack top 215 mov.l r2,@(OFF_SP,r0) ! point exception frame top
|
/arch/x86/kernel/ |
D | process.c | 951 unsigned long start, bottom, top, sp, fp, ip, ret = 0; in get_wchan() local 980 top = start + THREAD_SIZE - TOP_OF_KERNEL_STACK_PADDING; in get_wchan() 981 top -= 2 * sizeof(unsigned long); in get_wchan() 985 if (sp < bottom || sp > top) in get_wchan() 990 if (fp < bottom || fp > top) in get_wchan()
|