Home
last modified time | relevance | path

Searched refs:end (Results 1 – 25 of 59) sorted by relevance

123

/kernel/
Drange.c12 int add_range(struct range *range, int az, int nr_range, u64 start, u64 end) in add_range() argument
14 if (start >= end) in add_range()
22 range[nr_range].end = end; in add_range()
30 u64 start, u64 end) in add_range_with_merge() argument
34 if (start >= end) in add_range_with_merge()
41 if (!range[i].end) in add_range_with_merge()
45 common_end = min(range[i].end, end); in add_range_with_merge()
51 end = max(range[i].end, end); in add_range_with_merge()
56 range[nr_range - 1].end = 0; in add_range_with_merge()
62 return add_range(range, az, nr_range, start, end); in add_range_with_merge()
[all …]
Dresource.c33 .end = IO_SPACE_LIMIT,
41 .end = -1,
109 unsigned long long start, end; in r_show() local
110 int width = root->end < 0x10000 ? 4 : 8; in r_show()
119 end = r->end; in r_show()
121 start = end = 0; in r_show()
127 width, end, in r_show()
188 resource_size_t end = new->end; in __request_resource() local
191 if (end < start) in __request_resource()
195 if (end > root->end) in __request_resource()
[all …]
Dcrash_dump.c31 char *end; in setup_elfcorehdr() local
34 elfcorehdr_addr = memparse(arg, &end); in setup_elfcorehdr()
35 if (*end == '@') { in setup_elfcorehdr()
37 elfcorehdr_addr = memparse(end + 1, &end); in setup_elfcorehdr()
39 return end > arg ? 0 : -EINVAL; in setup_elfcorehdr()
Dkexec_file.c423 static int locate_mem_hole_top_down(unsigned long start, unsigned long end, in locate_mem_hole_top_down() argument
429 temp_end = min(end, kbuf->buf_max); in locate_mem_hole_top_down()
461 static int locate_mem_hole_bottom_up(unsigned long start, unsigned long end, in locate_mem_hole_bottom_up() argument
473 if (temp_end > end || temp_end > kbuf->buf_max) in locate_mem_hole_bottom_up()
498 u64 start = res->start, end = res->end; in locate_mem_hole_callback() local
499 unsigned long sz = end - start + 1; in locate_mem_hole_callback()
510 if (end < kbuf->buf_min || start > kbuf->buf_max) in locate_mem_hole_callback()
518 return locate_mem_hole_top_down(start, end, kbuf); in locate_mem_hole_callback()
519 return locate_mem_hole_bottom_up(start, end, kbuf); in locate_mem_hole_callback()
543 res.end = mend - 1; in kexec_walk_memblock()
[all …]
Dkexec_core.c61 .end = 0,
68 .end = 0,
246 (mend > phys_to_boot_phys(crashk_res.end))) in sanity_check_segment_list()
283 unsigned long end) in kimage_is_destination_range() argument
292 if ((end > mstart) && (start < mend)) in kimage_is_destination_range()
447 while (hole_end <= crashk_res.end) { in kimage_alloc_crash_control_pages()
999 if (crashk_res.end != crashk_res.start) in crash_get_memory_size()
1007 unsigned long end) in crash_free_reserved_phys_range() argument
1011 for (addr = begin; addr < end; addr += PAGE_SIZE) in crash_free_reserved_phys_range()
1018 unsigned long start, end; in crash_shrink_memory() local
[all …]
Dstatic_call.c282 static int addr_conflict(struct static_call_site *site, void *start, void *end) in addr_conflict() argument
286 if (addr <= (unsigned long)end && in addr_conflict()
295 void *start, void *end, bool init) in __static_call_text_reserved() argument
301 if (addr_conflict(iter, start, end)) in __static_call_text_reserved()
312 static int __static_call_mod_text_reserved(void *start, void *end) in __static_call_mod_text_reserved() argument
319 WARN_ON_ONCE(__module_text_address((unsigned long)end) != mod); in __static_call_mod_text_reserved()
329 start, end, mod->state == MODULE_STATE_COMING); in __static_call_mod_text_reserved()
455 static inline int __static_call_mod_text_reserved(void *start, void *end) in __static_call_mod_text_reserved() argument
462 int static_call_text_reserved(void *start, void *end) in static_call_text_reserved() argument
466 __stop_static_call_sites, start, end, init); in static_call_text_reserved()
[all …]
Djump_label.c309 static int addr_conflict(struct jump_entry *entry, void *start, void *end) in addr_conflict() argument
311 if (jump_entry_code(entry) <= (unsigned long)end && in addr_conflict()
319 struct jump_entry *iter_stop, void *start, void *end, bool init) in __jump_label_text_reserved() argument
326 if (addr_conflict(iter, start, end)) in __jump_label_text_reserved()
549 static int __jump_label_mod_text_reserved(void *start, void *end) in __jump_label_mod_text_reserved() argument
556 WARN_ON_ONCE(__module_text_address((unsigned long)end) != mod); in __jump_label_mod_text_reserved()
566 start, end, mod->state == MODULE_STATE_COMING); in __jump_label_mod_text_reserved()
789 int jump_label_text_reserved(void *start, void *end) in jump_label_text_reserved() argument
793 __stop___jump_table, start, end, init); in jump_label_text_reserved()
799 ret = __jump_label_mod_text_reserved(start, end); in jump_label_text_reserved()
Dtracepoint.c579 tracepoint_ptr_t *begin, tracepoint_ptr_t *end, in for_each_tracepoint_range() argument
587 for (iter = begin; iter < end; iter++) in for_each_tracepoint_range()
617 goto end; in register_tracepoint_module_notifier()
620 end: in register_tracepoint_module_notifier()
641 goto end; in unregister_tracepoint_module_notifier()
644 end: in unregister_tracepoint_module_notifier()
679 goto end; in tracepoint_module_coming()
685 end: in tracepoint_module_coming()
Dkprobes.c2395 int kprobe_add_area_blacklist(unsigned long start, unsigned long end) in kprobe_add_area_blacklist() argument
2400 for (entry = start; entry < end; entry += ret) { in kprobe_add_area_blacklist()
2411 static void kprobe_remove_area_blacklist(unsigned long start, unsigned long end) in kprobe_remove_area_blacklist() argument
2416 if (ent->start_addr < start || ent->start_addr >= end) in kprobe_remove_area_blacklist()
2464 unsigned long *end) in populate_kprobe_blacklist() argument
2470 for (iter = start; iter < end; iter++) { in populate_kprobe_blacklist()
2494 unsigned long start, end; in add_module_kprobe_blacklist() local
2504 end = start + mod->kprobes_text_size; in add_module_kprobe_blacklist()
2505 kprobe_add_area_blacklist(start, end); in add_module_kprobe_blacklist()
2510 end = start + mod->noinstr_text_size; in add_module_kprobe_blacklist()
[all …]
Dcrash_core.c47 unsigned long long start, end = ULLONG_MAX, size; in parse_crashkernel_mem() local
64 end = memparse(cur, &tmp); in parse_crashkernel_mem()
70 if (end <= start) { in parse_crashkernel_mem()
94 if (system_ram >= start && system_ram < end) { in parse_crashkernel_mem()
Dscftorture.c409 goto end; in scftorture_invoker()
430 end: in scftorture_invoker()
459 goto end; in scf_torture_cleanup()
473 end: in scf_torture_cleanup()
Dsys.c2313 unsigned long start, unsigned long end, in prctl_update_vma_anon_name() argument
2326 *prev = vma_merge(mm, *prev, start, end, vma->vm_flags, vma->anon_vma, in prctl_update_vma_anon_name()
2342 if (end != vma->vm_end) { in prctl_update_vma_anon_name()
2343 error = split_vma(mm, vma, end, 0); in prctl_update_vma_anon_name()
2358 static int prctl_set_vma_anon_name(unsigned long start, unsigned long end, in prctl_set_vma_anon_name() argument
2385 if (start >= end) in prctl_set_vma_anon_name()
2391 if (end < tmp) in prctl_set_vma_anon_name()
2392 tmp = end; in prctl_set_vma_anon_name()
2403 if (start >= end) in prctl_set_vma_anon_name()
2418 unsigned long end; in prctl_set_vma() local
[all …]
/kernel/irq/
Dmatrix.c114 unsigned int end = m->alloc_end; in matrix_alloc_area() local
116 bitmap_or(m->scratch_map, cm->managed_map, m->system_map, end); in matrix_alloc_area()
117 bitmap_or(m->scratch_map, m->scratch_map, cm->alloc_map, end); in matrix_alloc_area()
118 area = bitmap_find_next_zero_area(m->scratch_map, end, start, num, 0); in matrix_alloc_area()
119 if (area >= end) in matrix_alloc_area()
257 unsigned int bit, end = m->alloc_end; in irq_matrix_remove_managed() local
263 bitmap_andnot(m->scratch_map, cm->managed_map, cm->alloc_map, end); in irq_matrix_remove_managed()
265 bit = find_first_bit(m->scratch_map, end); in irq_matrix_remove_managed()
266 if (WARN_ON_ONCE(bit >= end)) in irq_matrix_remove_managed()
288 unsigned int bit, cpu, end = m->alloc_end; in irq_matrix_alloc_managed() local
[all …]
/kernel/printk/
Dprintk_safe.c127 const char *c, *end; in printk_safe_flush_buffer() local
131 end = start + len; in printk_safe_flush_buffer()
135 while (c < end) { in printk_safe_flush_buffer()
144 if ((c + 1 < end) && printk_get_level(c)) { in printk_safe_flush_buffer()
161 if (start < end && !header) { in printk_safe_flush_buffer()
164 printk_safe_flush_line(start, end - start); in printk_safe_flush_buffer()
/kernel/trace/
Dtrace_printk.c53 void hold_module_trace_bprintk_format(const char **start, const char **end) in hold_module_trace_bprintk_format() argument
59 if (start != end) in hold_module_trace_bprintk_format()
63 for (iter = start; iter < end; iter++) { in hold_module_trace_bprintk_format()
94 const char **end = start + mod->num_trace_bprintk_fmt; in module_trace_bprintk_format_notify() local
97 hold_module_trace_bprintk_format(start, end); in module_trace_bprintk_format_notify()
Dpreemptirq_delay_test.c38 u64 start, end; in busy_wait() local
41 end = trace_clock_local(); in busy_wait()
44 } while ((end - start) < (time * 1000)); in busy_wait()
Dtrace_mmiotrace.c66 resource_size_t start, end; in mmio_print_pcidev() local
80 end = dev->resource[i].end; in mmio_print_pcidev()
82 dev->resource[i].start < dev->resource[i].end ? in mmio_print_pcidev()
83 (unsigned long long)(end - start) + 1 : 0); in mmio_print_pcidev()
Dfgraph.c374 int start = 0, end = FTRACE_RETSTACK_ALLOC_SIZE; in alloc_retstack_tasklist() local
384 end = i; in alloc_retstack_tasklist()
392 if (start == end) { in alloc_retstack_tasklist()
410 for (i = start; i < end; i++) in alloc_retstack_tasklist()
/kernel/power/
Dprocess.c39 ktime_t start, end, elapsed; in try_to_freeze_tasks() local
86 end = ktime_get_boottime(); in try_to_freeze_tasks()
87 elapsed = ktime_sub(end, start); in try_to_freeze_tasks()
Dsuspend.c298 if (state == PM_SUSPEND_TO_IDLE && s2idle_ops && s2idle_ops->end) in platform_resume_end()
299 s2idle_ops->end(); in platform_resume_end()
300 else if (suspend_ops && suspend_ops->end) in platform_resume_end()
301 suspend_ops->end(); in platform_resume_end()
Dsnapshot.c501 unsigned long end) in create_zone_bm_rtree() argument
507 pages = end - start; in create_zone_bm_rtree()
515 zone->end_pfn = end; in create_zone_bm_rtree()
562 unsigned long end; member
600 if (zone_start <= ext->end) in create_mem_extents()
613 new_ext->end = zone_end; in create_mem_extents()
621 if (zone_end > ext->end) in create_mem_extents()
622 ext->end = zone_end; in create_mem_extents()
629 if (zone_end < cur->end) in create_mem_extents()
630 ext->end = cur->end; in create_mem_extents()
[all …]
Dswap.c125 unsigned long end; member
147 } else if (swap_offset > ext->end) { in swsusp_extents_insert()
149 if (swap_offset == ext->end + 1) { in swsusp_extents_insert()
150 ext->end++; in swsusp_extents_insert()
165 ext->end = swap_offset; in swsusp_extents_insert()
206 for (offset = ext->start; offset <= ext->end; offset++) in free_all_swap_pages()
1500 goto end; in swsusp_read()
1509 end: in swsusp_read()
/kernel/kcsan/
Dkcsan-test.c153 const char *end; in report_matches() local
169 end = &expect[0][sizeof(expect[0]) - 1]; in report_matches()
170 cur += scnprintf(cur, end - cur, "BUG: KCSAN: %s in ", in report_matches()
180 cur += scnprintf(cur, end - cur, "%ps / %ps", in report_matches()
184 scnprintf(cur, end - cur, "%pS", r->access[0].fn); in report_matches()
193 end = &expect[1][sizeof(expect[1]) - 1]; in report_matches()
195 cur += scnprintf(cur, end - cur, "race at unknown origin, with "); in report_matches()
218 end = &expect[2][sizeof(expect[2]) - 1]; in report_matches()
227 cur += scnprintf(cur, end - cur, "%s%s to ", access_type, in report_matches()
231 cur += scnprintf(cur, end - cur, "0x%px of %zu bytes", in report_matches()
/kernel/dma/
Dpool.c62 phys_addr_t end; in cma_in_zone() local
74 end = cma_get_base(cma) + size - 1; in cma_in_zone()
76 return end <= DMA_BIT_MASK(zone_dma_bits); in cma_in_zone()
78 return end <= DMA_BIT_MASK(32); in cma_in_zone()
/kernel/rcu/
Drefscale.c385 goto end; in ref_scale_reader()
429 end: in ref_scale_reader()
517 goto end; in main_func()
541 goto end; in main_func()
579 end: in main_func()

123