Home
last modified time | relevance | path

Searched refs:min (Results 1 – 25 of 112) sorted by relevance

12345

/tools/testing/selftests/timers/
Dset-tz.c28 int set_tz(int min, int dst) in set_tz() argument
32 tz.tz_minuteswest = min; in set_tz()
61 int min, dst; in main() local
63 min = get_tz_min(); in main()
65 printf("tz_minuteswest started at %i, dst at %i\n", min, dst); in main()
104 set_tz(min, dst); in main()
108 set_tz(min, dst); in main()
/tools/testing/ktest/examples/include/
Dmin-config.conf47 TEST_START IF ${TEST} == min-config
49 OUTPUT_MIN_CONFIG = ${CONFIG_DIR}/config-new-min-net
55 TEST_START IF ${TEST} == min-config && ${MULTI}
57 OUTPUT_MIN_CONFIG = ${CONFIG_DIR}/config-new-min
59 MIN_CONFIG = ${CONFIG_DIR}/config-new-min-net
Dtests.conf55 MIN_CONFIG = ${CONFIG_DIR}/config-min-net
66 MIN_CONFIG = ${CONFIG_DIR}/config-min
/tools/perf/util/
Dspark.c17 unsigned long min = ULONG_MAX, max = 0, f; in print_spark() local
20 if (val[i] < min) in print_spark()
21 min = val[i]; in print_spark()
25 f = ((max - min) << SPARK_SHIFT) / (NUM_SPARKS - 1); in print_spark()
30 ticks[((val[i] - min) << SPARK_SHIFT) / f]); in print_spark()
Ddsos.c17 if (a->min > b->min) return -1; in __dso_id__cmp()
18 if (a->min < b->min) return 1; in __dso_id__cmp()
45 return !id->maj && !id->min && !id->ino && !id->ino_generation; in dso_id__empty()
51 dso->id.min = id->min; in dso__inject_id()
/tools/power/cpupower/utils/
Dcpufreq-set.c154 if (!new_pol->min) in do_new_policy()
155 new_pol->min = cur_pol->min; in do_new_policy()
182 if (new_pol->min) in do_one_cpu()
183 return cpufreq_modify_policy_min(cpu, new_pol->min); in do_one_cpu()
207 .min = 0, in cmd_freq_set()
228 if (new_pol.min) in cmd_freq_set()
231 new_pol.min = string_to_frequency(optarg); in cmd_freq_set()
232 if (new_pol.min == 0) { in cmd_freq_set()
Dcpufreq-info.c62 unsigned long min, max; in proc_cpufreq_output() local
72 if (cpufreq_get_hardware_limits(cpu, &min, &max)) { in proc_cpufreq_output()
75 min_pctg = (policy->min * 100) / max; in proc_cpufreq_output()
79 cpu , policy->min, max ? min_pctg : 0, policy->max, in proc_cpufreq_output()
311 unsigned long min, max; in get_hardware_limits() local
313 if (cpufreq_get_hardware_limits(cpu, &min, &max)) { in get_hardware_limits()
320 print_speed(min); in get_hardware_limits()
325 printf("%lu %lu\n", min, max); in get_hardware_limits()
354 print_speed(policy->min); in get_policy()
/tools/testing/selftests/net/mptcp/
Dmptcp_lib.sh87 local v maj min
96 min=${v#*.}
99 { [ "${maj}" -eq "${exp_maj}" ] && [ "${min}" -ge "${exp_min}" ]; }; then
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DUtil.py40 min, max, avg, count = dict[key]
41 if value < min:
42 min = value
46 dict[key] = (min, max, avg, count + 1)
/tools/lib/
Dfind_bit.c60 return min(start + __ffs(tmp), nbits); in _find_next_bit()
85 return min(idx * BITS_PER_LONG + __ffs(addr[idx]), size); in find_first_bit()
102 return min(idx * BITS_PER_LONG + ffz(addr[idx]), size); in find_first_zero_bit()
/tools/testing/selftests/drivers/net/mlxsw/
Dqos_lib.sh6 local min=$1; shift
9 if ((rate > min)); then
13 echo "$what $(humanize $ir) < $(humanize $min)" > /dev/stderr
Dsch_red_ets.sh31 limit 1000000 min $BACKLOG1 max $((BACKLOG1 + 1)) \
34 limit 1000000 min $BACKLOG2 max $((BACKLOG2 + 1)) \
Dsch_red_root.sh21 limit 1000000 min $BACKLOG max $((BACKLOG + 1)) \
/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h181 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
186 __x == 0 ? __y : ((__y == 0) ? __x : min(__x, __y)); })
190 __u32 cwnd = min(tp->snd_cwnd + acked, tp->snd_ssthresh); in tcp_slow_start()
193 tp->snd_cwnd = min(cwnd, tp->snd_cwnd_clamp); in tcp_slow_start()
229 tp->snd_cwnd = min(tp->snd_cwnd, tp->snd_cwnd_clamp); in tcp_cong_avoid_ai()
/tools/power/cpupower/lib/
Dcpufreq.c198 unsigned long *min, in cpufreq_get_hardware_limits() argument
201 if ((!min) || (!max)) in cpufreq_get_hardware_limits()
204 *min = sysfs_cpufreq_get_one_value(cpu, CPUINFO_MIN_FREQ); in cpufreq_get_hardware_limits()
205 if (!*min) in cpufreq_get_hardware_limits()
240 policy->min = sysfs_cpufreq_get_one_value(cpu, SCALING_MIN_FREQ); in cpufreq_get_policy()
242 if ((!policy->min) || (!policy->max)) { in cpufreq_get_policy()
591 char min[SYSFS_PATH_MAX]; in cpufreq_set_policy() local
601 if (policy->max < policy->min) in cpufreq_set_policy()
607 snprintf(min, SYSFS_PATH_MAX, "%lu", policy->min); in cpufreq_set_policy()
620 ret = sysfs_cpufreq_write_one_value(cpu, WRITE_SCALING_MIN_FREQ, min, in cpufreq_set_policy()
[all …]
Dcpufreq.h12 unsigned long min; member
78 unsigned long *min,
/tools/perf/scripts/python/
Dfutex-contention.py55 min, max, avg, count = lock_waits[tid, lock]
57 (process_names[tid], tid, lock, count, avg, max, min))
/tools/testing/fault-injection/
Dfailcmd.sh52 --ignore-gfp-highmem=value, --min-order=value
94 LONGOPTS=$LONGOPTS,ignore-gfp-wait:,ignore-gfp-highmem:,min-order:
194 --min-order)
195 echo $2 > $FAULTATTR/min-order
/tools/include/linux/
Dkernel.h47 #ifndef min
48 #define min(x, y) ({ \ macro
/tools/testing/selftests/powerpc/scripts/
Dhmi.sh77 echo "Haven't seen expected $expected_hmis recoveries after 1 min. Aborting."
/tools/testing/ktest/examples/
Dtest.conf61 INCLUDE include/min-config.conf
Dkvm.conf92 INCLUDE include/min-config.conf
/tools/testing/selftests/bpf/prog_tests/
Dbpf_tcp_ca.c9 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
69 min(total_bytes - bytes, sizeof(batch)), 0); in server()
162 min(total_bytes - bytes, sizeof(batch)), 0); in do_test()
/tools/lib/traceevent/
Devent-utils.h23 #define min(x, y) ({ \ macro
/tools/perf/Documentation/
Dperf-trace.txt141 Show only a summary of syscalls by thread with min, max, and average times
146 Show all syscalls followed by a summary by thread with min, max, and
161 -F=[all|min|maj]::
162 --pf=[all|min|maj]::
170 --call-graph [mode,type,min[,limit],order[,key][,branch]]::
210 --min-stack::
250 <min|maj>fault [<ip.symbol>+<ip.offset>] => <addr.dso@addr.offset> (<map type><addr level>).
252 - min/maj indicates whether fault event is minor or major;
295 # perf trace -F min --max-stack=7 --max-events 1 sleep 1
306 Trace the next min page page fault to take place on the first CPU:
[all …]

12345