try 87 arch/powerpc/platforms/powernv/pci-cxl.c int i, hwirq, try; try 93 arch/powerpc/platforms/powernv/pci-cxl.c try = num; try 94 arch/powerpc/platforms/powernv/pci-cxl.c while (try) { try 95 arch/powerpc/platforms/powernv/pci-cxl.c hwirq = msi_bitmap_alloc_hwirqs(&phb->msi_bmp, try); try 98 arch/powerpc/platforms/powernv/pci-cxl.c try /= 2; try 100 arch/powerpc/platforms/powernv/pci-cxl.c if (!try) try 104 arch/powerpc/platforms/powernv/pci-cxl.c irqs->range[i] = try; try 107 arch/powerpc/platforms/powernv/pci-cxl.c num -= try; try 675 arch/x86/include/asm/uv/uv_bau.h struct bau_control*, long try); try 528 arch/x86/platform/uv/tlb_uv.c struct bau_control *bcp, long try) try 601 arch/x86/platform/uv/tlb_uv.c struct bau_control *bcp, long try) try 682 arch/x86/platform/uv/tlb_uv.c struct bau_control *bcp, long try) try 817 arch/x86/platform/uv/tlb_uv.c int completion_status, int try) try 825 arch/x86/platform/uv/tlb_uv.c if ((completion_status == FLUSH_COMPLETE) && (try == 1)) { try 839 arch/x86/platform/uv/tlb_uv.c if (completion_status == FLUSH_COMPLETE && try > 1) try 903 arch/x86/platform/uv/tlb_uv.c long try = 0; try 928 arch/x86/platform/uv/tlb_uv.c if (try == 0) { try 951 arch/x86/platform/uv/tlb_uv.c try++; try 952 arch/x86/platform/uv/tlb_uv.c completion_stat = ops.wait_completion(bau_desc, bcp, try); try 975 arch/x86/platform/uv/tlb_uv.c record_send_stats(time1, time2, bcp, stat, completion_stat, try); try 2651 drivers/ata/libata-eh.c int max_tries = 0, try = 0; try 2781 drivers/ata/libata-eh.c deadline = ata_deadline(jiffies, ata_eh_reset_timeouts[try++]); try 2942 drivers/ata/libata-eh.c if (try < max_tries) { try 2982 drivers/ata/libata-eh.c if (try >= max_tries) { try 3018 drivers/ata/libata-eh.c if (try == max_tries - 1) { try 623 drivers/block/drbd/drbd_nl.c int try = 0; try 643 drivers/block/drbd/drbd_nl.c while (try++ < max_tries) { try 688 drivers/block/drbd/drbd_nl.c if (try < max_tries) { try 690 drivers/block/drbd/drbd_nl.c try = max_tries - 1; try 4004 drivers/block/floppy.c int try; try 4029 drivers/block/floppy.c try = 64; /* Only 48 actually useful */ try 4031 drivers/block/floppy.c try = 32; /* Only 24 actually useful */ try 4033 drivers/block/floppy.c tmp = (char *)fd_dma_mem_alloc(1024 * try); try 4035 drivers/block/floppy.c try >>= 1; /* buffer only one side */ try 4036 drivers/block/floppy.c INFBOUND(try, 16); try 4037 drivers/block/floppy.c tmp = (char *)fd_dma_mem_alloc(1024 * try); try 4040 drivers/block/floppy.c fallback_on_nodma_alloc(&tmp, 2048 * try); try 4047 drivers/block/floppy.c fd_dma_mem_free((unsigned long)tmp, try * 1024); try 4051 drivers/block/floppy.c max_buffer_sectors = try; try 385 drivers/block/swim.c int try; try 389 drivers/block/swim.c for (try = 0; try < 100; try++) { try 499 drivers/block/swim.c int i, try; try 510 drivers/block/swim.c try = 5; try 514 drivers/block/swim.c if (try-- == 0) try 646 drivers/bluetooth/bt3c_cs.c int *try = priv_data; try 648 drivers/bluetooth/bt3c_cs.c if (!try) try 687 drivers/bluetooth/bt3c_cs.c unsigned long try; try 692 drivers/bluetooth/bt3c_cs.c for (try = 0; try < 2; try++) try 693 drivers/bluetooth/bt3c_cs.c if (!pcmcia_loop_config(link, bt3c_check_config, (void *) try)) try 726 drivers/char/tpm/tpm1-cmd.c unsigned int try; try 739 drivers/char/tpm/tpm1-cmd.c for (try = 0; try < TPM_RETRY; try++) { try 761 drivers/char/tpm/tpm1-cmd.c else if (try > 0) try 763 drivers/char/tpm/tpm1-cmd.c try * TPM_TIMEOUT_RETRY); try 352 drivers/dma/sh/shdmac.c int slave_id, dma_addr_t slave_addr, bool try) try 360 drivers/dma/sh/shdmac.c if (!try) { try 36 drivers/dma/st_fdma.c int try = 0; try 49 drivers/dma/st_fdma.c if (try || req_line_cfg >= ST_FDMA_NR_DREQS) { try 56 drivers/dma/st_fdma.c try++; try 214 drivers/firewire/core-iso.c int try, new, old = allocate ? BANDWIDTH_AVAILABLE_INITIAL : 0; try 222 drivers/firewire/core-iso.c for (try = 0; try < 5; try++) { try 1547 drivers/firewire/ohci.c int tcode, length, ext_tcode, sel, try; try 1574 drivers/firewire/ohci.c for (try = 0; try < 20; try++) try 582 drivers/gpu/drm/gma500/cdv_intel_dp.c int try, precharge; try 603 drivers/gpu/drm/gma500/cdv_intel_dp.c for (try = 0; try < 5; try++) { try 1300 drivers/gpu/drm/i915/display/intel_dp.c int try, clock = 0; try 1331 drivers/gpu/drm/i915/display/intel_dp.c for (try = 0; try < 3; try++) { try 1340 drivers/gpu/drm/i915/display/intel_dp.c if (try == 3) { try 1368 drivers/gpu/drm/i915/display/intel_dp.c for (try = 0; try < 5; try++) { try 594 drivers/gpu/drm/i915/display/intel_gmbus.c int i = 0, inc, try = 0; try 686 drivers/gpu/drm/i915/display/intel_gmbus.c if (ret == -ENXIO && i == 0 && try++ == 0) { try 97 drivers/i2c/busses/i2c-octeon-core.c int try = 0; try 113 drivers/i2c/busses/i2c-octeon-core.c if (try++ > 100) { try 1969 drivers/i2c/i2c-core-base.c int ret, try; try 1997 drivers/i2c/i2c-core-base.c for (ret = 0, try = 0; try <= adap->retries; try++) { try 551 drivers/i2c/i2c-core-smbus.c int try; try 579 drivers/i2c/i2c-core-smbus.c for (res = 0, try = 0; try <= adapter->retries; try++) { try 1398 drivers/infiniband/hw/hfi1/firmware.c int try = 0; try 1424 drivers/infiniband/hw/hfi1/firmware.c (u32)user, (u32)mask, (try == 0) ? "retrying" : "giving up"); try 1426 drivers/infiniband/hw/hfi1/firmware.c if (try == 0) { try 1429 drivers/infiniband/hw/hfi1/firmware.c try++; try 582 drivers/lightnvm/pblk-rb.c try: try 586 drivers/lightnvm/pblk-rb.c goto try; try 1357 drivers/md/dm.c int try; try 1368 drivers/md/dm.c for (try = 0; try < 2; try++) { try 1372 drivers/md/dm.c if (try) try 1375 drivers/md/dm.c tio = alloc_tio(ci, ti, bio_nr, try ? GFP_NOIO : GFP_NOWAIT); try 1381 drivers/md/dm.c if (try) try 707 drivers/media/dvb-frontends/stv0367.c u8 try, u_var1 = 0, u_var2 = 0, u_var3 = 0, u_var4 = 0, mode, guard; try 715 drivers/media/dvb-frontends/stv0367.c try = 0; try 740 drivers/media/dvb-frontends/stv0367.c if (try == 0) try 746 drivers/media/dvb-frontends/stv0367.c try++; try 747 drivers/media/dvb-frontends/stv0367.c } while ((try < 10) && (ret_flag != FE_TER_LOCKOK)); try 1949 drivers/media/i2c/smiapp/smiapp-core.c u32 try[4]; try 1979 drivers/media/i2c/smiapp/smiapp-core.c try[ntry] = min; try 1982 drivers/media/i2c/smiapp/smiapp-core.c try[ntry] = max; try 1986 drivers/media/i2c/smiapp/smiapp-core.c try[ntry] = min + 1; try 1989 drivers/media/i2c/smiapp/smiapp-core.c try[ntry] = max + 1; try 1998 drivers/media/i2c/smiapp/smiapp-core.c / try[i] try 2005 drivers/media/i2c/smiapp/smiapp-core.c dev_dbg(&client->dev, "trying factor %d (%d)\n", try[i], i); try 2008 drivers/media/i2c/smiapp/smiapp-core.c scale_m = try[i]; try 2019 drivers/media/i2c/smiapp/smiapp-core.c / try[i] try 2023 drivers/media/i2c/smiapp/smiapp-core.c / try[i] try 2029 drivers/media/i2c/smiapp/smiapp-core.c scale_m = try[i]; try 237 drivers/media/pci/ivtv/ivtv-ioctl.c struct v4l2_decoder_cmd *dc, int try) try 255 drivers/media/pci/ivtv/ivtv-ioctl.c if (try) break; try 271 drivers/media/pci/ivtv/ivtv-ioctl.c if (try) break; try 282 drivers/media/pci/ivtv/ivtv-ioctl.c if (try) break; try 296 drivers/media/pci/ivtv/ivtv-ioctl.c if (try) break; try 1741 drivers/media/pci/ivtv/ivtv-ioctl.c int try = (cmd == VIDEO_TRY_COMMAND); try 1743 drivers/media/pci/ivtv/ivtv-ioctl.c if (try) try 1747 drivers/media/pci/ivtv/ivtv-ioctl.c return ivtv_video_command(itv, id, dc, try); try 656 drivers/media/pci/saa7134/saa7134-video.c static int verify_preview(struct saa7134_dev *dev, struct v4l2_window *win, bool try) try 661 drivers/media/pci/saa7134/saa7134-video.c if (!try && (dev->ovbuf.base == NULL || dev->ovfmt == NULL)) try 865 drivers/media/platform/exynos4-is/fimc-capture.c unsigned int num_planes, bool try) try 875 drivers/media/platform/exynos4-is/fimc-capture.c if (try) try 914 drivers/media/platform/exynos4-is/fimc-capture.c struct v4l2_format *f, bool try, try 930 drivers/media/platform/exynos4-is/fimc-capture.c if (try) { try 947 drivers/media/platform/exynos4-is/fimc-capture.c if (try && fimc_jpeg_fourcc(pix->pixelformat)) { try 957 drivers/media/platform/exynos4-is/fimc-capture.c mf = try ? &mbus_fmt : &fimc->vid_cap.ci_fmt; try 964 drivers/media/platform/exynos4-is/fimc-capture.c ret = fimc_pipeline_try_format(ctx, mf, inp_fmt, try); try 984 drivers/media/platform/exynos4-is/fimc-capture.c (*out_fmt)->memplanes, try); try 185 drivers/media/tuners/mt20xx.c int try,lock=0; try 188 drivers/media/tuners/mt20xx.c for(try=0;try<10;try++) { try 33 drivers/media/usb/dvb-usb/gp8psk.c int ret = 0,try = 0; try 41 drivers/media/usb/dvb-usb/gp8psk.c while (ret >= 0 && ret != blen && try < 3) { try 48 drivers/media/usb/dvb-usb/gp8psk.c deb_info("reading number %d (ret: %d)\n",try,ret); try 49 drivers/media/usb/dvb-usb/gp8psk.c try++; try 176 drivers/media/usb/go7007/go7007-v4l2.c static int set_capture_size(struct go7007 *go, struct v4l2_format *fmt, int try) try 234 drivers/media/usb/go7007/go7007-v4l2.c if (try) try 823 drivers/memstick/core/ms_block.c int error, try; try 829 drivers/memstick/core/ms_block.c for (try = 1; try < 3; try++) { try 858 drivers/memstick/core/ms_block.c int try, error; try 902 drivers/memstick/core/ms_block.c for (try = 1; try < 3; try++) { try 1115 drivers/memstick/core/ms_block.c int error, try; try 1126 drivers/memstick/core/ms_block.c for (try = 0; try < 3; try++) { try 1153 drivers/memstick/core/ms_block.c pr_err("block update error after %d tries, switching to r/o mode", try); try 308 drivers/misc/cxl/guest.c int i, try, irq; try 314 drivers/misc/cxl/guest.c try = num; try 315 drivers/misc/cxl/guest.c while (try) { try 316 drivers/misc/cxl/guest.c if (irq_alloc_range(adapter, try, &irq) == 0) try 318 drivers/misc/cxl/guest.c try /= 2; try 320 drivers/misc/cxl/guest.c if (!try) try 323 drivers/misc/cxl/guest.c irqs->range[i] = try; try 324 drivers/misc/cxl/guest.c num -= try; try 268 drivers/misc/genwqe/card_ddcb.c unsigned int try; try 291 drivers/misc/genwqe/card_ddcb.c for (try = 0; try < 2; try++) { try 115 drivers/misc/sgi-gru/grukdump.c int try, cch_locked, cbrcnt = 0, dsrcnt = 0, bytes = 0, ret = 0; try 121 drivers/misc/sgi-gru/grukdump.c for (try = 0; try < CCH_LOCK_ATTEMPTS; try++) { try 246 drivers/mtd/sm_ftl.c int try = 0; try 266 drivers/mtd/sm_ftl.c if (try++) { try 274 drivers/mtd/sm_ftl.c if (try == 3 || sm_recheck_media(ftl)) try 480 drivers/net/ethernet/8390/pcnet_cs.c int try = (*priv & 0x1); try 490 drivers/net/ethernet/8390/pcnet_cs.c if (try) try 496 drivers/net/ethernet/8390/pcnet_cs.c int *has_shmem, int try) try 501 drivers/net/ethernet/8390/pcnet_cs.c int priv = try; try 320 drivers/net/wireless/marvell/libertas/if_spi.c int err, try; try 321 drivers/net/wireless/marvell/libertas/if_spi.c for (try = 0; try < 4; ++try) { try 258 drivers/ntb/test/ntb_perf.c int try; try 270 drivers/ntb/test/ntb_perf.c for (try = 0; try < MSG_TRIES; try++) { try 298 drivers/ntb/test/ntb_perf.c return try < MSG_TRIES ? 0 : -EAGAIN; try 349 drivers/ntb/test/ntb_perf.c int try, ret; try 362 drivers/ntb/test/ntb_perf.c for (try = 0; try < MSG_TRIES; try++) { try 387 drivers/ntb/test/ntb_perf.c return try < MSG_TRIES ? 0 : -EAGAIN; try 784 drivers/ntb/test/ntb_perf.c int try = 0, ret = 0; try 823 drivers/ntb/test/ntb_perf.c } while (!tx && (try++ < DMA_TRIES)); try 730 drivers/pcmcia/pcmcia_resource.c unsigned int try, irq; try 734 drivers/pcmcia/pcmcia_resource.c for (try = 0; try < 64; try++) { try 735 drivers/pcmcia/pcmcia_resource.c irq = try % 32; try 745 drivers/pcmcia/pcmcia_resource.c if ((try < 32) && pcmcia_used_irq[irq]) try 107 drivers/pcmcia/rsrc_iodyn.c unsigned int try; try 132 drivers/pcmcia/rsrc_iodyn.c try = res->end + 1; try 133 drivers/pcmcia/rsrc_iodyn.c if ((*base == 0) || (*base == try)) { try 137 drivers/pcmcia/rsrc_iodyn.c *base = try; try 144 drivers/pcmcia/rsrc_iodyn.c try = res->start - num; try 145 drivers/pcmcia/rsrc_iodyn.c if ((*base == 0) || (*base == try)) { try 150 drivers/pcmcia/rsrc_iodyn.c *base = try; try 736 drivers/pcmcia/rsrc_nonstatic.c unsigned int try; try 762 drivers/pcmcia/rsrc_nonstatic.c try = res->end + 1; try 763 drivers/pcmcia/rsrc_nonstatic.c if ((*base == 0) || (*base == try)) { try 771 drivers/pcmcia/rsrc_nonstatic.c *base = try; try 779 drivers/pcmcia/rsrc_nonstatic.c try = res->start - num; try 780 drivers/pcmcia/rsrc_nonstatic.c if ((*base == 0) || (*base == try)) { try 790 drivers/pcmcia/rsrc_nonstatic.c *base = try; try 297 drivers/phy/broadcom/phy-brcm-sata.c int try; try 337 drivers/phy/broadcom/phy-brcm-sata.c try = 50; try 338 drivers/phy/broadcom/phy-brcm-sata.c while (try) { try 344 drivers/phy/broadcom/phy-brcm-sata.c try--; try 346 drivers/phy/broadcom/phy-brcm-sata.c if (!try) { try 363 drivers/phy/broadcom/phy-brcm-sata.c unsigned int val, try; try 405 drivers/phy/broadcom/phy-brcm-sata.c try = 50; try 406 drivers/phy/broadcom/phy-brcm-sata.c while (--try) { try 413 drivers/phy/broadcom/phy-brcm-sata.c if (!try) { try 437 drivers/phy/broadcom/phy-brcm-sata.c unsigned int val, try; try 452 drivers/phy/broadcom/phy-brcm-sata.c try = 50; try 459 drivers/phy/broadcom/phy-brcm-sata.c try--; try 460 drivers/phy/broadcom/phy-brcm-sata.c } while (try); try 490 drivers/phy/broadcom/phy-brcm-sata.c unsigned int try; try 520 drivers/phy/broadcom/phy-brcm-sata.c try = 50; try 521 drivers/phy/broadcom/phy-brcm-sata.c while (try) { try 527 drivers/phy/broadcom/phy-brcm-sata.c try--; try 530 drivers/phy/broadcom/phy-brcm-sata.c if (!try) { try 1127 drivers/power/supply/bq27xxx_battery.c int ret, try = limit; try 1138 drivers/power/supply/bq27xxx_battery.c } while (!!(ret & BQ27XXX_FLAG_CFGUP) != active && --try); try 1140 drivers/power/supply/bq27xxx_battery.c if (!try && di->chip != BQ27425) { // 425 has a bug try 1145 drivers/power/supply/bq27xxx_battery.c if (limit - try > 3) try 1146 drivers/power/supply/bq27xxx_battery.c dev_warn(di->dev, "cfgupdate %d, retries %d\n", active, limit - try); try 71 drivers/rtc/rtc-rv8803.c int try = RV8803_I2C_TRY_COUNT; try 80 drivers/rtc/rtc-rv8803.c while ((ret == -ENXIO || ret == -EIO) && --try); try 90 drivers/rtc/rtc-rv8803.c int try = RV8803_I2C_TRY_COUNT; try 95 drivers/rtc/rtc-rv8803.c while ((ret == -ENXIO || ret == -EIO) && --try); try 108 drivers/rtc/rtc-rv8803.c int try = RV8803_I2C_TRY_COUNT; try 113 drivers/rtc/rtc-rv8803.c while ((ret == -ENXIO || ret == -EIO) && --try); try 123 drivers/rtc/rtc-rv8803.c int try = RV8803_I2C_TRY_COUNT; try 129 drivers/rtc/rtc-rv8803.c while ((ret == -ENXIO || ret == -EIO) && --try); try 650 drivers/staging/media/ipu3/ipu3-v4l2.c struct v4l2_format *f, bool try) try 662 drivers/staging/media/ipu3/ipu3-v4l2.c dev_dbg(dev, "set fmt node [%u][%u](try = %u)", pipe, node, try); try 685 drivers/staging/media/ipu3/ipu3-v4l2.c if (try) { try 703 drivers/staging/media/ipu3/ipu3-v4l2.c if (!try) { try 728 drivers/staging/media/ipu3/ipu3-v4l2.c if (try) try 737 drivers/staging/media/ipu3/ipu3-v4l2.c if (try) try 743 drivers/staging/media/ipu3/ipu3-v4l2.c if (try) { try 400 drivers/tty/serial/8250/serial_cs.c int *try = priv_data; try 405 drivers/tty/serial/8250/serial_cs.c if ((*try & 0x1) == 0) try 408 drivers/tty/serial/8250/serial_cs.c if (p_dev->resource[0]->end != size_table[(*try >> 1)]) try 443 drivers/tty/serial/8250/serial_cs.c int i = -ENODEV, try; try 450 drivers/tty/serial/8250/serial_cs.c for (try = 0; try < 4; try++) try 451 drivers/tty/serial/8250/serial_cs.c if (!pcmcia_loop_config(link, simple_config_check, &try)) try 395 drivers/tty/serial/serial_core.c unsigned int try; try 419 drivers/tty/serial/serial_core.c for (try = 0; try < 2; try++) { try 426 drivers/tty/serial/serial_core.c if (try == 0 && baud == 38400) try 539 drivers/usb/host/ehci-hub.c int try; try 548 drivers/usb/host/ehci-hub.c for (try = 4; try > 0; --try) { try 554 drivers/usb/host/ehci-hub.c try = 0; try 561 drivers/usb/host/ehci-hub.c if (try > 1) try 1012 drivers/xen/xen-scsiback.c char *phy, struct ids_tuple *vir, int try) try 1018 drivers/xen/xen-scsiback.c if (try) { try 1031 drivers/xen/xen-scsiback.c } else if (!try) { try 94 fs/proc/kcore.c size_t try, size; try 101 fs/proc/kcore.c try = kc_vaddr_to_offset((size_t)m->addr + m->size); try 102 fs/proc/kcore.c if (try > size) try 103 fs/proc/kcore.c size = try; try 517 include/linux/lockdep.h #define LOCK_CONTENDED(_lock, try, lock) \ try 519 include/linux/lockdep.h if (!try(_lock)) { \ try 526 include/linux/lockdep.h #define LOCK_CONTENDED_RETURN(_lock, try, lock) \ try 529 include/linux/lockdep.h if (!try(_lock)) { \ try 543 include/linux/lockdep.h #define LOCK_CONTENDED(_lock, try, lock) \ try 546 include/linux/lockdep.h #define LOCK_CONTENDED_RETURN(_lock, try, lock) \ try 558 include/linux/lockdep.h #define LOCK_CONTENDED_FLAGS(_lock, try, lock, lockfl, flags) \ try 559 include/linux/lockdep.h LOCK_CONTENDED((_lock), (try), (lock)) try 563 include/linux/lockdep.h #define LOCK_CONTENDED_FLAGS(_lock, try, lock, lockfl, flags) \ try 474 init/do_mounts.c int try, err; try 486 init/do_mounts.c for (try = 1; ; try++) { try 491 init/do_mounts.c if (try > NFSROOT_RETRY_MAX) try 44 kernel/locking/percpu-rwsem.c int __percpu_down_read(struct percpu_rw_semaphore *sem, int try) try 76 kernel/locking/percpu-rwsem.c if (try) try 593 net/dccp/ccids/lib/tfrc_equation.c u32 try, low = 0, high = TFRC_CALC_X_ARRSIZE - 1; try 596 net/dccp/ccids/lib/tfrc_equation.c try = (low + high) / 2; try 597 net/dccp/ccids/lib/tfrc_equation.c if (fval <= tfrc_calc_x_lookup[try][small]) try 598 net/dccp/ccids/lib/tfrc_equation.c high = try; try 600 net/dccp/ccids/lib/tfrc_equation.c low = try + 1; try 464 security/selinux/avc.c int hvalue, try, ecx; try 469 security/selinux/avc.c for (try = 0, ecx = 0; try < AVC_CACHE_SLOTS; try++) { try 451 sound/soc/fsl/fsl_ssi.c int try = 100; try 463 sound/soc/fsl/fsl_ssi.c } while (--try); try 655 sound/usb/usx2y/usb_stream.c int try = 0; try 670 sound/usb/usx2y/usb_stream.c ++try; try 710 sound/usb/usx2y/usb_stream.c try = 0; try 712 sound/usb/usx2y/usb_stream.c if (try) { try 714 sound/usb/usx2y/usb_stream.c if (try < 5) { try 66 tools/perf/util/record.c const char *try[] = {"cycles:u", "instructions:u", "cpu-clock:u", NULL}; try 77 tools/perf/util/record.c ret = perf_do_probe_api(fn, cpu, try[i++]); try 80 tools/perf/util/record.c } while (ret == -EAGAIN && try[i]); try 2662 virt/kvm/kvm_main.c int try = 3; try 2674 virt/kvm/kvm_main.c for (pass = 0; pass < 2 && !yielded && try; pass++) { try 2698 virt/kvm/kvm_main.c try--; try 2699 virt/kvm/kvm_main.c if (!try)