/kernel/gcov/ |
H A D | base.c | 117 static inline int within(void *addr, void *start, unsigned long size) argument 119 return ((addr >= start) && (addr < start + size));
|
/kernel/power/ |
H A D | process.c | 34 struct timeval start, end; local 43 do_gettimeofday(&start); 91 elapsed_msecs64 = timeval_to_ns(&end) - timeval_to_ns(&start);
|
H A D | hibernate.c | 122 * platform_begin - Call platform to start hibernation. 230 * @start: Starting event. 232 * @nr_pages: Number of memory pages processed between @start and @stop. 235 void swsusp_show_speed(struct timeval *start, struct timeval *stop, argument 243 elapsed_centisecs64 = timeval_to_ns(stop) - timeval_to_ns(start); 912 char *start = buf; local 939 return buf-start;
|
H A D | swap.c | 115 unsigned long start; member in struct:swsusp_extent 131 if (swap_offset < ext->start) { 133 if (swap_offset == ext->start - 1) { 134 ext->start--; 155 ext->start = swap_offset; 197 for (offset = ext->start; offset <= ext->end; offset++) 448 struct timeval start; local 458 do_gettimeofday(&start); 477 swsusp_show_speed(&start, &stop, nr_to_write, "Wrote"); 486 atomic_t ready; /* ready to start fla 583 struct timeval start; local 968 struct timeval start; local 1070 struct timeval start; local [all...] |
H A D | snapshot.c | 245 * pfns that correspond to the start and end of the represented zone. 249 * It also contains the pfns that correspond to the start and end of 288 unsigned long start_pfn; /* Zone start page frame */ 429 unsigned long start, unsigned long end) 435 pages = end - start; 442 zone->start_pfn = start; 489 unsigned long start; member in struct:mem_extent 530 if (&ext->hook == list || zone_end < ext->start) { 539 new_ext->start = zone_start; 546 if (zone_start < ext->start) 427 create_zone_bm_rtree(gfp_t gfp_mask, int safe_needed, struct chain_allocator *ca, unsigned long start, unsigned long end) argument 1579 struct timeval start, stop; local [all...] |
/kernel/ |
H A D | range.c | 10 int add_range(struct range *range, int az, int nr_range, u64 start, u64 end) argument 12 if (start >= end) 19 range[nr_range].start = start; 28 u64 start, u64 end) 32 if (start >= end) 35 /* get new start/end: */ 42 common_start = max(range[i].start, start); 47 /* new start/en 27 add_range_with_merge(struct range *range, int az, int nr_range, u64 start, u64 end) argument 63 subtract_range(struct range *range, int az, u64 start, u64 end) argument [all...] |
H A D | delayacct.c | 49 * Finish delay accounting for a statistic using its timestamps (@start), 52 static void delayacct_end(u64 *start, u64 *total, u32 *count) argument 54 s64 ns = ktime_get_ns() - *start;
|
H A D | jump_label.c | 48 jump_label_sort_entries(struct jump_entry *start, struct jump_entry *stop) argument 52 size = (((unsigned long)stop - (unsigned long)start) 54 sort(start, size, sizeof(struct jump_entry), jump_label_cmp, NULL); 128 static int addr_conflict(struct jump_entry *entry, void *start, void *end) argument 131 entry->code + JUMP_LABEL_NOP_SIZE > (unsigned long)start) 138 struct jump_entry *iter_stop, void *start, void *end) 144 if (addr_conflict(iter, start, end)) 231 static int __jump_label_mod_text_reserved(void *start, void *end) argument 235 mod = __module_text_address((unsigned long)start); 243 start, en 137 __jump_label_text_reserved(struct jump_entry *iter_start, struct jump_entry *iter_stop, void *start, void *end) argument 428 jump_label_text_reserved(void *start, void *end) argument [all...] |
H A D | resource.c | 30 .start = 0, 38 .start = 0, 115 width, (unsigned long long) r->start, 122 .start = r_start, 209 resource_size_t start = new->start; local 213 if (end < start) 215 if (start < root->start) 222 if (!tmp || tmp->start > en 344 resource_size_t start, end; local 394 walk_iomem_res(char *name, unsigned long flags, u64 start, u64 end, void *arg, int (*func)(u64, u64, void *)) argument 423 walk_system_ram_res(u64 start, u64 end, void *arg, int (*func)(u64, u64, void *)) argument 502 region_is_ram(resource_size_t start, unsigned long size) argument 725 lookup_resource(struct resource *root, resource_size_t start) argument 864 __adjust_resource(struct resource *res, resource_size_t start, resource_size_t size) argument 911 adjust_resource(struct resource *res, resource_size_t start, resource_size_t size) argument 923 __reserve_region_with_split(struct resource *root, resource_size_t start, resource_size_t end, const char *name) argument 981 reserve_region_with_split(struct resource *root, resource_size_t start, resource_size_t end, const char *name) argument 1051 __request_region(struct resource *parent, resource_size_t start, resource_size_t n, const char *name, int flags) argument 1114 __check_region(struct resource *parent, resource_size_t start, resource_size_t n) argument 1137 __release_region(struct resource *parent, resource_size_t start, resource_size_t n) argument 1199 release_mem_region_adjustable(struct resource *parent, resource_size_t start, resource_size_t size) argument 1356 resource_size_t start; member in struct:region_devres 1375 __devm_request_region(struct device *dev, struct resource *parent, resource_size_t start, resource_size_t n, const char *name) argument 1401 __devm_release_region(struct device *dev, struct resource *parent, resource_size_t start, resource_size_t n) argument [all...] |
H A D | kexec.c | 74 .start = 0, 80 .start = 0, 139 unsigned long start, unsigned long end); 242 if ((mstart < crashk_res.start) || 291 if ((entry < crashk_res.start) || (entry > crashk_res.end)) 300 image->start = entry; 312 image->control_page = crashk_res.start; 579 image->control_page = crashk_res.start; 623 unsigned long start, 633 if ((end > mstart) && (start < men 622 kimage_is_destination_range(struct kimage *image, unsigned long start, unsigned long end) argument 1508 unsigned long start, end; local 1646 unsigned long long start, end = ULLONG_MAX, size; local 2018 locate_mem_hole_top_down(unsigned long start, unsigned long end, struct kexec_buf *kbuf) argument 2056 locate_mem_hole_bottom_up(unsigned long start, unsigned long end, struct kexec_buf *kbuf) argument 2090 locate_mem_hole_callback(u64 start, u64 end, void *arg) argument [all...] |
H A D | kprobes.c | 2046 static int __init populate_kprobe_blacklist(unsigned long *start, argument 2053 for (iter = start; iter < end; iter++) { 2249 .start = kprobe_seq_start, 2289 .start = kprobe_blacklist_seq_start,
|
H A D | sys.c | 2034 unsigned long start, unsigned long end, 2046 pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT); 2047 *prev = vma_merge(mm, *prev, start, end, vma->vm_flags, vma->anon_vma, 2057 if (start != vma->vm_start) { 2058 error = split_vma(mm, vma, start, 1); 2079 static int prctl_set_vma_anon_name(unsigned long start, unsigned long end, argument 2088 * If the interval [start,end) covers some unmapped address 2092 vma = find_vma_prev(current->mm, start, &prev); 2093 if (vma && start > vma->vm_start) 2097 /* Still start < en 2032 prctl_update_vma_anon_name(struct vm_area_struct *vma, struct vm_area_struct **prev, unsigned long start, unsigned long end, const char __user *name_addr) argument 2133 prctl_set_vma(unsigned long opt, unsigned long start, unsigned long len_in, unsigned long arg) argument 2171 prctl_set_vma(unsigned long opt, unsigned long start, unsigned long len_in, unsigned long arg) argument [all...] |
H A D | cgroup.c | 199 static int cgroup_idr_alloc(struct idr *idr, void *ptr, int start, int end, argument 206 ret = idr_alloc(idr, ptr, start, end, gfp_mask); 1857 * If @root doesn't have any mounts or children, start killing it. 3348 * If a subsystem synchronizes ->css_online() and the start of iteration, a 3415 * If a subsystem synchronizes ->css_online() and the start of iteration, a 3509 * If a subsystem synchronizes ->css_online() and the start of iteration, a 4102 * after a seek to the start). Use a binary-search to find the 4115 * !NULL @of->priv indicates that this isn't the first start() 4124 * Either this is the first start() after open or the matching 4792 * userland visible parts and start killin [all...] |
/kernel/trace/ |
H A D | trace_benchmark.c | 36 u64 start; local 50 start = trace_clock_local(); 57 delta = stop - start;
|
H A D | trace_mmiotrace.c | 66 resource_size_t start, end; local 79 pci_resource_to_user(dev, i, &dev->resource[i], &start, &end); 81 (unsigned long long)(start | 85 pci_resource_to_user(dev, i, &dev->resource[i], &start, &end); 87 dev->resource[i].start < dev->resource[i].end ? 88 (unsigned long long)(end - start) + 1 : 0); 294 .start = mmio_trace_start,
|
H A D | trace_printk.c | 49 void hold_module_trace_bprintk_format(const char **start, const char **end) argument 55 if (start != end) 59 for (iter = start; iter < end; iter++) { 88 const char **start = mod->trace_bprintk_fmt_start; local 89 const char **end = start + mod->num_trace_bprintk_fmt; 92 hold_module_trace_bprintk_format(start, end); 128 * If this is the first pointer or called from start 328 .start = t_start,
|
H A D | trace_stack.c | 79 unsigned long this_size, flags; unsigned long *p, *top, *start; local 130 start = stack; 132 (((unsigned long)start & ~(THREAD_SIZE-1)) + THREAD_SIZE); 145 p = start; 153 start = p + 1; 387 .start = t_start,
|
H A D | trace_syscalls.c | 82 struct syscall_metadata **start; local 87 start = __start_syscalls_metadata; 94 for ( ; start < stop; start++) { 95 if ((*start)->name && arch_syscall_match_sym_name(str, (*start)->name)) 96 return *start;
|
H A D | blktrace.c | 434 * Setup everything required to start tracing 596 int blk_trace_startstop(struct request_queue *q, int start) argument 609 if (start) { 647 int ret, start = 0; local 668 start = 1; 670 ret = blk_trace_startstop(q, start); 1449 .start = blk_tracer_start, 1504 * Setup everything required to start tracing
|
H A D | trace_events.c | 966 /* ->stop() is called even if ->start() fails */ 983 .start = f_start, 1280 .start = t_start, 1287 .start = s_start, 1803 #define for_each_event(event, start, end) \ 1804 for (event = start; \ 1812 struct ftrace_event_call **call, **start, **end; local 1824 start = mod->trace_events; 1827 for_each_event(call, start, end) {
|
H A D | trace.h | 340 * @start: called when tracing is unpaused (echo 1 > tracing_enabled) 359 void (*start)(struct trace_array *tr); member in struct:tracer 487 static __always_inline int trace_test_and_set_recursion(int start, int max) argument 496 bit = trace_get_context_bit() + start;
|
/kernel/irq/ |
H A D | irqdesc.c | 180 static int alloc_descs(unsigned int start, unsigned int cnt, int node, argument 187 desc = alloc_desc(start + i, node, owner); 191 irq_insert_desc(start + i, desc); 194 return start; 198 free_desc(start + i); 201 bitmap_clear(allocated_irqs, start, cnt); 290 static inline int alloc_descs(unsigned int start, unsigned int cnt, int node, argument 296 struct irq_desc *desc = irq_to_desc(start + i); 300 return start; 418 int start, re local [all...] |
/kernel/bpf/ |
H A D | core.c | 139 unsigned int size, hole, start; local 156 start = (prandom_u32() % hole) & ~(alignment - 1); 159 *image_ptr = &hdr->image[start];
|
/kernel/time/ |
H A D | alarmtimer.c | 318 * @start: time to run the alarm 320 int alarm_start(struct alarm *alarm, ktime_t start) argument 327 alarm->node.expires = start; 339 * @start: time relative to now to run the alarm 341 int alarm_start_relative(struct alarm *alarm, ktime_t start) argument 345 start = ktime_add(start, base->gettime()); 346 return alarm_start(alarm, start); 615 /* start the timer */
|
/kernel/events/ |
H A D | uprobes.c | 862 * @offset: offset from the start of the file. 919 * @offset: offset from the start of the file. 948 * @offset: offset from the start of the file. 1023 unsigned long start, unsigned long end, 1031 min = vaddr_to_offset(vma, start); 1032 max = min + (end - start) - 1; 1095 vma_has_uprobes(struct vm_area_struct *vma, unsigned long start, unsigned long end) argument 1103 min = vaddr_to_offset(vma, start); 1104 max = min + (end - start) - 1; 1116 void uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigne argument 1021 build_probe_list(struct inode *inode, struct vm_area_struct *vma, unsigned long start, unsigned long end, struct list_head *head) argument [all...] |