/tools/perf/util/ |
D | spark.c | 17 unsigned long min = ULONG_MAX, max = 0, f; in print_spark() local 22 if (val[i] > max) in print_spark() 23 max = val[i]; in print_spark() 25 f = ((max - min) << SPARK_SHIFT) / (NUM_SPARKS - 1); in print_spark()
|
D | mem2node.c | 52 int i, j = 0, max = 0; in mem2node__init() local 59 max += bitmap_weight(n->set, n->size); in mem2node__init() 62 entries = zalloc(sizeof(*entries) * max); in mem2node__init()
|
D | stat.h | 17 u64 max, min; member 164 stats->max = 0; in init_stats()
|
/tools/power/cpupower/utils/ |
D | cpufreq-set.c | 157 if (!new_pol->max) in do_new_policy() 158 new_pol->max = cur_pol->max; in do_new_policy() 184 else if (new_pol->max) in do_one_cpu() 185 return cpufreq_modify_policy_max(cpu, new_pol->max); in do_one_cpu() 208 .max = 0, in cmd_freq_set() 238 if (new_pol.max) in cmd_freq_set() 241 new_pol.max = string_to_frequency(optarg); in cmd_freq_set() 242 if (new_pol.max == 0) { in cmd_freq_set()
|
D | cpufreq-info.c | 62 unsigned long min, max; in proc_cpufreq_output() local 72 if (cpufreq_get_hardware_limits(cpu, &min, &max)) { in proc_cpufreq_output() 73 max = 0; in proc_cpufreq_output() 75 min_pctg = (policy->min * 100) / max; in proc_cpufreq_output() 76 max_pctg = (policy->max * 100) / max; in proc_cpufreq_output() 79 cpu , policy->min, max ? min_pctg : 0, policy->max, in proc_cpufreq_output() 80 max ? max_pctg : 0, policy->governor); 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() 322 print_speed(max); in get_hardware_limits() [all …]
|
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | Util.py | 40 min, max, avg, count = dict[key] 43 if value > max: 44 max = value 46 dict[key] = (min, max, avg, count + 1)
|
/tools/testing/selftests/exec/ |
D | Makefile | 31 $(CC) $(CFLAGS) $(LDFLAGS) -Wl,-z,max-page-size=0x1000 -pie -static $< -o $@ 33 $(CC) $(CFLAGS) $(LDFLAGS) -Wl,-z,max-page-size=0x200000 -pie -static $< -o $@ 35 $(CC) $(CFLAGS) $(LDFLAGS) -Wl,-z,max-page-size=0x1000000 -pie -static $< -o $@
|
/tools/testing/selftests/timers/ |
D | adjtick.c | 171 long tick, max, interval, err; in main() local 186 max = systick/10; /* +/- 10% */ in main() 187 interval = max/4; /* in 4 steps each side */ in main() 189 for (tick = (systick - max); tick < (systick + max); tick += interval) { in main()
|
/tools/power/cpupower/lib/ |
D | cpufreq.c | 199 unsigned long *max) in cpufreq_get_hardware_limits() argument 201 if ((!min) || (!max)) in cpufreq_get_hardware_limits() 208 *max = sysfs_cpufreq_get_one_value(cpu, CPUINFO_MAX_FREQ); in cpufreq_get_hardware_limits() 209 if (!*max) in cpufreq_get_hardware_limits() 241 policy->max = sysfs_cpufreq_get_one_value(cpu, SCALING_MAX_FREQ); in cpufreq_get_policy() 242 if ((!policy->min) || (!policy->max)) { in cpufreq_get_policy() 592 char max[SYSFS_PATH_MAX]; in cpufreq_set_policy() local 601 if (policy->max < policy->min) in cpufreq_set_policy() 608 snprintf(max, SYSFS_PATH_MAX, "%lu", policy->max); in cpufreq_set_policy() 611 write_max_first = (old_min && (policy->max < old_min) ? 0 : 1); in cpufreq_set_policy() [all …]
|
D | cpufreq.h | 13 unsigned long max; member 79 unsigned long *max);
|
/tools/include/linux/ |
D | rbtree_augmented.h | 127 RBTYPE max = RBCOMPUTE(node); \ 130 if (child->RBAUGMENTED > max) \ 131 max = child->RBAUGMENTED; \ 135 if (child->RBAUGMENTED > max) \ 136 max = child->RBAUGMENTED; \ 138 if (exit && node->RBAUGMENTED == max) \ 140 node->RBAUGMENTED = max; \
|
D | kernel.h | 39 #ifndef max 40 #define max(x, y) ({ \ macro
|
/tools/perf/scripts/python/ |
D | futex-contention.py | 55 min, max, avg, count = lock_waits[tid, lock] 57 (process_names[tid], tid, lock, count, avg, max, min))
|
/tools/testing/selftests/bpf/progs/ |
D | bpf_dctcp.c | 80 return max(tp->snd_cwnd - ((tp->snd_cwnd * ca->dctcp_alpha) >> 11U), 2U); in BPF_PROG() 104 delivered_ce /= max(1U, delivered); in BPF_PROG() 119 tp->snd_ssthresh = max(tp->snd_cwnd >> 1U, 2U); in dctcp_react_to_loss() 194 return max(tcp_sk(sk)->snd_cwnd, ca->loss_cwnd); in BPF_PROG()
|
/tools/power/cpupower/utils/helpers/ |
D | bitmask.c | 17 #define max(a, b) ((a) > (b) ? (a) : (b)) macro 252 len += snprintf(buf + len, max(buflen - len, 0), ","); in emit() 254 len += snprintf(buf + len, max(buflen - len, 0), "%d", rbot); in emit() 256 len += snprintf(buf + len, max(buflen - len, 0), "%d-%d", in emit()
|
/tools/testing/selftests/drivers/net/mlxsw/ |
D | sch_red_ets.sh | 31 limit 1000000 min $BACKLOG1 max $((BACKLOG1 + 1)) \ 34 limit 1000000 min $BACKLOG2 max $((BACKLOG2 + 1)) \
|
D | sch_red_root.sh | 21 limit 1000000 min $BACKLOG max $((BACKLOG + 1)) \
|
/tools/testing/selftests/vm/ |
D | mlock-random-test.c | 25 int set_cap_limits(rlim_t max) in set_cap_limits() argument 30 new.rlim_cur = max; in set_cap_limits() 31 new.rlim_max = max; in set_cap_limits()
|
/tools/testing/selftests/intel_pstate/ |
D | run.sh | 98 cpupower frequency-set -g powersave --max=${freq}MHz >& /dev/null 102 [ $EVALUATE_ONLY -eq 0 ] && cpupower frequency-set -g powersave --max=${max_freq}MHz >& /dev/null
|
/tools/testing/selftests/kvm/x86_64/ |
D | vmx_tsc_adjust_test.c | 63 static void check_ia32_tsc_adjust(int64_t max) in check_ia32_tsc_adjust() argument 69 GUEST_ASSERT(adjust <= max); in check_ia32_tsc_adjust()
|
/tools/lib/perf/ |
D | cpumap.c | 280 int i, max = -1; in perf_cpu_map__max() local 283 if (map->map[i] > max) in perf_cpu_map__max() 284 max = map->map[i]; in perf_cpu_map__max() 287 return max; in perf_cpu_map__max()
|
/tools/iio/ |
D | iio_generic_buffer.c | 55 int i = 0, max = 0; in size_from_channelarray() local 59 if (channels[i].bytes > max) in size_from_channelarray() 60 max = channels[i].bytes; in size_from_channelarray() 75 misalignment = bytes % max; in size_from_channelarray() 77 bytes += max - misalignment; in size_from_channelarray()
|
/tools/testing/selftests/net/mptcp/ |
D | pm_nl_ctl.c | 86 static int do_nl_req(int fd, struct nlmsghdr *nh, int len, int max) in do_nl_req() argument 98 if (max == 0) in do_nl_req() 102 rem = ret = recvfrom(fd, data, max, 0, (void *)&nladdr, &addr_len); in do_nl_req() 507 uint32_t max; in print_limits() local 529 memcpy(&max, RTA_DATA(attrs), 4); in print_limits() 531 "subflows" : "accept", max); in print_limits()
|
/tools/perf/Documentation/ |
D | perf-trace.txt | 141 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 183 --max-events=N:: 197 --max-stack:: 285 $ perf trace -e open* --max-events 4 286 [root@jouet perf]# trace -e open* --max-events 4 295 # perf trace -F min --max-stack=7 --max-events 1 sleep 1 308 # perf trace -F min --call-graph=dwarf --max-events 1 --cpu 0 329 …ce -e sched:*switch/nr=2/,block:*_plug/nr=4/,block:*_unplug/nr=1/,net:*dev_queue/nr=3,max-stack=16/
|
/tools/testing/selftests/filesystems/incfs/ |
D | utils.h | 23 unsigned int rnd(unsigned int max, unsigned int *seed);
|