Home
last modified time | relevance | path

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

12345678

/tools/testing/selftests/timers/
A 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/
A 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
A Dtests.conf55 MIN_CONFIG = ${CONFIG_DIR}/config-min-net
66 MIN_CONFIG = ${CONFIG_DIR}/config-min
/tools/perf/util/
A Dspark.c15 unsigned long min = ULONG_MAX, max = 0, f; in print_spark() local
18 if (val[i] < min) in print_spark()
19 min = val[i]; in print_spark()
23 f = ((max - min) << SPARK_SHIFT) / (NUM_SPARKS - 1); in print_spark()
28 ticks[((val[i] - min) << SPARK_SHIFT) / f]); in print_spark()
A Dbpf_ftrace.c105 skel->bss->min = INT64_MAX; in perf_ftrace__latency_prepare_bpf()
195 stats->min = skel->bss->min; in perf_ftrace__latency_read_bpf()
200 stats->min /= 1000; in perf_ftrace__latency_read_bpf()
/tools/power/cpupower/utils/
A 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()
A 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()
280 unsigned long min, max; in get_hardware_limits() local
282 if (cpufreq_get_hardware_limits(cpu, &min, &max)) { in get_hardware_limits()
289 print_speed(min, no_rounding); in get_hardware_limits()
294 printf("%lu %lu\n", min, max); in get_hardware_limits()
323 print_speed(policy->min, no_rounding); in get_policy()
/tools/testing/selftests/drivers/net/mlxsw/
A Dqos_lib.sh6 local min=$1; shift
9 if ((rate > min)); then
13 echo "$what $(humanize $ir) < $(humanize $min)" > /dev/stderr
A Dsch_red_ets.sh37 limit 1000000 min $BACKLOG1 max $((BACKLOG1 + 1)) \
46 limit 1000000 min $BACKLOG2 max $((BACKLOG2 + 1)) \
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
A DUtil.py40 min, max, avg, count = dict[key]
41 if value < min:
42 min = value
46 dict[key] = (min, max, avg, count + 1)
/tools/include/linux/
A Dkernel.h37 #ifndef min
38 #define min(x, y) ({ \ macro
46 #define min_t(type, x, y) min((type)x, (type)y)
47 #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
/tools/testing/selftests/cgroup/
A Dmemcg_protection.m11 % same. It simulates only non-low reclaim and assumes all memory.min = 0.
47 u = min(c, n);
51 protected = min(n, c); % start with nominal
52 e = protected * min(1, E / siblings); % normalize overcommit
/tools/power/cpupower/lib/
A Dcpufreq.c225 unsigned long *min, in cpufreq_get_hardware_limits() argument
228 if ((!min) || (!max)) in cpufreq_get_hardware_limits()
231 *min = sysfs_cpufreq_get_one_value(cpu, CPUINFO_MIN_FREQ); in cpufreq_get_hardware_limits()
232 if (!*min) in cpufreq_get_hardware_limits()
267 policy->min = sysfs_cpufreq_get_one_value(cpu, SCALING_MIN_FREQ); in cpufreq_get_policy()
269 if ((!policy->min) || (!policy->max)) { in cpufreq_get_policy()
618 char min[SYSFS_PATH_MAX]; in cpufreq_set_policy() local
628 if (policy->max < policy->min) in cpufreq_set_policy()
634 snprintf(min, SYSFS_PATH_MAX, "%lu", policy->min); in cpufreq_set_policy()
647 ret = sysfs_cpufreq_write_one_value(cpu, WRITE_SCALING_MIN_FREQ, min, in cpufreq_set_policy()
[all …]
A Dcpufreq.h12 unsigned long min; member
86 unsigned long *min,
/tools/testing/selftests/filesystems/overlayfs/
A Ddev_in_maps.c33 uint32_t maj, min; in get_file_dev_and_inode() local
37 &start, &end, &maj, &min, &ino) != 5) in get_file_dev_and_inode()
41 stx->stx_dev_minor = min; in get_file_dev_and_inode()
/tools/testing/selftests/ublk/
A Dutils.h7 #ifndef min
8 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
/tools/testing/selftests/bpf/progs/
A Dtcp_ca_write_sk_pacing.c11 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
42 sk->sk_pacing_rate = min(rate, sk->sk_max_pacing_rate); in BPF_PROG()
A Dbpf_dctcp.c16 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
21 __x == 0 ? __y : ((__y == 0) ? __x : min(__x, __y)); })
102 ca->dctcp_alpha = min(dctcp_alpha_on_init, DCTCP_MAX_ALPHA); in BPF_PROG()
147 alpha = min(alpha + delivered_ce, DCTCP_MAX_ALPHA); in BPF_PROG()
A Dbpf_cc_cubic.c25 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
73 sk->sk_pacing_rate = min(rate, sk->sk_max_pacing_rate); in tcp_update_pacing_rate()
97 sndcnt = min(delta, sndcnt); in tcp_cwnd_reduction()
/tools/perf/scripts/python/
A 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/
A Dfailcmd.sh52 --ignore-gfp-highmem=value, --min-order=value
102 LONGOPTS=$LONGOPTS,ignore-gfp-wait:,ignore-gfp-highmem:,min-order:
206 --min-order)
207 echo $2 > $FAULTATTR/min-order
/tools/perf/util/bpf_skel/
A Dfunc_latency.bpf.c45 __s64 min; variable
125 if (delta < min) in update_latency()
126 min = delta; in update_latency()
/tools/lib/
A Dfind_bit.c34 sz = min(idx * BITS_PER_LONG + __ffs(MUNGE(val)), sz); \
65 sz = min(idx * BITS_PER_LONG + __ffs(MUNGE(tmp)), sz); \
/tools/testing/selftests/net/tcp_ao/
A Dbench-lookups.c73 uint64_t min; member
113 st->min = st->max = nsec; in measure_call()
115 if (st->min > nsec) in measure_call()
116 st->min = nsec; in measure_call()
205 desc, nr, bs->min / 1000000, bs->max / 1000000, in test_print_stats()
/tools/testing/selftests/powerpc/scripts/
A Dhmi.sh77 echo "Haven't seen expected $expected_hmis recoveries after 1 min. Aborting."

Completed in 28 milliseconds

12345678