Home
last modified time | relevance | path

Searched refs:begin (Results 1 – 25 of 50) sorted by relevance

12

/arch/avr32/mm/
Dcache.c26 unsigned long v, begin, end, linesz, mask; in invalidate_dcache_region() local
34 begin = (unsigned long)start; in invalidate_dcache_region()
35 end = begin + size; in invalidate_dcache_region()
37 if (begin & mask) { in invalidate_dcache_region()
39 begin += linesz; in invalidate_dcache_region()
47 for (v = begin; v < end; v += linesz) in invalidate_dcache_region()
54 unsigned long v, begin, end, linesz; in clean_dcache_region() local
57 begin = (unsigned long)start & ~(linesz - 1); in clean_dcache_region()
60 for (v = begin; v < end; v += linesz) in clean_dcache_region()
67 unsigned long v, begin, end, linesz; in flush_dcache_region() local
[all …]
/arch/sh/mm/
Dcache-sh2.c22 unsigned long begin, end; in __flush_wback_region() local
24 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in __flush_wback_region()
27 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in __flush_wback_region()
43 unsigned long begin, end; in __flush_purge_region() local
45 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in __flush_purge_region()
49 for (v = begin; v < end; v+=L1_CACHE_BYTES) in __flush_purge_region()
74 unsigned long begin, end; in __flush_invalidate_region()
76 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in __flush_invalidate_region()
80 for (v = begin; v < end; v+=L1_CACHE_BYTES) in __flush_invalidate_region()
Dcache-sh2a.c21 unsigned long begin, end; in __flush_wback_region() local
24 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in __flush_wback_region()
31 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in __flush_wback_region()
50 unsigned long begin, end; in __flush_purge_region() local
53 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in __flush_purge_region()
60 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in __flush_purge_region()
71 unsigned long begin, end; in __flush_invalidate_region() local
74 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in __flush_invalidate_region()
83 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in __flush_invalidate_region()
88 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in __flush_invalidate_region()
Dcache-sh3.c38 unsigned long begin, end; in __flush_wback_region() local
41 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in __flush_wback_region()
45 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in __flush_wback_region()
77 unsigned long begin, end; in __flush_purge_region() local
79 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in __flush_purge_region()
83 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in __flush_purge_region()
Dpg-sh7705.c32 unsigned long begin, end; in __flush_purge_virtual_region() local
36 begin = L1_CACHE_ALIGN((unsigned long)virt); in __flush_purge_virtual_region()
43 for (v = begin; v < end; v += L1_CACHE_BYTES) { in __flush_purge_virtual_region()
Dcache-sh4.c129 unsigned long begin, end; in __flush_wback_region() local
131 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in __flush_wback_region()
134 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in __flush_wback_region()
150 unsigned long begin, end; in __flush_purge_region() local
152 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in __flush_purge_region()
155 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in __flush_purge_region()
168 unsigned long begin, end; in __flush_invalidate_region() local
170 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in __flush_invalidate_region()
173 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in __flush_invalidate_region()
/arch/x86/kernel/
Dsys_x86_64.c50 static void find_start_end(unsigned long flags, unsigned long *begin, in find_start_end() argument
62 *begin = 0x40000000; in find_start_end()
65 new_begin = randomize_range(*begin, *begin + 0x02000000, 0); in find_start_end()
67 *begin = new_begin; in find_start_end()
70 *begin = TASK_UNMAPPED_BASE; in find_start_end()
82 unsigned long begin, end; in arch_get_unmapped_area() local
87 find_start_end(flags, &begin, &end); in arch_get_unmapped_area()
102 mm->free_area_cache = begin; in arch_get_unmapped_area()
105 if (addr < begin) in arch_get_unmapped_area()
106 addr = begin; in arch_get_unmapped_area()
[all …]
Dds.c472 if (at < tracer->trace.ds.begin) in bts_read()
536 ds_set(ds, qual, ds_buffer_base, (unsigned long)cfg->begin); in ds_write_config()
547 cfg->begin = (void *)ds_get(ds, qual, ds_buffer_base); in ds_read_config()
577 trace->begin = (void *)buffer; in ds_init_ds_trace()
578 trace->top = trace->begin; in ds_init_ds_trace()
861 tracer->trace.ds.top = tracer->trace.ds.begin; in ds_reset_bts()
874 tracer->trace.ds.top = tracer->trace.ds.begin; in ds_reset_pebs()
Dptrace.c597 if ((void *)at < trace->ds.begin) in ptrace_bts_read_record()
628 if (size < (trace->ds.top - trace->ds.begin)) in ptrace_bts_drain()
631 for (at = trace->ds.begin; (void *)at < trace->ds.top; in ptrace_bts_drain()
644 memset(trace->ds.begin, 0, trace->ds.n * trace->ds.size); in ptrace_bts_drain()
745 cfg.size = trace->ds.end - trace->ds.begin; in ptrace_bts_status()
772 memset(trace->ds.begin, 0, trace->ds.n * trace->ds.size); in ptrace_bts_clear()
785 return (trace->ds.top - trace->ds.begin) / trace->ds.size; in ptrace_bts_size()
/arch/powerpc/kernel/
Dmachine_kexec_64.c31 unsigned long begin, end; /* limits of segment */ in default_machine_kexec_prepare() local
64 begin = image->segment[i].mem; in default_machine_kexec_prepare()
65 end = begin + image->segment[i].memsz; in default_machine_kexec_prepare()
67 if ((begin < high) && (end > low)) in default_machine_kexec_prepare()
84 begin = image->segment[i].mem; in default_machine_kexec_prepare()
85 end = begin + image->segment[i].memsz; in default_machine_kexec_prepare()
87 if ((begin < high) && (end > low)) in default_machine_kexec_prepare()
/arch/xtensa/platforms/iss/
Dconsole.c183 off_t begin = 0; in rs_read_proc() local
188 if (off >= len + begin) in rs_read_proc()
191 *start = page + (off - begin); in rs_read_proc()
192 return ((count < begin + len - off) ? count : begin + len - off); in rs_read_proc()
/arch/mn10300/mm/
Dinit.c128 void free_init_pages(char *what, unsigned long begin, unsigned long end) in free_init_pages() argument
132 for (addr = begin; addr < end; addr += PAGE_SIZE) { in free_init_pages()
139 printk(KERN_INFO "Freeing %s: %ldk freed\n", what, (end - begin) >> 10); in free_init_pages()
/arch/blackfin/mm/
Dinit.c187 static void __init free_init_pages(const char *what, unsigned long begin, unsigned long end) in free_init_pages() argument
191 for (addr = begin; addr + PAGE_SIZE <= end; addr += PAGE_SIZE) { in free_init_pages()
197 printk(KERN_INFO "Freeing %s: %ldk freed\n", what, (end - begin) >> 10); in free_init_pages()
/arch/mips/mm/
Dc-r4k.c1069 unsigned long flags, addr, begin, end, pow2; in probe_scache() local
1077 begin = (unsigned long) &_stext; in probe_scache()
1078 begin &= ~((4 * 1024 * 1024) - 1); in probe_scache()
1079 end = begin + (4 * 1024 * 1024); in probe_scache()
1089 for (addr = begin; addr < end; addr = (begin + pow2)) { in probe_scache()
1099 cache_op(Index_Store_Tag_I, begin); in probe_scache()
1100 cache_op(Index_Store_Tag_D, begin); in probe_scache()
1101 cache_op(Index_Store_Tag_SD, begin); in probe_scache()
1106 for (addr = begin + (128 * 1024); addr < end; addr = begin + pow2) { in probe_scache()
1114 addr -= begin; in probe_scache()
Dinit.c456 void free_init_pages(const char *what, unsigned long begin, unsigned long end) in free_init_pages() argument
460 for (pfn = PFN_UP(begin); pfn < PFN_DOWN(end); pfn++) { in free_init_pages()
470 printk(KERN_INFO "Freeing %s: %ldk freed\n", what, (end - begin) >> 10); in free_init_pages()
/arch/ia64/kernel/
Dpalinfo.c155 int i, begin, skip = 0; in bitregister_process() local
158 value >>= i = begin = ffs(value) - 1; in bitregister_process()
165 if (begin <= i - 2) in bitregister_process()
166 p += sprintf(p, "%d-%d ", begin, i-1); in bitregister_process()
170 begin = -1; in bitregister_process()
173 begin = i; in bitregister_process()
177 if (begin > -1) { in bitregister_process()
178 if (begin < 127) in bitregister_process()
179 p += sprintf(p, "%d-127", begin); in bitregister_process()
/arch/alpha/lib/
Dcsum_ipv6_magic.S45 addq $20,$0,$20 # .. e1 : begin summing the words
92 extwl $0,2,$2 # e0 : begin folding the 64-bit value
/arch/ia64/hp/sim/
Dsimserial.c862 off_t begin = 0; in rs_read_proc() local
868 if (len+begin > off+count) in rs_read_proc()
870 if (len+begin < off) { in rs_read_proc()
871 begin += len; in rs_read_proc()
877 if (off >= len+begin) in rs_read_proc()
879 *start = page + (begin-off); in rs_read_proc()
880 return ((count < begin+len-off) ? count : begin+len-off); in rs_read_proc()
/arch/mips/include/asm/
Dbootinfo.h93 unsigned long begin, unsigned long end);
/arch/x86/mm/
Dinit_32.c1196 void free_init_pages(char *what, unsigned long begin, unsigned long end) in free_init_pages() argument
1205 begin, PAGE_ALIGN(end)); in free_init_pages()
1206 set_memory_np(begin, (end - begin) >> PAGE_SHIFT); in free_init_pages()
1215 set_memory_rw(begin, (end - begin) >> PAGE_SHIFT); in free_init_pages()
1217 for (addr = begin; addr < end; addr += PAGE_SIZE) { in free_init_pages()
1224 printk(KERN_INFO "Freeing %s: %luk freed\n", what, (end - begin) >> 10); in free_init_pages()
Dinit_64.c950 void free_init_pages(char *what, unsigned long begin, unsigned long end) in free_init_pages() argument
952 unsigned long addr = begin; in free_init_pages()
964 begin, PAGE_ALIGN(end)); in free_init_pages()
965 set_memory_np(begin, (end - begin) >> PAGE_SHIFT); in free_init_pages()
967 printk(KERN_INFO "Freeing %s: %luk freed\n", what, (end - begin) >> 10); in free_init_pages()
/arch/sparc/mm/
Dsun4c.c70 unsigned long begin, end; in sun4c_flush_all() local
76 begin = AC_CACHETAGS; in sun4c_flush_all()
78 while (begin < end) { in sun4c_flush_all()
80 "r" (begin), "i" (ASI_CONTROL)); in sun4c_flush_all()
81 begin += sun4c_vacinfo.linesize; in sun4c_flush_all()
1189 unsigned long begin, end; in sun4c_flush_cache_all() local
1192 begin = (KERNBASE + SUN4C_REAL_PGDIR_SIZE); in sun4c_flush_cache_all()
1193 end = (begin + SUN4C_VAC_SIZE); in sun4c_flush_cache_all()
1196 while (begin < end) { in sun4c_flush_cache_all()
1214 : : "r" (begin)); in sun4c_flush_cache_all()
[all …]
/arch/sh/include/asm/
Dgpio.h66 pinmux_enum_t begin; member
/arch/ia64/hp/sim/boot/
Dbootloader.lds42 of the section so we begin them at 0. */
/arch/x86/include/asm/
Dds.h132 void *begin; member

12