Home
last modified time | relevance | path

Searched refs:max_size (Results 1 – 9 of 9) sorted by relevance

/tools/vm/
Dpage_owner_sort.c29 static int max_size; variable
70 if (list_size == max_size) { in add_list()
111 max_size = st.st_size / 100; /* hack ... */ in main()
113 list = malloc(max_size * sizeof(*list)); in main()
Dslabinfo.c819 unsigned long long min_size = max, max_size = 0, in totals() local
914 if (size > max_size) in totals()
915 max_size = size; in totals()
1027 store_size(b3, max_size);store_size(b4, total_size); in totals()
/tools/testing/selftests/powerpc/stringloops/
Dmemcmp.c38 unsigned long size_start, unsigned long max_size) in test_one() argument
43 for (size = size_start; size < (max_size - offset); size++) { in test_one()
/tools/testing/selftests/net/
Dip_defrag.sh30 ip netns exec "${NETNS}" sysctl -w net.ipv6.route.max_size=65536 >/dev/null 2>&1
/tools/perf/util/
Devsel.c2061 static inline bool overflow(const void *endp, u16 max_size, const void *offset, in overflow() argument
2064 return size > max_size || offset + size > endp; in overflow()
2067 #define OVERFLOW_CHECK(offset, size, max_size) \ argument
2069 if (overflow(endp, (max_size), (offset), (size))) \
2096 u16 max_size = event->header.size; in evsel__parse_sample() local
2097 const void *endp = (void *)event + max_size; in evsel__parse_sample()
2220 OVERFLOW_CHECK(array, sz, max_size); in evsel__parse_sample()
2239 OVERFLOW_CHECK(array, sz, max_size); in evsel__parse_sample()
2269 OVERFLOW_CHECK(array, data->raw_size, max_size); in evsel__parse_sample()
2289 OVERFLOW_CHECK(array, sz, max_size); in evsel__parse_sample()
[all …]
Dcallchain.c145 unsigned long max_size = round_down(USHRT_MAX, sizeof(u64)); in get_stack_size() local
154 if (!size || size > max_size) in get_stack_size()
163 max_size, str); in get_stack_size()
Dheader.c103 const size_t max_size = 0xffff - sizeof(struct perf_event_header); in __do_write_buf() local
107 if (size + ff->offset > max_size) in __do_write_buf()
112 new_size = min(max_size, new_size); in __do_write_buf()
/tools/perf/arch/x86/util/
Dintel-pt.c985 const size_t max_size = 256 * 1024; in intel_pt_snapshot_ref_buf_size() local
995 if (!buf_size || buf_size > max_size) in intel_pt_snapshot_ref_buf_size()
996 buf_size = max_size; in intel_pt_snapshot_ref_buf_size()
/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh1046 local max_size
1066 [[ $ret -ne 0 ]] && max_size=$((i - 1)) && break
1087 log_test "max ACL group size test ($tcflags). max size $max_size"