Home
last modified time | relevance | path

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

/tools/vm/
Dpage_owner_sort.c27 static int max_size; variable
66 if (list_size == max_size) { in add_list()
107 max_size = st.st_size / 100; /* hack ... */ in main()
109 list = malloc(max_size * sizeof(*list)); in main()
Dslabinfo.c784 unsigned long long min_size = max, max_size = 0, in totals() local
879 if (size > max_size) in totals()
880 max_size = size; in totals()
992 store_size(b3, max_size);store_size(b4, total_size); in totals()
/tools/perf/util/
Devsel.c1705 static inline bool overflow(const void *endp, u16 max_size, const void *offset, in overflow() argument
1708 return size > max_size || offset + size > endp; in overflow()
1711 #define OVERFLOW_CHECK(offset, size, max_size) \ argument
1713 if (overflow(endp, (max_size), (offset), (size))) \
1726 u16 max_size = event->header.size; in perf_evsel__parse_sample() local
1727 const void *endp = (void *)event + max_size; in perf_evsel__parse_sample()
1854 OVERFLOW_CHECK(array, sz, max_size); in perf_evsel__parse_sample()
1873 OVERFLOW_CHECK(array, sz, max_size); in perf_evsel__parse_sample()
1890 OVERFLOW_CHECK(array, data->raw_size, max_size); in perf_evsel__parse_sample()
1905 OVERFLOW_CHECK(array, sz, max_size); in perf_evsel__parse_sample()
[all …]
Dutil.c467 unsigned long max_size = round_down(USHRT_MAX, sizeof(u64)); in get_stack_size() local
476 if (!size || size > max_size) in get_stack_size()
485 max_size, str); in get_stack_size()
/tools/perf/arch/x86/util/
Dintel-pt.c862 const size_t max_size = 256 * 1024; in intel_pt_snapshot_ref_buf_size() local
872 if (!buf_size || buf_size > max_size) in intel_pt_snapshot_ref_buf_size()
873 buf_size = max_size; in intel_pt_snapshot_ref_buf_size()