Home
last modified time | relevance | path

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

/tools/testing/selftests/powerpc/stringloops/
A 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/
A Dip_defrag.sh30 ip netns exec "${NETNS}" sysctl -w net.ipv6.route.max_size=65536 >/dev/null 2>&1
/tools/lib/bpf/
A Dringbuf.c582 __u32 avail_size, total_size, max_size; in user_ring_buffer__reserve() local
598 max_size = rb->mask + 1; in user_ring_buffer__reserve()
599 avail_size = max_size - (prod_pos - cons_pos); in user_ring_buffer__reserve()
603 if (total_size > max_size) in user_ring_buffer__reserve()
/tools/testing/selftests/drivers/s390x/uvdevice/
A Dtest_uvdevice.c186 static void att_inval_sizes_test(uint32_t *size, uint32_t max_size, bool test_zero, in att_inval_sizes_test() argument
200 *size = max_size + 1; in att_inval_sizes_test()
/tools/perf/util/
A Devsel.c2954 u32 max_size = data->raw_size, *p32; in __set_offcpu_sample() local
2955 const void *endp = (void *)array + max_size; in __set_offcpu_sample()
2986 u16 max_size = event->header.size; in evsel__parse_sample() local
3110 OVERFLOW_CHECK(array, sz, max_size); in evsel__parse_sample()
3135 OVERFLOW_CHECK(array, sz, max_size); in evsel__parse_sample()
3210 OVERFLOW_CHECK(array, sz, max_size); in evsel__parse_sample()
3217 OVERFLOW_CHECK(array, sz, max_size); in evsel__parse_sample()
3233 OVERFLOW_CHECK(array, sz, max_size); in evsel__parse_sample()
3250 OVERFLOW_CHECK(array, sz, max_size); in evsel__parse_sample()
3290 OVERFLOW_CHECK(array, sz, max_size); in evsel__parse_sample()
[all …]
A Dcallchain.c147 unsigned long max_size = round_down(USHRT_MAX, sizeof(u64)); in get_stack_size() local
156 if (!size || size > max_size) in get_stack_size()
165 max_size, str); in get_stack_size()
A Dheader.c114 const size_t max_size = 0xffff - sizeof(struct perf_event_header); in __do_write_buf() local
118 if (size + ff->offset > max_size) in __do_write_buf()
123 new_size = min(max_size, new_size); in __do_write_buf()
/tools/mm/
A Dpage_owner_sort.c101 static int max_size; variable
472 if (list_size == max_size) { in add_list()
804 max_size = st.st_size / 100; /* hack ... */ in main()
806 list = malloc(max_size * sizeof(*list)); in main()
A Dslabinfo.c821 unsigned long long min_size = max, max_size = 0, in totals() local
916 if (size > max_size) in totals()
917 max_size = size; in totals()
1029 store_size(b3, max_size);store_size(b4, total_size); in totals()
/tools/perf/arch/x86/util/
A Dintel-pt.c984 const size_t max_size = 256 * 1024; in intel_pt_snapshot_ref_buf_size() local
994 if (!buf_size || buf_size > max_size) in intel_pt_snapshot_ref_buf_size()
995 buf_size = max_size; in intel_pt_snapshot_ref_buf_size()
/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
A 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"
/tools/testing/selftests/hid/tests/
A Dtest_wacom_generic.py138 max_size = attr.ib() variable in PhysRange
157 and phys_size < self.max_size
/tools/testing/selftests/net/ovpn/
A Dovpn-cli.c1087 static struct rtattr *ovpn_nest_start(struct nlmsghdr *msg, size_t max_size, in ovpn_nest_start() argument
1092 if (ovpn_addattr(msg, max_size, attr, NULL, 0) < 0) in ovpn_nest_start()

Completed in 41 milliseconds