/kernel/ |
D | range.c | 11 int add_range(struct range *range, int az, int nr_range, u64 start, u64 end) in add_range() argument 13 if (start >= end) in add_range() 21 range[nr_range].end = end; in add_range() 29 u64 start, u64 end) in add_range_with_merge() argument 33 if (start >= end) in add_range_with_merge() 40 if (!range[i].end) in add_range_with_merge() 44 common_end = min(range[i].end, end); in add_range_with_merge() 50 end = max(range[i].end, end); in add_range_with_merge() 55 range[nr_range - 1].end = 0; in add_range_with_merge() 61 return add_range(range, az, nr_range, start, end); in add_range_with_merge() [all …]
|
D | resource.c | 33 .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 …]
|
D | crash_dump.c | 37 char *end; in setup_elfcorehdr() local 40 elfcorehdr_addr = memparse(arg, &end); in setup_elfcorehdr() 41 if (*end == '@') { in setup_elfcorehdr() 43 elfcorehdr_addr = memparse(end + 1, &end); in setup_elfcorehdr() 45 return end > arg ? 0 : -EINVAL; in setup_elfcorehdr()
|
D | kexec_file.c | 460 static int locate_mem_hole_top_down(unsigned long start, unsigned long end, in locate_mem_hole_top_down() argument 466 temp_end = min(end, kbuf->buf_max); in locate_mem_hole_top_down() 498 static int locate_mem_hole_bottom_up(unsigned long start, unsigned long end, in locate_mem_hole_bottom_up() argument 510 if (temp_end > end || temp_end > kbuf->buf_max) in locate_mem_hole_bottom_up() 535 u64 start = res->start, end = res->end; in locate_mem_hole_callback() local 536 unsigned long sz = end - start + 1; in locate_mem_hole_callback() 542 if (end < kbuf->buf_min || start > kbuf->buf_max) in locate_mem_hole_callback() 550 return locate_mem_hole_top_down(start, end, kbuf); in locate_mem_hole_callback() 551 return locate_mem_hole_bottom_up(start, end, kbuf); in locate_mem_hole_callback() 575 res.end = mend - 1; in kexec_walk_memblock() [all …]
|
D | kexec_core.c | 61 .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() 991 if (crashk_res.end != crashk_res.start) in crash_get_memory_size() 998 unsigned long end) in crash_free_reserved_phys_range() argument 1002 for (addr = begin; addr < end; addr += PAGE_SIZE) in crash_free_reserved_phys_range() 1009 unsigned long start, end; in crash_shrink_memory() local [all …]
|
D | tracepoint.c | 362 tracepoint_ptr_t *begin, tracepoint_ptr_t *end, in for_each_tracepoint_range() argument 370 for (iter = begin; iter < end; iter++) in for_each_tracepoint_range() 400 goto end; in register_tracepoint_module_notifier() 403 end: in register_tracepoint_module_notifier() 424 goto end; in unregister_tracepoint_module_notifier() 427 end: in unregister_tracepoint_module_notifier() 462 goto end; in tracepoint_module_coming() 468 end: in tracepoint_module_coming()
|
D | jump_label.c | 309 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) in __jump_label_text_reserved() argument 325 if (addr_conflict(iter, start, end)) in __jump_label_text_reserved() 539 static int __jump_label_mod_text_reserved(void *start, void *end) in __jump_label_mod_text_reserved() argument 545 WARN_ON_ONCE(__module_text_address((unsigned long)end) != mod); in __jump_label_mod_text_reserved() 554 start, end); in __jump_label_mod_text_reserved() 773 int jump_label_text_reserved(void *start, void *end) in jump_label_text_reserved() argument 776 __stop___jump_table, start, end); in jump_label_text_reserved() 782 ret = __jump_label_mod_text_reserved(start, end); in jump_label_text_reserved()
|
D | sysctl_binary.c | 971 char *str, *end; in bin_intvec() local 980 end = str + result; in bin_intvec() 981 *end++ = '\0'; in bin_intvec() 1002 char *str, *end; in bin_intvec() local 1007 end = str + BUFSZ; in bin_intvec() 1015 str += scnprintf(str, end - str, "%lu\t", value); in bin_intvec() 1044 char *str, *end; in bin_ulongvec() local 1053 end = str + result; in bin_ulongvec() 1054 *end++ = '\0'; in bin_ulongvec() 1075 char *str, *end; in bin_ulongvec() local [all …]
|
D | crash_core.c | 45 unsigned long long start, end = ULLONG_MAX, size; in parse_crashkernel_mem() local 62 end = memparse(cur, &tmp); in parse_crashkernel_mem() 68 if (end <= start) { in parse_crashkernel_mem() 92 if (system_ram >= start && system_ram < end) { in parse_crashkernel_mem()
|
D | scs.c | 191 unsigned long *end = scs_magic(p); in scs_used() local 194 while (p < end && READ_ONCE_NOCHECK(*p)) in scs_used()
|
D | sys.c | 2267 unsigned long start, unsigned long end, in prctl_update_vma_anon_name() argument 2280 *prev = vma_merge(mm, *prev, start, end, vma->vm_flags, vma->anon_vma, in prctl_update_vma_anon_name() 2296 if (end != vma->vm_end) { in prctl_update_vma_anon_name() 2297 error = split_vma(mm, vma, end, 0); in prctl_update_vma_anon_name() 2312 static int prctl_set_vma_anon_name(unsigned long start, unsigned long end, in prctl_set_vma_anon_name() argument 2339 if (start >= end) in prctl_set_vma_anon_name() 2345 if (end < tmp) in prctl_set_vma_anon_name() 2346 tmp = end; in prctl_set_vma_anon_name() 2357 if (start >= end) in prctl_set_vma_anon_name() 2372 unsigned long end; in prctl_set_vma() local [all …]
|
D | kexec_internal.h | 14 unsigned long start, unsigned long end);
|
/kernel/irq/ |
D | matrix.c | 114 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/ |
D | printk_safe.c | 124 const char *c, *end; in printk_safe_flush_buffer() local 128 end = start + len; in printk_safe_flush_buffer() 132 while (c < end) { in printk_safe_flush_buffer() 141 if ((c + 1 < end) && printk_get_level(c)) { in printk_safe_flush_buffer() 158 if (start < end && !header) { in printk_safe_flush_buffer() 161 printk_safe_flush_line(start, end - start); in printk_safe_flush_buffer()
|
/kernel/trace/ |
D | preemptirq_delay_test.c | 28 u64 start, end; in busy_wait() local 31 end = trace_clock_local(); in busy_wait() 34 } while ((end - start) < (time * 1000)); in busy_wait()
|
D | trace_printk.c | 53 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()
|
D | trace_mmiotrace.c | 66 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()
|
D | fgraph.c | 346 int start = 0, end = FTRACE_RETSTACK_ALLOC_SIZE; in alloc_retstack_tasklist() local 356 end = i; in alloc_retstack_tasklist() 364 if (start == end) { in alloc_retstack_tasklist() 383 for (i = start; i < end; i++) in alloc_retstack_tasklist()
|
D | trace_syscalls.c | 137 goto end; in print_syscall_enter() 141 goto end; in print_syscall_enter() 149 goto end; in print_syscall_enter() 162 end: in print_syscall_enter()
|
/kernel/power/ |
D | process.c | 38 ktime_t start, end, elapsed; in try_to_freeze_tasks() local 93 end = ktime_get_boottime(); in try_to_freeze_tasks() 94 elapsed = ktime_sub(end, start); in try_to_freeze_tasks()
|
D | suspend.c | 298 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()
|
D | wakelock.c | 43 char *end = buf + PAGE_SIZE; in pm_show_wakelocks() local 50 str += scnprintf(str, end - str, "%s ", wl->name); in pm_show_wakelocks() 55 str += scnprintf(str, end - str, "\n"); in pm_show_wakelocks()
|
D | snapshot.c | 502 unsigned long end) in create_zone_bm_rtree() argument 508 pages = end - start; in create_zone_bm_rtree() 516 zone->end_pfn = end; in create_zone_bm_rtree() 563 unsigned long end; member 601 if (zone_start <= ext->end) in create_mem_extents() 614 new_ext->end = zone_end; in create_mem_extents() 622 if (zone_end > ext->end) in create_mem_extents() 623 ext->end = zone_end; in create_mem_extents() 630 if (zone_end < cur->end) in create_mem_extents() 631 ext->end = cur->end; in create_mem_extents() [all …]
|
D | swap.c | 125 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() 1488 goto end; in swsusp_read() 1497 end: in swsusp_read()
|
/kernel/cgroup/ |
D | cgroup-v1.c | 431 int end = l->length; in cgroup_pidlist_start() local 433 while (index < end) { in cgroup_pidlist_start() 434 int mid = (index + end) / 2; in cgroup_pidlist_start() 441 end = mid; in cgroup_pidlist_start() 469 pid_t *end = l->list + l->length; in cgroup_pidlist_next() local 475 if (p >= end) { in cgroup_pidlist_next()
|