Searched refs:MIN (Results 1 – 17 of 17) sorted by relevance
| /tools/testing/selftests/power_supply/ |
| A D | helpers.sh | 91 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 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 356 | MIN '(' expr ',' expr ')'
|
| A D | expr.l | 120 min { return MIN; }
|
| A D | demangle-rust-v0.c | 322 size_t t = MIN(MAX(biased, t_min), t_max); in punycode_decode()
|
| /tools/testing/selftests/net/mptcp/ |
| A D | mptcp_sockopt.c | 126 #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 D | arena_spin_lock.c | 57 nthreads = MIN(get_nprocs(), ARRAY_SIZE(thread_id)); in test_arena_spin_lock_size()
|
| A D | snprintf.c | 96 memcpy(skel->rodata->fmt, fmt, MIN(strlen(fmt) + 1, 10)); in load_single_snprintf()
|
| A D | bpf_iter.c | 1517 MIN(read_size, CMP_BUFFER_SIZE - len)); in test_task_vma_common()
|
| /tools/testing/selftests/breakpoints/ |
| A D | breakpoint_test_arm64.c | 217 result = run_test(size, MIN(size, 8), wr, wp); in main()
|
| /tools/testing/selftests/mm/ |
| A D | mremap_test.c | 25 #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 D | test_cpu.c | 692 = 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 D | network_helpers.c | 695 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 D | code-reading.c | 168 written_bytes = MIN(read_bytes, *len - off); in read_objdump_output()
|
| /tools/testing/selftests/mqueue/ |
| A D | mq_perf_tests.c | 565 cpus_online = MIN(MAX_CPUS, sysconf(_SC_NPROCESSORS_ONLN)); in main()
|
| /tools/testing/selftests/net/ |
| A D | nettest.c | 51 #ifndef MIN 52 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
|
| /tools/testing/selftests/seccomp/ |
| A D | seccomp_bpf.c | 64 #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 D | builtin-c2c.c | 440 width = MIN(width, SYMBOL_WIDTH); in symbol_width()
|
Completed in 65 milliseconds