/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/misc/vmw_vmci/ |
H A D | vmci_event.c | 139 int attempts; in vmci_event_subscribe() local 167 for (attempts = 0; attempts < VMCI_EVENT_MAX_ATTEMPTS; attempts++) { in vmci_event_subscribe()
|
/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/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | qos_mc_aware.sh | 298 local attempts=50 302 for ((i = 0; i < attempts; ++i)); do 318 ((attempts == passes)) 324 echo " sent $attempts BC ARPs, got $passes responses"
|
/linux/drivers/net/ethernet/intel/igc/ |
H 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/drivers/media/cec/i2c/ |
H 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/tools/testing/selftests/cgroup/lib/ |
H A D | cgroup_util.c | 281 int attempts; in cg_wait_for_proc_count() local 284 for (attempts = 10; attempts >= 0; attempts--) { in cg_wait_for_proc_count()
|
/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_uc.c | 459 int ret, attempts; in __uc_init_hw() local 487 attempts = 3; in __uc_init_hw() 489 attempts = 1; in __uc_init_hw() 496 while (attempts--) { in __uc_init_hw() 513 ERR_PTR(ret), attempts); in __uc_init_hw()
|
/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/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/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/tools/testing/selftests/cgroup/ |
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/drivers/iio/common/cros_ec_sensors/ |
H A D | cros_ec_sensors_core.c | 553 int ret, attempts = 0; in cros_ec_sensors_read_until_not_busy() local 560 /* Give up after enough attempts, return error. */ in cros_ec_sensors_read_until_not_busy() 561 if (attempts++ >= 50) in cros_ec_sensors_read_until_not_busy() 565 if (attempts % 5 == 0) in cros_ec_sensors_read_until_not_busy() 628 int ret, attempts = 0; in cros_ec_sensors_read_lpc() local 639 if (attempts++ >= 5) in cros_ec_sensors_read_lpc()
|
/linux/drivers/media/cec/core/ |
H A D | cec-adap.c | 380 data->attempts = 0; in cec_data_cancel() 457 u8 attempts; in cec_thread_func() local 546 * Suggested number of attempts as per the CEC 2.0 spec: in cec_thread_func() 547 * 4 attempts is the default, except for 'secondary poll in cec_thread_func() 552 attempts = 2; in cec_thread_func() 554 attempts = 4; in cec_thread_func() 557 if (data->attempts) { in cec_thread_func() 572 if (data->attempts == 0) in cec_thread_func() 573 data->attempts = attempts; in cec_thread_func() [all...] |
/linux/tools/lib/bpf/ |
H 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() 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() 322 fd = sys_bpf_prog_load(&attr, attr_sz, attempts); in bpf_prog_load() 363 fd = sys_bpf_prog_load(&attr, attr_sz, attempts); in bpf_prog_load() [all...] |
/linux/tools/testing/selftests/hid/ |
H A D | hid_common.h | 351 int found = -1, attempts = 3; in get_hid_id() local 355 while (found < 0 && attempts > 0) { in get_hid_id() 356 attempts--; in get_hid_id()
|
/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/include/drm/display/ |
H A D | drm_hdmi_cec_helper.h | 38 int (*transmit)(struct drm_connector *connector, u8 attempts,
|
/linux/Documentation/driver-api/80211/ |
H A D | introduction.rst | 11 books are for kernel developers they attempts to document the
|
/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/net/mac80211/ |
H 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 > 3 in minstrel_ht_tx_status() [all...] |
/linux/drivers/media/cec/platform/s5p/ |
H 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/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_dp_capability.h | 105 int attempts);
|
/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()
|