| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H 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()
|
| /linux/drivers/net/wireless/morsemicro/mm81x/ |
| H A D | mmrc.c | 43 * Number of attempts for each lookaround rate within at most two RC cycles 88 * The time cap on rate allocation for multiple attempts. If a single attempt 89 * exceeds this window, no additional attempts will be generated 305 rate.attempts = 0; in get_rate_row() 704 for (i = 0; i < rate->attempts; i++) in calculate_attempt_time() 711 * Calculates the appropriate amount of additional attempts to make based on in calculate_attempt_time() 731 * The attempts for these rates were calculated in the initial 746 attempt += rate->rates[i].attempts; in calculate_remaining_attempts() 748 rate->rates[i].attempts = MMRC_ATTEMPTS_TO_BITFIELD( in calculate_remaining_attempts() 755 /* Allocate initial attempts t in calculate_remaining_attempts() [all...] |
| H A D | rc.c | 315 tx_info->rates[i].count = rates.rates[i].attempts; in mm81x_rc_sta_fill_tx_rates() 334 info->control.rates[i].count = rates.rates[i].attempts; in mm81x_rc_sta_fill_tx_rates() 344 struct mmrc_rate_table *rates, int attempts, in mm81x_rc_sta_set_rates() argument 355 mmrc_feedback(msta->rc.tb, rates, attempts, in mm81x_rc_sta_set_rates() 366 int attempts) in mm81x_rc_sta_feedback_rates() argument 381 if (attempts <= 0) in mm81x_rc_sta_feedback_rates() 396 rates.rates[i].attempts = tx_sts->rates[i].count; in mm81x_rc_sta_feedback_rates() 413 mm81x_rc_sta_set_rates(mors, msta, &rates, attempts, in mm81x_rc_sta_feedback_rates()
|
| /linux/fs/orangefs/ |
| H A D | waitqueue.c | 178 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/Documentation/ABI/testing/ |
| H A D | sysfs-devices-lpss_ltr | 19 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/net/netfilter/ |
| H A D | nf_nat_core.c | 346 /* :ast few attempts to find a free tcp port. Destructive in nf_nat_used_tuple_harder() 564 unsigned int range_size, min, max, i, attempts; in nf_nat_l4proto_unique_tuple() local 652 attempts = range_size; in nf_nat_l4proto_unique_tuple() 653 if (attempts > NF_NAT_MAX_ATTEMPTS) in nf_nat_l4proto_unique_tuple() 654 attempts = NF_NAT_MAX_ATTEMPTS; in nf_nat_l4proto_unique_tuple() 663 for (i = 0; i < attempts; i++, off++) { in nf_nat_l4proto_unique_tuple() 665 if (!nf_nat_used_tuple_harder(tuple, ct, attempts - i)) in nf_nat_l4proto_unique_tuple() 669 if (attempts >= range_size || attempts < 16) in nf_nat_l4proto_unique_tuple() 671 attempts / in nf_nat_l4proto_unique_tuple() [all...] |
| /linux/tools/testing/selftests/cgroup/ |
| H A D | cgroup_util.c | |
| H 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()
|
| /linux/tools/testing/selftests/cgroup/lib/ |
| H A D | cgroup_util.c | 354 int attempts; in cg_killall() 357 for (attempts = 10; attempts >= 0; attempts--) { in cg_killall() 318 int attempts; cg_wait_for_proc_count() local
|
| /linux/arch/arm/mm/ |
| H A D | pmsa-v7.c | 194 int attempts = MPU_MAX_REGIONS; in allocate_region() local 221 if (!attempts) in allocate_region() 224 attempts--; in allocate_region()
|
| /linux/drivers/gpu/drm/display/ |
| H A D | drm_hdmi_cec_helper.c | 37 static int drm_connector_hdmi_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in drm_connector_hdmi_cec_adap_transmit() argument 43 return data->funcs->transmit(connector, attempts, signal_free_time, msg); in drm_connector_hdmi_cec_adap_transmit()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_maps.h | 21 int map_update_retriable(int map_fd, const void *key, const void *value, int flags, int attempts,
|
| /linux/tools/testing/selftests/vfio/lib/drivers/ioat/ |
| H A D | ioat.c | 83 u32 sleep_ms = 1, attempts = 5000 / sleep_ms; in ioat_reset() local 95 VFIO_ASSERT_GT(--attempts, 0); in ioat_reset()
|
| /linux/tools/testing/selftests/hid/ |
| H A D | hid_common.h | 380 int found = -1, attempts = 3; in get_hid_id() local 384 while (found < 0 && attempts > 0) { in get_hid_id() 385 attempts--; in get_hid_id()
|
| /linux/drivers/scsi/be2iscsi/ |
| H A D | be_iscsi.c | 1252 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/drivers/mtd/lpddr/ |
| H A D | qinfo_probe.c | 68 int attempts = 20; in lpddr_info_query() local 80 while ((attempts--) > 0) { in lpddr_info_query()
|
| /linux/net/mac80211/ |
| H A D | rc80211_minstrel_ht.c | 772 if (unlikely(mrs->attempts > 0)) { in minstrel_ht_calc_rate_stats() 773 cur_prob = MINSTREL_FRAC(mrs->success, mrs->attempts); in minstrel_ht_calc_rate_stats() 776 mrs->att_hist += mrs->attempts; in minstrel_ht_calc_rate_stats() 781 mrs->last_attempts = mrs->attempts; in minstrel_ht_calc_rate_stats() 783 mrs->attempts = 0; in minstrel_ht_calc_rate_stats() 1383 rate->attempts += st->rates[i].try_count * in minstrel_ht_tx_status() 1396 rate->attempts += ar[i].count * info->status.ampdu_len; in minstrel_ht_tx_status() 1406 if (rate->attempts > 30 && in minstrel_ht_tx_status() 1407 rate->success < rate->attempts / 4) { in minstrel_ht_tx_status() 1413 if (rate2->attempts > 30 && in minstrel_ht_tx_status() [all …]
|
| /linux/drivers/mtd/ubi/ |
| H A D | fastmap-wl.c | 296 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/Documentation/driver-api/80211/ |
| H A D | introduction.rst | 11 books are for kernel developers they attempts to document the
|
| /linux/drivers/ssb/ |
| H A D | pcmcia.c | 98 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()
|
| /linux/drivers/gpu/drm/omapdrm/dss/ |
| H A D | hdmi4_cec.c | 266 static int hdmi_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in hdmi_cec_adap_transmit() argument 288 REG_FLD_MOD(core->base, HDMI_CEC_DBG_3, attempts - 1, 6, 4); in hdmi_cec_adap_transmit()
|
| /linux/drivers/gpu/drm/bridge/adv7511/ |
| H A D | adv7511_cec.c | 300 int adv7511_cec_transmit(struct drm_bridge *bridge, u8 attempts, in adv7511_cec_transmit() argument 315 0x70, max(1, attempts - 1) << 4); in adv7511_cec_transmit()
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | rss_ctx.py | 172 attempts = 3 173 for attempt in range(attempts): 190 for attempt in range(attempts): 654 attempts = 3 655 for attempt in range(attempts):
|
| /linux/Documentation/arch/powerpc/ |
| H A D | dscr.rst | 69 all mfspr instruction based read attempts will get emulated and returned 70 where as the first mtspr instruction based write attempts will enable
|
| /linux/drivers/net/ethernet/chelsio/cxgb/ |
| H A D | espi.c | 54 int busy, attempts = TRICN_CMD_ATTEMPTS; in tricn_write() local 66 } while (busy && --attempts); in tricn_write()
|