/kernel/sched/ |
D | cpufreq_schedutil.c | 58 unsigned long max; member 161 unsigned long util, unsigned long max) in get_next_freq() argument 168 trace_android_vh_map_util_freq(util, freq, max, &next_freq, policy, in get_next_freq() 173 freq = map_util_freq(util, freq, max); in get_next_freq() 203 unsigned long max, enum schedutil_type type, in schedutil_cpu_util() argument 211 return max; in schedutil_cpu_util() 220 if (unlikely(irq >= max)) in schedutil_cpu_util() 221 return max; in schedutil_cpu_util() 250 if (util + dl_util >= max) in schedutil_cpu_util() 251 return max; in schedutil_cpu_util() [all …]
|
D | cputime.c | 266 static inline u64 account_other_time(u64 max) in account_other_time() argument 272 accounted = steal_account_process_time(max); in account_other_time() 274 if (accounted < max) in account_other_time() 275 accounted += irqtime_tick_accounted(max - accounted); in account_other_time()
|
D | fair.c | 120 #define fits_capacity(cap, max) ((cap) * 1280 < (max) * 1024) argument 736 slice = max(slice, (u64)sysctl_sched_min_granularity); in sched_slice() 878 max(delta_exec, curr->statistics.exec_max)); in update_curr() 946 max(schedstat_val(se->statistics.wait_max), delta)); in update_stats_wait_end() 1190 return max(smin, period); in task_scan_start() 1213 smax = max(smax, period); in task_scan_max() 1216 return max(smin, smax); in task_scan_max() 1952 imbalance = max(0, dst_running - src_running); in task_numa_find_cpu() 2246 int ratio = max(lr_ratio, ps_ratio); in update_task_scan_period() 2828 start = max(start, vma->vm_start); in task_numa_work() [all …]
|
D | sched.h | 131 __w = max(2UL, __w >> SCHED_FIXEDPOINT_SHIFT); \ 2647 unsigned long max, enum schedutil_type type, 2678 unsigned long max, enum schedutil_type type, in schedutil_cpu_util() argument 2692 unsigned long scale_irq_capacity(unsigned long util, unsigned long irq, unsigned long max) in scale_irq_capacity() argument 2694 util *= (max - irq); in scale_irq_capacity() 2695 util /= max; in scale_irq_capacity() 2707 unsigned long scale_irq_capacity(unsigned long util, unsigned long irq, unsigned long max) in scale_irq_capacity() argument
|
D | stop_task.c | 73 max(curr->se.statistics.exec_max, delta_exec)); in put_prev_task_stop()
|
/kernel/ |
D | latencytop.c | 120 if (lat->time > latency_record[i].max) in account_global_scheduler_latency() 121 latency_record[i].max = lat->time; in account_global_scheduler_latency() 169 lat.max = usecs; in __account_scheduler_latency() 197 if (lat.time > mylat->max) in __account_scheduler_latency() 198 mylat->max = lat.time; in __account_scheduler_latency() 229 lr->count, lr->time, lr->max); in lstats_show()
|
D | ucount.c | 199 int max; in inc_ucount() local 201 max = READ_ONCE(tns->ucount_max[type]); in inc_ucount() 202 if (!atomic_inc_below(&iter->ucount[type], max)) in inc_ucount()
|
D | sysctl.c | 936 int *max; member 957 (param->max && *param->max < tmp)) in do_proc_dointvec_minmax_conv() 986 .max = (int *) table->extra2, in proc_dointvec_minmax() 1003 unsigned int *max; member 1022 (param->max && *param->max < tmp)) in do_proc_douintvec_minmax_conv() 1055 .max = (unsigned int *) table->extra2, in proc_douintvec_minmax() 1082 unsigned int min = 0, max = 255U, val; in proc_dou8vec_minmax() local 1086 .max = &max, in proc_dou8vec_minmax() 1100 max = *(unsigned int *) table->extra2; in proc_dou8vec_minmax() 1101 if (max > 255U) in proc_dou8vec_minmax() [all …]
|
D | params.c | 398 unsigned int min, unsigned int max, in param_array() argument 418 if (*num == max) { in param_array() 419 pr_err("%s: can only take %i arguments\n", name, max); in param_array() 449 return param_array(kp->mod, kp->name, val, 1, arr->max, arr->elem, in param_array_set() 460 for (i = off = 0; i < (arr->num ? *arr->num : arr->max); i++) { in param_array_get() 481 for (i = 0; i < (arr->num ? *arr->num : arr->max); i++) in param_array_free()
|
D | resource.c | 48 resource_size_t min, max, align; member 386 .start = max(start, p->start), in find_next_iomem_res() 583 resource_size_t max) in resource_clip() argument 587 if (res->end > max) in resource_clip() 588 res->end = max; in resource_clip() 621 resource_clip(&tmp, constraint->min, constraint->max); in __find_resource() 724 resource_size_t max, resource_size_t align, in allocate_resource() argument 738 constraint.max = max; in allocate_resource()
|
D | range.c | 44 common_start = max(range[i].start, start); in add_range_with_merge() 51 end = max(range[i].end, end); in add_range_with_merge()
|
D | cfi.c | 60 #define SHADOW_PAGES max(1UL, __SHADOW_PAGES)
|
/kernel/time/ |
D | test_udelay.c | 30 int min = 0, max = 0, fail_count = 0; in udelay_test_single() local 48 if (i == 0 || time_passed > max) in udelay_test_single() 49 max = time_passed; in udelay_test_single() 60 (usecs * 1000) - allowed_error_ns, min, avg, max); in udelay_test_single()
|
D | ntp.c | 343 time_freq = max(freq_adj, -MAXFREQ_SCALED); in ntp_update_offset() 676 time_freq = max(time_freq, -MAXFREQ_SCALED); in process_adjtimex_modes() 692 time_constant = max(time_constant, 0l); in process_adjtimex_modes()
|
D | timer.c | 2070 void __sched usleep_range_state(unsigned long min, unsigned long max, in usleep_range_state() argument 2074 u64 delta = (u64)(max - min) * NSEC_PER_USEC; in usleep_range_state() 2095 void __sched usleep_range(unsigned long min, unsigned long max) in usleep_range() argument 2097 usleep_range_state(min, max, TASK_UNINTERRUPTIBLE); in usleep_range()
|
D | timekeeping.c | 243 u64 now, last, mask, max, delta; in timekeeping_get_delta() local 258 max = tkr->clock->max_cycles; in timekeeping_get_delta() 273 if (unlikely(delta > max)) { in timekeeping_get_delta() 2165 shift = max(0, shift); in timekeeping_advance()
|
/kernel/cgroup/ |
D | rdma.c | 44 int max; member 86 if (rpool->resources[index].max != S32_MAX) in set_resource_limit() 89 if (rpool->resources[index].max == S32_MAX) in set_resource_limit() 92 rpool->resources[index].max = new_max; in set_resource_limit() 285 if (new > rpool->resources[index].max) { in rdmacg_try_charge() 506 value = rpool->resources[i].max; in print_rpool_values()
|
/kernel/locking/ |
D | locktorture.c | 685 long max = 0, min = statp ? statp[0].n_lock_acquired : 0; in __torture_print_stats() local 693 if (max < statp[i].n_lock_acquired) in __torture_print_stats() 694 max = statp[i].n_lock_acquired; in __torture_print_stats() 701 sum, max, min, in __torture_print_stats() 702 !onoff_interval && max / 2 > min ? "???" : "", in __torture_print_stats()
|
D | lockdep.c | 237 if (time > lt->max) in lock_time_inc() 238 lt->max = time; in lock_time_inc() 252 if (src->max > dst->max) in lock_time_add() 253 dst->max = src->max; in lock_time_add() 836 count = max(count, class->name_version); in count_matching_names() 3339 req = max(req, 2); in alloc_chain_hlocks() 3385 add_chain_block(base, max(size, 2)); in free_chain_hlocks()
|
/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()
|
/kernel/events/ |
D | uprobes.c | 1266 find_node_in_range(struct inode *inode, loff_t min, loff_t max) in find_node_in_range() argument 1278 if (max < u->offset) in find_node_in_range() 1298 loff_t min, max; in build_probe_list() local 1304 max = min + (end - start) - 1; in build_probe_list() 1307 n = find_node_in_range(inode, min, max); in build_probe_list() 1318 if (u->inode != inode || u->offset > max) in build_probe_list() 1406 loff_t min, max; in vma_has_uprobes() local 1413 max = min + (end - start) - 1; in vma_has_uprobes() 1416 n = find_node_in_range(inode, min, max); in vma_has_uprobes()
|
/kernel/dma/ |
D | contiguous.c | 192 selected_size = max(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve() 411 phys_addr_t align = PAGE_SIZE << max(MAX_ORDER - 1, pageblock_order); in rmem_cma_setup()
|
/kernel/trace/ |
D | trace_kdb.c | 136 skip_entries = max(cnt + skip_entries, 0); in kdb_ftdump()
|
D | trace_output.c | 1306 int max = iter->ent_size - offsetof(struct print_entry, buf); in trace_print_print() local 1311 trace_seq_printf(s, ": %.*s", max, field->buf); in trace_print_print() 1320 int max = iter->ent_size - offsetof(struct print_entry, buf); in trace_print_raw() local 1324 trace_seq_printf(&iter->seq, "# %lx %.*s", field->ip, max, field->buf); in trace_print_raw()
|
D | Kconfig | 241 bool "Trace max stack" 720 last=632 first=3672 max=632 min=632 avg=316 std=446 std^2=199712 721 last=278 first=3672 max=632 min=278 avg=303 std=316 std^2=100337 722 last=277 first=3672 max=632 min=277 avg=296 std=258 std^2=67064 723 last=273 first=3672 max=632 min=273 avg=292 std=224 std^2=50411 724 last=273 first=3672 max=632 min=273 avg=288 std=200 std^2=40389 725 last=281 first=3672 max=632 min=273 avg=287 std=183 std^2=33666
|