Home
last modified time | relevance | path

Searched refs:top (Results 1 – 25 of 139) sorted by relevance

123456

/arch/x86/um/os-Linux/
Dtask_size.c80 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/
Dfpu_tags.c20 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()
Dload_store.c35 #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()
Dfpu_aux.c137 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()
/arch/s390/kernel/
Ddumpstack.c65 unsigned long frame_size, top; in in_irq_stack() local
68 top = S390_lowcore.async_stack + frame_size; in in_irq_stack()
69 return in_stack(sp, info, STACK_TYPE_IRQ, top - THREAD_SIZE, top); in in_irq_stack()
74 unsigned long frame_size, top; in in_nodat_stack() local
77 top = S390_lowcore.nodat_stack + frame_size; in in_nodat_stack()
78 return in_stack(sp, info, STACK_TYPE_NODAT, top - THREAD_SIZE, top); in in_nodat_stack()
83 unsigned long frame_size, top; in in_restart_stack() local
86 top = S390_lowcore.restart_stack + frame_size; in in_restart_stack()
87 return in_stack(sp, info, STACK_TYPE_RESTART, top - THREAD_SIZE, top); in in_restart_stack()
/arch/powerpc/mm/book3s32/
Dmmu.c107 static unsigned int block_size(unsigned long base, unsigned long top) in block_size() argument
111 unsigned int block_shift = (fls(top - base) - 1) & 31; in block_size()
148 static unsigned long __init __mmu_mapin_ram(unsigned long base, unsigned long top) in __mmu_mapin_ram() argument
152 while ((idx = find_free_bat()) != -1 && base != top) { in __mmu_mapin_ram()
153 unsigned int size = block_size(base, top); in __mmu_mapin_ram()
164 unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) in mmu_mapin_ram() argument
174 if (!strict_kernel_rwx_enabled() || base >= border || top <= border) in mmu_mapin_ram()
175 return __mmu_mapin_ram(base, top); in mmu_mapin_ram()
181 return __mmu_mapin_ram(border, top); in mmu_mapin_ram()
189 unsigned long top = (unsigned long)_etext - PAGE_OFFSET; in mmu_mark_initmem_nx() local
[all …]
/arch/openrisc/kernel/
Dunwinder.c22 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/
Dlcd_dma.c132 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/xmon/
Dppc-dis.c44 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/powerpc/mm/
Dpgtable_32.c87 static void __init __mapin_ram_chunk(unsigned long offset, unsigned long top) in __mapin_ram_chunk() argument
96 for (; s < top; s += PAGE_SIZE) { in __mapin_ram_chunk()
115 phys_addr_t top = min(base + reg->size, total_lowmem); in mapin_ram() local
117 if (base >= top) in mapin_ram()
119 base = mmu_mapin_ram(base, top); in mapin_ram()
121 __mapin_ram_chunk(reg->base, top); in mapin_ram()
123 __mapin_ram_chunk(base, top); in mapin_ram()
Dmmu_decl.h120 extern unsigned long wii_mmu_mapin_mem2(unsigned long top);
130 unsigned long mmu_mapin_ram(unsigned long base, unsigned long top);
/arch/s390/numa/
Dmode_emu.c354 struct cpu_topology_s390 *top; in toptree_from_topology() local
360 top = &cpu_topology[cpu]; in toptree_from_topology()
362 drawer = toptree_get_child(node, top->drawer_id); in toptree_from_topology()
363 book = toptree_get_child(drawer, top->book_id); in toptree_from_topology()
364 mc = toptree_get_child(book, top->socket_id); in toptree_from_topology()
379 struct cpu_topology_s390 *top; in topology_add_core() local
383 top = &cpu_topology[cpu]; in topology_add_core()
384 cpumask_copy(&top->thread_mask, &core->mask); in topology_add_core()
385 cpumask_copy(&top->core_mask, &core_mc(core)->mask); in topology_add_core()
386 cpumask_copy(&top->book_mask, &core_book(core)->mask); in topology_add_core()
[all …]
/arch/sh/kernel/
Ddumpstack.c19 void dump_mem(const char *str, unsigned long bottom, unsigned long top) in dump_mem() argument
24 printk("%s(0x%08lx to 0x%08lx)\n", str, bottom, top); in dump_mem()
26 for (p = bottom & ~31; p < top; ) { in dump_mem()
32 if (p < bottom || p >= top) in dump_mem()
/arch/unicore32/kernel/
Dtraps.c65 unsigned long top) in dump_mem() argument
80 lvl, str, bottom, top); in dump_mem()
82 for (first = bottom & ~31; first < top; first += 32) { in dump_mem()
89 for (p = first, i = 0; i < 8 && p < top; i++, p += 4) { in dump_mem()
90 if (p >= bottom && p < top) { in dump_mem()
/arch/arm/mach-sti/
DKconfig34 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/
Dsetup_32.c345 unsigned long top; in setup_arch() local
349 top = sp_banks[i].base_addr + in setup_arch()
351 if (highest_paddr < top) in setup_arch()
352 highest_paddr = top; in setup_arch()
/arch/x86/events/intel/
Dds.c590 struct bts_record *at, *base, *top; in intel_pmu_drain_bts_buffer() local
604 top = (struct bts_record *)(unsigned long)ds->bts_index; in intel_pmu_drain_bts_buffer()
606 if (top <= base) in intel_pmu_drain_bts_buffer()
625 for (at = base; at < top; at++) { in intel_pmu_drain_bts_buffer()
645 (top - base - skip))) in intel_pmu_drain_bts_buffer()
648 for (at = base; at < top; at++) { in intel_pmu_drain_bts_buffer()
1619 get_next_pebs_record_by_bit(void *base, void *top, int bit) in get_next_pebs_record_by_bit() argument
1635 for (at = base; at < top; at += cpuc->pebs_record_size) { in get_next_pebs_record_by_bit()
1728 void *base, void *top, in __intel_pmu_pebs_event() argument
1741 void *at = get_next_pebs_record_by_bit(base, top, bit); in __intel_pmu_pebs_event()
[all …]
/arch/nds32/kernel/
Dtraps.c25 void dump_mem(const char *lvl, unsigned long bottom, unsigned long top) in dump_mem() argument
39 pr_emerg("%s(0x%08lx to 0x%08lx)\n", lvl, bottom, top); in dump_mem()
41 for (first = bottom & ~31; first < top; first += 32) { in dump_mem()
48 for (p = first, i = 0; i < 8 && p < top; i++, p += 4) { in dump_mem()
49 if (p >= bottom && p < top) { in dump_mem()
/arch/sh/include/asm/
Dkdebug.h16 extern void dump_mem(const char *str, unsigned long bottom, unsigned long top);
/arch/mips/kernel/
Dprocess.c651 unsigned long top = TASK_SIZE & PAGE_MASK; in mips_stack_top() local
654 top -= PAGE_SIZE; in mips_stack_top()
657 top -= PAGE_ALIGN(current->thread.abi->vdso->size); in mips_stack_top()
658 top -= PAGE_SIZE; in mips_stack_top()
659 top -= mips_gic_present() ? PAGE_SIZE : 0; in mips_stack_top()
663 top -= shm_align_mask + 1; in mips_stack_top()
667 top -= VDSO_RANDOMIZE_SIZE; in mips_stack_top()
669 return top; in mips_stack_top()
/arch/powerpc/mm/kasan/
Dkasan_init_32.c146 phys_addr_t top = min(base + reg->size, total_lowmem); in kasan_mmu_init() local
148 if (base >= top) in kasan_mmu_init()
151 ret = kasan_init_region(__va(base), top - base); in kasan_mmu_init()
/arch/arm/mm/
Dproc-feroceon.S249 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/x86/kernel/
Dprocess.c807 unsigned long start, bottom, top, sp, fp, ip, ret = 0; in get_wchan() local
836 top = start + THREAD_SIZE - TOP_OF_KERNEL_STACK_PADDING; in get_wchan()
837 top -= 2 * sizeof(unsigned long); in get_wchan()
841 if (sp < bottom || sp > top) in get_wchan()
846 if (fp < bottom || fp > top) in get_wchan()
/arch/powerpc/mm/nohash/
D8xx.c106 unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) in mmu_mapin_ram() argument
118 mapped = top & ~(LARGE_PAGE_SIZE_8M - 1); in mmu_mapin_ram()
/arch/arm/mach-zx/
DKconfig7 set-top-box processor is supported. More will be

123456