/linux-6.3-rc2/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()
|
/linux-6.3-rc2/drivers/misc/vmw_vmci/ |
A D | vmci_event.c | 135 int attempts; in vmci_event_subscribe() local 163 for (attempts = 0; attempts < VMCI_EVENT_MAX_ATTEMPTS; attempts++) { in vmci_event_subscribe()
|
/linux-6.3-rc2/fs/orangefs/ |
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-6.3-rc2/Documentation/ABI/testing/ |
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-6.3-rc2/tools/testing/selftests/drivers/net/mlxsw/ |
A D | qos_mc_aware.sh | 304 local attempts=50 308 for ((i = 0; i < attempts; ++i)); do 324 ((attempts == passes)) 332 echo " sent $attempts BC ARPs, got $passes responses"
|
/linux-6.3-rc2/drivers/gpu/drm/i2c/ |
A D | tda9950.c | 215 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.3-rc2/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() 240 int fd, attempts; in bpf_prog_load() local 249 attempts = OPTS_GET(opts, attempts, 0); in bpf_prog_load() 250 if (attempts < 0) in bpf_prog_load() 252 if (attempts == 0) in bpf_prog_load() 253 attempts = PROG_LOAD_ATTEMPTS; in bpf_prog_load() 318 fd = sys_bpf_prog_load(&attr, attr_sz, attempts); in bpf_prog_load() 358 fd = sys_bpf_prog_load(&attr, attr_sz, attempts); in bpf_prog_load() 372 fd = sys_bpf_prog_load(&attr, attr_sz, attempts); in bpf_prog_load()
|
/linux-6.3-rc2/drivers/media/cec/core/ |
A D | cec-adap.c | 379 data->attempts = 0; in cec_data_cancel() 456 u8 attempts; in cec_thread_func() local 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() 567 if (call_op(adap, adap_transmit, data->attempts, in cec_thread_func() 638 data->attempts -= attempts_made; in cec_transmit_done_ts() 644 msg->len, msg->msg, data->attempts); in cec_transmit_done_ts() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/uc/ |
A D | intel_uc.c | 466 int ret, attempts; in __uc_init_hw() local 493 attempts = 3; in __uc_init_hw() 495 attempts = 1; in __uc_init_hw() 499 while (attempts--) { in __uc_init_hw() 516 ERR_PTR(ret), attempts); in __uc_init_hw()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/igc/ |
A D | igc_nvm.c | 18 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.3-rc2/arch/arm/mm/ |
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-6.3-rc2/tools/testing/selftests/cgroup/ |
A D | cgroup_util.c | 235 int attempts; in cg_wait_for_proc_count() local 238 for (attempts = 10; attempts >= 0; attempts--) { in cg_wait_for_proc_count()
|
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-6.3-rc2/drivers/iio/common/cros_ec_sensors/ |
A D | cros_ec_sensors_core.c | 542 int ret, attempts = 0; in cros_ec_sensors_read_until_not_busy() local 550 if (attempts++ >= 50) in cros_ec_sensors_read_until_not_busy() 554 if (attempts % 5 == 0) in cros_ec_sensors_read_until_not_busy() 617 int ret, attempts = 0; in cros_ec_sensors_read_lpc() local 628 if (attempts++ >= 5) in cros_ec_sensors_read_lpc()
|
/linux-6.3-rc2/net/netfilter/ |
A D | nf_nat_core.c | 385 unsigned int range_size, min, max, i, attempts; in nf_nat_l4proto_unique_tuple() local 473 attempts = range_size; in nf_nat_l4proto_unique_tuple() 474 if (attempts > max_attempts) in nf_nat_l4proto_unique_tuple() 475 attempts = max_attempts; in nf_nat_l4proto_unique_tuple() 484 for (i = 0; i < attempts; i++, off++) { in nf_nat_l4proto_unique_tuple() 490 if (attempts >= range_size || attempts < 16) in nf_nat_l4proto_unique_tuple() 492 attempts /= 2; in nf_nat_l4proto_unique_tuple()
|
/linux-6.3-rc2/drivers/mtd/ubi/ |
A D | fastmap-wl.c | 232 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()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/protocols/ |
A D | link_dp_capability.h | 77 int attempts);
|
/linux-6.3-rc2/drivers/mtd/lpddr/ |
A D | qinfo_probe.c | 68 int attempts = 20; in lpddr_info_query() local 80 while ((attempts--) > 0) { in lpddr_info_query()
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7996/ |
A D | debugfs.c | 410 u32 attempts, success, per; in mt7996_tx_stats_show() local 417 attempts = mib->tx_mpdu_attempts_cnt; in mt7996_tx_stats_show() 419 per = attempts ? 100 - success * 100 / attempts : 100; in mt7996_tx_stats_show() 420 seq_printf(file, "Tx attempts: %8u (MPDUs)\n", attempts); in mt7996_tx_stats_show()
|
/linux-6.3-rc2/Documentation/driver-api/80211/ |
A D | introduction.rst | 11 books are for kernel developers they attempts to document the
|
/linux-6.3-rc2/drivers/scsi/be2iscsi/ |
A D | be_iscsi.c | 1248 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()
|
/linux-6.3-rc2/net/mac80211/ |
A D | rc80211_minstrel_ht.c | 771 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.3-rc2/drivers/media/cec/platform/s5p/ |
A D | s5p_cec.c | 71 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()
|
/linux-6.3-rc2/drivers/ssb/ |
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-6.3-rc2/drivers/gpu/drm/omapdrm/dss/ |
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()
|