Home
last modified time | relevance | path

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

1234567

/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/powerpc/mm/nohash/
D8xx.c121 static void mmu_mapin_ram_chunk(unsigned long offset, unsigned long top, in mmu_mapin_ram_chunk() argument
127 WARN_ON(!IS_ALIGNED(offset, SZ_512K) || !IS_ALIGNED(top, SZ_512K)); in mmu_mapin_ram_chunk()
129 for (; p < ALIGN(p, SZ_8M) && p < top; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk()
131 for (; p < ALIGN_DOWN(top, SZ_8M) && p < top; p += SZ_8M, v += SZ_8M) in mmu_mapin_ram_chunk()
133 for (; p < ALIGN_DOWN(top, SZ_512K) && p < top; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk()
137 flush_tlb_kernel_range(PAGE_OFFSET + v, PAGE_OFFSET + top); in mmu_mapin_ram_chunk()
140 unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) in mmu_mapin_ram() argument
148 WARN_ON(top < einittext8); in mmu_mapin_ram()
154 top = boundary; in mmu_mapin_ram()
157 mmu_mapin_ram_chunk(einittext8, top, PAGE_KERNEL, true); in mmu_mapin_ram()
[all …]
D40x.c87 unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) in mmu_mapin_ram() argument
/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()
Dstatus_w.h51 ((partial_status & ~SW_Top & 0xffff) | ((top << SW_Top_Shift) & SW_Top))
/arch/powerpc/mm/book3s32/
Dmmu.c102 unsigned int bat_block_size(unsigned long base, unsigned long top) in bat_block_size() argument
106 unsigned int block_shift = (fls(top - base) - 1) & 31; in bat_block_size()
142 static unsigned long __init __mmu_mapin_ram(unsigned long base, unsigned long top) in __mmu_mapin_ram() argument
146 while ((idx = find_free_bat()) != -1 && base != top) { in __mmu_mapin_ram()
147 unsigned int size = bat_block_size(base, top); in __mmu_mapin_ram()
158 unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) in mmu_mapin_ram() argument
171 if (top >= border) in mmu_mapin_ram()
172 top = border; in mmu_mapin_ram()
175 if (!strict_kernel_rwx_enabled() || base >= border || top <= border) in mmu_mapin_ram()
176 return __mmu_mapin_ram(base, top); in mmu_mapin_ram()
[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/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.c101 static void __init __mapin_ram_chunk(unsigned long offset, unsigned long top) in __mapin_ram_chunk() argument
110 for (; s < top; s += PAGE_SIZE) { in __mapin_ram_chunk()
124 phys_addr_t top = min(end, total_lowmem); in mapin_ram() local
126 if (base >= top) in mapin_ram()
128 base = mmu_mapin_ram(base, top); in mapin_ram()
129 __mapin_ram_chunk(base, top); in mapin_ram()
/arch/sh/kernel/
Ddumpstack.c20 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/
Dcallchain.h13 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/sparc/kernel/
Dsetup_32.c339 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/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/loongarch/kernel/
Dprocess.c294 unsigned long top = TASK_SIZE & PAGE_MASK; in stack_top() local
297 top -= PAGE_ALIGN(current->thread.vdso->size); in stack_top()
298 top -= VVAR_SIZE; in stack_top()
302 top -= VDSO_RANDOMIZE_SIZE; in stack_top()
304 return top; in stack_top()
/arch/powerpc/mm/kasan/
Dinit_32.c145 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/mips/kernel/
Dprocess.c685 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/x86/events/intel/
Dds.c765 struct bts_record *at, *base, *top; in intel_pmu_drain_bts_buffer() local
779 top = (struct bts_record *)(unsigned long)ds->bts_index; in intel_pmu_drain_bts_buffer()
781 if (top <= base) in intel_pmu_drain_bts_buffer()
800 for (at = base; at < top; at++) { in intel_pmu_drain_bts_buffer()
821 header.size * (top - base - skip))) in intel_pmu_drain_bts_buffer()
824 for (at = base; at < top; at++) { in intel_pmu_drain_bts_buffer()
1931 get_next_pebs_record_by_bit(void *base, void *top, int bit) in get_next_pebs_record_by_bit() argument
1947 for (at = base; at < top; at += cpuc->pebs_record_size) { in get_next_pebs_record_by_bit()
2042 void *base, void *top, in __intel_pmu_pebs_event() argument
2054 void *at = get_next_pebs_record_by_bit(base, top, bit); in __intel_pmu_pebs_event()
[all …]
/arch/sh/include/asm/
Dkdebug.h17 unsigned long bottom, unsigned long top);
/arch/arm/mm/
Dproc-feroceon.S253 add r1, r0, #PAGE_SZ - CACHE_DLINESIZE @ top addr is inclusive
257 mcr p15, 5, r1, c15, c15, 1 @ D clean/inv range top
299 subne r1, r1, #1 @ top address is inclusive
303 mcr p15, 5, r1, c15, c14, 1 @ D inv range top
331 subne r1, r1, #1 @ top address is inclusive
335 mcr p15, 5, r1, c15, c13, 1 @ D clean range top
362 subne r1, r1, #1 @ top address is inclusive
366 mcr p15, 5, r1, c15, c15, 1 @ D clean/inv range top
/arch/arm64/boot/dts/qcom/
Dsc7180-trogdor-quackingstick-r0.dts19 qcom,phy-rescode-offset-top = /bits/ 8 <(-13) (-13) (-13) (-13) (-13)>;
Dsc7180-trogdor-wormdingler-rev1-boe.dts21 qcom,phy-rescode-offset-top = /bits/ 8 <31 31 31 31 (-32)>;
/arch/sh/kernel/cpu/sh2a/
Dentry.S56 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/arm/include/asm/
Dstacktrace.h49 unsigned long top);

1234567