Searched refs:MAX (Results 1 – 18 of 18) sorted by relevance
| /tools/testing/selftests/power_supply/ |
| A D | helpers.sh | 92 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 D | hugetlb-read-hwpoison.c | 20 #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 D | mremap_test.c | 27 #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 D | split_huge_page_test.c | 564 offset += MAX(pmd_pagesize / pagesize / 4, 1 << i)) in main()
|
| A D | uffd-unit-tests.c | 29 #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 D | expr.y | 44 %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 D | expr.l | 119 max { return MAX; }
|
| A D | demangle-rust-v0.c | 322 size_t t = MIN(MAX(biased, t_min), t_max); in punycode_decode()
|
| A D | hist.c | 238 len = MAX(strlen(h->srcline), strlen(sort_srcline.se_header)); in hists__calc_col_len()
|
| A D | evsel.c | 829 static const unsigned long evsel__hw_cache_stat[C(MAX)] = {
|
| /tools/memory-model/Documentation/ |
| A D | control-dependencies.txt | 124 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 D | seccomp_benchmark.c | 88 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 D | bench_htab_mem.c | 183 bpf_map__set_max_entries(map, MAX(8192, 64 * env.nr_cpus)); in htab_mem_setup()
|
| /tools/testing/selftests/net/ |
| A D | nettest.c | 48 #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 D | network_helpers.c | 126 if (listen(fd, opts->backlog ? MAX(opts->backlog, 0) : 1) < 0) { in start_server_addr()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | tc_redirect.c | 1131 if (select(1 + MAX(src_fd, target_fd), &rfds, NULL, NULL, NULL) < 0) { in tun_relay_loop()
|
| /tools/power/x86/turbostat/ |
| A D | turbostat.c | 1290 #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 D | builtin-script.c | 2043 max = MAX(len, max); in evlist__max_name_len()
|
Completed in 822 milliseconds