/kernel/time/ |
D | test_udelay.c | 30 int min = 0, max = 0, fail_count = 0; in udelay_test_single() local 46 if (i == 0 || time_passed < min) in udelay_test_single() 47 min = time_passed; in udelay_test_single() 60 (usecs * 1000) - allowed_error_ns, min, avg, max); in udelay_test_single()
|
D | alarmtimer.c | 244 ktime_t min, now, expires; in alarmtimer_suspend() local 251 min = freezer_delta; in alarmtimer_suspend() 274 if (!min || (delta < min)) { in alarmtimer_suspend() 276 min = delta; in alarmtimer_suspend() 280 if (min == 0) in alarmtimer_suspend() 283 if (ktime_to_ns(min) < 2 * NSEC_PER_SEC) { in alarmtimer_suspend() 294 now = ktime_add(now, min); in alarmtimer_suspend()
|
D | timekeeping_debug.c | 49 int bin = min(fls(t->tv_sec), NUM_BINS-1); in tk_debug_account_sleep_time()
|
D | ntp.c | 341 freq_adj = min(freq_adj + time_freq, MAXFREQ_SCALED); in ntp_update_offset() 675 time_freq = min(time_freq, MAXFREQ_SCALED); in process_adjtimex_modes() 691 time_constant = min(time_constant, (long)MAXTC); in process_adjtimex_modes()
|
D | time.c | 435 const unsigned int min, const unsigned int sec) in mktime64() argument 449 )*60 + min /* now have minutes */ in mktime64()
|
D | timer.c | 2079 void __sched usleep_range(unsigned long min, unsigned long max) in usleep_range() argument 2081 ktime_t exp = ktime_add_us(ktime_get(), min); in usleep_range() 2082 u64 delta = (u64)(max - min) * NSEC_PER_USEC; in usleep_range()
|
/kernel/bpf/ |
D | tnum.c | 21 struct tnum tnum_range(u64 min, u64 max) in tnum_range() argument 23 u64 chi = min ^ max, delta; in tnum_range() 34 return TNUM(min & ~delta, delta); in tnum_range() 194 str[min(size - 1, (size_t)64)] = 0; in tnum_sbin()
|
/kernel/irq/ |
D | timings.c | 284 irqts->count = min(IRQ_TIMINGS_SIZE, \ 384 int index, i, period_max, count, start, min = INT_MAX; in __irq_timings_next_event() local 425 min = min_t(int, irqs->timings[i], min); in __irq_timings_next_event() 430 return irqs->last_ts + irqs->ema_time[min]; in __irq_timings_next_event()
|
D | debugfs.c | 187 size = min(sizeof(buf) - 1, count); in irq_debug_write()
|
D | affinity.c | 513 return resv + min(set_vecs, maxvec - resv); in irq_calc_affinity_vectors()
|
/kernel/ |
D | resource.c | 48 resource_size_t min, max, align; member 386 res->end = min(end, p->end); in find_next_iomem_res() 579 static void resource_clip(struct resource *res, resource_size_t min, in resource_clip() argument 582 if (res->start < min) in resource_clip() 583 res->start = min; in resource_clip() 618 resource_clip(&tmp, constraint->min, constraint->max); in __find_resource() 720 resource_size_t size, resource_size_t min, in allocate_resource() argument 734 constraint.min = min; in allocate_resource()
|
D | range.c | 44 common_end = min(range[i].end, end); in add_range_with_merge() 49 start = min(range[i].start, start); in add_range_with_merge()
|
D | sysctl.c | 2669 int *min; member 2690 if ((param->min && *param->min > tmp) || in do_proc_dointvec_minmax_conv() 2719 .min = (int *) table->extra1, in proc_dointvec_minmax() 2736 unsigned int *min; member 2755 if ((param->min && *param->min > tmp) || in do_proc_douintvec_minmax_conv() 2788 .min = (unsigned int *) table->extra1, in proc_douintvec_minmax() 2862 unsigned long *i, *min, *max; in __do_proc_doulongvec_minmax() local 2873 min = (unsigned long *) table->extra1; in __do_proc_doulongvec_minmax() 2907 if ((min && val < *min) || (max && val > *max)) { in __do_proc_doulongvec_minmax()
|
D | profile.c | 291 pc = min((pc - (unsigned long)_stext) >> prof_shift, prof_len - 1); in do_profile_hits() 390 atomic_add(nr_hits, &prof_buffer[min(pc, prof_len - 1)]); in do_profile_hits()
|
D | kexec_core.c | 818 uchunk = min(ubytes, mchunk); in kimage_load_normal_segment() 880 uchunk = min(ubytes, mchunk); in kimage_load_crash_segment() 1097 align = min(roundup_pow_of_two(sizeof(note_buf_t)), PAGE_SIZE); in crash_notes_memory_init()
|
D | params.c | 397 unsigned int min, unsigned int max, in param_array() argument 436 if (*num < min) { in param_array() 437 pr_err("%s: needs at least %i arguments\n", name, min); in param_array()
|
/kernel/locking/ |
D | locktorture.c | 692 long max = 0, min = statp ? statp[0].n_lock_acquired : 0; in __torture_print_stats() local 702 if (min > statp[i].n_lock_fail) in __torture_print_stats() 703 min = statp[i].n_lock_fail; in __torture_print_stats() 708 sum, max, min, max / 2 > min ? "???" : "", in __torture_print_stats()
|
/kernel/events/ |
D | uprobes.c | 1267 find_node_in_range(struct inode *inode, loff_t min, loff_t max) in find_node_in_range() argument 1281 else if (min > u->offset) in find_node_in_range() 1299 loff_t min, max; in build_probe_list() local 1304 min = vaddr_to_offset(vma, start); in build_probe_list() 1305 max = min + (end - start) - 1; in build_probe_list() 1308 n = find_node_in_range(inode, min, max); in build_probe_list() 1312 if (u->inode != inode || u->offset < min) in build_probe_list() 1407 loff_t min, max; in vma_has_uprobes() local 1413 min = vaddr_to_offset(vma, start); in vma_has_uprobes() 1414 max = min + (end - start) - 1; in vma_has_uprobes() [all …]
|
D | internal.h | 133 size = min(handle->size, len); \
|
D | ring_buffer.c | 309 rb->watermark = min(max_size, watermark); in ring_buffer_init() 666 order = min(max_order, ilog2(nr_pages - rb->aux_nr_pages)); in rb_alloc_aux()
|
/kernel/sched/ |
D | psi.c | 660 sample = min(delta, (u32)jiffies_to_nsecs(1)); in record_times() 1072 group->poll_min_period = min(group->poll_min_period, in psi_trigger_create() 1109 period = min(period, div_u64(tmp->win.size, in psi_trigger_destroy() 1202 buf_size = min(nbytes, sizeof(buf)); in psi_write()
|
D | fair.c | 1878 interval = min(interval, msecs_to_jiffies(p->numa_scan_period) / 16); in numa_migrate_preferred() 1950 p->numa_scan_period = min(p->numa_scan_period_max, in update_task_scan_period() 2578 end = min(end, vma->vm_end); in task_numa_work() 3328 runnable_sum = min(runnable_sum, (long)LOAD_AVG_MAX); in update_tg_cfs_runnable() 3340 runnable_sum = min(se->avg.load_sum, load_sum); in update_tg_cfs_runnable() 4405 amount = min(cfs_b->runtime, min_amount); in assign_cfs_rq_runtime() 6207 min_cap = min(capacity_orig_of(prev_cpu), capacity_orig_of(cpu)); in wake_cap() 6255 return min(util, capacity_orig_of(cpu)); in cpu_util_next() 6425 best_delta = min(best_delta, prev_delta); in find_energy_efficient_cpu() 7933 min_capacity = min(capacity, min_capacity); in update_group_capacity() [all …]
|
D | cputime.c | 82 delta = min(irqtime->tick_delta, maxtime); in irqtime_tick_accounted() 249 steal = min(steal, maxtime); in steal_account_process_time()
|
/kernel/trace/ |
D | Kconfig | 698 last=632 first=3672 max=632 min=632 avg=316 std=446 std^2=199712 699 last=278 first=3672 max=632 min=278 avg=303 std=316 std^2=100337 700 last=277 first=3672 max=632 min=277 avg=296 std=258 std^2=67064 701 last=273 first=3672 max=632 min=273 avg=292 std=224 std^2=50411 702 last=273 first=3672 max=632 min=273 avg=288 std=200 std^2=40389 703 last=281 first=3672 max=632 min=273 avg=287 std=183 std^2=33666
|
/kernel/dma/ |
D | contiguous.c | 128 selected_size = min(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve()
|