Home
last modified time | relevance | path

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

12345678910>>...15

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-stu300.c651 int attempts = 0; in stu300_xfer_msg() local
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()
714 attempts, dev->msg_index, dev->msg_len); in stu300_xfer_msg()
717 } while (ret != 0 && attempts < NUM_ADDR_RESEND_ATTEMPTS); in stu300_xfer_msg()
719 if (attempts < NUM_ADDR_RESEND_ATTEMPTS && attempts > 0) { in stu300_xfer_msg()
[all …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/fs/orangefs/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/
H A Dssv_ht_rc.c71 if (unlikely(mr->attempts > 0)) { in minstrel_calc_rate_ewma()
73 mr->cur_prob = MINSTREL_FRAC(mr->success, mr->attempts); in minstrel_calc_rate_ewma()
79 mr->att_hist += mr->attempts; in minstrel_calc_rate_ewma()
85 mr->last_attempts = mr->attempts; in minstrel_calc_rate_ewma()
87 mr->attempts = 0; in minstrel_calc_rate_ewma()
599 rate->attempts += report_data->rates[i].count * report_data->ampdu_len; in ssv6xxx_ht_report_handler()
603 if (rate->attempts > 30 && in ssv6xxx_ht_report_handler()
604 MINSTREL_FRAC(rate->success, rate->attempts) < in ssv6xxx_ht_report_handler()
608 if (rate2->attempts > 30 && in ssv6xxx_ht_report_handler()
609 MINSTREL_FRAC(rate2->success, rate2->attempts) < in ssv6xxx_ht_report_handler()
/OK3568_Linux_fs/kernel/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"
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A 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
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/inc/
H A Ddc_link_dp.h46 int attempts);
62 int attempts,
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i2c/
H A 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()
/OK3568_Linux_fs/kernel/drivers/media/cec/core/
H A Dcec-adap.c395 data->attempts = 0; in cec_data_cancel()
466 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()
575 if (adap->ops->adap_transmit(adap, data->attempts, in cec_thread_func()
641 if (data->attempts > attempts_made && in cec_transmit_done_ts()
644 data->attempts -= attempts_made; in cec_transmit_done_ts()
[all …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnf_nat_core.c405 unsigned int range_size, min, max, i, attempts; in nf_nat_l4proto_unique_tuple() local
493 attempts = range_size; in nf_nat_l4proto_unique_tuple()
494 if (attempts > max_attempts) in nf_nat_l4proto_unique_tuple()
495 attempts = max_attempts; in nf_nat_l4proto_unique_tuple()
504 for (i = 0; i < attempts; i++, off++) { in nf_nat_l4proto_unique_tuple()
510 if (attempts >= range_size || attempts < 16) in nf_nat_l4proto_unique_tuple()
512 attempts /= 2; in nf_nat_l4proto_unique_tuple()
/OK3568_Linux_fs/kernel/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
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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/mtd/ubi/
H A Dfastmap-wl.c230 int ret, attempts = 0; in ubi_wl_get_peb() local
255 attempts++; in ubi_wl_get_peb()
256 if (attempts == 10) { in ubi_wl_get_peb()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/parse/
H A D__init__.py123 newfn, attempts = bb.utils.which(bbpath, fn, history=True)
124 for af in attempts:
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/parse/parse_py/
H A DConfHandler.py79 abs_fn, attempts = bb.utils.which(bbpath, fn, history=True)
82 for af in attempts:
/OK3568_Linux_fs/kernel/drivers/scsi/be2iscsi/
H A Dbe_iscsi.c1248 unsigned int tag, attempts; in beiscsi_conn_close() local
1255 attempts = 0; in beiscsi_conn_close()
1256 while (attempts++ < 3) { in beiscsi_conn_close()
1273 if (attempts > 3) in beiscsi_conn_close()
1276 attempts = 0; in beiscsi_conn_close()
1277 while (attempts++ < 3) { in beiscsi_conn_close()
1288 if (attempts > 3) in beiscsi_conn_close()
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Dmandatory-locking.rst52 block attempts by a process to write to a file that another process holds a
53 "read" -or- "shared" lock on, and block attempts to both read and write to a
131 processes attempts to write to the region it will block until the lock is
137 attempts to read or write to that region block until the lock is released,
187 with this disabled will reject attempts to mount filesystems with the
/OK3568_Linux_fs/kernel/drivers/mtd/lpddr/
H A Dqinfo_probe.c68 int attempts = 20; in lpddr_info_query() local
80 while ((attempts--) > 0) { in lpddr_info_query()
/OK3568_Linux_fs/kernel/drivers/ssb/
H A Dpcmcia.c98 int attempts = 0; in ssb_pcmcia_switch_coreidx() local
139 if (attempts++ > SSB_BAR0_MAX_RETRIES) in ssb_pcmcia_switch_coreidx()
168 int attempts = 0; in ssb_pcmcia_switch_segment() local
184 if (unlikely(attempts++ > SSB_BAR0_MAX_RETRIES)) in ssb_pcmcia_switch_segment()

12345678910>>...15