Home
last modified time | relevance | path

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

123456789

/linux/tools/testing/selftests/bpf/prog_tests/
H A 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/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()
H A Dorangefs-cache.c135 new_op->attempts = 0; in op_alloc()
/linux/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
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_uc.c459 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/net/netfilter/
H A Dnf_nat_core.c356 /* :ast few attempts to find a free tcp port. Destructive in nf_nat_used_tuple_harder()
575 unsigned int range_size, min, max, i, attempts; in find_best_ips_proto()
664 attempts = range_size; in nf_nat_l4proto_unique_tuple()
665 if (attempts > NF_NAT_MAX_ATTEMPTS) in nf_nat_l4proto_unique_tuple()
666 attempts = NF_NAT_MAX_ATTEMPTS; in nf_nat_l4proto_unique_tuple()
675 for (i = 0; i < attempts; i++, off++) { in nf_nat_l4proto_unique_tuple()
677 if (!nf_nat_used_tuple_harder(tuple, ct, attempts - i)) in nf_nat_l4proto_unique_tuple()
681 if (attempts >= range_size || attempts < 16) in nf_nat_l4proto_unique_tuple()
683 attempts / in nf_nat_l4proto_unique_tuple()
587 unsigned int range_size, min, max, i, attempts; nf_nat_l4proto_unique_tuple() local
[all...]
/linux/drivers/iio/common/cros_ec_sensors/
H A Dcros_ec_sensors_core.c553 int ret, attempts = 0; in cros_ec_sensors_read_until_not_busy() local
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/tools/testing/selftests/cgroup/
H A Dcgroup_util.c
H A 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/tools/testing/selftests/cgroup/lib/
H A Dcgroup_util.c281 int attempts; in cg_wait_for_proc_count() local
284 for (attempts = 10; attempts >= 0; attempts--) { in cg_wait_for_proc_count()
/linux/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()
/linux/tools/testing/selftests/bpf/
H A Dtest_maps.h21 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 Dioat.c83 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 Dhid_common.h357 int found = -1, attempts = 3; in get_hid_id() local
361 while (found < 0 && attempts > 0) { in get_hid_id()
362 attempts--; in get_hid_id()
/linux/drivers/scsi/be2iscsi/
H A 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/drivers/mtd/ubi/
H A 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/Documentation/driver-api/80211/
H A Dintroduction.rst11 books are for kernel developers they attempts to document the
/linux/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()
/linux/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi4_cec.c266 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 Dadv7511_cec.c300 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/Documentation/arch/powerpc/
H A Ddscr.rst69 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/md/dm-vdo/indexer/
H A Dopen-chapter.c106 unsigned int attempts = 1; in probe_chapter_slots() local
131 slot = (slot + attempts++) % slot_count; in probe_chapter_slots()
/linux/drivers/net/ethernet/chelsio/cxgb/
H A Despi.c54 int busy, attempts = TRICN_CMD_ATTEMPTS; in tricn_write() local
66 } while (busy && --attempts); in tricn_write()
/linux/Documentation/userspace-api/media/mediactl/
H A Dmedia-func-open.rst41 When the device is opened in read-only mode, attempts to modify its
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_hw.c57 int polarity, int attempts, int delay, u32 *valp) in t3_wait_op_done_val() argument
67 if (--attempts == 0) in t3_wait_op_done_val()
164 int attempts = 10; in t3_mc7_bd_read() local
170 while ((val & F_BUSY) && attempts--) in t3_mc7_bd_read()
783 static int flash_wait_op(struct adapter *adapter, int attempts, int delay) in flash_wait_op() argument
794 if (--attempts == 0) in flash_wait_op()
3144 unsigned int width, density, slow, attempts; in mc7_init() local
3225 attempts = 50; in mc7_init()
3229 } while ((val & F_BUSY) && --attempts); in mc7_init()
3311 int err = -EIO, attempts, i; in t3_init_hw() local
[all …]

123456789