Home
last modified time | relevance | path

Searched refs:attempts (Results 1 - 25 of 169) sorted by relevance

1234567

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_attach_autodetach.c31 int attempts; in test_cgroup_attach_autodetach() local
87 for (attempts = 5; attempts >= 0; attempts--) { in test_cgroup_attach_autodetach()
96 if (CHECK_FAIL(!attempts)) in test_cgroup_attach_autodetach()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H 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()
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-stu300.c130 * If the first one fails it seems like 5 to 8 attempts are required.
452 dev_err(&dev->pdev->dev, "giving up after %d attempts " in stu300_wait_while_busy()
651 int attempts = 0; in stu300_xfer_msg() local
667 * really giving up. Usually 5 to 8 attempts are enough. in stu300_xfer_msg()
670 if (attempts) in stu300_xfer_msg()
677 if (attempts) in stu300_xfer_msg()
697 if (attempts) in stu300_xfer_msg()
703 if (attempts) in stu300_xfer_msg()
708 ret = stu300_send_address(dev, msg, attempts != 0); in stu300_xfer_msg()
711 attempts in stu300_xfer_msg()
[all...]
/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/
H A Dvmci_event.c135 int attempts; in vmci_event_subscribe() local
163 for (attempts = 0; attempts < VMCI_EVENT_MAX_ATTEMPTS; attempts++) { in vmci_event_subscribe()
/kernel/linux/linux-6.6/drivers/misc/vmw_vmci/
H A Dvmci_event.c135 int attempts; in vmci_event_subscribe() local
163 for (attempts = 0; attempts < VMCI_EVENT_MAX_ATTEMPTS; attempts++) { in vmci_event_subscribe()
/kernel/linux/linux-5.10/fs/orangefs/
H A Dwaitqueue.c178 op->attempts++; in service_operation()
185 op->attempts); in service_operation()
360 op->attempts);
361 return (op->attempts < ORANGEFS_PURGE_RETRY_COUNT) ?
371 op->attempts);
/kernel/linux/linux-6.6/fs/orangefs/
H A Dwaitqueue.c178 op->attempts++; in service_operation()
185 op->attempts); in service_operation()
360 op->attempts);
361 return (op->attempts < ORANGEFS_PURGE_RETRY_COUNT) ?
371 op->attempts);
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
H A Dqos_mc_aware.sh303 local attempts=50
307 for ((i = 0; i < attempts; ++i)); do
323 ((attempts == passes))
331 echo " sent $attempts BC ARPs, got $passes responses"
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
H A Dqos_mc_aware.sh306 local attempts=50
310 for ((i = 0; i < attempts; ++i)); do
326 ((attempts == passes))
334 echo " sent $attempts BC ARPs, got $passes responses"
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/
H A Ddc_link_dp.h46 int attempts);
62 int attempts,
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/
H A Dintel_uc.c429 int ret, attempts; in __uc_init_hw() local
451 attempts = 3; in __uc_init_hw()
453 attempts = 1; in __uc_init_hw()
455 while (attempts--) { in __uc_init_hw()
472 "retry %d more time(s)\n", ret, attempts); in __uc_init_hw()
/kernel/linux/linux-5.10/net/mac80211/
H A Drc80211_minstrel.c165 if (unlikely(mrs->attempts > 0)) { in minstrel_calc_rate_stats()
167 cur_prob = MINSTREL_FRAC(mrs->success, mrs->attempts); in minstrel_calc_rate_stats()
179 mrs->att_hist += mrs->attempts; in minstrel_calc_rate_stats()
186 mrs->last_attempts = mrs->attempts; in minstrel_calc_rate_stats()
188 mrs->attempts = 0; in minstrel_calc_rate_stats()
284 mi->r[ndx].stats.attempts += ar[i].count; in minstrel_tx_status()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
H A Digc_nvm.c18 u32 attempts = 100000; in igc_poll_eerd_eewr_done() local
21 for (i = 0; i < attempts; i++) { in igc_poll_eerd_eewr_done()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/
H A Digc_nvm.c18 u32 attempts = 100000; in igc_poll_eerd_eewr_done() local
21 for (i = 0; i < attempts; i++) { in igc_poll_eerd_eewr_done()
/kernel/linux/linux-5.10/arch/arm/mm/
H A Dpmsa-v7.c194 int attempts = MPU_MAX_REGIONS; in allocate_region() local
221 if (!attempts) in allocate_region()
224 attempts--; in allocate_region()
/kernel/linux/linux-5.10/drivers/mtd/ubi/
H A Dfastmap-wl.c232 int ret, attempts = 0; in ubi_wl_get_peb() local
257 attempts++; in ubi_wl_get_peb()
258 if (attempts == 10) { in ubi_wl_get_peb()
/kernel/linux/linux-6.6/arch/arm/mm/
H A Dpmsa-v7.c194 int attempts = MPU_MAX_REGIONS; in allocate_region() local
221 if (!attempts) in allocate_region()
224 attempts--; in allocate_region()
/kernel/linux/linux-5.10/drivers/media/cec/core/
H A Dcec-adap.c395 data->attempts = 0; in cec_data_cancel()
466 u8 attempts; in cec_thread_func() local
545 * Suggested number of attempts as per the CEC 2.0 spec: in cec_thread_func()
546 * 4 attempts is the default, except for 'secondary poll in cec_thread_func()
551 attempts = 2; in cec_thread_func()
553 attempts = 4; in cec_thread_func()
556 if (data->attempts) { in cec_thread_func()
571 if (data->attempts == 0) in cec_thread_func()
572 data->attempts = attempts; in cec_thread_func()
[all...]
/kernel/linux/linux-6.6/drivers/media/cec/core/
H A Dcec-adap.c379 data->attempts = 0; in cec_data_cancel()
456 u8 attempts; in cec_thread_func() local
536 * Suggested number of attempts as per the CEC 2.0 spec: in cec_thread_func()
537 * 4 attempts is the default, except for 'secondary poll in cec_thread_func()
542 attempts = 2; in cec_thread_func()
544 attempts = 4; in cec_thread_func()
547 if (data->attempts) { in cec_thread_func()
562 if (data->attempts == 0) in cec_thread_func()
563 data->attempts = attempts; in cec_thread_func()
[all...]
/kernel/linux/linux-5.10/drivers/iio/common/cros_ec_sensors/
H A Dcros_ec_sensors_core.c537 int ret, attempts = 0; in cros_ec_sensors_read_until_not_busy() local
544 /* Give up after enough attempts, return error. */ in cros_ec_sensors_read_until_not_busy()
545 if (attempts++ >= 50) in cros_ec_sensors_read_until_not_busy()
549 if (attempts % 5 == 0) in cros_ec_sensors_read_until_not_busy()
612 int ret, attempts = 0; in cros_ec_sensors_read_lpc() local
623 if (attempts++ >= 5) in cros_ec_sensors_read_lpc()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/
H A Dintel_uc.c467 int ret, attempts; in __uc_init_hw() local
495 attempts = 3; in __uc_init_hw()
497 attempts = 1; in __uc_init_hw()
504 while (attempts--) { in __uc_init_hw()
521 ERR_PTR(ret), attempts); in __uc_init_hw()
/kernel/linux/linux-6.6/drivers/iio/common/cros_ec_sensors/
H A Dcros_ec_sensors_core.c546 int ret, attempts = 0; in cros_ec_sensors_read_until_not_busy() local
553 /* Give up after enough attempts, return error. */ in cros_ec_sensors_read_until_not_busy()
554 if (attempts++ >= 50) in cros_ec_sensors_read_until_not_busy()
558 if (attempts % 5 == 0) in cros_ec_sensors_read_until_not_busy()
621 int ret, attempts = 0; in cros_ec_sensors_read_lpc() local
632 if (attempts++ >= 5) in cros_ec_sensors_read_lpc()
/kernel/linux/linux-6.6/net/netfilter/
H A Dnf_nat_core.c250 /* :ast few attempts to find a free tcp port. Destructive in nf_nat_used_tuple_harder()
470 unsigned int range_size, min, max, i, attempts; in nf_nat_l4proto_unique_tuple() local
557 attempts = range_size; in nf_nat_l4proto_unique_tuple()
558 if (attempts > NF_NAT_MAX_ATTEMPTS) in nf_nat_l4proto_unique_tuple()
559 attempts = NF_NAT_MAX_ATTEMPTS; in nf_nat_l4proto_unique_tuple()
568 for (i = 0; i < attempts; i++, off++) { in nf_nat_l4proto_unique_tuple()
570 if (!nf_nat_used_tuple_harder(tuple, ct, attempts - i)) in nf_nat_l4proto_unique_tuple()
574 if (attempts >= range_size || attempts < 16) in nf_nat_l4proto_unique_tuple()
576 attempts / in nf_nat_l4proto_unique_tuple()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/
H A Dcgroup_util.c228 int attempts; in cg_wait_for_proc_count() local
231 for (attempts = 10; attempts >= 0; attempts--) { in cg_wait_for_proc_count()
H A Dtest_freezer.c120 int attempts; in cg_enter_and_wait_for_frozen() local
130 for (attempts = 0; attempts < 10; attempts++) { in cg_enter_and_wait_for_frozen()

Completed in 20 milliseconds

1234567