/kernel/ |
D | resource.c | 31 .start = 0, 39 .start = 0, 108 unsigned long long start, end; in r_show() local 117 start = r->start; in r_show() 120 start = end = 0; in r_show() 125 width, start, in r_show() 132 .start = r_start, 219 resource_size_t start = new->start; in __request_resource() local 223 if (end < start) in __request_resource() 225 if (start < root->start) in __request_resource() [all …]
|
D | range.c | 10 int add_range(struct range *range, int az, int nr_range, u64 start, u64 end) in add_range() argument 12 if (start >= end) in add_range() 19 range[nr_range].start = start; in add_range() 28 u64 start, u64 end) in add_range_with_merge() argument 32 if (start >= end) in add_range_with_merge() 42 common_start = max(range[i].start, start); in add_range_with_merge() 48 start = min(range[i].start, start); in add_range_with_merge() 53 range[nr_range - 1].start = 0; in add_range_with_merge() 60 return add_range(range, az, nr_range, start, end); in add_range_with_merge() 63 void subtract_range(struct range *range, int az, u64 start, u64 end) in subtract_range() argument [all …]
|
D | jump_label.c | 48 jump_label_sort_entries(struct jump_entry *start, struct jump_entry *stop) in jump_label_sort_entries() argument 52 size = (((unsigned long)stop - (unsigned long)start) in jump_label_sort_entries() 54 sort(start, size, sizeof(struct jump_entry), jump_label_cmp, NULL); in jump_label_sort_entries() 157 static int addr_conflict(struct jump_entry *entry, void *start, void *end) in addr_conflict() argument 160 entry->code + JUMP_LABEL_NOP_SIZE > (unsigned long)start) in addr_conflict() 167 struct jump_entry *iter_stop, void *start, void *end) in __jump_label_text_reserved() argument 173 if (addr_conflict(iter, start, end)) in __jump_label_text_reserved() 290 static int __jump_label_mod_text_reserved(void *start, void *end) in __jump_label_mod_text_reserved() argument 294 mod = __module_text_address((unsigned long)start); in __jump_label_mod_text_reserved() 302 start, end); in __jump_label_mod_text_reserved() [all …]
|
D | kexec_core.c | 67 .start = 0, 73 .start = 0, 228 if ((mstart < crashk_res.start) || in sanity_check_segment_list() 265 unsigned long start, in kimage_is_destination_range() argument 275 if ((end > mstart) && (start < mend)) in kimage_is_destination_range() 884 if (crashk_res.end != crashk_res.start) in crash_get_memory_size() 902 unsigned long start, end; in crash_shrink_memory() local 912 start = crashk_res.start; in crash_shrink_memory() 914 old_size = (end == 0) ? 0 : end - start + 1; in crash_shrink_memory() 926 start = roundup(start, KEXEC_CRASH_MEM_ALIGN); in crash_shrink_memory() [all …]
|
D | kexec_file.c | 269 image->control_page = crashk_res.start; in kimage_file_alloc_init() 385 static int locate_mem_hole_top_down(unsigned long start, unsigned long end, in locate_mem_hole_top_down() argument 398 if (temp_start < start || temp_start < kbuf->buf_min) in locate_mem_hole_top_down() 423 static int locate_mem_hole_bottom_up(unsigned long start, unsigned long end, in locate_mem_hole_bottom_up() argument 429 temp_start = max(start, kbuf->buf_min); in locate_mem_hole_bottom_up() 457 static int locate_mem_hole_callback(u64 start, u64 end, void *arg) in locate_mem_hole_callback() argument 460 unsigned long sz = end - start + 1; in locate_mem_hole_callback() 466 if (end < kbuf->buf_min || start > kbuf->buf_max) in locate_mem_hole_callback() 474 return locate_mem_hole_top_down(start, end, kbuf); in locate_mem_hole_callback() 475 return locate_mem_hole_bottom_up(start, end, kbuf); in locate_mem_hole_callback() [all …]
|
D | memremap.c | 163 arch_remove_memory(page_map->res.start, resource_size(&page_map->res)); in devm_memremap_pages_release() 169 int is_ram = region_intersects(res->start, resource_size(res), in devm_memremap_pages() 192 error = arch_add_memory(nid, res->start, resource_size(res), true); in devm_memremap_pages() 200 return __va(res->start); in devm_memremap_pages()
|
D | sys.c | 2073 unsigned long start, unsigned long end, in prctl_update_vma_anon_name() argument 2085 pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT); in prctl_update_vma_anon_name() 2086 *prev = vma_merge(mm, *prev, start, end, vma->vm_flags, vma->anon_vma, in prctl_update_vma_anon_name() 2096 if (start != vma->vm_start) { in prctl_update_vma_anon_name() 2097 error = split_vma(mm, vma, start, 1); in prctl_update_vma_anon_name() 2118 static int prctl_set_vma_anon_name(unsigned long start, unsigned long end, in prctl_set_vma_anon_name() argument 2131 vma = find_vma_prev(current->mm, start, &prev); in prctl_set_vma_anon_name() 2132 if (vma && start > vma->vm_start) in prctl_set_vma_anon_name() 2142 if (start < vma->vm_start) { in prctl_set_vma_anon_name() 2144 start = vma->vm_start; in prctl_set_vma_anon_name() [all …]
|
D | kexec.c | 51 if ((entry < crashk_res.start) || (entry > crashk_res.end)) in kimage_alloc_init() 60 image->start = entry; in kimage_alloc_init() 72 image->control_page = crashk_res.start; in kimage_alloc_init()
|
D | relay.c | 51 page = vmalloc_to_page(buf->start + (pgoff << PAGE_SHIFT)); in relay_buf_fault() 176 buf->start = relay_alloc_buf(buf, &chan->alloc_size); in relay_create_buf() 177 if (!buf->start) in relay_create_buf() 211 if (likely(buf->start)) { in relay_destroy_buf() 212 vunmap(buf->start); in relay_destroy_buf() 363 buf->data = buf->start; in __relay_reset() 752 new = buf->start + new_subbuf * buf->chan->subbuf_size; in relay_switch_subbuf() 1021 write_subbuf = (buf->data - buf->start) / subbuf_size; in relay_file_read_subbuf_avail() 1104 from = buf->start + read_start; in subbuf_read_actor()
|
D | module.c | 155 unsigned long start, end; in mod_tree_comp() local 157 start = __mod_tree_val(n); in mod_tree_comp() 158 if (val < start) in mod_tree_comp() 161 end = start + __mod_tree_size(n); in mod_tree_comp() 553 fsa->sym = &syms->start[symnum]; in check_symbol() 572 sym = bsearch(fsa->name, syms->start, syms->stop - syms->start, in find_symbol_in_section() 575 if (sym != NULL && check_symbol(syms, owner, sym - syms->start, data)) in find_symbol_in_section() 707 void *start = per_cpu_ptr(mod->percpu, cpu); in is_module_percpu_address() local 709 if ((void *)addr >= start && in is_module_percpu_address() 710 (void *)addr < start + mod->percpu_size) { in is_module_percpu_address() [all …]
|
D | delayacct.c | 52 static void delayacct_end(u64 *start, u64 *total, u32 *count) in delayacct_end() argument 54 s64 ns = ktime_get_ns() - *start; in delayacct_end()
|
/kernel/irq/ |
D | irqdesc.c | 195 static int alloc_descs(unsigned int start, unsigned int cnt, int node, in alloc_descs() argument 202 desc = alloc_desc(start + i, node, owner); in alloc_descs() 206 irq_insert_desc(start + i, desc); in alloc_descs() 209 return start; in alloc_descs() 213 free_desc(start + i); in alloc_descs() 216 bitmap_clear(allocated_irqs, start, cnt); in alloc_descs() 305 static inline int alloc_descs(unsigned int start, unsigned int cnt, int node, in alloc_descs() argument 311 struct irq_desc *desc = irq_to_desc(start + i); in alloc_descs() 315 return start; in alloc_descs() 433 int start, ret; in __irq_alloc_descs() local [all …]
|
/kernel/trace/ |
D | trace_printk.c | 51 void hold_module_trace_bprintk_format(const char **start, const char **end) in hold_module_trace_bprintk_format() argument 57 if (start != end) in hold_module_trace_bprintk_format() 61 for (iter = start; iter < end; iter++) { in hold_module_trace_bprintk_format() 91 const char **start = mod->trace_bprintk_fmt_start; in module_trace_bprintk_format_notify() local 92 const char **end = start + mod->num_trace_bprintk_fmt; in module_trace_bprintk_format_notify() 95 hold_module_trace_bprintk_format(start, end); in module_trace_bprintk_format_notify() 341 .start = t_start,
|
D | trace_mmiotrace.c | 65 resource_size_t start, end; in mmio_print_pcidev() local 77 pci_resource_to_user(dev, i, &dev->resource[i], &start, &end); in mmio_print_pcidev() 79 (unsigned long long)(start | in mmio_print_pcidev() 83 pci_resource_to_user(dev, i, &dev->resource[i], &start, &end); in mmio_print_pcidev() 85 dev->resource[i].start < dev->resource[i].end ? in mmio_print_pcidev() 86 (unsigned long long)(end - start) + 1 : 0); in mmio_print_pcidev() 284 .start = mmio_trace_start,
|
D | trace_stack.c | 77 unsigned long this_size, flags; unsigned long *p, *top, *start; in check_stack() local 139 start = stack; in check_stack() 141 (((unsigned long)start & ~(THREAD_SIZE-1)) + THREAD_SIZE); in check_stack() 154 p = start; in check_stack() 165 start = p + 1; in check_stack() 392 .start = t_start,
|
D | trace_benchmark.c | 36 u64 start; in trace_do_benchmark() local 50 start = trace_clock_local(); in trace_do_benchmark() 57 delta = stop - start; in trace_do_benchmark()
|
D | trace_syscalls.c | 82 struct syscall_metadata **start; in find_syscall_meta() local 87 start = __start_syscalls_metadata; in find_syscall_meta() 94 for ( ; start < stop; start++) { in find_syscall_meta() 95 if ((*start)->name && arch_syscall_match_sym_name(str, (*start)->name)) in find_syscall_meta() 96 return *start; in find_syscall_meta()
|
D | ftrace.c | 522 struct ftrace_profile_page *start; member 571 if (!stat || !stat->start) in function_stat_start() 574 return function_stat_next(&stat->start->records[0], 0); in function_stat_start() 689 pg = stat->pages = stat->start; in ftrace_profile_reset() 729 pg = stat->start = stat->pages; in ftrace_profile_pages_init() 743 pg = stat->start; in ftrace_profile_pages_init() 752 stat->start = NULL; in ftrace_profile_pages_init() 1566 static unsigned long ftrace_location_range(unsigned long start, unsigned long end) in ftrace_location_range() argument 1572 key.ip = start; in ftrace_location_range() 1577 start >= (pg->records[pg->index - 1].ip + MCOUNT_INSN_SIZE)) in ftrace_location_range() [all …]
|
D | trace_events.c | 1266 .start = f_start, 1697 int start = i; in ftrace_event_pid_write() local 1703 if (start != i) { in ftrace_event_pid_write() 1705 memmove(&pid_list->pids[start], &pid_list->pids[i], in ftrace_event_pid_write() 1707 pid_list->nr_pids -= i - start; in ftrace_event_pid_write() 1708 i = start; in ftrace_event_pid_write() 1710 pid_list->nr_pids = start; in ftrace_event_pid_write() 1774 .start = t_start, 1781 .start = s_start, 1788 .start = p_start, [all …]
|
/kernel/power/ |
D | swap.c | 124 unsigned long start; member 140 if (swap_offset < ext->start) { in swsusp_extents_insert() 142 if (swap_offset == ext->start - 1) { in swsusp_extents_insert() 143 ext->start--; in swsusp_extents_insert() 164 ext->start = swap_offset; in swsusp_extents_insert() 206 for (offset = ext->start; offset <= ext->end; offset++) in free_all_swap_pages() 533 ktime_t start; in save_image() local 544 start = ktime_get(); in save_image() 563 swsusp_show_speed(start, stop, nr_to_write, "Wrote"); in save_image() 669 ktime_t start; in save_image_lzo() local [all …]
|
D | process.c | 35 struct timeval start, end; in try_to_freeze_tasks() local 44 do_gettimeofday(&start); in try_to_freeze_tasks() 92 elapsed_msecs64 = timeval_to_ns(&end) - timeval_to_ns(&start); in try_to_freeze_tasks()
|
D | snapshot.c | 430 unsigned long start, unsigned long end) in create_zone_bm_rtree() argument 436 pages = end - start; in create_zone_bm_rtree() 443 zone->start_pfn = start; in create_zone_bm_rtree() 490 unsigned long start; member 531 if (&ext->hook == list || zone_end < ext->start) { in create_mem_extents() 540 new_ext->start = zone_start; in create_mem_extents() 547 if (zone_start < ext->start) in create_mem_extents() 548 ext->start = zone_start; in create_mem_extents() 555 if (zone_end < cur->start) in create_mem_extents() 589 ext->start, ext->end); in memory_bm_create() [all …]
|
D | hibernate.c | 236 void swsusp_show_speed(ktime_t start, ktime_t stop, in swsusp_show_speed() argument 245 diff = ktime_sub(stop, start); in swsusp_show_speed() 906 char *start = buf; in disk_show() local 933 return buf-start; in disk_show()
|
/kernel/gcov/ |
D | base.c | 132 static inline int within(void *addr, void *start, unsigned long size) in within() argument 134 return ((addr >= start) && (addr < start + size)); in within()
|
/kernel/time/ |
D | alarmtimer.c | 320 void alarm_start(struct alarm *alarm, ktime_t start) in alarm_start() argument 326 alarm->node.expires = start; in alarm_start() 338 void alarm_start_relative(struct alarm *alarm, ktime_t start) in alarm_start_relative() argument 342 start = ktime_add_safe(start, base->gettime()); in alarm_start_relative() 343 alarm_start(alarm, start); in alarm_start_relative()
|