Home
last modified time | relevance | path

Searched refs:attempts (Results 1 – 18 of 18) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
A Dcgroup_attach_autodetach.c31 int attempts; in serial_test_cgroup_attach_autodetach() local
87 for (attempts = 5; attempts >= 0; attempts--) { in serial_test_cgroup_attach_autodetach()
96 if (CHECK_FAIL(!attempts)) in serial_test_cgroup_attach_autodetach()
/tools/testing/selftests/bpf/
A Dtest_maps.h21 int map_update_retriable(int map_fd, const void *key, const void *value, int flags, int attempts,
A Dtest_maps.c1405 int map_update_retriable(int map_fd, const void *key, const void *value, int flags, int attempts, in map_update_retriable() argument
1411 if (!attempts || !need_retry(errno)) in map_update_retriable()
1418 attempts--; in map_update_retriable()
1424 static int map_delete_retriable(int map_fd, const void *key, int attempts) in map_delete_retriable() argument
1429 if (!attempts || (errno != EAGAIN && errno != EBUSY)) in map_delete_retriable()
1436 attempts--; in map_delete_retriable()
/tools/testing/selftests/drivers/net/mlxsw/
A Dqos_mc_aware.sh298 local attempts=50
302 for ((i = 0; i < attempts; ++i)); do
318 ((attempts == passes))
324 echo " sent $attempts BC ARPs, got $passes responses"
/tools/testing/selftests/cgroup/lib/
A Dcgroup_util.c281 int attempts; in cg_wait_for_proc_count() local
284 for (attempts = 10; attempts >= 0; attempts--) { in cg_wait_for_proc_count()
/tools/testing/selftests/cgroup/
A Dtest_freezer.c63 int attempts; in cg_enter_and_wait_for_frozen() local
73 for (attempts = 0; attempts < 10; attempts++) { in cg_enter_and_wait_for_frozen()
A Dtest_memcontrol.c487 int i, attempts; in test_memcg_protection() local
560 attempts = 0; in test_memcg_protection()
563 if (attempts++ > 5) in test_memcg_protection()
/tools/testing/selftests/hid/
A Dhid_common.h351 int found = -1, attempts = 3; in get_hid_id() local
355 while (found < 0 && attempts > 0) { in get_hid_id()
356 attempts--; in get_hid_id()
/tools/lib/bpf/
A Dbpf.c87 int sys_bpf_prog_load(union bpf_attr *attr, unsigned int size, int attempts) in sys_bpf_prog_load() argument
93 } while (fd < 0 && errno == EAGAIN && --attempts > 0); in sys_bpf_prog_load()
246 int fd, attempts; in bpf_prog_load() local
255 attempts = OPTS_GET(opts, attempts, 0); in bpf_prog_load()
256 if (attempts < 0) in bpf_prog_load()
258 if (attempts == 0) in bpf_prog_load()
259 attempts = PROG_LOAD_ATTEMPTS; in bpf_prog_load()
322 fd = sys_bpf_prog_load(&attr, attr_sz, attempts); in bpf_prog_load()
363 fd = sys_bpf_prog_load(&attr, attr_sz, attempts); in bpf_prog_load()
378 fd = sys_bpf_prog_load(&attr, attr_sz, attempts); in bpf_prog_load()
A Dbpf.h75 int attempts; member
A Dlibbpf_internal.h716 int sys_bpf_prog_load(union bpf_attr *attr, unsigned int size, int attempts);
/tools/bpf/bpftool/Documentation/
A Dbpftool-btf.rst90 dump) is passed as a *FILE*, bpftool attempts to autodetect the path
A Dbpftool-prog.rst241 of such programs. When this option is in use, bpftool attempts to load the
/tools/perf/Documentation/
A Dperf-script-perl.txt34 attempts to exercise all of the main scripting features.
A Dperf-script-python.txt428 attempts to exercise all of the main scripting features.
/tools/usb/usbip/
A DINSTALL18 The `configure' shell script attempts to guess correct values for
/tools/testing/selftests/net/mptcp/
A Dmptcp_join.sh2918 local attempts=$2
2933 elif [ "$count" != "$attempts" ]; then
2934 fail_test "got ${count} MPC attempt[s] on port-based endpoint, expected ${attempts}"
/tools/power/pm-graph/
A DREADME546 custom and internal if you haven't overridden them) and actually attempts

Completed in 37 milliseconds