Home
last modified time | relevance | path

Searched refs:MAX (Results 1 – 18 of 18) sorted by relevance

/tools/testing/selftests/power_supply/
A Dhelpers.sh92 MAX=$3
100 if [ "$DATA" -lt "$MIN" ] || [ "$DATA" -gt "$MAX" ]; then
101 ktap_print_msg "'$DATA' is out of range (min=$MIN, max=$MAX)"
/tools/testing/selftests/mm/
A Dhugetlb-read-hwpoison.c20 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) macro
222 len / 2 + MAX(2 * pagesize, wr_chunk_size), in test_hugetlb_read_hwpoison()
223 len / 2 - MAX(2 * pagesize, wr_chunk_size))) in test_hugetlb_read_hwpoison()
A Dmremap_test.c27 #define MAX(X, Y) ((X) > (Y) ? (X) : (Y)) macro
1097 rand_size = MAX(max_test_variable_region_size, in main()
1100 rand_size = MAX(MIN(threshold_mb * _1MB, in main()
1103 rand_size = MAX(dest_preamble_size, rand_size); in main()
A Dsplit_huge_page_test.c564 offset += MAX(pmd_pagesize / pagesize / 4, 1 << i)) in main()
A Duffd-unit-tests.c29 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) macro
202 nr_pages = MAX(UFFD_TEST_MEM_SIZE, page_size * 2) / page_size; in uffd_setup_environment()
/tools/perf/util/
A Dexpr.y44 %token ID NUMBER MIN MAX IF ELSE LITERAL D_RATIO SOURCE_COUNT HAS_EVENT STRCMP_CPUID_STR EXPR_ERROR
45 %left MIN MAX IF
365 | MAX '(' expr ',' expr ')'
A Dexpr.l119 max { return MAX; }
A Ddemangle-rust-v0.c322 size_t t = MIN(MAX(biased, t_min), t_max); in punycode_decode()
A Dhist.c238 len = MAX(strlen(h->srcline), strlen(sort_srcline.se_header)); in hists__calc_col_len()
A Devsel.c829 static const unsigned long evsel__hw_cache_stat[C(MAX)] = {
/tools/memory-model/Documentation/
A Dcontrol-dependencies.txt124 if (q % MAX) {
132 If MAX is compile-time defined to be 1, then the compiler knows that
133 (q % MAX) must be equal to zero, regardless of the value of "q".
146 make sure that MAX is greater than one, perhaps as follows:
149 BUILD_BUG_ON(MAX <= 1); /* Order load from a with store to b. */
150 if (q % MAX) {
/tools/testing/selftests/seccomp/
A Dseccomp_benchmark.c88 one_bump = one + MAX(one_bump, 2.0); in approx()
89 two_bump = two + MAX(two_bump, 2.0); in approx()
/tools/testing/selftests/bpf/benchs/
A Dbench_htab_mem.c183 bpf_map__set_max_entries(map, MAX(8192, 64 * env.nr_cpus)); in htab_mem_setup()
/tools/testing/selftests/net/
A Dnettest.c48 #ifndef MAX
49 #define MAX(a, b) ((a) > (b) ? (a) : (b)) macro
1275 nfds = interactive ? MAX(fileno(stdin), sd) + 1 : sd + 1; in msg_loop()
/tools/testing/selftests/bpf/
A Dnetwork_helpers.c126 if (listen(fd, opts->backlog ? MAX(opts->backlog, 0) : 1) < 0) { in start_server_addr()
/tools/testing/selftests/bpf/prog_tests/
A Dtc_redirect.c1131 if (select(1 + MAX(src_fd, target_fd), &rfds, NULL, NULL, NULL) < 0) { in tun_relay_loop()
/tools/power/x86/turbostat/
A Dturbostat.c1290 #define MAX(a, b) ((a) > (b) ? (a) : (b)) macro
1989 new_size = MAX(new_size, pcounter->num_domains * 2); in pmt_counter_resize()
4126 average.cores.core_temp_c = MAX(average.cores.core_temp_c, c->core_temp_c); in sum_counters()
4127 average.cores.core_throt_cnt = MAX(average.cores.core_throt_cnt, c->core_throt_cnt); in sum_counters()
4188 average.packages.pkg_temp_c = MAX(average.packages.pkg_temp_c, p->pkg_temp_c); in sum_counters()
9513 …const size_t max_num_domains = MAX(topo.max_cpu_num + 1, MAX(topo.max_core_id + 1, topo.max_packag… in added_perf_counters_init_()
/tools/perf/
A Dbuiltin-script.c2043 max = MAX(len, max); in evlist__max_name_len()

Completed in 822 milliseconds