| /tools/testing/selftests/bpf/prog_tests/ |
| A D | cgroup_attach_autodetach.c | 31 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 D | test_maps.h | 21 int map_update_retriable(int map_fd, const void *key, const void *value, int flags, int attempts,
|
| A D | test_maps.c | 1405 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 D | qos_mc_aware.sh | 298 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 D | cgroup_util.c | 281 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 D | test_freezer.c | 63 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 D | test_memcontrol.c | 487 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 D | hid_common.h | 351 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 D | bpf.c | 87 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 D | bpf.h | 75 int attempts; member
|
| A D | libbpf_internal.h | 716 int sys_bpf_prog_load(union bpf_attr *attr, unsigned int size, int attempts);
|
| /tools/bpf/bpftool/Documentation/ |
| A D | bpftool-btf.rst | 90 dump) is passed as a *FILE*, bpftool attempts to autodetect the path
|
| A D | bpftool-prog.rst | 241 of such programs. When this option is in use, bpftool attempts to load the
|
| /tools/perf/Documentation/ |
| A D | perf-script-perl.txt | 34 attempts to exercise all of the main scripting features.
|
| A D | perf-script-python.txt | 428 attempts to exercise all of the main scripting features.
|
| /tools/usb/usbip/ |
| A D | INSTALL | 18 The `configure' shell script attempts to guess correct values for
|
| /tools/testing/selftests/net/mptcp/ |
| A D | mptcp_join.sh | 2918 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 D | README | 546 custom and internal if you haven't overridden them) and actually attempts
|