Home
last modified time | relevance | path

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

1234567891011

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
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()
/linux-6.12.1/drivers/misc/vmw_vmci/
Dvmci_event.c139 int attempts; in vmci_event_subscribe() local
167 for (attempts = 0; attempts < VMCI_EVENT_MAX_ATTEMPTS; attempts++) { in vmci_event_subscribe()
/linux-6.12.1/fs/orangefs/
Dwaitqueue.c178 op->attempts++; in service_operation()
185 op->attempts); in service_operation()
360 op->attempts); in wait_for_matching_downcall()
361 return (op->attempts < ORANGEFS_PURGE_RETRY_COUNT) ? in wait_for_matching_downcall()
371 op->attempts); in wait_for_matching_downcall()
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-devices-lpss_ltr19 is not "active", attempts to read from this attribute cause
31 is not "active", attempts to read from this attribute cause
43 is not "active", attempts to read from this attribute cause
/linux-6.12.1/tools/testing/selftests/drivers/net/mlxsw/
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"
/linux-6.12.1/drivers/net/ethernet/meta/fbnic/
Dfbnic_fw.c601 int attempts = 50; in fbnic_fw_init_heartbeat() local
606 while (attempts--) { in fbnic_fw_init_heartbeat()
738 int attempts = 50; in fbnic_mbx_poll_tx_ready() local
745 while (!tx_mbx->ready && --attempts) { in fbnic_mbx_poll_tx_ready()
757 return attempts ? 0 : -ETIMEDOUT; in fbnic_mbx_poll_tx_ready()
763 int attempts = 50; in fbnic_mbx_flush_tx() local
790 } while (count < FBNIC_IPC_MBX_DESC_LEN && --attempts); in fbnic_mbx_flush_tx()
/linux-6.12.1/drivers/gpu/drm/i2c/
Dtda9950.c215 static int tda9950_cec_transmit(struct cec_adapter *adap, u8 attempts, in tda9950_cec_transmit() argument
225 if (attempts > 5) in tda9950_cec_transmit()
226 attempts = 5; in tda9950_cec_transmit()
228 tda9950_write(priv->client, REG_CCONR, attempts); in tda9950_cec_transmit()
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_uc.c458 int ret, attempts; in __uc_init_hw() local
486 attempts = 3; in __uc_init_hw()
488 attempts = 1; in __uc_init_hw()
495 while (attempts--) { in __uc_init_hw()
512 ERR_PTR(ret), attempts); in __uc_init_hw()
/linux-6.12.1/drivers/net/ethernet/intel/igc/
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()
/linux-6.12.1/drivers/media/cec/core/
Dcec-adap.c379 data->attempts = 0; in cec_data_cancel()
456 u8 attempts; in cec_thread_func() local
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()
576 if (call_op(adap, adap_transmit, data->attempts, in cec_thread_func()
672 if (!aborted && data->attempts > attempts_made && !done) { in cec_transmit_done_ts()
674 data->attempts -= attempts_made; in cec_transmit_done_ts()
[all …]
/linux-6.12.1/tools/lib/bpf/
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()
321 fd = sys_bpf_prog_load(&attr, attr_sz, attempts); in bpf_prog_load()
362 fd = sys_bpf_prog_load(&attr, attr_sz, attempts); in bpf_prog_load()
377 fd = sys_bpf_prog_load(&attr, attr_sz, attempts); in bpf_prog_load()
/linux-6.12.1/net/netfilter/
Dnf_nat_core.c586 unsigned int range_size, min, max, i, attempts; in nf_nat_l4proto_unique_tuple() local
676 attempts = range_size; in nf_nat_l4proto_unique_tuple()
677 if (attempts > NF_NAT_MAX_ATTEMPTS) in nf_nat_l4proto_unique_tuple()
678 attempts = NF_NAT_MAX_ATTEMPTS; in nf_nat_l4proto_unique_tuple()
687 for (i = 0; i < attempts; i++, off++) { in nf_nat_l4proto_unique_tuple()
689 if (!nf_nat_used_tuple_harder(tuple, ct, attempts - i)) in nf_nat_l4proto_unique_tuple()
693 if (attempts >= range_size || attempts < 16) in nf_nat_l4proto_unique_tuple()
695 attempts /= 2; in nf_nat_l4proto_unique_tuple()
/linux-6.12.1/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors_core.c544 int ret, attempts = 0; in cros_ec_sensors_read_until_not_busy() local
552 if (attempts++ >= 50) in cros_ec_sensors_read_until_not_busy()
556 if (attempts % 5 == 0) in cros_ec_sensors_read_until_not_busy()
619 int ret, attempts = 0; in cros_ec_sensors_read_lpc() local
630 if (attempts++ >= 5) in cros_ec_sensors_read_lpc()
/linux-6.12.1/tools/testing/selftests/cgroup/
Dcgroup_util.c259 int attempts; in cg_wait_for_proc_count() local
262 for (attempts = 10; attempts >= 0; attempts--) { in cg_wait_for_proc_count()
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()
/linux-6.12.1/tools/testing/selftests/hid/
Dhid_common.h354 int found = -1, attempts = 3; in get_hid_id() local
358 while (found < 0 && attempts > 0) { in get_hid_id()
359 attempts--; in get_hid_id()
/linux-6.12.1/arch/arm/mm/
Dpmsa-v7.c194 int attempts = MPU_MAX_REGIONS; in allocate_region() local
221 if (!attempts) in allocate_region()
224 attempts--; in allocate_region()
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_maps.h21 int map_update_retriable(int map_fd, const void *key, const void *value, int flags, int attempts,
/linux-6.12.1/drivers/mtd/lpddr/
Dqinfo_probe.c68 int attempts = 20; in lpddr_info_query() local
80 while ((attempts--) > 0) { in lpddr_info_query()
/linux-6.12.1/drivers/scsi/be2iscsi/
Dbe_iscsi.c1252 unsigned int tag, attempts; in beiscsi_conn_close() local
1259 attempts = 0; in beiscsi_conn_close()
1260 while (attempts++ < 3) { in beiscsi_conn_close()
1277 if (attempts > 3) in beiscsi_conn_close()
1280 attempts = 0; in beiscsi_conn_close()
1281 while (attempts++ < 3) { in beiscsi_conn_close()
1292 if (attempts > 3) in beiscsi_conn_close()
/linux-6.12.1/Documentation/driver-api/80211/
Dintroduction.rst11 books are for kernel developers they attempts to document the
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_dp_training.c1597 int attempts, in perform_link_training_with_retries() argument
1628 while (j < attempts && fail_count < (attempts * 10)) { in perform_link_training_with_retries()
1631 __func__, link->link_index, (unsigned int)j + 1, attempts, in perform_link_training_with_retries()
1704 if (j == (attempts - 1) || (status == LINK_TRAINING_ABORT)) in perform_link_training_with_retries()
1708 if (j == (attempts - 1)) { in perform_link_training_with_retries()
1711 __func__, link->link_index, (unsigned int)j + 1, attempts, in perform_link_training_with_retries()
1717 __func__, link->link_index, (unsigned int)j + 1, attempts, in perform_link_training_with_retries()
/linux-6.12.1/drivers/mtd/ubi/
Dfastmap-wl.c296 int ret, attempts = 0; in ubi_wl_get_peb() local
321 attempts++; in ubi_wl_get_peb()
322 if (attempts == 10) { in ubi_wl_get_peb()
/linux-6.12.1/net/mac80211/
Drc80211_minstrel_ht.c771 if (unlikely(mrs->attempts > 0)) { in minstrel_ht_calc_rate_stats()
772 cur_prob = MINSTREL_FRAC(mrs->success, mrs->attempts); in minstrel_ht_calc_rate_stats()
775 mrs->att_hist += mrs->attempts; in minstrel_ht_calc_rate_stats()
780 mrs->last_attempts = mrs->attempts; in minstrel_ht_calc_rate_stats()
782 mrs->attempts = 0; in minstrel_ht_calc_rate_stats()
1335 rate->attempts += st->rates[i].try_count * in minstrel_ht_tx_status()
1348 rate->attempts += ar[i].count * info->status.ampdu_len; in minstrel_ht_tx_status()
1358 if (rate->attempts > 30 && in minstrel_ht_tx_status()
1359 rate->success < rate->attempts / 4) { in minstrel_ht_tx_status()
1365 if (rate2->attempts > 30 && in minstrel_ht_tx_status()
[all …]
/linux-6.12.1/drivers/media/cec/platform/s5p/
Ds5p_cec.c71 static int s5p_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in s5p_cec_adap_transmit() argument
80 s5p_cec_copy_packet(cec, msg->msg, msg->len, max(1, attempts - 1)); in s5p_cec_adap_transmit()

1234567891011