Home
last modified time | relevance | path

Searched refs:MIN (Results 1 – 17 of 17) sorted by relevance

/tools/testing/selftests/power_supply/
A Dhelpers.sh91 MIN=$2
100 if [ "$DATA" -lt "$MIN" ] || [ "$DATA" -gt "$MAX" ]; then
101 ktap_print_msg "'$DATA' is out of range (min=$MIN, max=$MAX)"
/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
356 | MIN '(' expr ',' expr ')'
A Dexpr.l120 min { return MIN; }
A Ddemangle-rust-v0.c322 size_t t = MIN(MAX(biased, t_min), t_max); in punycode_decode()
/tools/testing/selftests/net/mptcp/
A Dmptcp_sockopt.c126 #ifndef MIN
127 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
403 MIN(ti.d.size_kernel, sizeof(struct tcp_info))); in do_getsockopt_tcp_info()
458 MIN(addrs.d.size_kernel, sizeof(struct mptcp_subflow_addrs))); in do_getsockopt_subflow_addrs()
534 MIN(mfi.size_tcpinfo_kernel, sizeof(struct tcp_info))); in do_getsockopt_mptcp_full_info()
537 MIN(mfi.size_sfinfo_kernel, sizeof(struct mptcp_subflow_info))); in do_getsockopt_mptcp_full_info()
/tools/testing/selftests/bpf/prog_tests/
A Darena_spin_lock.c57 nthreads = MIN(get_nprocs(), ARRAY_SIZE(thread_id)); in test_arena_spin_lock_size()
A Dsnprintf.c96 memcpy(skel->rodata->fmt, fmt, MIN(strlen(fmt) + 1, 10)); in load_single_snprintf()
A Dbpf_iter.c1517 MIN(read_size, CMP_BUFFER_SIZE - len)); in test_task_vma_common()
/tools/testing/selftests/breakpoints/
A Dbreakpoint_test_arm64.c217 result = run_test(size, MIN(size, 8), wr, wp); in main()
/tools/testing/selftests/mm/
A Dmremap_test.c25 #ifndef MIN
26 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
750 threshold = MIN(threshold_mb * _1MB, c.region_size); in remap_region()
1100 rand_size = MAX(MIN(threshold_mb * _1MB, in main()
/tools/testing/selftests/cgroup/
A Dtest_cpu.c692 = n_periods * quota_usec + MIN(remainder_usec, quota_usec); in test_cpucg_max()
763 = n_periods * quota_usec + MIN(remainder_usec, quota_usec); in test_cpucg_max_nested()
/tools/testing/selftests/bpf/
A Dnetwork_helpers.c695 MIN(a->bytes - bytes, sizeof(batch)), 0); in send_recv_server()
743 MIN(total_bytes - bytes, sizeof(batch)), 0); in send_recv_data()
/tools/perf/tests/
A Dcode-reading.c168 written_bytes = MIN(read_bytes, *len - off); in read_objdump_output()
/tools/testing/selftests/mqueue/
A Dmq_perf_tests.c565 cpus_online = MIN(MAX_CPUS, sysconf(_SC_NPROCESSORS_ONLN)); in main()
/tools/testing/selftests/net/
A Dnettest.c51 #ifndef MIN
52 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
/tools/testing/selftests/seccomp/
A Dseccomp_bpf.c64 #ifndef MIN
65 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
4616 if (!strncmp("running", line, MIN(7, nread))) in get_proc_syscall()
/tools/perf/
A Dbuiltin-c2c.c440 width = MIN(width, SYMBOL_WIDTH); in symbol_width()

Completed in 65 milliseconds