cnt 1220 arch/alpha/kernel/setup.c long nloads = size / stride, cnt, tmp; cnt 1235 arch/alpha/kernel/setup.c : "=&r" (cnt), "=&r" (nloads), "=&r" (addr), "=&r" (tmp) cnt 1238 arch/alpha/kernel/setup.c return cnt / (size / stride); cnt 240 arch/alpha/kernel/smp.c int mycpu, i, cnt; cnt 265 arch/alpha/kernel/smp.c cnt = cpu->ipc_buffer[0] >> 32; cnt 266 arch/alpha/kernel/smp.c if (cnt <= 0 || cnt >= 80) cnt 271 arch/alpha/kernel/smp.c memcpy(cp2, cp1, cnt); cnt 272 arch/alpha/kernel/smp.c cp2[cnt] = '\0'; cnt 693 arch/arc/include/asm/uaccess.h long res, tmp1, cnt; cnt 714 arch/arc/include/asm/uaccess.h : "=r"(res), "=r"(tmp1), "=r"(cnt), "=r"(val) cnt 189 arch/arm/common/mcpm_entry.c int i, cnt; cnt 190 arch/arm/common/mcpm_entry.c for (i = 0, cnt = 0; i < MAX_CPUS_PER_CLUSTER; i++) cnt 191 arch/arm/common/mcpm_entry.c cnt |= mcpm_cpu_use_count[cluster][i]; cnt 192 arch/arm/common/mcpm_entry.c return !cnt; cnt 836 arch/arm/kernel/perf_event_v7.c unsigned int cnt; cnt 858 arch/arm/kernel/perf_event_v7.c for (cnt = ARMV7_IDX_COUNTER0; cnt 859 arch/arm/kernel/perf_event_v7.c cnt <= ARMV7_IDX_COUNTER_LAST(cpu_pmu); cnt++) { cnt 860 arch/arm/kernel/perf_event_v7.c armv7_pmnc_select_counter(cnt); cnt 863 arch/arm/kernel/perf_event_v7.c ARMV7_IDX_TO_COUNTER(cnt), val); cnt 866 arch/arm/kernel/perf_event_v7.c ARMV7_IDX_TO_COUNTER(cnt), val); cnt 54 arch/arm/mm/cache-l2x0-pmu.c int i, cnt = 0; cnt 58 arch/arm/mm/cache-l2x0-pmu.c cnt++; cnt 61 arch/arm/mm/cache-l2x0-pmu.c return cnt; cnt 188 arch/arm64/include/asm/arch_timer.h u64 cnt; cnt 191 arch/arm64/include/asm/arch_timer.h cnt = arch_timer_reg_read_stable(cntpct_el0); cnt 192 arch/arm64/include/asm/arch_timer.h arch_counter_enforce_ordering(cnt); cnt 193 arch/arm64/include/asm/arch_timer.h return cnt; cnt 198 arch/arm64/include/asm/arch_timer.h u64 cnt; cnt 201 arch/arm64/include/asm/arch_timer.h cnt = read_sysreg(cntpct_el0); cnt 202 arch/arm64/include/asm/arch_timer.h arch_counter_enforce_ordering(cnt); cnt 203 arch/arm64/include/asm/arch_timer.h return cnt; cnt 208 arch/arm64/include/asm/arch_timer.h u64 cnt; cnt 211 arch/arm64/include/asm/arch_timer.h cnt = arch_timer_reg_read_stable(cntvct_el0); cnt 212 arch/arm64/include/asm/arch_timer.h arch_counter_enforce_ordering(cnt); cnt 213 arch/arm64/include/asm/arch_timer.h return cnt; cnt 218 arch/arm64/include/asm/arch_timer.h u64 cnt; cnt 221 arch/arm64/include/asm/arch_timer.h cnt = read_sysreg(cntvct_el0); cnt 222 arch/arm64/include/asm/arch_timer.h arch_counter_enforce_ordering(cnt); cnt 223 arch/arm64/include/asm/arch_timer.h return cnt; cnt 461 arch/arm64/include/asm/insn.h int aarch64_insn_patch_text(void *addrs[], u32 insns[], int cnt); cnt 48 arch/arm64/include/asm/string.h void memcpy_flushcache(void *dst, const void *src, size_t cnt); cnt 212 arch/arm64/kernel/insn.c int __kprobes aarch64_insn_patch_text(void *addrs[], u32 insns[], int cnt) cnt 217 arch/arm64/kernel/insn.c .insn_cnt = cnt, cnt 221 arch/arm64/kernel/insn.c if (cnt <= 0) cnt 214 arch/arm64/kernel/setup.c num_standard_resources = memblock.memory.cnt; cnt 10 arch/arm64/lib/uaccess_flushcache.c void memcpy_flushcache(void *dst, const void *src, size_t cnt) cnt 17 arch/arm64/lib/uaccess_flushcache.c memcpy(dst, src, cnt); cnt 18 arch/arm64/lib/uaccess_flushcache.c __clean_dcache_area_pop(dst, cnt); cnt 30 arch/c6x/include/asm/delay.h uint32_t cnt, endcnt; cnt 40 arch/c6x/include/asm/delay.h : "=b"(cnt), "+a"(x), "=b"(endcnt) : : "B0"); cnt 49 arch/c6x/kernel/c6x_ksyms.c extern void __c6xabi_strasgi(int *dst, const int *src, unsigned cnt); cnt 58 arch/c6x/kernel/c6x_ksyms.c extern void __c6xabi_strasgi_64plus(int *dst, const int *src, unsigned cnt); cnt 655 arch/ia64/hp/common/sba_iommu.c int cnt = ioc->saved_cnt; cnt 660 arch/ia64/hp/common/sba_iommu.c while (cnt--) { cnt 1081 arch/ia64/hp/common/sba_iommu.c int cnt = ioc->saved_cnt; cnt 1083 arch/ia64/hp/common/sba_iommu.c while (cnt--) { cnt 1209 arch/ia64/hp/common/sba_iommu.c int cnt = startsg->dma_length; cnt 1215 arch/ia64/hp/common/sba_iommu.c nents, startsg->dma_address, cnt, cnt 1219 arch/ia64/hp/common/sba_iommu.c nents, startsg->dma_address, cnt, cnt 1239 arch/ia64/hp/common/sba_iommu.c if (cnt) { cnt 1246 arch/ia64/hp/common/sba_iommu.c dma_sg->dma_length += cnt; cnt 1247 arch/ia64/hp/common/sba_iommu.c cnt += dma_offset; cnt 1249 arch/ia64/hp/common/sba_iommu.c cnt = ROUNDUP(cnt, iovp_size); cnt 1253 arch/ia64/hp/common/sba_iommu.c cnt -= iovp_size; cnt 1255 arch/ia64/hp/common/sba_iommu.c } while (cnt > 0); cnt 711 arch/m68k/amiga/config.c int ch, cnt = 0; cnt 718 arch/m68k/amiga/config.c if (cnt == 0) { cnt 722 arch/m68k/amiga/config.c cnt--; cnt 732 arch/m68k/amiga/config.c if (cnt >= len + 1) { cnt 734 arch/m68k/amiga/config.c cnt--; cnt 739 arch/m68k/amiga/config.c s[cnt++] = ch; cnt 744 arch/m68k/amiga/config.c s[cnt] = 0; cnt 44 arch/m68k/amiga/pcmcia.c int cnt, pos, len; cnt 55 arch/m68k/amiga/pcmcia.c for (cnt = 0; cnt < len; cnt++) { cnt 56 arch/m68k/amiga/pcmcia.c *dest++ = gayle_attribute[pos+(cnt<<1)]; cnt 489 arch/m68k/include/asm/bitops.h int cnt; cnt 492 arch/m68k/include/asm/bitops.h : "=d" (cnt) cnt 494 arch/m68k/include/asm/bitops.h return 32 - cnt; cnt 507 arch/m68k/include/asm/bitops.h int cnt; cnt 510 arch/m68k/include/asm/bitops.h : "=d" (cnt) cnt 512 arch/m68k/include/asm/bitops.h return 32 - cnt; cnt 92 arch/m68k/include/asm/dvma.h __volatile__ unsigned long cnt; /* How many bytes to transfer */ cnt 66 arch/m68k/include/asm/irq.h extern void m68k_setup_user_interrupt(unsigned int vec, unsigned int cnt); cnt 69 arch/m68k/include/asm/irq.h unsigned int irq, unsigned int cnt); cnt 91 arch/m68k/kernel/ints.c void __init m68k_setup_user_interrupt(unsigned int vec, unsigned int cnt) cnt 95 arch/m68k/kernel/ints.c BUG_ON(IRQ_USER + cnt > NR_IRQS); cnt 97 arch/m68k/kernel/ints.c for (i = 0; i < cnt; i++) cnt 117 arch/m68k/kernel/ints.c unsigned int cnt) cnt 121 arch/m68k/kernel/ints.c for (i = 0; i < cnt; i++) { cnt 54 arch/m68k/kernel/time.c static unsigned cnt = 0, period = 0, dist = 0; cnt 56 arch/m68k/kernel/time.c if (cnt == 0 || cnt == dist) cnt 58 arch/m68k/kernel/time.c else if (cnt == 7 || cnt == dist+7) cnt 61 arch/m68k/kernel/time.c if (++cnt > period) { cnt 62 arch/m68k/kernel/time.c cnt = 0; cnt 21 arch/m68k/math-emu/multi_arith.h static inline void fp_denormalize(struct fp_ext *reg, unsigned int cnt) cnt 23 arch/m68k/math-emu/multi_arith.h reg->exp += cnt; cnt 25 arch/m68k/math-emu/multi_arith.h switch (cnt) { cnt 27 arch/m68k/math-emu/multi_arith.h reg->lowmant = reg->mant.m32[1] << (8 - cnt); cnt 28 arch/m68k/math-emu/multi_arith.h reg->mant.m32[1] = (reg->mant.m32[1] >> cnt) | cnt 29 arch/m68k/math-emu/multi_arith.h (reg->mant.m32[0] << (32 - cnt)); cnt 30 arch/m68k/math-emu/multi_arith.h reg->mant.m32[0] = reg->mant.m32[0] >> cnt; cnt 33 arch/m68k/math-emu/multi_arith.h reg->lowmant = reg->mant.m32[1] >> (cnt - 8); cnt 34 arch/m68k/math-emu/multi_arith.h if (reg->mant.m32[1] << (40 - cnt)) cnt 36 arch/m68k/math-emu/multi_arith.h reg->mant.m32[1] = (reg->mant.m32[1] >> cnt) | cnt 37 arch/m68k/math-emu/multi_arith.h (reg->mant.m32[0] << (32 - cnt)); cnt 38 arch/m68k/math-emu/multi_arith.h reg->mant.m32[0] = reg->mant.m32[0] >> cnt; cnt 42 arch/m68k/math-emu/multi_arith.h : "m" (reg->mant.m32[0]), "d" (64 - cnt)); cnt 43 arch/m68k/math-emu/multi_arith.h if (reg->mant.m32[1] << (40 - cnt)) cnt 45 arch/m68k/math-emu/multi_arith.h reg->mant.m32[1] = reg->mant.m32[0] >> (cnt - 32); cnt 49 arch/m68k/math-emu/multi_arith.h reg->lowmant = reg->mant.m32[0] >> (cnt - 40); cnt 50 arch/m68k/math-emu/multi_arith.h if ((reg->mant.m32[0] << (72 - cnt)) || reg->mant.m32[1]) cnt 52 arch/m68k/math-emu/multi_arith.h reg->mant.m32[1] = reg->mant.m32[0] >> (cnt - 32); cnt 54 arch/m68k/sun3/sun3ints.c unsigned int cnt; cnt 56 arch/m68k/sun3/sun3ints.c cnt = kstat_irqs_cpu(irq, 0); cnt 57 arch/m68k/sun3/sun3ints.c if (!(cnt % 2000)) cnt 58 arch/m68k/sun3/sun3ints.c sun3_leds(led_pattern[cnt % 16000 / 2000]); cnt 65 arch/m68k/sun3/sun3ints.c unsigned int cnt; cnt 78 arch/m68k/sun3/sun3ints.c cnt = kstat_irqs_cpu(irq, 0); cnt 79 arch/m68k/sun3/sun3ints.c if (!(cnt % 20)) cnt 80 arch/m68k/sun3/sun3ints.c sun3_leds(led_pattern[cnt % 160 / 20]); cnt 279 arch/microblaze/mm/init.c if (!memblock.reserved.cnt) { cnt 97 arch/mips/alchemy/devboards/platform.c int cnt, i, ret; cnt 101 arch/mips/alchemy/devboards/platform.c cnt = 5; cnt 103 arch/mips/alchemy/devboards/platform.c cnt++; cnt 105 arch/mips/alchemy/devboards/platform.c cnt++; cnt 107 arch/mips/alchemy/devboards/platform.c sr = kcalloc(cnt, sizeof(struct resource), GFP_KERNEL); cnt 154 arch/mips/alchemy/devboards/platform.c pd->num_resources = cnt; cnt 92 arch/mips/cavium-octeon/csrc-octeon.c : [cnt] "+r" (clk_count) cnt 121 arch/mips/cavium-octeon/csrc-octeon.c u64 cnt = read_c0_cvmcount(); cnt 133 arch/mips/cavium-octeon/csrc-octeon.c : [cnt] "r" (cnt), [mult] "r" (mult), [shift] "r" (shift) cnt 203 arch/mips/cavium-octeon/csrc-octeon.c : [cnt] "+r" (end) cnt 256 arch/mips/cavium-octeon/executive/cvmx-helper-util.c gmx_tx_thresh.s.cnt = 0x40; cnt 260 arch/mips/cavium-octeon/executive/cvmx-helper-util.c gmx_tx_thresh.s.cnt = 0x100 / 1; cnt 262 arch/mips/cavium-octeon/executive/cvmx-helper-util.c gmx_tx_thresh.s.cnt = 0x100 / 2; cnt 264 arch/mips/cavium-octeon/executive/cvmx-helper-util.c gmx_tx_thresh.s.cnt = 0x100 / 4; cnt 664 arch/mips/cavium-octeon/executive/cvmx-spi.c gmxx_rxx_jabber.s.cnt = 64 * 1024 - 4; cnt 49 arch/mips/fw/arc/init.c ArcRead(0, &c, 1, &cnt); cnt 26 arch/mips/fw/arc/promlib.c ULONG cnt; cnt 30 arch/mips/fw/arc/promlib.c ArcWrite(1, &it, 1, &cnt); cnt 36 arch/mips/fw/arc/promlib.c ULONG cnt; cnt 40 arch/mips/fw/arc/promlib.c ArcRead(0, &c, 1, &cnt); cnt 445 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:5; cnt 447 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:5; cnt 805 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:16; cnt 807 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:16; cnt 861 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:48; cnt 863 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:48; cnt 874 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:48; cnt 876 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:48; cnt 887 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:48; cnt 889 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:48; cnt 900 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:48; cnt 902 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:48; cnt 913 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:32; cnt 915 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:32; cnt 926 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:32; cnt 928 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:32; cnt 939 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:32; cnt 941 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:32; cnt 952 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:32; cnt 954 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:32; cnt 965 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:32; cnt 967 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:32; cnt 1108 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:16; cnt 1110 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:16; cnt 1390 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:6; cnt 1392 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t cnt:6; cnt 168 arch/mips/include/asm/octeon/cvmx-ciu-defs.h __BITFIELD_FIELD(uint64_t cnt:24, cnt 222 arch/mips/include/asm/octeon/cvmx-dpi-defs.h uint64_t cnt:3; cnt 224 arch/mips/include/asm/octeon/cvmx-dpi-defs.h uint64_t cnt:3; cnt 423 arch/mips/include/asm/octeon/cvmx-dpi-defs.h uint64_t cnt:16; cnt 425 arch/mips/include/asm/octeon/cvmx-dpi-defs.h uint64_t cnt:16; cnt 1575 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h uint64_t cnt:16; cnt 1577 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h uint64_t cnt:16; cnt 1631 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h uint64_t cnt:10; cnt 1633 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h uint64_t cnt:10; cnt 1640 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h uint64_t cnt:7; cnt 1642 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h uint64_t cnt:7; cnt 1649 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h uint64_t cnt:9; cnt 1651 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h uint64_t cnt:9; cnt 1114 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t cnt:32; cnt 1116 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t cnt:32; cnt 1437 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t cnt:32; cnt 1439 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t cnt:32; cnt 167 arch/mips/include/asm/octeon/cvmx-led-defs.h uint64_t cnt:6; cnt 169 arch/mips/include/asm/octeon/cvmx-led-defs.h uint64_t cnt:6; cnt 1007 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t cnt:32; cnt 1009 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t cnt:32; cnt 1020 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t cnt:32; cnt 1022 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t cnt:32; cnt 3204 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t cnt:32; cnt 3206 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t cnt:32; cnt 3218 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t cnt:32; cnt 3220 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t cnt:32; cnt 3439 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t cnt:32; cnt 3441 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t cnt:32; cnt 3543 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t cnt:32; cnt 3545 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t cnt:32; cnt 1909 arch/mips/include/asm/octeon/cvmx-pci-defs.h uint64_t cnt:31; cnt 1911 arch/mips/include/asm/octeon/cvmx-pci-defs.h uint64_t cnt:31; cnt 228 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t cnt:13; cnt 232 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t cnt:13; cnt 55 arch/mips/include/asm/octeon/cvmx-spxx-defs.h uint64_t cnt:32; cnt 57 arch/mips/include/asm/octeon/cvmx-spxx-defs.h uint64_t cnt:32; cnt 387 arch/mips/include/asm/octeon/cvmx-spxx-defs.h uint64_t cnt:32; cnt 389 arch/mips/include/asm/octeon/cvmx-spxx-defs.h uint64_t cnt:32; cnt 74 arch/mips/include/asm/octeon/cvmx-stxx-defs.h uint64_t cnt:32; cnt 76 arch/mips/include/asm/octeon/cvmx-stxx-defs.h uint64_t cnt:32; cnt 281 arch/mips/include/asm/octeon/cvmx-stxx-defs.h uint64_t cnt:32; cnt 283 arch/mips/include/asm/octeon/cvmx-stxx-defs.h uint64_t cnt:32; cnt 294 arch/mips/include/asm/octeon/cvmx-stxx-defs.h uint64_t cnt:32; cnt 296 arch/mips/include/asm/octeon/cvmx-stxx-defs.h uint64_t cnt:32; cnt 322 arch/mips/include/asm/octeon/cvmx-stxx-defs.h uint64_t cnt:32; cnt 324 arch/mips/include/asm/octeon/cvmx-stxx-defs.h uint64_t cnt:32; cnt 69 arch/mips/include/asm/sgialib.h extern LONG ArcRead(ULONG fd, PVOID buf, ULONG num, PULONG cnt); cnt 70 arch/mips/include/asm/sgialib.h extern LONG ArcWrite(ULONG fd, PVOID buf, ULONG num, PULONG cnt); cnt 99 arch/mips/include/asm/txx9/tx4939.h struct tx4939_le_reg cnt; cnt 132 arch/mips/include/asm/txx9/tx4939.h } cnt; cnt 412 arch/mips/include/asm/txx9/tx4939.h #define TX4939_CRYPTO_DESC_OB_CNT(cnt) ((cnt) << 21) cnt 414 arch/mips/include/asm/txx9/tx4939.h #define TX4939_CRYPTO_DESC_IB_CNT(cnt) ((cnt) << 10) cnt 21 arch/mips/kernel/cevt-r4k.c unsigned int cnt; cnt 24 arch/mips/kernel/cevt-r4k.c cnt = read_c0_count(); cnt 25 arch/mips/kernel/cevt-r4k.c cnt += delta; cnt 26 arch/mips/kernel/cevt-r4k.c write_c0_compare(cnt); cnt 27 arch/mips/kernel/cevt-r4k.c res = ((int)(read_c0_count() - cnt) >= 0) ? -ETIME : 0; cnt 50 arch/mips/kernel/cevt-r4k.c unsigned int cnt, i, j, k, l; cnt 64 arch/mips/kernel/cevt-r4k.c cnt = read_c0_count(); cnt 65 arch/mips/kernel/cevt-r4k.c write_c0_compare(cnt); cnt 66 arch/mips/kernel/cevt-r4k.c cnt = read_c0_count() - cnt; cnt 70 arch/mips/kernel/cevt-r4k.c if (cnt < buf1[k]) { cnt 79 arch/mips/kernel/cevt-r4k.c buf1[k] = cnt; cnt 195 arch/mips/kernel/cevt-r4k.c unsigned int cnt; cnt 205 arch/mips/kernel/cevt-r4k.c cnt = read_c0_count(); cnt 206 arch/mips/kernel/cevt-r4k.c write_c0_compare(cnt); cnt 208 arch/mips/kernel/cevt-r4k.c while (read_c0_count() < (cnt + COMPARE_INT_SEEN_TICKS)) cnt 216 arch/mips/kernel/cevt-r4k.c cnt = read_c0_count(); cnt 217 arch/mips/kernel/cevt-r4k.c cnt += delta; cnt 218 arch/mips/kernel/cevt-r4k.c write_c0_compare(cnt); cnt 220 arch/mips/kernel/cevt-r4k.c if ((int)(read_c0_count() - cnt) < 0) cnt 225 arch/mips/kernel/cevt-r4k.c while ((int)(read_c0_count() - cnt) <= 0) cnt 228 arch/mips/kernel/cevt-r4k.c while (read_c0_count() < (cnt + COMPARE_INT_SEEN_TICKS)) cnt 233 arch/mips/kernel/cevt-r4k.c cnt = read_c0_count(); cnt 234 arch/mips/kernel/cevt-r4k.c write_c0_compare(cnt); cnt 236 arch/mips/kernel/cevt-r4k.c while (read_c0_count() < (cnt + COMPARE_INT_SEEN_TICKS)) cnt 161 arch/mips/loongson64/loongson-3/hpet.c u32 cnt; cnt 164 arch/mips/loongson64/loongson-3/hpet.c cnt = hpet_read(HPET_COUNTER); cnt 165 arch/mips/loongson64/loongson-3/hpet.c cnt += (u32) delta; cnt 166 arch/mips/loongson64/loongson-3/hpet.c hpet_write(HPET_T0_CMP, cnt); cnt 168 arch/mips/loongson64/loongson-3/hpet.c res = (s32)(cnt - hpet_read(HPET_COUNTER)); cnt 53 arch/mips/sgi-ip22/ip22-mc.c int i, j, found, cnt = 0; cnt 63 arch/mips/sgi-ip22/ip22-mc.c bank[cnt].size = get_bank_size(tmp); cnt 64 arch/mips/sgi-ip22/ip22-mc.c bank[cnt].addr = get_bank_addr(tmp); cnt 66 arch/mips/sgi-ip22/ip22-mc.c i, bank[cnt].size / 1024 / 1024, bank[cnt].addr); cnt 67 arch/mips/sgi-ip22/ip22-mc.c cnt++; cnt 75 arch/mips/sgi-ip22/ip22-mc.c for (i = 1; i < cnt; i++) cnt 88 arch/mips/sgi-ip22/ip22-mc.c for (i = 0; i < cnt; i++) { cnt 122 arch/mips/sgi-ip22/ip22-time.c ULONG cnt; cnt 128 arch/mips/sgi-ip22/ip22-time.c ArcRead(0, &c, 1, &cnt); cnt 45 arch/mips/sgi-ip27/ip27-timer.c unsigned long cnt; cnt 47 arch/mips/sgi-ip27/ip27-timer.c cnt = LOCAL_HUB_L(PI_RT_COUNT); cnt 48 arch/mips/sgi-ip27/ip27-timer.c cnt += delta; cnt 49 arch/mips/sgi-ip27/ip27-timer.c LOCAL_HUB_S(PI_RT_COMPARE_A + PI_COUNT_OFFSET * slice, cnt); cnt 51 arch/mips/sgi-ip27/ip27-timer.c return LOCAL_HUB_L(PI_RT_COUNT) >= cnt ? -ETIME : 0; cnt 103 arch/nds32/kernel/traps.c int cnt = LOOP_TIMES, graph = 0; cnt 113 arch/nds32/kernel/traps.c if (--cnt < 0) cnt 129 arch/nds32/kernel/traps.c if (--cnt < 0) cnt 219 arch/parisc/kernel/module.c unsigned long cnt = 0; cnt 226 arch/parisc/kernel/module.c cnt++; cnt 230 arch/parisc/kernel/module.c return cnt; cnt 235 arch/parisc/kernel/module.c unsigned long cnt = 0; cnt 243 arch/parisc/kernel/module.c cnt++; cnt 247 arch/parisc/kernel/module.c return cnt; cnt 252 arch/parisc/kernel/module.c unsigned long cnt = 0; cnt 258 arch/parisc/kernel/module.c cnt++; cnt 262 arch/parisc/kernel/module.c return cnt; cnt 267 arch/parisc/kernel/module.c unsigned long cnt = 0; cnt 273 arch/parisc/kernel/module.c cnt++; cnt 277 arch/parisc/kernel/module.c return cnt; cnt 184 arch/parisc/kernel/perf.c static ssize_t perf_read(struct file *file, char __user *buf, size_t cnt, loff_t *ppos); cnt 276 arch/parisc/kernel/perf.c static ssize_t perf_read(struct file *file, char __user *buf, size_t cnt, loff_t *ppos) cnt 20 arch/powerpc/include/asm/fadump-internal.h #define memblock_num_regions(memblock_type) (memblock.memblock_type.cnt) cnt 101 arch/powerpc/kernel/eeh_cache.c int cnt = 0; cnt 108 arch/powerpc/kernel/eeh_cache.c (piar->flags & IORESOURCE_IO) ? "i/o" : "mem", cnt, cnt 110 arch/powerpc/kernel/eeh_cache.c cnt++; cnt 647 arch/powerpc/kernel/eeh_driver.c int cnt, rc; cnt 656 arch/powerpc/kernel/eeh_driver.c cnt = pe->freeze_count; cnt 729 arch/powerpc/kernel/eeh_driver.c pe->freeze_count = cnt; cnt 474 arch/powerpc/kernel/eeh_pe.c int cnt; cnt 527 arch/powerpc/kernel/eeh_pe.c cnt = 0; cnt 530 arch/powerpc/kernel/eeh_pe.c cnt++; cnt 535 arch/powerpc/kernel/eeh_pe.c if (!cnt) cnt 1568 arch/powerpc/kernel/prom_init.c unsigned long cnt = mem_reserve_cnt; cnt 1581 arch/powerpc/kernel/prom_init.c if (cnt >= (MEM_RESERVE_MAP_SIZE - 1)) cnt 1583 arch/powerpc/kernel/prom_init.c mem_reserve_map[cnt].base = cpu_to_be64(base); cnt 1584 arch/powerpc/kernel/prom_init.c mem_reserve_map[cnt].size = cpu_to_be64(size); cnt 1585 arch/powerpc/kernel/prom_init.c mem_reserve_cnt = cnt + 1; cnt 129 arch/powerpc/mm/init_32.c if (memblock.memory.cnt > 1) { cnt 2047 arch/powerpc/platforms/cell/spufs/file.c int i, cnt; cnt 2052 arch/powerpc/platforms/cell/spufs/file.c cnt = 4 - ((wbox_stat & 0x00ff00) >> 8); cnt 2053 arch/powerpc/platforms/cell/spufs/file.c for (i = 0; i < cnt; i++) { cnt 2058 arch/powerpc/platforms/cell/spufs/file.c cnt * sizeof(u32)); cnt 2381 arch/powerpc/platforms/cell/spufs/file.c int error = 0, cnt = 0; cnt 2390 arch/powerpc/platforms/cell/spufs/file.c while (cnt < len) { cnt 2395 arch/powerpc/platforms/cell/spufs/file.c if (cnt > 0) { cnt 2436 arch/powerpc/platforms/cell/spufs/file.c error = copy_to_user(buf + cnt, tbuf, width); cnt 2439 arch/powerpc/platforms/cell/spufs/file.c cnt += width; cnt 2444 arch/powerpc/platforms/cell/spufs/file.c return cnt == 0 ? error : cnt; cnt 61 arch/powerpc/platforms/embedded6xx/wii.c BUG_ON(memblock.memory.cnt != 2); cnt 241 arch/powerpc/platforms/powermac/nvram.c int cnt; cnt 247 arch/powerpc/platforms/powermac/nvram.c for (cnt=0; cnt<(NVRAM_SIZE-CORE99_ADLER_START); cnt++) { cnt 248 arch/powerpc/platforms/powermac/nvram.c if ((cnt % 5000) == 0) { cnt 252 arch/powerpc/platforms/powermac/nvram.c low += buffer[cnt]; cnt 288 arch/powerpc/platforms/powernv/eeh-powernv.c int cnt = 48; /* Maximal number of capabilities */ cnt 299 arch/powerpc/platforms/powernv/eeh-powernv.c while (cnt--) { cnt 173 arch/powerpc/platforms/pseries/eeh_pseries.c int cnt = 48; /* Maximal number of capabilities */ cnt 179 arch/powerpc/platforms/pseries/eeh_pseries.c while (cnt--) { cnt 193 arch/powerpc/platforms/pseries/pseries_energy.c int rc, cnt, i, cpu; cnt 214 arch/powerpc/platforms/pseries/pseries_energy.c cnt = retbuf[0]; cnt 215 arch/powerpc/platforms/pseries/pseries_energy.c for (i = 0; i < cnt; i++) { cnt 31 arch/s390/kernel/crash_dump.c .cnt = 1, cnt 549 arch/s390/kernel/crash_dump.c int cnt = 0; cnt 554 arch/s390/kernel/crash_dump.c cnt++; cnt 555 arch/s390/kernel/crash_dump.c return cnt; cnt 346 arch/s390/numa/toptree.c int cnt = 0; cnt 349 arch/s390/numa/toptree.c cnt++; cnt 350 arch/s390/numa/toptree.c return cnt; cnt 56 arch/s390/pci/pci_mmio.c u64 cnt = ulen; cnt 77 arch/s390/pci/pci_mmio.c [src] "+a" (src), [cnt] "+d" (cnt), cnt 85 arch/s390/pci/pci_mmio.c if (!cc && cnt != 0) cnt 203 arch/s390/pci/pci_mmio.c u64 cnt = ulen; cnt 229 arch/s390/pci/pci_mmio.c [dst] "+a" (dst), [cnt] "+d" (cnt), [tmp] "=d" (tmp), cnt 236 arch/s390/pci/pci_mmio.c if (!cc && cnt != 0) cnt 94 arch/sh/drivers/dma/dma-sh.c int cnt = ((chcr & CHCR_TS_LOW_MASK) >> CHCR_TS_LOW_SHIFT) | cnt 97 arch/sh/drivers/dma/dma-sh.c return ts_shift[cnt]; cnt 152 arch/sh/include/asm/uaccess.h unsigned long (*from)(void *dst, const void __user *src, unsigned long cnt); cnt 153 arch/sh/include/asm/uaccess.h unsigned long (*to)(void __user *dst, const void *src, unsigned long cnt); cnt 218 arch/sh/kernel/io_trapped.c static unsigned long from_device(void *dst, const void *src, unsigned long cnt) cnt 224 arch/sh/kernel/io_trapped.c pr_debug("trapped io read 0x%08lx (%ld)\n", src_addr, cnt); cnt 230 arch/sh/kernel/io_trapped.c return cnt; cnt 233 arch/sh/kernel/io_trapped.c max_t(unsigned long, cnt, cnt 235 arch/sh/kernel/io_trapped.c (unsigned long)dst, cnt); cnt 241 arch/sh/kernel/io_trapped.c static unsigned long to_device(void *dst, const void *src, unsigned long cnt) cnt 247 arch/sh/kernel/io_trapped.c pr_debug("trapped io write 0x%08lx (%ld)\n", dst_addr, cnt); cnt 253 arch/sh/kernel/io_trapped.c return cnt; cnt 255 arch/sh/kernel/io_trapped.c tmp = copy_word((unsigned long)src, cnt, cnt 256 arch/sh/kernel/io_trapped.c dst_addr, max_t(unsigned long, cnt, cnt 16 arch/sh/mm/flush-sh4.c reg_size_t aligned_start, v, cnt, end; cnt 22 arch/sh/mm/flush-sh4.c cnt = (end - v) / L1_CACHE_BYTES; cnt 24 arch/sh/mm/flush-sh4.c while (cnt >= 8) { cnt 33 arch/sh/mm/flush-sh4.c cnt -= 8; cnt 36 arch/sh/mm/flush-sh4.c while (cnt) { cnt 38 arch/sh/mm/flush-sh4.c cnt--; cnt 50 arch/sh/mm/flush-sh4.c reg_size_t aligned_start, v, cnt, end; cnt 56 arch/sh/mm/flush-sh4.c cnt = (end - v) / L1_CACHE_BYTES; cnt 58 arch/sh/mm/flush-sh4.c while (cnt >= 8) { cnt 67 arch/sh/mm/flush-sh4.c cnt -= 8; cnt 69 arch/sh/mm/flush-sh4.c while (cnt) { cnt 71 arch/sh/mm/flush-sh4.c cnt--; cnt 80 arch/sh/mm/flush-sh4.c reg_size_t aligned_start, v, cnt, end; cnt 86 arch/sh/mm/flush-sh4.c cnt = (end - v) / L1_CACHE_BYTES; cnt 88 arch/sh/mm/flush-sh4.c while (cnt >= 8) { cnt 97 arch/sh/mm/flush-sh4.c cnt -= 8; cnt 100 arch/sh/mm/flush-sh4.c while (cnt) { cnt 102 arch/sh/mm/flush-sh4.c cnt--; cnt 714 arch/sparc/kernel/pci_sun4v.c unsigned long i, pool_nr, cnt = 0; cnt 732 arch/sparc/kernel/pci_sun4v.c cnt++; cnt 738 arch/sparc/kernel/pci_sun4v.c return cnt; cnt 465 arch/sparc/kernel/smp_64.c static void spitfire_xcall_deliver(struct trap_per_cpu *tb, int cnt) cnt 478 arch/sparc/kernel/smp_64.c for (i = 0; i < cnt; i++) cnt 486 arch/sparc/kernel/smp_64.c static void cheetah_xcall_deliver(struct trap_per_cpu *tb, int cnt) cnt 525 arch/sparc/kernel/smp_64.c for (i = 0; i < cnt; i++) { cnt 569 arch/sparc/kernel/smp_64.c for (i = 0; i < cnt; i++) { cnt 605 arch/sparc/kernel/smp_64.c for (i = 0; i < cnt; i++) { cnt 648 arch/sparc/kernel/smp_64.c static void hypervisor_xcall_deliver(struct trap_per_cpu *tb, int cnt) cnt 662 arch/sparc/kernel/smp_64.c usec_wait = cnt * MONDO_USEC_WAIT_MIN; cnt 666 arch/sparc/kernel/smp_64.c tot_cpus = cnt; cnt 672 arch/sparc/kernel/smp_64.c status = sun4v_cpu_mondo_send(cnt, cnt 708 arch/sparc/kernel/smp_64.c for (i = 0; i < cnt; i++) { cnt 727 arch/sparc/kernel/smp_64.c cnt = rem; cnt 792 arch/sparc/kernel/smp_64.c int this_cpu, i, cnt; cnt 821 arch/sparc/kernel/smp_64.c cnt = 0; cnt 825 arch/sparc/kernel/smp_64.c cpu_list[cnt++] = i; cnt 828 arch/sparc/kernel/smp_64.c if (cnt) cnt 829 arch/sparc/kernel/smp_64.c xcall_deliver_impl(tb, cnt); cnt 1971 arch/sparc/kernel/traps_64.c int cnt; cnt 2025 arch/sparc/kernel/traps_64.c if ((cnt = atomic_read(ocnt)) != 0) { cnt 2029 arch/sparc/kernel/traps_64.c pfx, cnt); cnt 119 arch/x86/boot/tty.c int cnt = 30; cnt 124 arch/x86/boot/tty.c while (cnt) { cnt 130 arch/x86/boot/tty.c cnt--; cnt 451 arch/x86/events/amd/iommu.c unsigned int i, cnt = 0; cnt 470 arch/x86/events/amd/iommu.c cnt++; cnt 473 arch/x86/events/amd/iommu.c if (!cnt) { cnt 14 arch/x86/events/probe.c perf_msr_probe(struct perf_msr *msr, int cnt, bool zero, void *data) cnt 20 arch/x86/events/probe.c if (cnt >= BITS_PER_LONG) cnt 23 arch/x86/events/probe.c for (bit = 0; bit < cnt; bit++) { cnt 14 arch/x86/events/probe.h perf_msr_probe(struct perf_msr *msr, int cnt, bool no_zero, void *data); cnt 87 arch/x86/include/asm/string_64.h size_t cnt); cnt 106 arch/x86/include/asm/string_64.h memcpy_mcsafe(void *dst, const void *src, size_t cnt) cnt 110 arch/x86/include/asm/string_64.h return __memcpy_mcsafe(dst, src, cnt); cnt 113 arch/x86/include/asm/string_64.h memcpy(dst, src, cnt); cnt 119 arch/x86/include/asm/string_64.h void __memcpy_flushcache(void *dst, const void *src, size_t cnt); cnt 120 arch/x86/include/asm/string_64.h static __always_inline void memcpy_flushcache(void *dst, const void *src, size_t cnt) cnt 122 arch/x86/include/asm/string_64.h if (__builtin_constant_p(cnt)) { cnt 123 arch/x86/include/asm/string_64.h switch (cnt) { cnt 136 arch/x86/include/asm/string_64.h __memcpy_flushcache(dst, src, cnt); cnt 102 arch/x86/include/asm/xor.h : [cnt] "+r" (lines), cnt 136 arch/x86/include/asm/xor.h : [cnt] "+r" (lines), cnt 195 arch/x86/include/asm/xor.h : [cnt] "+r" (lines), cnt 232 arch/x86/include/asm/xor.h : [cnt] "+r" (lines), cnt 298 arch/x86/include/asm/xor.h : [cnt] "+r" (lines), [p1] "+r" (p1), cnt 337 arch/x86/include/asm/xor.h : [cnt] "+r" (lines), [p1] "+r" (p1), cnt 410 arch/x86/include/asm/xor.h : [cnt] "+r" (lines), [p1] "+r" (p1), [p2] "+r" (p2), cnt 451 arch/x86/include/asm/xor.h : [cnt] "+r" (lines), [p1] "+r" (p1), [p2] "+r" (p2), cnt 334 arch/x86/kernel/cpu/mce/inject.c size_t cnt, loff_t *ppos) cnt 341 arch/x86/kernel/cpu/mce/inject.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, n); cnt 345 arch/x86/kernel/cpu/mce/inject.c size_t cnt, loff_t *ppos) cnt 350 arch/x86/kernel/cpu/mce/inject.c if (cnt > MAX_FLAG_OPT_SIZE) cnt 353 arch/x86/kernel/cpu/mce/inject.c if (copy_from_user(&buf, ubuf, cnt)) cnt 356 arch/x86/kernel/cpu/mce/inject.c buf[cnt - 1] = 0; cnt 367 arch/x86/kernel/cpu/mce/inject.c *ppos += cnt; cnt 369 arch/x86/kernel/cpu/mce/inject.c return cnt; cnt 636 arch/x86/kernel/cpu/mce/inject.c size_t cnt, loff_t *ppos) cnt 638 arch/x86/kernel/cpu/mce/inject.c return simple_read_from_buffer(ubuf, cnt, ppos, cnt 215 arch/x86/kernel/cpu/mce/intel.c unsigned int cnt = __this_cpu_read(cmci_storm_cnt); cnt 224 arch/x86/kernel/cpu/mce/intel.c cnt++; cnt 226 arch/x86/kernel/cpu/mce/intel.c cnt = 1; cnt 229 arch/x86/kernel/cpu/mce/intel.c __this_cpu_write(cmci_storm_cnt, cnt); cnt 231 arch/x86/kernel/cpu/mce/intel.c if (cnt <= CMCI_STORM_THRESHOLD) cnt 362 arch/x86/kernel/hpet.c u32 cnt; cnt 365 arch/x86/kernel/hpet.c cnt = hpet_readl(HPET_COUNTER); cnt 366 arch/x86/kernel/hpet.c cnt += (u32) delta; cnt 367 arch/x86/kernel/hpet.c hpet_writel(cnt, HPET_Tn_CMP(channel)); cnt 391 arch/x86/kernel/hpet.c res = (s32)(cnt - hpet_readl(HPET_COUNTER)); cnt 1084 arch/x86/kernel/hpet.c unsigned int cfg, cnt, delta; cnt 1106 arch/x86/kernel/hpet.c cnt = delta + hpet_readl(HPET_COUNTER); cnt 1107 arch/x86/kernel/hpet.c hpet_writel(cnt, HPET_T1_CMP); cnt 1108 arch/x86/kernel/hpet.c hpet_t1_cmp = cnt; cnt 229 arch/x86/kernel/kgdb.c int cnt = 0; cnt 236 arch/x86/kernel/kgdb.c cnt++; cnt 246 arch/x86/kernel/kgdb.c cnt--; cnt 247 arch/x86/kernel/kgdb.c if (!cnt) cnt 15 arch/x86/kernel/livepatch.c int cnt; cnt 31 arch/x86/kernel/livepatch.c cnt = sscanf(info->secstrings + s->sh_name, cnt 34 arch/x86/kernel/livepatch.c if (cnt != 2) cnt 348 arch/x86/mm/numa.c int i, j, cnt = 0; cnt 356 arch/x86/mm/numa.c cnt = i; cnt 357 arch/x86/mm/numa.c cnt++; cnt 358 arch/x86/mm/numa.c size = cnt * cnt * sizeof(numa_distance[0]); cnt 371 arch/x86/mm/numa.c numa_distance_cnt = cnt; cnt 374 arch/x86/mm/numa.c for (i = 0; i < cnt; i++) cnt 375 arch/x86/mm/numa.c for (j = 0; j < cnt; j++) cnt 376 arch/x86/mm/numa.c numa_distance[i * cnt + j] = i == j ? cnt 378 arch/x86/mm/numa.c printk(KERN_DEBUG "NUMA: Initialized distance table, cnt=%d\n", cnt); cnt 30 arch/x86/net/bpf_jit_comp.c do { prog = emit_code(prog, bytes, len); cnt += len; } while (0) cnt 211 arch/x86/net/bpf_jit_comp.c int cnt = 0; cnt 224 arch/x86/net/bpf_jit_comp.c BUILD_BUG_ON(cnt != PROLOGUE_SIZE); cnt 247 arch/x86/net/bpf_jit_comp.c int cnt = 0; cnt 264 arch/x86/net/bpf_jit_comp.c label1 = cnt; cnt 274 arch/x86/net/bpf_jit_comp.c label2 = cnt; cnt 289 arch/x86/net/bpf_jit_comp.c label3 = cnt; cnt 304 arch/x86/net/bpf_jit_comp.c BUILD_BUG_ON(cnt - label1 != OFFSET1); cnt 305 arch/x86/net/bpf_jit_comp.c BUILD_BUG_ON(cnt - label2 != OFFSET2); cnt 306 arch/x86/net/bpf_jit_comp.c BUILD_BUG_ON(cnt - label3 != OFFSET3); cnt 315 arch/x86/net/bpf_jit_comp.c int cnt = 0; cnt 355 arch/x86/net/bpf_jit_comp.c int cnt = 0; cnt 378 arch/x86/net/bpf_jit_comp.c int cnt = 0; cnt 400 arch/x86/net/bpf_jit_comp.c int i, cnt = 0; cnt 64 arch/x86/net/bpf_jit_comp32.c do { prog = emit_code(prog, bytes, len); cnt += len; } while (0) cnt 81 arch/x86/net/bpf_jit_comp32.c #define jmp_label(label, jmp_insn_len) (label - cnt - jmp_insn_len) cnt 209 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 237 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 288 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 321 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 369 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 438 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 485 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 527 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 601 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 700 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 734 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 787 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 840 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 893 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 941 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 990 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 1038 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 1115 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 1202 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 1239 arch/x86/net/bpf_jit_comp32.c BUILD_BUG_ON(cnt != PROLOGUE_SIZE); cnt 1248 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 1286 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 1368 arch/x86/net/bpf_jit_comp32.c jmp_label1 = cnt; cnt 1378 arch/x86/net/bpf_jit_comp32.c int cnt = 0; cnt 1469 arch/x86/net/bpf_jit_comp32.c int i, cnt = 0; cnt 1053 arch/x86/platform/uv/tlb_uv.c int cnt = 0; cnt 1066 arch/x86/platform/uv/tlb_uv.c cnt++; cnt 1072 arch/x86/platform/uv/tlb_uv.c if (!cnt) cnt 1563 arch/x86/platform/uv/tlb_uv.c int cnt = 0; cnt 1571 arch/x86/platform/uv/tlb_uv.c cnt++; cnt 1575 arch/x86/platform/uv/tlb_uv.c if (cnt != e) { cnt 1582 arch/x86/platform/uv/tlb_uv.c for (cnt = 0; *p; p = q + strspn(q, WHITESPACE), cnt++) { cnt 1585 arch/x86/platform/uv/tlb_uv.c switch (cnt) { cnt 1603 arch/x86/platform/uv/tlb_uv.c *tunables[cnt].tunp = tunables[cnt].deflt; cnt 1605 arch/x86/platform/uv/tlb_uv.c *tunables[cnt].tunp = val; cnt 1175 block/bfq-cgroup.c (tmp.cnt[BLKG_RWSTAT_READ] + tmp.cnt[BLKG_RWSTAT_WRITE]) >> 9); cnt 590 block/blk-cgroup.c rwstat->cnt[i]); cnt 592 block/blk-cgroup.c v = rwstat->cnt[BLKG_RWSTAT_READ] + cnt 593 block/blk-cgroup.c rwstat->cnt[BLKG_RWSTAT_WRITE] + cnt 594 block/blk-cgroup.c rwstat->cnt[BLKG_RWSTAT_DISCARD]; cnt 737 block/blk-cgroup.c sum->cnt[i] = blkg_rwstat_read_counter(rwstat, i); cnt 956 block/blk-cgroup.c rbytes = rwstat.cnt[BLKG_RWSTAT_READ]; cnt 957 block/blk-cgroup.c wbytes = rwstat.cnt[BLKG_RWSTAT_WRITE]; cnt 958 block/blk-cgroup.c dbytes = rwstat.cnt[BLKG_RWSTAT_DISCARD]; cnt 962 block/blk-cgroup.c rios = rwstat.cnt[BLKG_RWSTAT_READ]; cnt 963 block/blk-cgroup.c wios = rwstat.cnt[BLKG_RWSTAT_WRITE]; cnt 964 block/blk-cgroup.c dios = rwstat.cnt[BLKG_RWSTAT_DISCARD]; cnt 325 crypto/drbg.c short cnt = 0; cnt 337 crypto/drbg.c if (drbg_blocklen(drbg) == cnt) { cnt 338 crypto/drbg.c cnt = 0; cnt 343 crypto/drbg.c out[cnt] ^= *pos; cnt 345 crypto/drbg.c cnt++; cnt 350 crypto/drbg.c if (cnt) cnt 106 drivers/acpi/acpi_adxl.c int i, cnt; cnt 122 drivers/acpi/acpi_adxl.c cnt = r->package.count; cnt 123 drivers/acpi/acpi_adxl.c if (cnt != adxl_count) { cnt 129 drivers/acpi/acpi_adxl.c for (i = 0; i < cnt; i++) cnt 423 drivers/acpi/numa.c int cnt = 0; cnt 450 drivers/acpi/numa.c cnt = acpi_table_parse_srat(ACPI_SRAT_TYPE_MEMORY_AFFINITY, cnt 457 drivers/acpi/numa.c if (cnt < 0) cnt 458 drivers/acpi/numa.c return cnt; cnt 2555 drivers/ata/libata-core.c unsigned int cnt = dev->id[59] & 0xff; cnt 2557 drivers/ata/libata-core.c if (is_power_of_2(max) && is_power_of_2(cnt)) cnt 2558 drivers/ata/libata-core.c if (cnt <= max) cnt 2559 drivers/ata/libata-core.c dev->multi_count = cnt; cnt 820 drivers/ata/libata-eh.c int cnt; cnt 824 drivers/ata/libata-eh.c cnt = ata_eh_nr_in_flight(ap); cnt 827 drivers/ata/libata-eh.c if (!cnt) cnt 830 drivers/ata/libata-eh.c if (cnt == ap->fastdrain_cnt) { cnt 845 drivers/ata/libata-eh.c ap->fastdrain_cnt = cnt; cnt 869 drivers/ata/libata-eh.c int cnt; cnt 881 drivers/ata/libata-eh.c cnt = ata_eh_nr_in_flight(ap); cnt 882 drivers/ata/libata-eh.c if (!cnt) cnt 886 drivers/ata/libata-eh.c ap->fastdrain_cnt = cnt; cnt 3545 drivers/ata/libata-eh.c int cnt = 0; cnt 3548 drivers/ata/libata-eh.c cnt++; cnt 3549 drivers/ata/libata-eh.c return cnt; cnt 3555 drivers/ata/libata-eh.c int cnt = 0; cnt 3559 drivers/ata/libata-eh.c cnt++; cnt 3560 drivers/ata/libata-eh.c return cnt; cnt 935 drivers/ata/libata-pmp.c int cnt, rc; cnt 1039 drivers/ata/libata-pmp.c cnt = 0; cnt 1046 drivers/ata/libata-pmp.c cnt++; cnt 1055 drivers/ata/libata-pmp.c if (cnt) { cnt 671 drivers/ata/sata_sil.c int cnt; cnt 673 drivers/ata/sata_sil.c for (i = 0, cnt = 0; i < host->n_ports; i++) { cnt 677 drivers/ata/sata_sil.c if (!cnt) cnt 681 drivers/ata/sata_sil.c cnt++; cnt 41 drivers/ata/sata_sil24.c __le32 cnt; cnt 778 drivers/ata/sata_sil24.c sge->cnt = cpu_to_le32(sg_dma_len(sg)); cnt 247 drivers/atm/iphase.c vcstatus->cnt++; cnt 249 drivers/atm/iphase.c if( vcstatus->cnt == 0x05 ) { cnt 269 drivers/atm/iphase.c vcstatus->cnt = 0; cnt 288 drivers/atm/iphase.c vcstatus->cnt = 0; cnt 854 drivers/atm/iphase.h u8 cnt: 5; cnt 92 drivers/base/cpu.c ssize_t cnt; cnt 99 drivers/base/cpu.c cnt = arch_cpu_probe(buf, count); cnt 102 drivers/base/cpu.c return cnt; cnt 110 drivers/base/cpu.c ssize_t cnt; cnt 117 drivers/base/cpu.c cnt = arch_cpu_release(buf, count); cnt 120 drivers/base/cpu.c return cnt; cnt 425 drivers/base/devres.c int cnt = 0, nr_groups = 0; cnt 449 drivers/base/devres.c cnt++; cnt 454 drivers/base/devres.c return cnt; cnt 487 drivers/base/devres.c return cnt; cnt 495 drivers/base/devres.c int cnt; cnt 498 drivers/base/devres.c cnt = remove_nodes(dev, first, end, &todo); cnt 511 drivers/base/devres.c return cnt; cnt 666 drivers/base/devres.c int cnt = 0; cnt 678 drivers/base/devres.c cnt = release_nodes(dev, first, end, flags); cnt 684 drivers/base/devres.c return cnt; cnt 49 drivers/base/power/wakeup.c static void split_counters(unsigned int *cnt, unsigned int *inpr) cnt 53 drivers/base/power/wakeup.c *cnt = (comb >> IN_PROGRESS_BITS); cnt 641 drivers/base/power/wakeup.c unsigned int cnt, inpr, cec; cnt 682 drivers/base/power/wakeup.c split_counters(&cnt, &inpr); cnt 859 drivers/base/power/wakeup.c unsigned int cnt, inpr; cnt 861 drivers/base/power/wakeup.c split_counters(&cnt, &inpr); cnt 862 drivers/base/power/wakeup.c ret = (cnt != saved_count || inpr > 0); cnt 916 drivers/base/power/wakeup.c unsigned int cnt, inpr; cnt 924 drivers/base/power/wakeup.c split_counters(&cnt, &inpr); cnt 933 drivers/base/power/wakeup.c split_counters(&cnt, &inpr); cnt 934 drivers/base/power/wakeup.c *count = cnt; cnt 950 drivers/base/power/wakeup.c unsigned int cnt, inpr; cnt 955 drivers/base/power/wakeup.c split_counters(&cnt, &inpr); cnt 956 drivers/base/power/wakeup.c if (cnt == count && inpr == 0) { cnt 569 drivers/block/amiflop.c int cnt; cnt 590 drivers/block/amiflop.c cnt = unit[drive].track/2 - track/2; cnt 595 drivers/block/amiflop.c if (cnt < 0) { cnt 596 drivers/block/amiflop.c cnt = - cnt; cnt 603 drivers/block/amiflop.c if (cnt == 0) { cnt 615 drivers/block/amiflop.c } while (--cnt != 0); cnt 915 drivers/block/amiflop.c int cnt, to_cnt = 0; cnt 919 drivers/block/amiflop.c for (cnt = 0; cnt < len / 4; cnt++) { cnt 920 drivers/block/amiflop.c data = src[cnt] >> 1; cnt 925 drivers/block/amiflop.c for (cnt = 0; cnt < len / 4; cnt++) { cnt 926 drivers/block/amiflop.c data = src[cnt]; cnt 931 drivers/block/amiflop.c static unsigned long *putsec(int disk, unsigned long *raw, int cnt) cnt 943 drivers/block/amiflop.c hdr.sect = cnt; cnt 944 drivers/block/amiflop.c hdr.ord = unit[disk].dtype->sects * unit[disk].type->sect_mult - cnt; cnt 949 drivers/block/amiflop.c hdr.datachk = checksum((ulong *)(unit[disk].trackbuf+cnt*512), 512); cnt 959 drivers/block/amiflop.c encode_block(raw, (ulong *)(unit[disk].trackbuf+cnt*512), 512); cnt 967 drivers/block/amiflop.c unsigned int cnt; cnt 972 drivers/block/amiflop.c for (cnt = 0; cnt < 415 * unit[disk].type->sect_mult; cnt++) cnt 976 drivers/block/amiflop.c for (cnt = 0; cnt < unit[disk].dtype->sects * unit[disk].type->sect_mult; cnt++) cnt 977 drivers/block/amiflop.c ptr = putsec (disk, ptr, cnt); cnt 1271 drivers/block/amiflop.c static unsigned long *ms_putsec(int drive, unsigned long *raw, int cnt) cnt 1290 drivers/block/amiflop.c hdr.sec=cnt+1; cnt 1307 drivers/block/amiflop.c (unsigned char *)unit[drive].trackbuf+cnt*512,512); cnt 1311 drivers/block/amiflop.c crc[0]=dos_data_crc(unit[drive].trackbuf+cnt*512); cnt 1324 drivers/block/amiflop.c int cnt; cnt 1330 drivers/block/amiflop.c for (cnt=0;cnt<425;cnt++) cnt 1335 drivers/block/amiflop.c for(cnt=0;cnt<473;cnt++) cnt 1339 drivers/block/amiflop.c for (cnt=0;cnt<20;cnt++) cnt 1341 drivers/block/amiflop.c for (cnt=0;cnt<6;cnt++) cnt 1345 drivers/block/amiflop.c for (cnt=0;cnt<20;cnt++) cnt 1349 drivers/block/amiflop.c for(cnt = 0; cnt < unit[disk].dtype->sects * unit[disk].type->sect_mult; cnt++) cnt 1350 drivers/block/amiflop.c ptr=ms_putsec(disk,ptr,cnt); cnt 1462 drivers/block/amiflop.c unsigned int cnt, block, track, sector; cnt 1465 drivers/block/amiflop.c for (cnt = 0; cnt < blk_rq_cur_sectors(rq); cnt++) { cnt 1468 drivers/block/amiflop.c blk_rq_pos(rq), cnt, cnt 1471 drivers/block/amiflop.c block = blk_rq_pos(rq) + cnt; cnt 1474 drivers/block/amiflop.c data = bio_data(rq->bio) + 512 * cnt; cnt 162 drivers/block/aoe/aoechr.c aoechr_write(struct file *filp, const char __user *buf, size_t cnt, loff_t *offp) cnt 174 drivers/block/aoe/aoechr.c ret = interfaces(buf, cnt); cnt 177 drivers/block/aoe/aoechr.c ret = revalidate(buf, cnt); cnt 180 drivers/block/aoe/aoechr.c ret = aoedev_flush(buf, cnt); cnt 184 drivers/block/aoe/aoechr.c ret = cnt; cnt 213 drivers/block/aoe/aoechr.c aoechr_read(struct file *filp, char __user *buf, size_t cnt, loff_t *off) cnt 250 drivers/block/aoe/aoechr.c if (em->len > cnt) { cnt 1023 drivers/block/aoe/aoecmd.c bvcpy(struct sk_buff *skb, struct bio *bio, struct bvec_iter iter, long cnt) cnt 1028 drivers/block/aoe/aoecmd.c iter.bi_size = cnt; cnt 304 drivers/block/aoe/aoedev.c flush(const char __user *str, size_t cnt, int exiting) cnt 315 drivers/block/aoe/aoedev.c if (!exiting && cnt >= 3) { cnt 316 drivers/block/aoe/aoedev.c if (cnt > sizeof buf) cnt 317 drivers/block/aoe/aoedev.c cnt = sizeof buf; cnt 318 drivers/block/aoe/aoedev.c if (copy_from_user(buf, str, cnt)) cnt 337 drivers/block/aoe/aoedev.c if (!user_req(buf, cnt, d)) cnt 394 drivers/block/aoe/aoedev.c aoedev_flush(const char __user *str, size_t cnt) cnt 396 drivers/block/aoe/aoedev.c return flush(str, cnt, NOT_EXITING); cnt 650 drivers/block/ataflop.c int cnt; cnt 652 drivers/block/ataflop.c for (cnt = 512/4; cnt; cnt--) cnt 1848 drivers/block/ataflop.c int drive, cnt = 0; cnt 1859 drivers/block/ataflop.c ++cnt; cnt 1876 drivers/block/ataflop.c if (cnt > 0) { cnt 1878 drivers/block/ataflop.c if (cnt == 1) fd_select_drive( 0 ); cnt 3574 drivers/block/drbd/drbd_main.c int cnt = atomic_read(&device->ap_bio_cnt); cnt 3575 drivers/block/drbd/drbd_main.c if (cnt) cnt 3577 drivers/block/drbd/drbd_main.c cnt, work->why); cnt 3236 drivers/block/floppy.c int cnt; cnt 3259 drivers/block/floppy.c for (cnt = type << 2; cnt < (type << 2) + 4; cnt++) cnt 3260 drivers/block/floppy.c floppy_sizes[cnt] = floppy_sizes[cnt + 0x80] = cnt 3263 drivers/block/floppy.c for (cnt = 0; cnt < N_DRIVE; cnt++) { cnt 3264 drivers/block/floppy.c struct block_device *bdev = opened_bdev[cnt]; cnt 3265 drivers/block/floppy.c if (!bdev || ITYPE(drive_state[cnt].fd_device) != type) cnt 472 drivers/block/mtip32xx/mtip32xx.c int cnt) cnt 482 drivers/block/mtip32xx/mtip32xx.c "%d command(s) %s: tagmap [%s]", cnt, msg, tagmap); cnt 2540 drivers/block/mtip32xx/mtip32xx.c unsigned long timeout, cnt = 0, start; cnt 2562 drivers/block/mtip32xx/mtip32xx.c if (cnt++ >= 180) { cnt 2566 drivers/block/mtip32xx/mtip32xx.c cnt = 0; cnt 2248 drivers/block/rbd.c u32 cnt = *num_img_extents; cnt 2251 drivers/block/rbd.c while (cnt && img_extents[cnt - 1].fe_off >= overlap) cnt 2252 drivers/block/rbd.c cnt--; cnt 2254 drivers/block/rbd.c if (cnt) { cnt 2255 drivers/block/rbd.c struct ceph_file_extent *ex = &img_extents[cnt - 1]; cnt 2262 drivers/block/rbd.c *num_img_extents = cnt; cnt 164 drivers/block/rsxx/core.c size_t cnt, loff_t *ppos) cnt 170 drivers/block/rsxx/core.c buf = kzalloc(cnt, GFP_KERNEL); cnt 174 drivers/block/rsxx/core.c st = rsxx_creg_read(card, CREG_ADD_CRAM + (u32)*ppos, cnt, buf, 1); cnt 176 drivers/block/rsxx/core.c st = copy_to_user(ubuf, buf, cnt); cnt 180 drivers/block/rsxx/core.c *ppos += cnt; cnt 181 drivers/block/rsxx/core.c return cnt; cnt 185 drivers/block/rsxx/core.c size_t cnt, loff_t *ppos) cnt 191 drivers/block/rsxx/core.c buf = memdup_user(ubuf, cnt); cnt 195 drivers/block/rsxx/core.c st = rsxx_creg_write(card, CREG_ADD_CRAM + (u32)*ppos, cnt, buf, 1); cnt 199 drivers/block/rsxx/core.c *ppos += cnt; cnt 200 drivers/block/rsxx/core.c return cnt; cnt 581 drivers/block/rsxx/core.c int cnt = 0; cnt 590 drivers/block/rsxx/core.c cnt = rsxx_cleanup_dma_queue(&card->ctrl[i], cnt 595 drivers/block/rsxx/core.c cnt += rsxx_dma_cancel(&card->ctrl[i]); cnt 597 drivers/block/rsxx/core.c if (cnt) cnt 600 drivers/block/rsxx/core.c cnt, card->ctrl[i].id); cnt 601 drivers/block/rsxx/cregs.c int cnt; cnt 614 drivers/block/rsxx/cregs.c cnt = min(cmd->cnt8 - off, LOG_BUF_SIZE8 - card->log.buf_len); cnt 615 drivers/block/rsxx/cregs.c len = substrncpy(log_str, &buf[off], cnt); cnt 659 drivers/block/rsxx/cregs.c return __issue_creg_rw(card, op, cmd->addr, cmd->cnt, cmd->data, cnt 674 drivers/block/rsxx/cregs.c if (cmd.cnt > RSXX_MAX_REG_CNT) cnt 686 drivers/block/rsxx/cregs.c st = copy_to_user(ucmd->data, cmd.data, cmd.cnt); cnt 743 drivers/block/rsxx/cregs.c int cnt = 0; cnt 752 drivers/block/rsxx/cregs.c cnt++; cnt 755 drivers/block/rsxx/cregs.c if (cnt) cnt 757 drivers/block/rsxx/cregs.c "Canceled %d queue creg commands\n", cnt); cnt 20 drivers/block/rsxx/dma.c u32 cnt; cnt 116 drivers/block/rsxx/dma.c if (dma->sub_page.cnt) cnt 117 drivers/block/rsxx/dma.c return dma->sub_page.cnt << 9; cnt 247 drivers/block/rsxx/dma.c int cnt = 0; cnt 255 drivers/block/rsxx/dma.c cnt++; cnt 258 drivers/block/rsxx/dma.c return cnt; cnt 346 drivers/block/rsxx/dma.c int cnt; cnt 370 drivers/block/rsxx/dma.c cnt = rsxx_cleanup_dma_queue(ctrl, &ctrl->queue, COMPLETE_DMA); cnt 373 drivers/block/rsxx/dma.c cnt += rsxx_dma_cancel(ctrl); cnt 375 drivers/block/rsxx/dma.c if (cnt) cnt 378 drivers/block/rsxx/dma.c cnt, ctrl->id); cnt 442 drivers/block/rsxx/dma.c dma->pg_off, dma->sub_page.cnt << 9, dir); cnt 455 drivers/block/rsxx/dma.c ((dma->sub_page.cnt & 0x7) << 4) | cnt 616 drivers/block/rsxx/dma.c dma->sub_page.cnt = 0; cnt 649 drivers/block/rsxx/dma.c dma->sub_page.cnt = (dma_len >> 9); cnt 658 drivers/block/rsxx/dma.c dma->sub_page.cnt, dma->page, dma->pg_off); cnt 966 drivers/block/rsxx/dma.c int cnt = 0; cnt 975 drivers/block/rsxx/dma.c cnt++; cnt 979 drivers/block/rsxx/dma.c return cnt; cnt 1023 drivers/block/rsxx/dma.c int cnt; cnt 1034 drivers/block/rsxx/dma.c cnt = 0; cnt 1057 drivers/block/rsxx/dma.c cnt++; cnt 1063 drivers/block/rsxx/dma.c atomic_sub(cnt, &card->ctrl[i].stats.hw_q_depth); cnt 1064 drivers/block/rsxx/dma.c card->ctrl[i].stats.sw_q_depth += cnt; cnt 20 drivers/block/rsxx/rsxx.h __u32 cnt; cnt 650 drivers/block/skd_main.c u32 cnt = sg_dma_len(sg); cnt 654 drivers/block/skd_main.c sgd->byte_count = cnt; cnt 655 drivers/block/skd_main.c skreq->sg_byte_count += cnt; cnt 115 drivers/block/umem.c int cnt, headcnt; cnt 262 drivers/block/umem.c card->Active, page->headcnt, page->cnt - 1); cnt 263 drivers/block/umem.c desc = &page->desc[page->cnt-1]; cnt 314 drivers/block/umem.c card->mm_pages[card->Ready].cnt > 0) { cnt 325 drivers/block/umem.c page->cnt = 0; cnt 358 drivers/block/umem.c if (card->mm_pages[card->Ready].cnt >= DESC_PER_PAGE) cnt 371 drivers/block/umem.c desc = &p->desc[p->cnt]; cnt 372 drivers/block/umem.c p->cnt++; cnt 426 drivers/block/umem.c while (page->headcnt < page->cnt) { cnt 486 drivers/block/umem.c if (page->headcnt >= page->cnt) { cnt 106 drivers/char/tpm/eventlog/common.c unsigned int cnt; cnt 115 drivers/char/tpm/eventlog/common.c cnt = 0; cnt 116 drivers/char/tpm/eventlog/common.c chip->bios_dir[cnt] = securityfs_create_dir(name, NULL); cnt 120 drivers/char/tpm/eventlog/common.c if (IS_ERR(chip->bios_dir[cnt])) cnt 122 drivers/char/tpm/eventlog/common.c cnt++; cnt 133 drivers/char/tpm/eventlog/common.c chip->bios_dir[cnt] = cnt 138 drivers/char/tpm/eventlog/common.c if (IS_ERR(chip->bios_dir[cnt])) cnt 140 drivers/char/tpm/eventlog/common.c cnt++; cnt 148 drivers/char/tpm/eventlog/common.c chip->bios_dir[cnt] = cnt 153 drivers/char/tpm/eventlog/common.c if (IS_ERR(chip->bios_dir[cnt])) cnt 155 drivers/char/tpm/eventlog/common.c cnt++; cnt 161 drivers/char/tpm/eventlog/common.c chip->bios_dir[cnt] = NULL; cnt 2110 drivers/clk/clk.c int ret, cnt; cnt 2119 drivers/clk/clk.c cnt = clk_core_rate_nuke_protect(core); cnt 2120 drivers/clk/clk.c if (cnt < 0) cnt 2121 drivers/clk/clk.c return cnt; cnt 2129 drivers/clk/clk.c clk_core_rate_restore_protect(core, cnt); cnt 1404 drivers/clk/samsung/clk-pll.c int cnt; cnt 1406 drivers/clk/samsung/clk-pll.c for (cnt = 0; cnt < nr_pll; cnt++) cnt 1407 drivers/clk/samsung/clk-pll.c _samsung_clk_register_pll(ctx, &pll_list[cnt], base); cnt 46 drivers/clocksource/mips-gic-timer.c u64 cnt; cnt 49 drivers/clocksource/mips-gic-timer.c cnt = gic_read_count(); cnt 50 drivers/clocksource/mips-gic-timer.c cnt += (u64)delta; cnt 52 drivers/clocksource/mips-gic-timer.c write_gic_vl_compare(cnt); cnt 55 drivers/clocksource/mips-gic-timer.c write_gic_vo_compare(cnt); cnt 57 drivers/clocksource/mips-gic-timer.c res = ((int)(gic_read_count() - cnt) >= 0) ? -ETIME : 0; cnt 44 drivers/clocksource/timer-atmel-pit.c u32 cnt; cnt 81 drivers/clocksource/timer-atmel-pit.c elapsed = data->cnt; cnt 107 drivers/clocksource/timer-atmel-pit.c data->cnt += data->cycle * PIT_PICNT(pit_read(data->base, AT91_PIT_PIVR)); cnt 153 drivers/clocksource/timer-atmel-pit.c data->cnt += data->cycle * PIT_PICNT(pit_read(data->base, cnt 82 drivers/clocksource/timer-milbeaut.c static void mlb_evt_timer_register_count(struct timer_of *to, unsigned long cnt) cnt 84 drivers/clocksource/timer-milbeaut.c writel_relaxed(cnt, timer_of_base(to) + MLB_TMR_EVT_TMRLR1_OFS); cnt 198 drivers/counter/ftm-quaddec.c u32 cnt; cnt 201 drivers/counter/ftm-quaddec.c err = counter_count_write_value_get(&cnt, COUNTER_COUNT_POSITION, val); cnt 205 drivers/counter/ftm-quaddec.c if (cnt != 0) { cnt 384 drivers/counter/stm32-lptimer-cnt.c u32 cnt; cnt 387 drivers/counter/stm32-lptimer-cnt.c ret = regmap_read(priv->regmap, STM32_LPTIM_CNT, &cnt); cnt 391 drivers/counter/stm32-lptimer-cnt.c counter_count_read_value_set(val, COUNTER_COUNT_POSITION, &cnt); cnt 55 drivers/counter/stm32-timer-cnt.c u32 cnt; cnt 57 drivers/counter/stm32-timer-cnt.c regmap_read(priv->regmap, TIM_CNT, &cnt); cnt 58 drivers/counter/stm32-timer-cnt.c counter_count_read_value_set(val, COUNTER_COUNT_POSITION, &cnt); cnt 68 drivers/counter/stm32-timer-cnt.c u32 cnt; cnt 71 drivers/counter/stm32-timer-cnt.c err = counter_count_write_value_get(&cnt, COUNTER_COUNT_POSITION, val); cnt 75 drivers/counter/stm32-timer-cnt.c if (cnt > priv->ceiling) cnt 78 drivers/counter/stm32-timer-cnt.c return regmap_write(priv->regmap, TIM_CNT, cnt); cnt 31 drivers/cpufreq/spear-cpufreq.c u32 cnt; cnt 177 drivers/cpufreq/spear-cpufreq.c int cnt, i, ret; cnt 196 drivers/cpufreq/spear-cpufreq.c cnt = prop->length / sizeof(u32); cnt 199 drivers/cpufreq/spear-cpufreq.c freq_tbl = kcalloc(cnt + 1, sizeof(*freq_tbl), GFP_KERNEL); cnt 205 drivers/cpufreq/spear-cpufreq.c for (i = 0; i < cnt; i++) cnt 531 drivers/crypto/cavium/nitrox/nitrox_csr.h u64 cnt : 32; cnt 533 drivers/crypto/cavium/nitrox/nitrox_csr.h u64 cnt : 32; cnt 560 drivers/crypto/cavium/nitrox/nitrox_csr.h u64 cnt : 32; cnt 562 drivers/crypto/cavium/nitrox/nitrox_csr.h u64 cnt : 32; cnt 656 drivers/crypto/cavium/nitrox/nitrox_csr.h u64 cnt : 32; cnt 658 drivers/crypto/cavium/nitrox/nitrox_csr.h u64 cnt : 32; cnt 37 drivers/crypto/chelsio/chtls/chtls_io.c unsigned int cnt; cnt 39 drivers/crypto/chelsio/chtls/chtls_io.c cnt = skb_shinfo(skb)->nr_frags; cnt 40 drivers/crypto/chelsio/chtls/chtls_io.c return sgl_len(cnt) * 8; cnt 582 drivers/crypto/chelsio/chtls/chtls_io.c unsigned int flits, cnt; cnt 585 drivers/crypto/chelsio/chtls/chtls_io.c cnt = skb_shinfo(skb)->nr_frags; cnt 587 drivers/crypto/chelsio/chtls/chtls_io.c cnt++; cnt 588 drivers/crypto/chelsio/chtls/chtls_io.c return flits + sgl_len(cnt); cnt 709 drivers/crypto/hifn_795x.c static u32 hifn_next_signature(u32 a, u_int cnt) cnt 714 drivers/crypto/hifn_795x.c for (i = 0; i < cnt; i++) { cnt 420 drivers/crypto/mediatek/mtk-aes.c u32 cnt = 0; cnt 423 drivers/crypto/mediatek/mtk-aes.c info->cmd[cnt++] = AES_CMD0 | cpu_to_le32(len); cnt 424 drivers/crypto/mediatek/mtk-aes.c info->cmd[cnt++] = AES_CMD1; cnt 458 drivers/crypto/mediatek/mtk-aes.c info->cmd[cnt++] = AES_CMD2; cnt 460 drivers/crypto/mediatek/mtk-aes.c ctx->ct_size = cnt; cnt 886 drivers/crypto/mediatek/mtk-aes.c u32 cnt = 0; cnt 890 drivers/crypto/mediatek/mtk-aes.c info->cmd[cnt++] = AES_GCM_CMD0 | cpu_to_le32(req->assoclen); cnt 891 drivers/crypto/mediatek/mtk-aes.c info->cmd[cnt++] = AES_GCM_CMD1 | cpu_to_le32(req->assoclen); cnt 892 drivers/crypto/mediatek/mtk-aes.c info->cmd[cnt++] = AES_GCM_CMD2; cnt 893 drivers/crypto/mediatek/mtk-aes.c info->cmd[cnt++] = AES_GCM_CMD3 | cpu_to_le32(gctx->textlen); cnt 896 drivers/crypto/mediatek/mtk-aes.c info->cmd[cnt++] = AES_GCM_CMD4 | cpu_to_le32(gctx->authsize); cnt 899 drivers/crypto/mediatek/mtk-aes.c info->cmd[cnt++] = AES_GCM_CMD5 | cpu_to_le32(gctx->authsize); cnt 900 drivers/crypto/mediatek/mtk-aes.c info->cmd[cnt++] = AES_GCM_CMD6 | cpu_to_le32(gctx->authsize); cnt 903 drivers/crypto/mediatek/mtk-aes.c ctx->ct_size = cnt; cnt 987 drivers/crypto/s5p-sss.c unsigned int cnt; cnt 989 drivers/crypto/s5p-sss.c cnt = dma_map_sg(dd->dev, ctx->sg, ctx->sg_len, DMA_TO_DEVICE); cnt 990 drivers/crypto/s5p-sss.c if (!cnt) { cnt 998 drivers/crypto/s5p-sss.c dd->hash_sg_cnt = cnt; cnt 1210 drivers/dma/dmaengine.c int cnt, i; cnt 1212 drivers/dma/dmaengine.c cnt = unmap->to_cnt; cnt 1213 drivers/dma/dmaengine.c for (i = 0; i < cnt; i++) cnt 1216 drivers/dma/dmaengine.c cnt += unmap->from_cnt; cnt 1217 drivers/dma/dmaengine.c for (; i < cnt; i++) cnt 1220 drivers/dma/dmaengine.c cnt += unmap->bidi_cnt; cnt 1221 drivers/dma/dmaengine.c for (; i < cnt; i++) { cnt 1227 drivers/dma/dmaengine.c cnt = unmap->map_cnt; cnt 1228 drivers/dma/dmaengine.c mempool_free(unmap, __get_unmap_pool(cnt)->pool); cnt 208 drivers/dma/dmatest.c unsigned int cnt; cnt 491 drivers/dma/dmatest.c static void __dmatest_free_test_data(struct dmatest_data *d, unsigned int cnt) cnt 495 drivers/dma/dmatest.c for (i = 0; i < cnt; i++) cnt 504 drivers/dma/dmatest.c __dmatest_free_test_data(d, d->cnt); cnt 512 drivers/dma/dmatest.c d->raw = kcalloc(d->cnt + 1, sizeof(u8 *), GFP_KERNEL); cnt 516 drivers/dma/dmatest.c d->aligned = kcalloc(d->cnt + 1, sizeof(u8 *), GFP_KERNEL); cnt 520 drivers/dma/dmatest.c for (i = 0; i < d->cnt; i++) { cnt 598 drivers/dma/dmatest.c src->cnt = dst->cnt = 1; cnt 602 drivers/dma/dmatest.c src->cnt = dst->cnt = 1; cnt 606 drivers/dma/dmatest.c src->cnt = min_odd(params->xor_sources | 1, dev->max_xor); cnt 607 drivers/dma/dmatest.c dst->cnt = 1; cnt 612 drivers/dma/dmatest.c src->cnt = min_odd(params->pq_sources | 1, dma_maxpq(dev, 0)); cnt 613 drivers/dma/dmatest.c dst->cnt = 2; cnt 621 drivers/dma/dmatest.c for (i = 0; i < src->cnt; i++) cnt 627 drivers/dma/dmatest.c if ((src->cnt + dst->cnt) >= 255) { cnt 629 drivers/dma/dmatest.c src->cnt + dst->cnt); cnt 648 drivers/dma/dmatest.c srcs = kcalloc(src->cnt, sizeof(dma_addr_t), GFP_KERNEL); cnt 652 drivers/dma/dmatest.c dma_pq = kcalloc(dst->cnt, sizeof(dma_addr_t), GFP_KERNEL); cnt 717 drivers/dma/dmatest.c um = dmaengine_get_unmap_data(dev->dev, src->cnt + dst->cnt, cnt 727 drivers/dma/dmatest.c for (i = 0; i < src->cnt; i++) { cnt 744 drivers/dma/dmatest.c dsts = &um->addr[src->cnt]; cnt 745 drivers/dma/dmatest.c for (i = 0; i < dst->cnt; i++) { cnt 773 drivers/dma/dmatest.c srcs, src->cnt, cnt 776 drivers/dma/dmatest.c for (i = 0; i < dst->cnt; i++) cnt 779 drivers/dma/dmatest.c src->cnt, pq_coefs, cnt 991 drivers/dma/dmatest.c int cnt; cnt 1004 drivers/dma/dmatest.c cnt = dmatest_add_threads(info, dtc, DMA_MEMCPY); cnt 1005 drivers/dma/dmatest.c thread_count += cnt > 0 ? cnt : 0; cnt 1011 drivers/dma/dmatest.c cnt = dmatest_add_threads(info, dtc, DMA_MEMSET); cnt 1012 drivers/dma/dmatest.c thread_count += cnt > 0 ? cnt : 0; cnt 1017 drivers/dma/dmatest.c cnt = dmatest_add_threads(info, dtc, DMA_XOR); cnt 1018 drivers/dma/dmatest.c thread_count += cnt > 0 ? cnt : 0; cnt 1021 drivers/dma/dmatest.c cnt = dmatest_add_threads(info, dtc, DMA_PQ); cnt 1022 drivers/dma/dmatest.c thread_count += cnt > 0 ? cnt : 0; cnt 331 drivers/dma/dw-edma/dw-edma-core.c u32 cnt; cnt 339 drivers/dma/dw-edma/dw-edma-core.c if (!xfer->xfer.cyclic.len || !xfer->xfer.cyclic.cnt) cnt 361 drivers/dma/dw-edma/dw-edma-core.c cnt = xfer->xfer.cyclic.cnt; cnt 363 drivers/dma/dw-edma/dw-edma-core.c cnt = xfer->xfer.sg.len; cnt 367 drivers/dma/dw-edma/dw-edma-core.c for (i = 0; i < cnt; i++) { cnt 464 drivers/dma/dw-edma/dw-edma-core.c xfer.xfer.cyclic.cnt = count; cnt 633 drivers/dma/dw-edma/dw-edma-core.c u32 i, j, cnt, ch_cnt; cnt 650 drivers/dma/dw-edma/dw-edma-core.c cnt = dw->wr_ch_cnt; cnt 656 drivers/dma/dw-edma/dw-edma-core.c cnt = dw->rd_ch_cnt; cnt 663 drivers/dma/dw-edma/dw-edma-core.c for (j = 0; (alloc || dw->nr_irqs == 1) && j < cnt; j++, i++) { cnt 730 drivers/dma/dw-edma/dw-edma-core.c dma->chancnt = cnt; cnt 753 drivers/dma/dw-edma/dw-edma-core.c static inline void dw_edma_dec_irq_alloc(int *nr_irqs, u32 *alloc, u16 cnt) cnt 755 drivers/dma/dw-edma/dw-edma-core.c if (*nr_irqs && *alloc < cnt) { cnt 761 drivers/dma/dw-edma/dw-edma-core.c static inline void dw_edma_add_irq_mask(u32 *mask, u32 alloc, u16 cnt) cnt 763 drivers/dma/dw-edma/dw-edma-core.c while (*mask * alloc < cnt) cnt 139 drivers/dma/dw-edma/dw-edma-core.h size_t cnt; cnt 173 drivers/dma/k3dma.c u32 cnt = 0; cnt 175 drivers/dma/k3dma.c cnt = readl_relaxed(d->base + CX_CUR_CNT + phy->idx * 0x10); cnt 176 drivers/dma/k3dma.c cnt &= 0xffff; cnt 177 drivers/dma/k3dma.c return cnt; cnt 224 drivers/dma/mediatek/mtk-uart-apdma.c int cnt; cnt 237 drivers/dma/mediatek/mtk-uart-apdma.c cnt = (wg & VFF_RING_SIZE) - (rg & VFF_RING_SIZE); cnt 244 drivers/dma/mediatek/mtk-uart-apdma.c cnt += len; cnt 246 drivers/dma/mediatek/mtk-uart-apdma.c c->rx_status = d->avail_len - cnt; cnt 640 drivers/dma/pl330.c unsigned loop, u8 cnt) cnt 650 drivers/dma/pl330.c cnt--; /* DMAC increments by 1 internally */ cnt 651 drivers/dma/pl330.c buf[1] = cnt; cnt 653 drivers/dma/pl330.c PL330_DBGCMD_DUMP(SZ_DMALP, "\tDMALP_%c %u\n", loop ? '1' : '0', cnt); cnt 146 drivers/dma/ppc4xx/adma.c cdb->attr, cdb->opc, le32_to_cpu(cdb->cnt), cnt 655 drivers/dma/ppc4xx/adma.c dma_hw_desc->cnt = cpu_to_le32(byte_count); cnt 114 drivers/dma/ppc4xx/dma.h u32 cnt; /* SG count, 3B used */ cnt 189 drivers/dma/sh/shdmac.c int cnt = ((chcr & pdata->ts_low_mask) >> pdata->ts_low_shift) | cnt 192 drivers/dma/sh/shdmac.c if (cnt >= pdata->ts_shift_num) cnt 193 drivers/dma/sh/shdmac.c cnt = 0; cnt 195 drivers/dma/sh/shdmac.c return pdata->ts_shift[cnt]; cnt 1564 drivers/dma/ti/edma.c unsigned int cnt = 0; cnt 1626 drivers/dma/ti/edma.c cnt++; cnt 1627 drivers/dma/ti/edma.c if (cnt > 10) cnt 410 drivers/edac/armada_xp_edac.c uint32_t cnt, src, txn, err, attr_cap, addr_cap, way_cap; cnt 416 drivers/edac/armada_xp_edac.c cnt = readl(drvdata->base + AURORA_ERR_CNT_REG); cnt 421 drivers/edac/armada_xp_edac.c cnt_ce = (cnt & AURORA_ERR_CNT_CE_MASK) >> AURORA_ERR_CNT_CE_OFFSET; cnt 422 drivers/edac/armada_xp_edac.c cnt_ue = (cnt & AURORA_ERR_CNT_UE_MASK) >> AURORA_ERR_CNT_UE_OFFSET; cnt 675 drivers/edac/edac_mc_sysfs.c int cnt, row, chan, i; cnt 691 drivers/edac/edac_mc_sysfs.c cnt = 1; cnt 693 drivers/edac/edac_mc_sysfs.c cnt *= mci->layers[i].size; cnt 694 drivers/edac/edac_mc_sysfs.c memset(mci->ce_per_layer[i], 0, cnt * sizeof(u32)); cnt 695 drivers/edac/edac_mc_sysfs.c memset(mci->ue_per_layer[i], 0, cnt * sizeof(u32)); cnt 128 drivers/firmware/arm_scmi/clock.c int ret, cnt; cnt 174 drivers/firmware/arm_scmi/clock.c for (cnt = 0; cnt < num_returned; cnt++, rate++) { cnt 175 drivers/firmware/arm_scmi/clock.c *rate = RATE_TO_U64(rlist->rate[cnt]); cnt 240 drivers/firmware/arm_scmi/perf.c int ret, cnt; cnt 273 drivers/firmware/arm_scmi/perf.c for (cnt = 0; cnt < num_returned; cnt++, opp++) { cnt 274 drivers/firmware/arm_scmi/perf.c opp->perf = le32_to_cpu(level_info->opp[cnt].perf_val); cnt 275 drivers/firmware/arm_scmi/perf.c opp->power = le32_to_cpu(level_info->opp[cnt].power); cnt 277 drivers/firmware/arm_scmi/perf.c (level_info->opp[cnt].transition_latency_us); cnt 108 drivers/firmware/arm_scmi/sensors.c int ret, cnt; cnt 138 drivers/firmware/arm_scmi/sensors.c for (cnt = 0; cnt < num_returned; cnt++) { cnt 142 drivers/firmware/arm_scmi/sensors.c attrl = le32_to_cpu(buf->desc[cnt].attributes_low); cnt 143 drivers/firmware/arm_scmi/sensors.c attrh = le32_to_cpu(buf->desc[cnt].attributes_high); cnt 144 drivers/firmware/arm_scmi/sensors.c s = &si->sensors[desc_index + cnt]; cnt 145 drivers/firmware/arm_scmi/sensors.c s->id = le32_to_cpu(buf->desc[cnt].id); cnt 153 drivers/firmware/arm_scmi/sensors.c strlcpy(s->name, buf->desc[cnt].name, SCMI_MAX_STR_SIZE); cnt 44 drivers/firmware/efi/efi-pstore.c int cnt; cnt 56 drivers/firmware/efi/efi-pstore.c &record->type, &part, &cnt, &time, &data_type) == 5) { cnt 57 drivers/firmware/efi/efi-pstore.c record->id = generic_id(time, part, cnt); cnt 59 drivers/firmware/efi/efi-pstore.c record->count = cnt; cnt 68 drivers/firmware/efi/efi-pstore.c &record->type, &part, &cnt, &time) == 4) { cnt 69 drivers/firmware/efi/efi-pstore.c record->id = generic_id(time, part, cnt); cnt 71 drivers/firmware/efi/efi-pstore.c record->count = cnt; cnt 207 drivers/gpio/gpio-mockup.c int val, cnt; cnt 219 drivers/gpio/gpio-mockup.c cnt = snprintf(buf, sizeof(buf), "%d\n", val); cnt 221 drivers/gpio/gpio-mockup.c return simple_read_from_buffer(usr_buf, size, ppos, buf, cnt); cnt 127 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c uint64_t cnt = amdgpu_asic_get_pcie_replay_count(adev); cnt 129 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c return snprintf(buf, PAGE_SIZE, "%llu\n", cnt); cnt 50 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c signed long r, cnt = 0; cnt 79 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c while (r < 1 && cnt++ < MAX_KIQ_REG_TRY) { cnt 84 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c if (cnt > MAX_KIQ_REG_TRY) cnt 96 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c signed long r, cnt = 0; cnt 125 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c while (r < 1 && cnt++ < MAX_KIQ_REG_TRY) { cnt 131 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c if (cnt > MAX_KIQ_REG_TRY) cnt 146 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c signed long r, cnt = 0; cnt 165 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c while (r < 1 && cnt++ < MAX_KIQ_REG_TRY) { cnt 171 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c if (cnt > MAX_KIQ_REG_TRY) cnt 4725 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c int cnt; cnt 4727 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c cnt = (sizeof(ce_payload) >> 2) + 4 - 2; cnt 4730 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c amdgpu_ring_write(ring, PACKET3(PACKET3_WRITE_DATA, cnt)); cnt 4755 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c int cnt; cnt 4763 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c cnt = (sizeof(de_payload) >> 2) + 4 - 2; cnt 4764 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c amdgpu_ring_write(ring, PACKET3(PACKET3_WRITE_DATA, cnt)); cnt 5303 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c int cnt; cnt 5305 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c cnt = (sizeof(ce_payload) >> 2) + 4 - 2; cnt 5308 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c amdgpu_ring_write(ring, PACKET3(PACKET3_WRITE_DATA, cnt)); cnt 5322 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c int cnt; cnt 5329 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c cnt = (sizeof(de_payload) >> 2) + 4 - 2; cnt 5330 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c amdgpu_ring_write(ring, PACKET3(PACKET3_WRITE_DATA, cnt)); cnt 620 drivers/gpu/drm/ast/ast_post.c u32 gold_sadj[2], dllmin[16], dllmax[16], dlli, data, cnt, mask, passcnt, retry = 0; cnt 623 drivers/gpu/drm/ast/ast_post.c for (cnt = 0; cnt < 16; cnt++) { cnt 624 drivers/gpu/drm/ast/ast_post.c dllmin[cnt] = 0xff; cnt 625 drivers/gpu/drm/ast/ast_post.c dllmax[cnt] = 0x0; cnt 634 drivers/gpu/drm/ast/ast_post.c for (cnt = 0; cnt < 16; cnt++) { cnt 636 drivers/gpu/drm/ast/ast_post.c if (dllmin[cnt] > dlli) { cnt 637 drivers/gpu/drm/ast/ast_post.c dllmin[cnt] = dlli; cnt 639 drivers/gpu/drm/ast/ast_post.c if (dllmax[cnt] < dlli) { cnt 640 drivers/gpu/drm/ast/ast_post.c dllmax[cnt] = dlli; cnt 652 drivers/gpu/drm/ast/ast_post.c for (cnt = 0; cnt < 16; cnt++) { cnt 653 drivers/gpu/drm/ast/ast_post.c if ((dllmax[cnt] > dllmin[cnt]) && ((dllmax[cnt] - dllmin[cnt]) >= CBR_THRESHOLD2)) { cnt 654 drivers/gpu/drm/ast/ast_post.c gold_sadj[0] += dllmin[cnt]; cnt 669 drivers/gpu/drm/ast/ast_post.c for (cnt = 0; cnt < 8; cnt++) { cnt 671 drivers/gpu/drm/ast/ast_post.c if ((dllmax[cnt] > dllmin[cnt]) && ((dllmax[cnt] - dllmin[cnt]) >= CBR_THRESHOLD2)) { cnt 672 drivers/gpu/drm/ast/ast_post.c dlli = dllmin[cnt]; cnt 691 drivers/gpu/drm/ast/ast_post.c for (cnt = 8; cnt < 16; cnt++) { cnt 693 drivers/gpu/drm/ast/ast_post.c if ((dllmax[cnt] > dllmin[cnt]) && ((dllmax[cnt] - dllmin[cnt]) >= CBR_THRESHOLD2)) { cnt 694 drivers/gpu/drm/ast/ast_post.c dlli = dllmin[cnt]; cnt 58 drivers/gpu/drm/bridge/adv7511/adv7511_cec.c unsigned int cnt; cnt 66 drivers/gpu/drm/bridge/adv7511/adv7511_cec.c ADV7511_REG_CEC_TX_LOW_DRV_CNT + offset, &cnt)) { cnt 70 drivers/gpu/drm/bridge/adv7511/adv7511_cec.c nack_cnt = cnt & 0xf; cnt 73 drivers/gpu/drm/bridge/adv7511/adv7511_cec.c low_drive_cnt = cnt >> 4; cnt 658 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c void dw_hdmi_set_channel_count(struct dw_hdmi *hdmi, unsigned int cnt) cnt 668 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c if (cnt > 2) cnt 677 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c hdmi_modb(hdmi, (cnt - 1) << HDMI_FC_AUDICONF0_CC_OFFSET, cnt 287 drivers/gpu/drm/drm_hdcp.c u32 rev_ksv_cnt, cnt, i, j; cnt 305 drivers/gpu/drm/drm_hdcp.c for (cnt = 0; cnt < ksv_count; cnt++) { cnt 136 drivers/gpu/drm/exynos/exynos5433_drm_decon.c u32 frm, pfrm, status, cnt = 2; cnt 147 drivers/gpu/drm/exynos/exynos5433_drm_decon.c } while (frm != pfrm && --cnt); cnt 273 drivers/gpu/drm/exynos/exynos_drm_drv.c int cnt, ret; cnt 296 drivers/gpu/drm/exynos/exynos_drm_drv.c cnt = 0; cnt 299 drivers/gpu/drm/exynos/exynos_drm_drv.c clone_mask |= (1 << (cnt++)); cnt 73 drivers/gpu/drm/i2c/tda9950.c static int tda9950_write_range(struct i2c_client *client, u8 addr, u8 *p, int cnt) cnt 79 drivers/gpu/drm/i2c/tda9950.c if (WARN_ON(cnt > sizeof(buf) - 1)) cnt 83 drivers/gpu/drm/i2c/tda9950.c memcpy(buf + 1, p, cnt); cnt 87 drivers/gpu/drm/i2c/tda9950.c msg.len = cnt + 1; cnt 90 drivers/gpu/drm/i2c/tda9950.c dev_dbg(&client->dev, "wr 0x%02x: %*ph\n", addr, cnt, p); cnt 103 drivers/gpu/drm/i2c/tda9950.c static int tda9950_read_range(struct i2c_client *client, u8 addr, u8 *p, int cnt) cnt 114 drivers/gpu/drm/i2c/tda9950.c msg[1].len = cnt; cnt 121 drivers/gpu/drm/i2c/tda9950.c dev_dbg(&client->dev, "rd 0x%02x: %*ph\n", addr, cnt, p); cnt 576 drivers/gpu/drm/i2c/tda998x_drv.c reg_read_range(struct tda998x_priv *priv, u16 reg, char *buf, int cnt) cnt 591 drivers/gpu/drm/i2c/tda998x_drv.c ret = i2c_master_recv(client, buf, cnt); cnt 607 drivers/gpu/drm/i2c/tda998x_drv.c reg_write_range(struct tda998x_priv *priv, u16 reg, u8 *p, int cnt) cnt 614 drivers/gpu/drm/i2c/tda998x_drv.c if (cnt > MAX_WRITE_RANGE_BUF) { cnt 621 drivers/gpu/drm/i2c/tda998x_drv.c memcpy(&buf[1], p, cnt); cnt 628 drivers/gpu/drm/i2c/tda998x_drv.c ret = i2c_master_send(client, buf, cnt + 1); cnt 767 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c unsigned int cnt; cnt 798 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c cnt = (val & s_mask) >> s_shift; cnt 803 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c return cnt; cnt 707 drivers/gpu/drm/i915/gvt/cmd_parser.c int cnt = 0; cnt 734 drivers/gpu/drm/i915/gvt/cmd_parser.c while (cnt < 1024) { cnt 741 drivers/gpu/drm/i915/gvt/cmd_parser.c cnt += 8; cnt 163 drivers/gpu/drm/i915/gvt/mmio_context.c u32 cnt = gvt->engine_mmio_list.mocs_mmio_offset_list_cnt; cnt 171 drivers/gpu/drm/i915/gvt/mmio_context.c for (ring_id = 0; ring_id < cnt; ring_id++) { cnt 352 drivers/gpu/drm/i915/gvt/mmio_context.c u32 cnt = vgpu->gvt->engine_mmio_list.tlb_mmio_offset_list_cnt; cnt 359 drivers/gpu/drm/i915/gvt/mmio_context.c if (WARN_ON(ring_id >= cnt)) cnt 735 drivers/gpu/drm/i915/i915_debugfs.c size_t cnt, cnt 746 drivers/gpu/drm/i915/i915_debugfs.c return cnt; cnt 2047 drivers/gpu/drm/i915/i915_debugfs.c size_t cnt, cnt 2053 drivers/gpu/drm/i915/i915_debugfs.c return cnt; cnt 4235 drivers/gpu/drm/i915/i915_debugfs.c size_t cnt, loff_t *ppos) cnt 4243 drivers/gpu/drm/i915/i915_debugfs.c ret = kstrtobool_from_user(ubuf, cnt, &reset); cnt 4248 drivers/gpu/drm/i915/i915_debugfs.c return cnt; cnt 4283 drivers/gpu/drm/i915/i915_debugfs.c return cnt; cnt 259 drivers/gpu/drm/msm/adreno/adreno_gpu.h OUT_PKT0(struct msm_ringbuffer *ring, uint16_t regindx, uint16_t cnt) cnt 261 drivers/gpu/drm/msm/adreno/adreno_gpu.h adreno_wait_ring(ring, cnt+1); cnt 262 drivers/gpu/drm/msm/adreno/adreno_gpu.h OUT_RING(ring, CP_TYPE0_PKT | ((cnt-1) << 16) | (regindx & 0x7FFF)); cnt 274 drivers/gpu/drm/msm/adreno/adreno_gpu.h OUT_PKT3(struct msm_ringbuffer *ring, uint8_t opcode, uint16_t cnt) cnt 276 drivers/gpu/drm/msm/adreno/adreno_gpu.h adreno_wait_ring(ring, cnt+1); cnt 277 drivers/gpu/drm/msm/adreno/adreno_gpu.h OUT_RING(ring, CP_TYPE3_PKT | ((cnt-1) << 16) | ((opcode & 0xFF) << 8)); cnt 296 drivers/gpu/drm/msm/adreno/adreno_gpu.h OUT_PKT4(struct msm_ringbuffer *ring, uint16_t regindx, uint16_t cnt) cnt 298 drivers/gpu/drm/msm/adreno/adreno_gpu.h adreno_wait_ring(ring, cnt + 1); cnt 299 drivers/gpu/drm/msm/adreno/adreno_gpu.h OUT_RING(ring, PKT4(regindx, cnt)); cnt 303 drivers/gpu/drm/msm/adreno/adreno_gpu.h OUT_PKT7(struct msm_ringbuffer *ring, uint8_t opcode, uint16_t cnt) cnt 305 drivers/gpu/drm/msm/adreno/adreno_gpu.h adreno_wait_ring(ring, cnt + 1); cnt 306 drivers/gpu/drm/msm/adreno/adreno_gpu.h OUT_RING(ring, CP_TYPE7_PKT | (cnt << 0) | (PM4_PARITY(cnt) << 15) | cnt 822 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c int cnt = 0, rc = 0, mixer_width, i, z_pos; cnt 872 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c if (cnt >= DPU_STAGE_MAX * 4) cnt 875 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c pstates[cnt].dpu_pstate = to_dpu_plane_state(pstate); cnt 876 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c pstates[cnt].drm_pstate = pstate; cnt 877 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c pstates[cnt].stage = pstate->normalized_zpos; cnt 878 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c pstates[cnt].pipe_id = dpu_plane_pipe(plane); cnt 880 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c if (pipe_staged[pstates[cnt].pipe_id]) { cnt 882 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c pipe_staged[pstates[cnt].pipe_id]; cnt 886 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c pipe_staged[pstates[cnt].pipe_id] = NULL; cnt 888 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c pipe_staged[pstates[cnt].pipe_id] = pstate; cnt 891 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c cnt++; cnt 919 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c for (i = 0; i < cnt; i++) { cnt 981 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c for (i = 1; i < cnt; i++) { cnt 622 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c int cnt = 0, i; cnt 632 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c pstates[cnt].plane = plane; cnt 633 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c pstates[cnt].state = to_mdp5_plane_state(pstate); cnt 639 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if (pstates[cnt].state->r_hwpipe) cnt 641 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c cnt++; cnt 648 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if (!cnt) cnt 667 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c sort(pstates, cnt, sizeof(pstates[0]), pstate_cmp, NULL); cnt 671 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c (pstates[cnt - 1].plane->type != DRM_PLANE_TYPE_CURSOR)); cnt 678 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if ((cnt + start - 1) >= hw_cfg->lm.nb_stages) { cnt 680 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c cnt, start); cnt 684 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c for (i = 0; i < cnt; i++) { cnt 685 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if (cursor_plane && (i == (cnt - 1))) cnt 801 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c static int construct_pipes(struct mdp5_kms *mdp5_kms, int cnt, cnt 808 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c for (i = 0; i < cnt; i++) { cnt 67 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c int i, avail, cnt = smp->blk_cnt; cnt 71 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c WARN_ON(bitmap_weight(cs, cnt) > 0); cnt 80 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c avail = cnt - bitmap_weight(state->state, cnt); cnt 88 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c int blk = find_first_zero_bit(state->state, cnt); cnt 201 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c int cnt = smp->blk_cnt; cnt 208 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c bitmap_andnot(state->state, state->state, cs, cnt); cnt 211 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c bitmap_zero(cs, cnt); cnt 223 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c int cnt = smp->blk_cnt; cnt 227 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c for_each_set_bit(blk, *assigned, cnt) { cnt 63 drivers/gpu/drm/msm/disp/mdp_format.c #define FMT(name, a, r, g, b, e0, e1, e2, e3, alpha, tight, c, cnt, fp, cs, yuv) { \ cnt 73 drivers/gpu/drm/msm/disp/mdp_format.c .unpack_count = cnt, \ cnt 1297 drivers/gpu/drm/msm/dsi/dsi_host.c int i, j = 0, cnt; cnt 1305 drivers/gpu/drm/msm/dsi/dsi_host.c cnt = (rx_byte + 3) >> 2; cnt 1306 drivers/gpu/drm/msm/dsi/dsi_host.c if (cnt > 4) cnt 1307 drivers/gpu/drm/msm/dsi/dsi_host.c cnt = 4; /* 4 x 32 bits registers only */ cnt 1331 drivers/gpu/drm/msm/dsi/dsi_host.c for (i = cnt - 1; i >= 0; i--) { cnt 359 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c u32 cnt; cnt 378 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c cnt = pll_14nm_kvco_slop(vco_clk_rate); cnt 379 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c cnt *= 2; cnt 380 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c cnt /= 100; cnt 381 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c cnt *= pin->kvco_measure_time; cnt 382 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pout->pll_kvco_count = cnt; cnt 539 drivers/gpu/drm/msm/edp/edp_ctrl.c int cnt = 10; cnt 546 drivers/gpu/drm/msm/edp/edp_ctrl.c while (--cnt) { cnt 552 drivers/gpu/drm/msm/edp/edp_ctrl.c if (cnt == 0) cnt 18 drivers/gpu/drm/msm/edp/edp_phy.c int cnt = 100; cnt 20 drivers/gpu/drm/msm/edp/edp_phy.c while (--cnt) { cnt 28 drivers/gpu/drm/msm/edp/edp_phy.c if (cnt == 0) { cnt 25 drivers/gpu/drm/msm/msm_gpummu.c int cnt) cnt 31 drivers/gpu/drm/msm/msm_gpummu.c int cnt) cnt 27 drivers/gpu/drm/msm/msm_iommu.c int cnt) cnt 35 drivers/gpu/drm/msm/msm_iommu.c int cnt) cnt 13 drivers/gpu/drm/msm/msm_mmu.h int (*attach)(struct msm_mmu *mmu, const char * const *names, int cnt); cnt 14 drivers/gpu/drm/msm/msm_mmu.h void (*detach)(struct msm_mmu *mmu, const char * const *names, int cnt); cnt 29 drivers/gpu/drm/msm/msm_perf.c int cnt; cnt 66 drivers/gpu/drm/msm/msm_perf.c if ((perf->cnt++ % 32) == 0) { cnt 167 drivers/gpu/drm/msm/msm_perf.c perf->cnt = 0; cnt 1581 drivers/gpu/drm/nouveau/dispnv50/disp.c u8 ver, hdr, cnt, len; cnt 1627 drivers/gpu/drm/nouveau/dispnv50/disp.c (data = nvbios_dp_table(bios, &ver, &hdr, &cnt, &len)) && cnt 83 drivers/gpu/drm/nouveau/include/nvif/object.h int cnt, i, j; \ cnt 85 drivers/gpu/drm/nouveau/include/nvif/object.h cnt = nvif_object_sclass_get(object, &sclass); \ cnt 86 drivers/gpu/drm/nouveau/include/nvif/object.h if (cnt >= 0) { \ cnt 88 drivers/gpu/drm/nouveau/include/nvif/object.h for (j = 0; j < cnt; j++) { \ cnt 10 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0203.h u32 nvbios_M0203Te(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len); cnt 11 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0203.h u32 nvbios_M0203Tp(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, cnt 9 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0205.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz); cnt 11 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0205.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz, cnt 19 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0205.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len); cnt 21 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0205.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_M0205E *); cnt 5 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0209.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz); cnt 17 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0209.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len); cnt 19 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0209.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_M0209E *); cnt 5 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/P0260.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *xnr, u8 *xsz); cnt 30 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/conn.h u32 nvbios_connTe(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len); cnt 31 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/conn.h u32 nvbios_connTp(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, cnt 5 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/cstep.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *xnr, u8 *xsz); cnt 5 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/disp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *sub); cnt 22 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/disp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len); cnt 24 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/disp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_outp *); cnt 26 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/disp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_outp *); cnt 35 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/disp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len); cnt 37 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/disp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ocfg *); cnt 39 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/disp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ocfg *); cnt 6 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/dp.h nvbios_dp_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len); cnt 17 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/dp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, cnt 20 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/dp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, cnt 32 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/dp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_dpcfg *); cnt 35 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/dp.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_dpcfg *); cnt 46 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/gpio.h u16 dcb_gpio_table(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len); cnt 23 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/i2c.h u16 dcb_i2c_table(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len); cnt 5 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/perf.h u8 *cnt, u8 *len, u8 *snr, u8 *ssz); cnt 22 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/perf.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len); cnt 24 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/perf.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_perfE *); cnt 35 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/perf.h u8 *ver, u8 *hdr, u8 cnt, u8 len); cnt 37 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/perf.h u8 *ver, u8 *hdr, u8 cnt, u8 len, struct nvbios_perfS *); cnt 7 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/pmu.h u32 nvbios_pmuTe(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len); cnt 7 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/rammap.h u8 *cnt, u8 *len, u8 *snr, u8 *ssz); cnt 10 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/rammap.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len); cnt 14 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/rammap.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *); cnt 16 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/rammap.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *); cnt 7 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/timing.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz); cnt 9 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/timing.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len); cnt 11 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/timing.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *); cnt 10 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/vmap.h u32 nvbios_vmap_table(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len); cnt 11 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/vmap.h u32 nvbios_vmap_parse(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, cnt 26 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/volt.h u32 nvbios_volt_table(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len); cnt 27 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/volt.h u32 nvbios_volt_parse(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, cnt 16 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/xpio.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len); cnt 18 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/xpio.h u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_xpio *); cnt 111 drivers/gpu/drm/nouveau/nouveau_dma.c uint32_t cnt = 0, prev_get = 0; cnt 117 drivers/gpu/drm/nouveau/nouveau_dma.c cnt = 0; cnt 120 drivers/gpu/drm/nouveau/nouveau_dma.c if ((++cnt & 0xff) == 0) { cnt 122 drivers/gpu/drm/nouveau/nouveau_dma.c if (cnt > 100000) cnt 138 drivers/gpu/drm/nouveau/nouveau_dma.c int ret, cnt = 0; cnt 145 drivers/gpu/drm/nouveau/nouveau_dma.c int get = READ_GET(chan, &prev_get, &cnt); cnt 160 drivers/gpu/drm/nouveau/nouveau_dma.c get = READ_GET(chan, &prev_get, &cnt); cnt 181 drivers/gpu/drm/nouveau/nouveau_dma.c int cnt = 0, get; cnt 187 drivers/gpu/drm/nouveau/nouveau_dma.c get = READ_GET(chan, &prev_get, &cnt); cnt 233 drivers/gpu/drm/nouveau/nouveau_dma.c get = READ_GET(chan, &prev_get, &cnt); cnt 65 drivers/gpu/drm/nouveau/nvif/object.c int ret, cnt = 0, i; cnt 69 drivers/gpu/drm/nouveau/nvif/object.c size = sizeof(*args) + cnt * sizeof(args->sclass.oclass[0]); cnt 75 drivers/gpu/drm/nouveau/nvif/object.c args->sclass.count = cnt; cnt 78 drivers/gpu/drm/nouveau/nvif/object.c if (ret == 0 && args->sclass.count <= cnt) cnt 80 drivers/gpu/drm/nouveau/nvif/object.c cnt = args->sclass.count; cnt 81 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c u8 ver, hdr, cnt, len; cnt 112 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c &ver, &hdr, &cnt, &len, &info); cnt 117 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c lpre & 3, &ver, &hdr, &cnt, &len, cnt 633 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c u8 hdr, cnt, len; cnt 650 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c &hdr, &cnt, &len, &dp->info); cnt 657 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c dp->version, hdr, cnt, len); cnt 37 drivers/gpu/drm/nouveau/nvkm/engine/disp/g84.c .head = { .cnt = nv50_head_cnt, .new = nv50_head_new }, cnt 38 drivers/gpu/drm/nouveau/nvkm/engine/disp/g84.c .dac = { .cnt = nv50_dac_cnt, .new = nv50_dac_new }, cnt 39 drivers/gpu/drm/nouveau/nvkm/engine/disp/g84.c .sor = { .cnt = nv50_sor_cnt, .new = g84_sor_new }, cnt 40 drivers/gpu/drm/nouveau/nvkm/engine/disp/g84.c .pior = { .cnt = nv50_pior_cnt, .new = nv50_pior_new }, cnt 37 drivers/gpu/drm/nouveau/nvkm/engine/disp/g94.c .head = { .cnt = nv50_head_cnt, .new = nv50_head_new }, cnt 38 drivers/gpu/drm/nouveau/nvkm/engine/disp/g94.c .dac = { .cnt = nv50_dac_cnt, .new = nv50_dac_new }, cnt 39 drivers/gpu/drm/nouveau/nvkm/engine/disp/g94.c .sor = { .cnt = g94_sor_cnt, .new = g94_sor_new }, cnt 40 drivers/gpu/drm/nouveau/nvkm/engine/disp/g94.c .pior = { .cnt = nv50_pior_cnt, .new = nv50_pior_new }, cnt 263 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c .head = { .cnt = gf119_head_cnt, .new = gf119_head_new }, cnt 264 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c .dac = { .cnt = gf119_dac_cnt, .new = gf119_dac_new }, cnt 265 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c .sor = { .cnt = gf119_sor_cnt, .new = gf119_sor_new }, cnt 38 drivers/gpu/drm/nouveau/nvkm/engine/disp/gk104.c .head = { .cnt = gf119_head_cnt, .new = gf119_head_new }, cnt 39 drivers/gpu/drm/nouveau/nvkm/engine/disp/gk104.c .dac = { .cnt = gf119_dac_cnt, .new = gf119_dac_new }, cnt 40 drivers/gpu/drm/nouveau/nvkm/engine/disp/gk104.c .sor = { .cnt = gf119_sor_cnt, .new = gk104_sor_new }, cnt 38 drivers/gpu/drm/nouveau/nvkm/engine/disp/gk110.c .head = { .cnt = gf119_head_cnt, .new = gf119_head_new }, cnt 39 drivers/gpu/drm/nouveau/nvkm/engine/disp/gk110.c .dac = { .cnt = gf119_dac_cnt, .new = gf119_dac_new }, cnt 40 drivers/gpu/drm/nouveau/nvkm/engine/disp/gk110.c .sor = { .cnt = gf119_sor_cnt, .new = gk104_sor_new }, cnt 38 drivers/gpu/drm/nouveau/nvkm/engine/disp/gm107.c .head = { .cnt = gf119_head_cnt, .new = gf119_head_new }, cnt 39 drivers/gpu/drm/nouveau/nvkm/engine/disp/gm107.c .dac = { .cnt = gf119_dac_cnt, .new = gf119_dac_new }, cnt 40 drivers/gpu/drm/nouveau/nvkm/engine/disp/gm107.c .sor = { .cnt = gf119_sor_cnt, .new = gm107_sor_new }, cnt 38 drivers/gpu/drm/nouveau/nvkm/engine/disp/gm200.c .head = { .cnt = gf119_head_cnt, .new = gf119_head_new }, cnt 39 drivers/gpu/drm/nouveau/nvkm/engine/disp/gm200.c .dac = { .cnt = gf119_dac_cnt, .new = gf119_dac_new }, cnt 40 drivers/gpu/drm/nouveau/nvkm/engine/disp/gm200.c .sor = { .cnt = gf119_sor_cnt, .new = gm200_sor_new }, cnt 38 drivers/gpu/drm/nouveau/nvkm/engine/disp/gp100.c .head = { .cnt = gf119_head_cnt, .new = gf119_head_new }, cnt 39 drivers/gpu/drm/nouveau/nvkm/engine/disp/gp100.c .sor = { .cnt = gf119_sor_cnt, .new = gm200_sor_new }, cnt 65 drivers/gpu/drm/nouveau/nvkm/engine/disp/gp102.c .head = { .cnt = gf119_head_cnt, .new = gf119_head_new }, cnt 66 drivers/gpu/drm/nouveau/nvkm/engine/disp/gp102.c .sor = { .cnt = gf119_sor_cnt, .new = gm200_sor_new }, cnt 37 drivers/gpu/drm/nouveau/nvkm/engine/disp/gt200.c .head = { .cnt = nv50_head_cnt, .new = nv50_head_new }, cnt 38 drivers/gpu/drm/nouveau/nvkm/engine/disp/gt200.c .dac = { .cnt = nv50_dac_cnt, .new = nv50_dac_new }, cnt 39 drivers/gpu/drm/nouveau/nvkm/engine/disp/gt200.c .sor = { .cnt = nv50_sor_cnt, .new = g84_sor_new }, cnt 40 drivers/gpu/drm/nouveau/nvkm/engine/disp/gt200.c .pior = { .cnt = nv50_pior_cnt, .new = nv50_pior_new }, cnt 37 drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c .head = { .cnt = nv50_head_cnt, .new = nv50_head_new }, cnt 38 drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c .dac = { .cnt = nv50_dac_cnt, .new = nv50_dac_new }, cnt 39 drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c .sor = { .cnt = g94_sor_cnt, .new = gt215_sor_new }, cnt 40 drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c .pior = { .cnt = nv50_pior_cnt, .new = nv50_pior_new }, cnt 420 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c .wndw = { .cnt = gv100_disp_wndw_cnt }, cnt 421 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c .head = { .cnt = gv100_head_cnt, .new = gv100_head_new }, cnt 422 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c .sor = { .cnt = gv100_sor_cnt, .new = gv100_sor_new }, cnt 35 drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp77.c .head = { .cnt = nv50_head_cnt, .new = nv50_head_new }, cnt 36 drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp77.c .dac = { .cnt = nv50_dac_cnt, .new = nv50_dac_new }, cnt 37 drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp77.c .sor = { .cnt = g94_sor_cnt, .new = mcp77_sor_new }, cnt 38 drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp77.c .pior = { .cnt = nv50_pior_cnt, .new = nv50_pior_new }, cnt 35 drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp89.c .head = { .cnt = nv50_head_cnt, .new = nv50_head_new }, cnt 36 drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp89.c .dac = { .cnt = nv50_dac_cnt, .new = nv50_dac_new }, cnt 37 drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp89.c .sor = { .cnt = g94_sor_cnt, .new = mcp89_sor_new }, cnt 38 drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp89.c .pior = { .cnt = nv50_pior_cnt, .new = nv50_pior_new }, cnt 90 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c if (func->wndw.cnt) { cnt 91 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c disp->wndw.nr = func->wndw.cnt(&disp->base, &disp->wndw.mask); cnt 96 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c disp->head.nr = func->head.cnt(&disp->base, &disp->head.mask); cnt 105 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c if (func->dac.cnt) { cnt 106 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c disp->dac.nr = func->dac.cnt(&disp->base, &disp->dac.mask); cnt 116 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c if (func->pior.cnt) { cnt 117 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c disp->pior.nr = func->pior.cnt(&disp->base, &disp->pior.mask); cnt 127 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c disp->sor.nr = func->sor.cnt(&disp->base, &disp->sor.mask); cnt 183 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, cnt 190 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c u32 data = nvbios_outp_match(bios, t, m, ver, hdr, cnt, len, iedt); cnt 205 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c u8 ver, hdr, cnt, len, flags = 0x00; cnt 214 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c data = nv50_disp_super_iedt(head, outp, &ver, &hdr, &cnt, &len, &iedt); cnt 229 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c &ver, &hdr, &cnt, &len, &iedtrs); cnt 257 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c u8 ver, hdr, cnt, len; cnt 265 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c data = nv50_disp_super_iedt(head, outp, &ver, &hdr, &cnt, &len, &iedt); cnt 765 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c .head = { .cnt = nv50_head_cnt, .new = nv50_head_new }, cnt 766 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c .dac = { .cnt = nv50_dac_cnt, .new = nv50_dac_new }, cnt 767 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c .sor = { .cnt = nv50_sor_cnt, .new = nv50_sor_new }, cnt 768 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c .pior = { .cnt = nv50_pior_cnt, .new = nv50_pior_new }, cnt 65 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h int (*cnt)(struct nvkm_disp *, unsigned long *mask); cnt 142 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c .wndw = { .cnt = gv100_disp_wndw_cnt }, cnt 143 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c .head = { .cnt = gv100_head_cnt, .new = gv100_head_new }, cnt 144 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c .sor = { .cnt = gv100_sor_cnt, .new = tu102_sor_new }, cnt 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c nvbios_M0203Te(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 43 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c *cnt = nvbios_rd08(bios, data + 0x03); cnt 55 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c nvbios_M0203Tp(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, cnt 58 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c u32 data = nvbios_M0203Te(bios, ver, hdr, cnt, len); cnt 74 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c u8 cnt, len; cnt 75 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c u32 data = nvbios_M0203Te(bios, ver, hdr, &cnt, &len); cnt 76 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c if (data && idx < cnt) { cnt 108 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c u8 cnt, len, idx = 0xff; cnt 111 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c if (!nvbios_M0203Tp(bios, ver, hdr, &cnt, &len, &M0203T)) { cnt 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz) cnt 46 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c *cnt = nvbios_rd08(bios, data + 0x05); cnt 59 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz, cnt 62 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c u32 data = nvbios_M0205Te(bios, ver, hdr, cnt, len, snr, ssz); cnt 76 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 79 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c u32 data = nvbios_M0205Te(bios, ver, hdr, cnt, len, &snr, &ssz); cnt 80 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c if (data && idx < *cnt) { cnt 83 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c *cnt = snr; cnt 92 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, cnt 95 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c u32 data = nvbios_M0205Ee(bios, idx, ver, hdr, cnt, len); cnt 111 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c u8 cnt, len; cnt 112 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c u32 data = nvbios_M0205Ee(bios, ent, ver, hdr, &cnt, &len); cnt 113 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.c if (data && idx < cnt) { cnt 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz) cnt 46 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c *cnt = nvbios_rd08(bios, data + 0x04); cnt 59 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 62 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u32 data = nvbios_M0209Te(bios, ver, hdr, cnt, len, &snr, &ssz); cnt 63 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c if (data && idx < *cnt) { cnt 66 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c *cnt = snr; cnt 75 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_M0209E *info) cnt 77 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u32 data = nvbios_M0209Ee(bios, idx, ver, hdr, cnt, len); cnt 98 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u8 cnt, len; cnt 99 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u32 data = nvbios_M0209Ee(bios, ent, ver, hdr, &cnt, &len); cnt 100 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c if (data && idx < cnt) { cnt 113 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u8 cnt, len; cnt 114 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u32 data = nvbios_M0209Ep(bios, ent, ver, hdr, &cnt, &len, &M0209E); cnt 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *xnr, u8 *xsz) cnt 43 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c *cnt = nvbios_rd08(bios, data + 2); cnt 60 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c u8 hdr, cnt, xnr, xsz; cnt 61 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c u32 data = nvbios_P0260Te(bios, ver, &hdr, &cnt, len, &xnr, &xsz); cnt 62 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c if (data && idx < cnt) cnt 86 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c u8 hdr, cnt, len, xnr; cnt 87 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c u32 data = nvbios_P0260Te(bios, ver, &hdr, &cnt, &len, &xnr, xsz); cnt 89 drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.c return data + hdr + (cnt * len) + (idx * *xsz); cnt 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz) cnt 44 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c *cnt = nvbios_rd08(bios, boost + 5); cnt 60 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 63 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c u32 data = nvbios_boostTe(bios, ver, hdr, cnt, len, &snr, &ssz); cnt 64 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c if (data && idx < *cnt) { cnt 67 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c *cnt = snr; cnt 76 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_boostE *info) cnt 78 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c u32 data = nvbios_boostEe(bios, idx, ver, hdr, cnt, len); cnt 90 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_boostE *info) cnt 93 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c while ((data = nvbios_boostEp(bios, idx++, ver, hdr, cnt, len, info))) { cnt 102 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c u32 data, u8 *ver, u8 *hdr, u8 cnt, u8 len) cnt 104 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c if (data && idx < cnt) { cnt 114 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c u32 data, u8 *ver, u8 *hdr, u8 cnt, u8 len, cnt 117 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c data = nvbios_boostSe(bios, idx, data, ver, hdr, cnt, len); cnt 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c nvbios_connTe(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 31 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c u32 dcb = dcb_table(bios, ver, hdr, cnt, len); cnt 37 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c *cnt = nvbios_rd08(bios, data + 2); cnt 46 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c nvbios_connTp(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, cnt 49 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c u32 data = nvbios_connTe(bios, ver, hdr, cnt, len); cnt 64 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c u8 hdr, cnt; cnt 65 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c u32 data = nvbios_connTe(bios, ver, &hdr, &cnt, len); cnt 66 drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c if (data && idx < cnt) cnt 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *xnr, u8 *xsz) cnt 44 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c *cnt = nvbios_rd08(bios, cstep + 3); cnt 61 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c u8 cnt, len, xnr, xsz; cnt 62 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c u32 data = nvbios_cstepTe(bios, ver, hdr, &cnt, &len, &xnr, &xsz); cnt 63 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c if (data && idx < cnt) { cnt 99 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c u8 cnt, len, xnr, xsz; cnt 100 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c u32 data = nvbios_cstepTe(bios, ver, hdr, &cnt, &len, &xnr, &xsz); cnt 102 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c data = data + *hdr + (cnt * len) + (idx * xsz); cnt 28 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c dcb_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 50 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c *cnt = nvbios_rd08(bios, dcb + 2); cnt 59 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c *cnt = (i2c - dcb) / 8; cnt 68 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c *cnt = (i2c - dcb) / 10; cnt 101 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c u8 hdr, cnt; cnt 102 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c u16 dcb = dcb_table(bios, ver, &hdr, &cnt, len); cnt 103 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c if (dcb && idx < cnt) cnt 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *sub) cnt 45 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c *cnt = nvbios_rd08(bios, data + 0x03); cnt 61 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u8 hdr, cnt; cnt 62 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u16 data = nvbios_disp_table(bios, ver, &hdr, &cnt, len, sub); cnt 63 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c if (data && idx < cnt) cnt 83 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 88 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c *cnt = nvbios_rd08(bios, info.data + 0x05); cnt 97 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_outp *info) cnt 99 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u16 data = nvbios_outp_entry(bios, idx, ver, hdr, cnt, len); cnt 117 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_outp *info) cnt 120 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c while ((data = nvbios_outp_parse(bios, idx++, ver, hdr, cnt, len, info)) || *ver) { cnt 131 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 133 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c if (idx < *cnt) cnt 140 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ocfg *info) cnt 142 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u16 data = nvbios_ocfg_entry(bios, outp, idx, ver, hdr, cnt, len); cnt 154 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ocfg *info) cnt 157 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c while ((data = nvbios_ocfg_parse(bios, outp, idx++, ver, hdr, cnt, len, info))) { cnt 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c nvbios_dp_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 47 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c *cnt = nvbios_rd08(bios, data + 0x03); cnt 61 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 63 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c u16 data = nvbios_dp_table(bios, ver, hdr, cnt, len); cnt 64 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c if (data && idx < *cnt) { cnt 72 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c *cnt = nvbios_rd08(bios, outp + 0x04); cnt 78 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c *cnt = 0; cnt 92 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, cnt 95 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c u16 data = nvbios_dpout_entry(bios, idx, ver, hdr, cnt, len); cnt 139 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, cnt 143 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c while ((data = nvbios_dpout_parse(bios, idx++, ver, hdr, cnt, len, info)) || *ver) { cnt 154 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 157 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c outp = nvbios_dp_table(bios, ver, hdr, cnt, len); cnt 158 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c *hdr = *hdr + (*len * * cnt); cnt 160 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c *cnt = nvbios_rd08(bios, outp + 0x07) * cnt 164 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c if (idx < *cnt) cnt 172 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, cnt 175 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c u16 data = nvbios_dpcfg_entry(bios, outp, idx, ver, hdr, cnt, len); cnt 208 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, cnt 224 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c ver, hdr, cnt, len))) { cnt 231 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c return nvbios_dpcfg_parse(bios, outp, idx, ver, hdr, cnt, len, info); cnt 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c extdev_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *len, u8 *cnt) cnt 44 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c *cnt = nvbios_rd08(bios, extdev + 2); cnt 52 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c u8 ver, hdr, len, cnt; cnt 53 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c u16 data = extdev_table(bios, &ver, &hdr, &len, &cnt); cnt 65 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c u8 hdr, cnt; cnt 66 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c u16 extdev = extdev_table(bios, ver, &hdr, len, &cnt); cnt 67 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c if (extdev && idx < cnt) cnt 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c nvbios_fan_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 44 drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c *cnt = nvbios_rd08(bios, fan + 3); cnt 57 drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c u8 *cnt, u8 *len) cnt 59 drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c u32 data = nvbios_fan_table(bios, ver, hdr, cnt, len); cnt 60 drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c if (data && idx < *cnt) cnt 68 drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c u8 ver, hdr, cnt, len; cnt 70 drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c u32 data = nvbios_fan_entry(bios, 0, &ver, &hdr, &cnt, &len); cnt 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c dcb_gpio_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 33 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c u16 dcb = dcb_table(bios, ver, hdr, cnt, len); cnt 45 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c *cnt = nvbios_rd08(bios, data + 0x02); cnt 50 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c *cnt = nvbios_rd08(bios, data + 0x02); cnt 63 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c u8 hdr, cnt, xver; /* use gpio version for xpio entry parsing */ cnt 67 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c gpio = dcb_gpio_table(bios, ver, &hdr, &cnt, len); cnt 69 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c gpio = dcb_xpio_table(bios, idx, &xver, &hdr, &cnt, len); cnt 71 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c if (gpio && ent < cnt) cnt 122 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c u8 hdr, cnt, i = 0; cnt 132 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c if ((data = dcb_table(bios, ver, &hdr, &cnt, len))) { cnt 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c dcb_i2c_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 32 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c u16 dcb = dcb_table(bios, ver, hdr, cnt, len); cnt 48 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c *cnt = nvbios_rd08(bios, i2c + 2); cnt 53 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c *cnt = 16; cnt 63 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c u8 hdr, cnt; cnt 64 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c u16 i2c = dcb_i2c_table(bios, ver, &hdr, &cnt, len); cnt 65 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c if (i2c && idx < cnt) cnt 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c nvbios_iccsense_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, cnt 50 drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c *cnt = nvbios_rd08(bios, iccsense + 3); cnt 63 drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c u8 ver, hdr, cnt, len, i; cnt 66 drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c table = nvbios_iccsense_table(bios, &ver, &hdr, &cnt, &len); cnt 67 drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c if (!table || !cnt) cnt 75 drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c iccsense->nr_entry = cnt; cnt 76 drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c iccsense->rail = kmalloc_array(cnt, sizeof(struct pwr_rail_t), cnt 81 drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c for (i = 0; i < cnt; ++i) { cnt 802 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 ver, hdr, cnt, len; cnt 819 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c &ver, &hdr, &cnt, &len, &info))) cnt 31 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c u8 *cnt, u8 *len, u8 *snr, u8 *ssz) cnt 43 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c *cnt = nvbios_rd08(bios, perf + 5); cnt 50 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c *cnt = nvbios_rd08(bios, perf + 2); cnt 66 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c *cnt = nvbios_rd08(bios, perf + 2); cnt 80 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 83 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c u32 perf = nvbios_perf_table(bios, ver, hdr, cnt, len, &snr, &ssz); cnt 84 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c if (perf && idx < *cnt) { cnt 87 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c *cnt = snr; cnt 96 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_perfE *info) cnt 98 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c u32 perf = nvbios_perf_entry(bios, idx, ver, hdr, cnt, len); cnt 174 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c u8 *ver, u8 *hdr, u8 cnt, u8 len) cnt 177 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c if (idx < cnt) { cnt 186 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c u8 *ver, u8 *hdr, u8 cnt, u8 len, cnt 189 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c u32 data = nvbios_perfSe(bios, perfE, idx, ver, hdr, cnt, len); cnt 205 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c u8 ver, hdr, cnt, len, snr, ssz; cnt 206 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c u32 perf = nvbios_perf_table(bios, &ver, &hdr, &cnt, &len, &snr, &ssz); cnt 81 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c pll_limits_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 95 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c *cnt = nvbios_rd08(bios, data + 3); cnt 105 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c *cnt = 1; cnt 147 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c u8 hdr, cnt; cnt 150 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c data = pll_limits_table(bios, ver, &hdr, &cnt, len); cnt 153 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c while (cnt--) { cnt 168 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c while (cnt--) { cnt 189 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c u8 hdr, cnt; cnt 192 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c data = pll_limits_table(bios, ver, &hdr, &cnt, len); cnt 195 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c while (cnt--) { cnt 213 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c while (cnt--) { cnt 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pmu.c nvbios_pmuTe(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 42 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pmu.c *cnt = nvbios_rd08(bios, data + 0x03); cnt 52 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pmu.c u8 cnt, len; cnt 53 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pmu.c u32 data = nvbios_pmuTe(bios, ver, hdr, &cnt, &len); cnt 54 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pmu.c if (data && idx < cnt) { cnt 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c nvbios_power_budget_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, cnt 49 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c *cnt = nvbios_rd08(bios, power_budget + 0x3); cnt 63 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c u8 ver, hdr, cnt, len, cap_entry; cnt 69 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c header = nvbios_power_budget_table(bios, &ver, &hdr, &cnt, &len); cnt 70 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c if (!header || !cnt) cnt 84 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c if (cap_entry >= cnt && cap_entry != 0xff) { cnt 95 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c budget->ecount = cnt; cnt 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c u8 *cnt, u8 *len, u8 *snr, u8 *ssz) cnt 45 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c *cnt = nvbios_rd08(bios, rammap + 5); cnt 61 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 64 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c u32 rammap = nvbios_rammapTe(bios, ver, hdr, cnt, len, &snr, &ssz); cnt 65 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c if (rammap && idx < *cnt) { cnt 68 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c *cnt = snr; cnt 92 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *p) cnt 94 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c u32 data = nvbios_rammapEe(bios, idx, ver, hdr, cnt, len), temp; cnt 134 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *info) cnt 138 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c while ((data = nvbios_rammapEp(bios, idx++, ver, hdr, cnt, len, info))) { cnt 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c therm_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *len, u8 *cnt) cnt 52 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c *cnt = nvbios_rd08(bios, therm + 3); cnt 59 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c u8 hdr, cnt; cnt 60 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c u32 therm = therm_table(bios, ver, &hdr, len, &cnt); cnt 61 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c if (therm && idx < cnt) cnt 30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz) cnt 47 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c *cnt = nvbios_rd08(bios, timing + 2); cnt 54 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c *cnt = nvbios_rd08(bios, timing + 5); cnt 70 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 73 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c u32 timing = nvbios_timingTe(bios, ver, hdr, cnt, len, &snr, &ssz); cnt 74 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c if (timing && idx < *cnt) { cnt 77 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c *cnt = snr; cnt 86 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *p) cnt 88 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c u32 data = nvbios_timingEe(bios, idx, ver, hdr, cnt, len), temp; cnt 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c nvbios_vmap_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 43 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c *cnt = nvbios_rd08(bios, vmap + 3); cnt 57 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c nvbios_vmap_parse(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, cnt 60 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c u32 vmap = nvbios_vmap_table(bios, ver, hdr, cnt, len); cnt 83 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c u8 hdr, cnt; cnt 84 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c u32 vmap = nvbios_vmap_table(bios, ver, &hdr, &cnt, len); cnt 85 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c if (vmap && idx < cnt) { cnt 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c nvbios_volt_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 46 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c *cnt = nvbios_rd08(bios, volt + 2); cnt 51 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c *cnt = nvbios_rd08(bios, volt + 2); cnt 58 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c *cnt = nvbios_rd08(bios, volt + 3); cnt 69 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c nvbios_volt_parse(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, cnt 72 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c u32 volt = nvbios_volt_table(bios, ver, hdr, cnt, len); cnt 127 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c u8 hdr, cnt; cnt 128 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c u32 volt = nvbios_volt_table(bios, ver, &hdr, &cnt, len); cnt 129 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c if (volt && idx < cnt) { cnt 29 drivers/gpu/drm/nouveau/nvkm/subdev/bios/xpio.c dcb_xpiod_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 31 drivers/gpu/drm/nouveau/nvkm/subdev/bios/xpio.c u16 data = dcb_gpio_table(bios, ver, hdr, cnt, len); cnt 37 drivers/gpu/drm/nouveau/nvkm/subdev/bios/xpio.c *cnt = nvbios_rd08(bios, data + 0x02); cnt 47 drivers/gpu/drm/nouveau/nvkm/subdev/bios/xpio.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len) cnt 49 drivers/gpu/drm/nouveau/nvkm/subdev/bios/xpio.c u16 data = dcb_xpiod_table(bios, ver, hdr, cnt, len); cnt 50 drivers/gpu/drm/nouveau/nvkm/subdev/bios/xpio.c if (data && idx < *cnt) { cnt 55 drivers/gpu/drm/nouveau/nvkm/subdev/bios/xpio.c *cnt = nvbios_rd08(bios, data + 0x02); cnt 65 drivers/gpu/drm/nouveau/nvkm/subdev/bios/xpio.c u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_xpio *info) cnt 67 drivers/gpu/drm/nouveau/nvkm/subdev/bios/xpio.c u16 data = dcb_xpio_table(bios, idx, ver, hdr, cnt, len); cnt 46 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c u8 ver, hdr, cnt, len; cnt 49 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c data = nvbios_boostEm(bios, pstate, &ver, &hdr, &cnt, &len, &boostE); cnt 61 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c cnt, len, &boostS); cnt 409 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c u8 ver, hdr, cnt, len; cnt 412 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c data = nvbios_perfEp(bios, idx, &ver, &hdr, &cnt, &len, &perfE); cnt 440 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c &sver, &shdr, cnt, len, &perfS); cnt 130 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c u8 ver = 0xff, hdr, cnt, len; cnt 139 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c &ver, &hdr, &cnt, &len, &info)) { cnt 136 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c u8 ver, cnt, len, strap; cnt 148 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c &cnt, &ramcfg.size, &cfg); cnt 156 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c if (strap >= cnt) { cnt 171 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c &cnt, &len); cnt 1280 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u8 ver, hdr, cnt, len; cnt 1284 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c if (!(data = nvbios_M0205Ep(bios, i, &ver, &hdr, &cnt, &len, &M0205E))) cnt 1305 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c if (!(data = nvbios_M0209Ep(bios, i, &ver, &hdr, &cnt, &len, &M0209E))) cnt 1402 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u8 ver, hdr, cnt, len, snr, ssz; cnt 1417 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c data = nvbios_rammapTe(bios, &ver, &hdr, &cnt, &len, &snr, &ssz); cnt 1421 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c cnt = nvbios_rd08(bios, data + 0x14); /* guess at count */ cnt 1424 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c for (i = 0; i < cnt; i++, data += 4) { cnt 1445 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u8 ver, hdr, cnt, len; cnt 1455 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c data = nvbios_rammapEp(bios, i, &ver, &hdr, &cnt, &len, &cfg->bios); cnt 1462 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c data = nvbios_rammapSp(bios, data, ver, hdr, cnt, len, ramcfg, cnt 1472 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c &ver, &hdr, &cnt, &len, cnt 36 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp100.c u8 ver, hdr, cnt, len, snr, ssz; cnt 51 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp100.c data = nvbios_rammapTe(bios, &ver, &hdr, &cnt, &len, &snr, &ssz); cnt 55 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp100.c cnt = nvbios_rd08(bios, data + 0x14); /* guess at count */ cnt 57 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp100.c if (cnt) { cnt 59 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp100.c for (i = 0; i < cnt; i++, data += 4) { cnt 165 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c u8 ver, hdr, cnt, len, snr, ssz; cnt 181 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c nvbios_M0205Tp(bios, &ver, &hdr, &cnt, &len, &snr, &ssz, &M0205T); cnt 284 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c u8 ver, hdr, cnt, len; cnt 293 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c if (!nvbios_M0205Ep(bios, i, &ver, &hdr, &cnt, &len, &M0205E)) cnt 503 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c u8 ver, hdr, cnt, len, strap; cnt 519 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c data = nvbios_rammapEm(bios, freq / 1000, &ver, &hdr, &cnt, &len, cnt 528 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c if (strap >= cnt) { cnt 533 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c data = nvbios_rammapSp(bios, data, ver, hdr, cnt, len, strap, cnt 543 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c &ver, &hdr, &cnt, &len, cnt 81 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c u32 cnt = 0; cnt 91 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c } while (cnt++ < 32); cnt 228 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c u8 ver, hdr, cnt, len, strap, size; cnt 242 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c data = nvbios_perfEp(bios, i++, &ver, &hdr, &cnt, cnt 255 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c if (strap >= cnt) { cnt 270 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c &ver, &hdr, &cnt, &len, &next->bios); cnt 50 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c int i, j, cnt = num; cnt 59 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c while (cnt--) { cnt 43 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c u8 cnt, retries, cmd; cnt 53 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c for (retries = 0, cnt = 0; cnt 54 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c retries < 32 && !cnt; cnt 56 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c cnt = min_t(u8, remaining, 16); cnt 58 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c msg->addr, ptr, &cnt); cnt 62 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c if (!cnt) { cnt 68 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c ptr += cnt; cnt 69 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c remaining -= cnt; cnt 55 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c u8 ver, hdr, cnt, len; cnt 56 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c u16 i2c = dcb_i2c_table(bios, &ver, &hdr, &cnt, &len); cnt 76 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c u64 cnt; cnt 514 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c it.cnt = size >> page->shift; cnt 527 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c addr, size, page->shift, it.cnt); cnt 531 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c while (it.cnt) { cnt 536 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const u32 ptes = min_t(u64, it.cnt, pten - ptei); cnt 576 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c it.cnt -= ptes; cnt 577 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (it.cnt) { cnt 192 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c u8 ver, hdr, cnt, len; cnt 193 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c u16 dcb = dcb_table(bios, &ver, &hdr, &cnt, &len); cnt 191 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c u8 ver, hdr, cnt, len; cnt 195 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c data = nvbios_volt_parse(bios, &ver, &hdr, &cnt, &len, &info); cnt 214 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c for (i = 0; i < cnt; i++) { cnt 294 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c u8 ver, hdr, cnt, len; cnt 301 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c if (nvbios_vmap_parse(bios, &ver, &hdr, &cnt, &len, &vmap)) { cnt 104 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk104.c u8 ver, hdr, cnt, len; cnt 107 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk104.c if (!nvbios_volt_parse(device->bios, &ver, &hdr, &cnt, &len, &bios)) cnt 70 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c u32 cnt = hdmi_read_reg(core->base, HDMI_CEC_RX_COUNT) & 0xff; cnt 73 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c while (cnt & 0x70) { cnt 75 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c if (!(cnt & 0x80)) { cnt 80 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c msg.len = cnt & 0xf; cnt 105 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c cnt = hdmi_read_reg(core->base, HDMI_CEC_RX_COUNT) & 0xff; cnt 446 drivers/gpu/drm/omapdrm/dss/pll.c int cnt = 0; cnt 456 drivers/gpu/drm/omapdrm/dss/pll.c for (cnt = 0; cnt < max_lock_retries; cnt++) { cnt 474 drivers/gpu/drm/omapdrm/dss/pll.c if (cnt == max_lock_retries) { cnt 518 drivers/gpu/drm/zte/zx_hdmi.c int cnt, i; cnt 523 drivers/gpu/drm/zte/zx_hdmi.c cnt = hdmi_readb(hdmi, ZX_DDC_DOUT_CNT) & DDC_DOUT_CNT_MASK; cnt 524 drivers/gpu/drm/zte/zx_hdmi.c if (cnt == 0) { cnt 533 drivers/gpu/drm/zte/zx_hdmi.c for (i = 0; i < cnt; i++) cnt 535 drivers/gpu/drm/zte/zx_hdmi.c len -= cnt; cnt 234 drivers/gpu/drm/zte/zx_vga.c u32 cnt; cnt 253 drivers/gpu/drm/zte/zx_vga.c cnt = zx_readl(vga->mmio + VGA_RXF_STATUS); cnt 254 drivers/gpu/drm/zte/zx_vga.c cnt = (cnt & VGA_RXF_COUNT_MASK) >> VGA_RXF_COUNT_SHIFT; cnt 256 drivers/gpu/drm/zte/zx_vga.c cnt = min_t(u32, len, cnt); cnt 258 drivers/gpu/drm/zte/zx_vga.c for (i = 0; i < cnt; i++) cnt 261 drivers/gpu/drm/zte/zx_vga.c len -= cnt; cnt 262 drivers/gpu/drm/zte/zx_vga.c offset += cnt; cnt 776 drivers/gpu/vga/vga_switcheroo.c size_t cnt, loff_t *ppos) cnt 785 drivers/gpu/vga/vga_switcheroo.c if (cnt > 63) cnt 786 drivers/gpu/vga/vga_switcheroo.c cnt = 63; cnt 788 drivers/gpu/vga/vga_switcheroo.c if (copy_from_user(usercmd, ubuf, cnt)) cnt 794 drivers/gpu/vga/vga_switcheroo.c cnt = -EINVAL; cnt 896 drivers/gpu/vga/vga_switcheroo.c return cnt; cnt 42 drivers/hid/hid-picolcd_debugfs.c size_t cnt = min(count, sizeof(buf)-1); cnt 43 drivers/hid/hid-picolcd_debugfs.c if (copy_from_user(buf, user_buf, cnt)) cnt 46 drivers/hid/hid-picolcd_debugfs.c while (cnt > 0 && (buf[cnt-1] == ' ' || buf[cnt-1] == '\n')) cnt 47 drivers/hid/hid-picolcd_debugfs.c cnt--; cnt 48 drivers/hid/hid-picolcd_debugfs.c buf[cnt] = '\0'; cnt 58 drivers/hwmon/g760a.c #define PWM_FROM_CNT(cnt) (0xff-(cnt)) cnt 169 drivers/hwmon/g762.c static inline unsigned int rpm_from_cnt(u8 cnt, u32 clk_freq, u16 p, cnt 172 drivers/hwmon/g762.c if (cnt == 0xff) /* setting cnt to 255 stops the fan */ cnt 175 drivers/hwmon/g762.c return (clk_freq * 30 * gear_mult) / ((cnt ? cnt : 1) * p * clk_div); cnt 190 drivers/hwmon/nct7904.c unsigned int cnt, rpm; cnt 199 drivers/hwmon/nct7904.c cnt = ((ret & 0xff00) >> 3) | (ret & 0x1f); cnt 200 drivers/hwmon/nct7904.c if (cnt == 0x1fff) cnt 203 drivers/hwmon/nct7904.c rpm = 1350000 / cnt; cnt 211 drivers/hwmon/nct7904.c cnt = ((ret & 0xff00) >> 3) | (ret & 0x1f); cnt 212 drivers/hwmon/nct7904.c if (cnt == 0x1fff) cnt 215 drivers/hwmon/nct7904.c rpm = 1350000 / cnt; cnt 916 drivers/hwmon/npcm750-pwm-fan.c int ret, cnt; cnt 963 drivers/hwmon/npcm750-pwm-fan.c for (cnt = 0; cnt < NPCM7XX_PWM_MAX_MODULES ; cnt++) cnt 964 drivers/hwmon/npcm750-pwm-fan.c mutex_init(&data->pwm_lock[cnt]); cnt 338 drivers/i2c/busses/i2c-brcmstb.c int cnt, byte, i, rc; cnt 370 drivers/i2c/busses/i2c-brcmstb.c for (cnt = 0, i = 0; cnt < len; cnt += data_regsz, i++) { cnt 375 drivers/i2c/busses/i2c-brcmstb.c if ((cnt + byte) < len) cnt 376 drivers/i2c/busses/i2c-brcmstb.c word |= buf[cnt + byte] << cnt 393 drivers/i2c/busses/i2c-brcmstb.c for (cnt = 0, i = 0; cnt < len; cnt += data_regsz, i++) { cnt 397 drivers/i2c/busses/i2c-brcmstb.c (byte + cnt) < len; byte++) { cnt 398 drivers/i2c/busses/i2c-brcmstb.c buf[cnt + byte] = data & 0xff; cnt 211 drivers/i2c/busses/i2c-highlander.c int i, cnt; cnt 241 drivers/i2c/busses/i2c-highlander.c cnt = (dev->buf_len + 1) >> 1; cnt 242 drivers/i2c/busses/i2c-highlander.c for (i = 0; i < cnt; i++) { cnt 256 drivers/i2c/busses/i2c-highlander.c int i, cnt; cnt 261 drivers/i2c/busses/i2c-highlander.c cnt = (dev->buf_len + 1) >> 1; cnt 262 drivers/i2c/busses/i2c-highlander.c for (i = 0; i < cnt; i++) { cnt 518 drivers/i2c/busses/i2c-jz4780.c unsigned char *buf, int len, int cnt, cnt 578 drivers/i2c/busses/i2c-jz4780.c int cnt, int idx) cnt 588 drivers/i2c/busses/i2c-jz4780.c if (idx < (cnt - 1)) cnt 63 drivers/i2c/busses/i2c-octeon-platdrv.c static void __octeon_i2c_irq_disable(atomic_t *cnt, int irq) cnt 72 drivers/i2c/busses/i2c-octeon-platdrv.c count = atomic_dec_if_positive(cnt); cnt 336 drivers/i2c/busses/i2c-rk3x.c u32 cnt = 0; cnt 343 drivers/i2c/busses/i2c-rk3x.c if ((i2c->processed == i2c->msg->len) && (cnt != 0)) cnt 346 drivers/i2c/busses/i2c-rk3x.c if (i2c->processed == 0 && cnt == 0) cnt 352 drivers/i2c/busses/i2c-rk3x.c cnt++; cnt 361 drivers/i2c/busses/i2c-rk3x.c i2c_writel(i2c, cnt, REG_MTXCNT); cnt 1014 drivers/iio/adc/meson_saradc.c unsigned int cnt, threshold; cnt 1018 drivers/iio/adc/meson_saradc.c cnt = FIELD_GET(MESON_SAR_ADC_REG0_FIFO_COUNT_MASK, regval); cnt 1021 drivers/iio/adc/meson_saradc.c if (cnt < threshold) cnt 502 drivers/iio/common/ms_sensors/ms_sensors_i2c.c unsigned int cnt, n_bit; cnt 508 drivers/iio/common/ms_sensors/ms_sensors_i2c.c for (cnt = 0; cnt < len * 2; cnt++) { cnt 509 drivers/iio/common/ms_sensors/ms_sensors_i2c.c if (cnt % 2 == 1) cnt 510 drivers/iio/common/ms_sensors/ms_sensors_i2c.c n_rem ^= prom[cnt >> 1] & 0x00FF; cnt 512 drivers/iio/common/ms_sensors/ms_sensors_i2c.c n_rem ^= prom[cnt >> 1] >> 8; cnt 229 drivers/iio/health/max30100.c int ret, cnt = 0; cnt 233 drivers/iio/health/max30100.c while (cnt || (cnt = max30100_fifo_count(data)) > 0) { cnt 239 drivers/iio/health/max30100.c cnt--; cnt 297 drivers/iio/health/max30102.c int ret, cnt = 0; cnt 301 drivers/iio/health/max30102.c while (cnt || (cnt = max30102_fifo_count(data)) > 0) { cnt 307 drivers/iio/health/max30102.c cnt--; cnt 752 drivers/iio/light/apds9960.c int cnt; cnt 755 drivers/iio/light/apds9960.c ret = regmap_read(data->regmap, APDS9960_REG_GFLVL, &cnt); cnt 759 drivers/iio/light/apds9960.c return cnt; cnt 764 drivers/iio/light/apds9960.c int ret, cnt = 0; cnt 769 drivers/iio/light/apds9960.c while (cnt || (cnt = apds9660_fifo_is_empty(data) > 0)) { cnt 777 drivers/iio/light/apds9960.c cnt--; cnt 117 drivers/iio/temperature/tsys01.c u8 cnt; cnt 120 drivers/iio/temperature/tsys01.c for (cnt = 0; cnt < TSYS01_PROM_WORDS_NB; cnt++) cnt 116 drivers/infiniband/core/restrack.c u32 cnt = 0; cnt 122 drivers/infiniband/core/restrack.c cnt++; cnt 125 drivers/infiniband/core/restrack.c return cnt; cnt 855 drivers/infiniband/hw/cxgb3/cxio_hal.c static int cnt; cnt 859 drivers/infiniband/hw/cxgb3/cxio_hal.c cnt, __func__, RSPQ_CQID(rsp_msg), RSPQ_CQPTR(rsp_msg), cnt 884 drivers/infiniband/hw/cxgb3/cxio_hal.c cnt++; cnt 118 drivers/infiniband/hw/hfi1/iowait.c u8 cnt, tcnt; cnt 121 drivers/infiniband/hw/hfi1/iowait.c cnt = (w->priority << IOWAIT_PRIORITY_STARVE_SHIFT) + w->starved_cnt; cnt 124 drivers/infiniband/hw/hfi1/iowait.c if (cnt > tcnt) cnt 352 drivers/infiniband/hw/hfi1/sdma.c static inline void sdma_set_desc_cnt(struct sdma_engine *sde, unsigned cnt) cnt 358 drivers/infiniband/hw/hfi1/sdma.c reg = cnt; cnt 1721 drivers/infiniband/hw/hfi1/sdma.c u16 cnt; cnt 1729 drivers/infiniband/hw/hfi1/sdma.c cnt = sde->descq_cnt; cnt 1736 drivers/infiniband/hw/hfi1/sdma.c sane = ((hwhead >= swhead) && (hwhead < cnt)) || cnt 1746 drivers/infiniband/hw/hfi1/sdma.c hwhead, swhead, swtail, cnt); cnt 2150 drivers/infiniband/hw/hfi1/sdma.c u16 head, tail, cnt; cnt 2154 drivers/infiniband/hw/hfi1/sdma.c cnt = sdma_descq_freecnt(sde); cnt 2158 drivers/infiniband/hw/hfi1/sdma.c sde->this_idx, head, tail, cnt, cnt 755 drivers/infiniband/hw/hfi1/sysfs.c ssize_t (*store)(struct sdma_engine *sde, const char *buf, size_t cnt); cnt 1199 drivers/infiniband/hw/hfi1/tid_rdma.c struct tid_group *grp, u8 cnt) cnt 1205 drivers/infiniband/hw/hfi1/tid_rdma.c if (WARN_ON_ONCE(cnt & 1)) cnt 1208 drivers/infiniband/hw/hfi1/tid_rdma.c cnt, grp->map, grp->used); cnt 1212 drivers/infiniband/hw/hfi1/tid_rdma.c node->cnt = cnt; cnt 1214 drivers/infiniband/hw/hfi1/tid_rdma.c grp->base, grp->map, grp->used, cnt); cnt 1303 drivers/infiniband/hw/hfi1/tid_rdma.c u8 i, cnt = 0; cnt 1308 drivers/infiniband/hw/hfi1/tid_rdma.c if (node->map & BIT(i) || cnt >= node->cnt) { cnt 1331 drivers/infiniband/hw/hfi1/tid_rdma.c node->cnt >= cnt + 2; cnt 1357 drivers/infiniband/hw/hfi1/tid_rdma.c cnt++; cnt 1368 drivers/infiniband/hw/hfi1/tid_rdma.c u8 i, cnt = 0; cnt 1373 drivers/infiniband/hw/hfi1/tid_rdma.c if (node->map & BIT(i) || cnt >= node->cnt) { cnt 1382 drivers/infiniband/hw/hfi1/tid_rdma.c cnt++; cnt 1391 drivers/infiniband/hw/hfi1/tid_rdma.c if (WARN_ON_ONCE(cnt & 1)) { cnt 1396 drivers/infiniband/hw/hfi1/tid_rdma.c cnt, grp->map, grp->used); cnt 167 drivers/infiniband/hw/hfi1/tid_rdma.h u8 cnt; cnt 639 drivers/infiniband/hw/hfi1/trace_tid.h u8 map, u8 used, u8 cnt), cnt 640 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, msg, index, base, map, used, cnt), cnt 649 drivers/infiniband/hw/hfi1/trace_tid.h __field(u8, cnt) cnt 659 drivers/infiniband/hw/hfi1/trace_tid.h __entry->cnt = cnt; cnt 670 drivers/infiniband/hw/hfi1/trace_tid.h __entry->cnt cnt 677 drivers/infiniband/hw/hfi1/trace_tid.h u8 map, u8 used, u8 cnt), cnt 678 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, msg, index, base, map, used, cnt) cnt 72 drivers/infiniband/hw/hns/hns_roce_alloc.c int hns_roce_bitmap_alloc_range(struct hns_roce_bitmap *bitmap, int cnt, cnt 78 drivers/infiniband/hw/hns/hns_roce_alloc.c if (likely(cnt == 1 && align == 1)) cnt 84 drivers/infiniband/hw/hns/hns_roce_alloc.c bitmap->last, cnt, align - 1); cnt 89 drivers/infiniband/hw/hns/hns_roce_alloc.c cnt, align - 1); cnt 93 drivers/infiniband/hw/hns/hns_roce_alloc.c for (i = 0; i < cnt; i++) cnt 97 drivers/infiniband/hw/hns/hns_roce_alloc.c bitmap->last = (*obj + cnt); cnt 112 drivers/infiniband/hw/hns/hns_roce_alloc.c unsigned long obj, int cnt, cnt 120 drivers/infiniband/hw/hns/hns_roce_alloc.c for (i = 0; i < cnt; i++) cnt 1174 drivers/infiniband/hw/hns/hns_roce_device.h int hns_roce_bitmap_alloc_range(struct hns_roce_bitmap *bitmap, int cnt, cnt 1177 drivers/infiniband/hw/hns/hns_roce_device.h unsigned long obj, int cnt, cnt 1255 drivers/infiniband/hw/hns/hns_roce_device.h int cnt); cnt 111 drivers/infiniband/hw/hns/hns_roce_qp.c static int hns_roce_reserve_range_qp(struct hns_roce_dev *hr_dev, int cnt, cnt 116 drivers/infiniband/hw/hns/hns_roce_qp.c return hns_roce_bitmap_alloc_range(&qp_table->bitmap, cnt, align, cnt 261 drivers/infiniband/hw/hns/hns_roce_qp.c int cnt) cnt 268 drivers/infiniband/hw/hns/hns_roce_qp.c hns_roce_bitmap_free_range(&qp_table->bitmap, base_qpn, cnt, BITMAP_RR); cnt 151 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info[i].cnt = 0; cnt 161 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info[i].cnt = 1; cnt 165 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info[i].cnt = (u32)RS_64(temp, I40IW_QUERY_FPM_MAX_QPS); cnt 167 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info[i].cnt = (u32)RS_64(temp, I40IW_QUERY_FPM_MAX_CQS); cnt 169 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info[i].cnt = (u32)(temp); cnt 171 drivers/infiniband/hw/i40iw/i40iw_ctrl.c size = info[k].cnt * info[k].size + info[k].base; cnt 508 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u32 cnt = 0, p1, p2, val = 0, err_code; cnt 550 drivers/infiniband/hw/i40iw/i40iw_ctrl.c if (cnt++ > I40IW_DONE_COUNT) { cnt 652 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u32 cnt = 0, val = 1; cnt 666 drivers/infiniband/hw/i40iw/i40iw_ctrl.c if (cnt++ > I40IW_DONE_COUNT) { cnt 788 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u32 cnt = 0; cnt 793 drivers/infiniband/hw/i40iw/i40iw_ctrl.c if (cnt++ > I40IW_DONE_COUNT) cnt 1486 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pble_obj_cnt = info->dev->hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt; cnt 1672 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pble_obj_cnt = info->dev->hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt; cnt 1945 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pble_obj_cnt = info->dev->hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt; cnt 2117 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pble_obj_cnt = info->dev->hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt; cnt 2278 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pble_obj_cnt = cq->dev->hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt; cnt 2387 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pble_obj_cnt = info->pd->dev->hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt; cnt 3013 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pble_obj_cnt = dev->hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt; cnt 3599 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(buf, j, (u64)obj_info[i].cnt); cnt 3650 drivers/infiniband/hw/i40iw/i40iw_ctrl.c wqe_entries = (info->cnt > 3) ? 3 : info->cnt; cnt 3651 drivers/infiniband/hw/i40iw/i40iw_ctrl.c mem_entries = info->cnt - wqe_entries; cnt 3882 drivers/infiniband/hw/i40iw/i40iw_ctrl.c size += hmc_info->hmc_obj[i].cnt * hmc_info->hmc_obj[i].size; cnt 3885 drivers/infiniband/hw/i40iw/i40iw_ctrl.c size += hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt * hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].size; cnt 3894 drivers/infiniband/hw/i40iw/i40iw_ctrl.c size = hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt * hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].size; cnt 3933 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[i].cnt = hmc_info->hmc_obj[i].max_cnt; cnt 3958 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_QP].cnt = qpwanted; cnt 3959 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_CQ].cnt = cnt 3960 drivers/infiniband/hw/i40iw/i40iw_ctrl.c min(2 * qpwanted, hmc_info->hmc_obj[I40IW_HMC_IW_CQ].cnt); cnt 3961 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_SRQ].cnt = 0x00; /* Reserved */ cnt 3962 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_HTE].cnt = cnt 3964 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_ARP].cnt = cnt 3966 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_APBVT_ENTRY].cnt = 1; cnt 3967 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_MR].cnt = mrwanted; cnt 3969 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_XF].cnt = cnt 3971 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_Q1].cnt = cnt 3973 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_XFFL].cnt = cnt 3974 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_XF].cnt / hmc_fpm_misc->xf_block_size; cnt 3975 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_Q1FL].cnt = cnt 3976 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_Q1].cnt / hmc_fpm_misc->q1_block_size; cnt 3977 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_TIMER].cnt = cnt 3979 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_FSIMC].cnt = 0x00; cnt 3980 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_FSIAV].cnt = 0x00; cnt 3981 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt = pblewanted; cnt 4002 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_QP].cnt, cnt 4003 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_CQ].cnt, cnt 4004 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_MR].cnt, cnt 4005 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt); cnt 61 drivers/infiniband/hw/i40iw/i40iw_hmc.c u32 cnt, cnt 69 drivers/infiniband/hw/i40iw/i40iw_hmc.c fpm_limit = fpm_addr + hmc_info->hmc_obj[type].size * cnt; cnt 91 drivers/infiniband/hw/i40iw/i40iw_hmc.c u32 cnt, cnt 99 drivers/infiniband/hw/i40iw/i40iw_hmc.c fpm_limit = fpm_adr + (hmc_info)->hmc_obj[(type)].size * (cnt); cnt 157 drivers/infiniband/hw/i40iw/i40iw_hmc.c sdinfo.cnt = 1; cnt 200 drivers/infiniband/hw/i40iw/i40iw_hmc.c &sdinfo.entry[sdinfo.cnt]); cnt 203 drivers/infiniband/hw/i40iw/i40iw_hmc.c &sdinfo.entry[sdinfo.cnt]); cnt 205 drivers/infiniband/hw/i40iw/i40iw_hmc.c sdinfo.cnt++; cnt 206 drivers/infiniband/hw/i40iw/i40iw_hmc.c if (sdinfo.cnt == I40IW_MAX_SD_ENTRIES) { cnt 214 drivers/infiniband/hw/i40iw/i40iw_hmc.c sdinfo.cnt = 0; cnt 217 drivers/infiniband/hw/i40iw/i40iw_hmc.c if (sdinfo.cnt) cnt 272 drivers/infiniband/hw/i40iw/i40iw_hmc.c if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) cnt 276 drivers/infiniband/hw/i40iw/i40iw_hmc.c info->hmc_info->hmc_obj[info->rsrc_type].cnt) cnt 306 drivers/infiniband/hw/i40iw/i40iw_hmc.c if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) cnt 310 drivers/infiniband/hw/i40iw/i40iw_hmc.c info->hmc_info->hmc_obj[info->rsrc_type].cnt) { cnt 314 drivers/infiniband/hw/i40iw/i40iw_hmc.c info->hmc_info->hmc_obj[info->rsrc_type].cnt); cnt 457 drivers/infiniband/hw/i40iw/i40iw_hmc.c if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { cnt 461 drivers/infiniband/hw/i40iw/i40iw_hmc.c info->hmc_info->hmc_obj[info->rsrc_type].cnt); cnt 466 drivers/infiniband/hw/i40iw/i40iw_hmc.c info->hmc_info->hmc_obj[info->rsrc_type].cnt) { cnt 471 drivers/infiniband/hw/i40iw/i40iw_hmc.c info->hmc_info->hmc_obj[info->rsrc_type].cnt); cnt 815 drivers/infiniband/hw/i40iw/i40iw_hmc.c hmc_info->hmc_obj[i].cnt = cnt 818 drivers/infiniband/hw/i40iw/i40iw_hmc.c hmc_info->hmc_obj[i].cnt = hmc_info->hmc_obj[i].max_cnt; cnt 91 drivers/infiniband/hw/i40iw/i40iw_hmc.h u32 cnt; cnt 157 drivers/infiniband/hw/i40iw/i40iw_hmc.h u32 cnt; cnt 60 drivers/infiniband/hw/i40iw/i40iw_hw.c max_qp = iwdev->sc_dev.hmc_info->hmc_obj[I40IW_HMC_IW_QP].cnt; cnt 61 drivers/infiniband/hw/i40iw/i40iw_hw.c max_cq = iwdev->sc_dev.hmc_info->hmc_obj[I40IW_HMC_IW_CQ].cnt; cnt 62 drivers/infiniband/hw/i40iw/i40iw_hw.c max_mr = iwdev->sc_dev.hmc_info->hmc_obj[I40IW_HMC_IW_MR].cnt; cnt 63 drivers/infiniband/hw/i40iw/i40iw_hw.c arp_table_size = iwdev->sc_dev.hmc_info->hmc_obj[I40IW_HMC_IW_ARP].cnt; cnt 417 drivers/infiniband/hw/i40iw/i40iw_main.c info.count = hmc_info->hmc_obj[obj_type].cnt; cnt 489 drivers/infiniband/hw/i40iw/i40iw_main.c info.count = dev->hmc_info->hmc_obj[info.rsrc_type].cnt; cnt 734 drivers/infiniband/hw/i40iw/i40iw_main.c iwdev->sc_dev.hmc_info->hmc_obj[I40IW_HMC_IW_CQ].cnt; cnt 743 drivers/infiniband/hw/i40iw/i40iw_main.c info.elem_cnt = iwdev->sc_dev.hmc_info->hmc_obj[I40IW_HMC_IW_CQ].cnt; cnt 871 drivers/infiniband/hw/i40iw/i40iw_main.c aeq_size = 2 * iwdev->sc_dev.hmc_info->hmc_obj[I40IW_HMC_IW_QP].cnt + cnt 872 drivers/infiniband/hw/i40iw/i40iw_main.c iwdev->sc_dev.hmc_info->hmc_obj[I40IW_HMC_IW_CQ].cnt; cnt 95 drivers/infiniband/hw/i40iw/i40iw_pble.c hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt - fpm_idx; cnt 435 drivers/infiniband/hw/i40iw/i40iw_pble.c gen_pool_free(pool, leaf->addr, (leaf->cnt << 3)); cnt 441 drivers/infiniband/hw/i40iw/i40iw_pble.c gen_pool_free(pool, root->addr, (root->cnt << 3)); cnt 483 drivers/infiniband/hw/i40iw/i40iw_pble.c root->cnt = total; cnt 492 drivers/infiniband/hw/i40iw/i40iw_pble.c leaf->cnt = pblcnt; cnt 528 drivers/infiniband/hw/i40iw/i40iw_pble.c lvl1->cnt = palloc->total_cnt; cnt 610 drivers/infiniband/hw/i40iw/i40iw_pble.c (palloc->level1.cnt << 3)); cnt 58 drivers/infiniband/hw/i40iw/i40iw_pble.h u32 cnt; cnt 1297 drivers/infiniband/hw/i40iw/i40iw_verbs.c if ((!(*pinfo)) || (*idx != (*pinfo)->cnt)) cnt 1377 drivers/infiniband/hw/i40iw/i40iw_verbs.c ret = i40iw_check_mem_contiguous(arr, leaf->cnt, pg_size); cnt 366 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c vf_dev->hmc_info.hmc_obj[add_hmc_obj->obj_type].cnt = add_hmc_obj->obj_count; cnt 893 drivers/infiniband/hw/mlx4/mad.c static void edit_counter(struct mlx4_counter *cnt, void *counters, cnt 903 drivers/infiniband/hw/mlx4/mad.c (be64_to_cpu(cnt->tx_bytes) >> 2)); cnt 905 drivers/infiniband/hw/mlx4/mad.c (be64_to_cpu(cnt->rx_bytes) >> 2)); cnt 907 drivers/infiniband/hw/mlx4/mad.c be64_to_cpu(cnt->tx_frames)); cnt 909 drivers/infiniband/hw/mlx4/mad.c be64_to_cpu(cnt->rx_frames)); cnt 918 drivers/infiniband/hw/mlx4/mad.c cpu_to_be64(be64_to_cpu(cnt->tx_bytes) >> 2); cnt 920 drivers/infiniband/hw/mlx4/mad.c cpu_to_be64(be64_to_cpu(cnt->rx_bytes) >> 2); cnt 921 drivers/infiniband/hw/mlx4/mad.c pma_cnt_ext->port_xmit_packets = cnt->tx_frames; cnt 922 drivers/infiniband/hw/mlx4/mad.c pma_cnt_ext->port_rcv_packets = cnt->rx_frames; cnt 390 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void ocrdma_build_q_pages(struct ocrdma_pa *q_pa, int cnt, cnt 395 drivers/infiniband/hw/ocrdma/ocrdma_hw.c for (i = 0; i < cnt; i++) { cnt 446 drivers/infiniband/hw/ocrdma/ocrdma_hw.c cmd->cnt = 4 << OCRDMA_CREATE_EQ_CNT_SHIFT; cnt 322 drivers/infiniband/hw/ocrdma/ocrdma_sli.h u32 cnt; cnt 3702 drivers/infiniband/hw/qedr/verbs.c u16 cnt = 0; cnt 3742 drivers/infiniband/hw/qedr/verbs.c cnt++; cnt 3749 drivers/infiniband/hw/qedr/verbs.c return cnt; cnt 3757 drivers/infiniband/hw/qedr/verbs.c int cnt = 0; cnt 3761 drivers/infiniband/hw/qedr/verbs.c cnt = process_req(dev, qp, cq, num_entries, wc, req->sq_cons, cnt 3769 drivers/infiniband/hw/qedr/verbs.c cnt = process_req(dev, qp, cq, num_entries, wc, req->sq_cons, cnt 3775 drivers/infiniband/hw/qedr/verbs.c cnt = process_req(dev, qp, cq, num_entries, wc, cnt 3777 drivers/infiniband/hw/qedr/verbs.c wc += cnt; cnt 3779 drivers/infiniband/hw/qedr/verbs.c if (cnt < num_entries) { cnt 3849 drivers/infiniband/hw/qedr/verbs.c cnt += process_req(dev, qp, cq, 1, wc, req->sq_cons, cnt 3854 drivers/infiniband/hw/qedr/verbs.c return cnt; cnt 3981 drivers/infiniband/hw/qedr/verbs.c u16 cnt = 0; cnt 3994 drivers/infiniband/hw/qedr/verbs.c cnt++; cnt 4000 drivers/infiniband/hw/qedr/verbs.c return cnt; cnt 4017 drivers/infiniband/hw/qedr/verbs.c int cnt; cnt 4019 drivers/infiniband/hw/qedr/verbs.c cnt = process_resp_one_srq(dev, qp, cq, wc, resp); cnt 4022 drivers/infiniband/hw/qedr/verbs.c return cnt; cnt 4030 drivers/infiniband/hw/qedr/verbs.c int cnt; cnt 4033 drivers/infiniband/hw/qedr/verbs.c cnt = process_resp_flush(qp, cq, num_entries, wc, cnt 4037 drivers/infiniband/hw/qedr/verbs.c cnt = process_resp_one(dev, qp, cq, wc, resp); cnt 4042 drivers/infiniband/hw/qedr/verbs.c return cnt; cnt 4079 drivers/infiniband/hw/qedr/verbs.c int cnt = 0; cnt 4094 drivers/infiniband/hw/qedr/verbs.c cnt = qedr_poll_cq_req(dev, qp, cq, num_entries, wc, cnt 4099 drivers/infiniband/hw/qedr/verbs.c cnt = qedr_poll_cq_resp(dev, qp, cq, num_entries, wc, cnt 4103 drivers/infiniband/hw/qedr/verbs.c cnt = qedr_poll_cq_resp_srq(dev, qp, cq, num_entries, cnt 4112 drivers/infiniband/hw/qedr/verbs.c num_entries -= cnt; cnt 4113 drivers/infiniband/hw/qedr/verbs.c wc += cnt; cnt 4114 drivers/infiniband/hw/qedr/verbs.c done += cnt; cnt 146 drivers/infiniband/hw/qib/qib.h int cnt; cnt 241 drivers/infiniband/hw/qib/qib_diag.c u32 cnt = 0; cnt 248 drivers/infiniband/hw/qib/qib_diag.c cnt = kreglen - offset; cnt 266 drivers/infiniband/hw/qib/qib_diag.c cnt = ulim - offset; cnt 308 drivers/infiniband/hw/qib/qib_diag.c cnt = snd_lim - offset; cnt 316 drivers/infiniband/hw/qib/qib_diag.c cnt = snd_lim - offset; cnt 322 drivers/infiniband/hw/qib/qib_diag.c *cntp = cnt; cnt 764 drivers/infiniband/hw/qib/qib_driver.c if (!dd->rcd[i] || !dd->rcd[i]->cnt) cnt 288 drivers/infiniband/hw/qib/qib_file_ops.c u32 tid, ctxttid, cnt, i, tidcnt, tidoff; cnt 303 drivers/infiniband/hw/qib/qib_file_ops.c cnt = ti->tidcnt; cnt 304 drivers/infiniband/hw/qib/qib_file_ops.c if (!cnt) { cnt 325 drivers/infiniband/hw/qib/qib_file_ops.c if (cnt > tidcnt) { cnt 329 drivers/infiniband/hw/qib/qib_file_ops.c cnt, tidcnt); cnt 330 drivers/infiniband/hw/qib/qib_file_ops.c cnt = tidcnt; cnt 347 drivers/infiniband/hw/qib/qib_file_ops.c cnt * PAGE_SIZE)) { cnt 351 drivers/infiniband/hw/qib/qib_file_ops.c ret = qib_get_user_pages(vaddr, cnt, pagep); cnt 363 drivers/infiniband/hw/qib/qib_file_ops.c (void *) vaddr, cnt, -ret); cnt 366 drivers/infiniband/hw/qib/qib_file_ops.c for (i = 0; i < cnt; i++, vaddr += PAGE_SIZE) { cnt 437 drivers/infiniband/hw/qib/qib_file_ops.c qib_release_user_pages(pagep, cnt); cnt 446 drivers/infiniband/hw/qib/qib_file_ops.c tidlist, cnt * sizeof(*tidlist))) { cnt 487 drivers/infiniband/hw/qib/qib_file_ops.c u32 tid, ctxttid, cnt, limit, tidcnt; cnt 523 drivers/infiniband/hw/qib/qib_file_ops.c for (cnt = 0; tid < limit; tid++) { cnt 533 drivers/infiniband/hw/qib/qib_file_ops.c cnt++; cnt 1493 drivers/infiniband/hw/qib/qib_file_ops.c if (!rcd || !rcd->cnt) cnt 1501 drivers/infiniband/hw/qib/qib_file_ops.c rcd->cnt >= rcd->subctxt_cnt) { cnt 1506 drivers/infiniband/hw/qib/qib_file_ops.c subctxt_fp(fp) = rcd->cnt++; cnt 1771 drivers/infiniband/hw/qib/qib_file_ops.c int i, cnt = 0, maxtid = ctxt_tidbase + dd->rcvtidcnt; cnt 1786 drivers/infiniband/hw/qib/qib_file_ops.c cnt++; cnt 1822 drivers/infiniband/hw/qib/qib_file_ops.c if (--rcd->cnt) { cnt 3369 drivers/infiniband/hw/qib/qib_iba6120.c static void qib_sdma_set_6120_desc_cnt(struct qib_pportdata *ppd, unsigned cnt) cnt 4178 drivers/infiniband/hw/qib/qib_iba7220.c static void qib_sdma_set_7220_desc_cnt(struct qib_pportdata *ppd, unsigned cnt) cnt 4271 drivers/infiniband/hw/qib/qib_iba7220.c u16 cnt; cnt 4283 drivers/infiniband/hw/qib/qib_iba7220.c cnt = ppd->sdma_descq_cnt; cnt 4290 drivers/infiniband/hw/qib/qib_iba7220.c sane = ((hwhead >= swhead) && (hwhead < cnt)) || cnt 6736 drivers/infiniband/hw/qib/qib_iba7322.c static void qib_sdma_set_7322_desc_cnt(struct qib_pportdata *ppd, unsigned cnt) cnt 6738 drivers/infiniband/hw/qib/qib_iba7322.c qib_write_kreg_port(ppd, krp_senddmadesccnt, cnt); cnt 6918 drivers/infiniband/hw/qib/qib_iba7322.c u16 cnt; cnt 6930 drivers/infiniband/hw/qib/qib_iba7322.c cnt = ppd->sdma_descq_cnt; cnt 6937 drivers/infiniband/hw/qib/qib_iba7322.c sane = ((hwhead >= swhead) && (hwhead < cnt)) || cnt 177 drivers/infiniband/hw/qib/qib_init.c rcd->cnt = 1; cnt 965 drivers/infiniband/hw/qib/qib_init.c u32 pbnum, cnt, lcnt; cnt 981 drivers/infiniband/hw/qib/qib_init.c cnt = 1024; cnt 983 drivers/infiniband/hw/qib/qib_init.c addr = vmalloc(cnt); cnt 1011 drivers/infiniband/hw/qib/qib_init.c qib_pio_copy(piobuf + 64, addr, cnt >> 2); cnt 200 drivers/infiniband/hw/qib/qib_intr.c if (!rcd || !rcd->cnt) cnt 51 drivers/infiniband/hw/qib/qib_qsfp.c int ret, cnt, pass = 0; cnt 98 drivers/infiniband/hw/qib/qib_qsfp.c cnt = 0; cnt 99 drivers/infiniband/hw/qib/qib_qsfp.c while (cnt < len) { cnt 101 drivers/infiniband/hw/qib/qib_qsfp.c int wlen = len - cnt; cnt 106 drivers/infiniband/hw/qib/qib_qsfp.c ret = qib_twsi_blk_rd(dd, QSFP_DEV, addr, buff + cnt, wlen); cnt 108 drivers/infiniband/hw/qib/qib_qsfp.c if (ret && cnt == 0 && ++pass < QSFP_MAX_RETRY) cnt 116 drivers/infiniband/hw/qib/qib_qsfp.c cnt += wlen; cnt 118 drivers/infiniband/hw/qib/qib_qsfp.c ret = cnt; cnt 162 drivers/infiniband/hw/qib/qib_qsfp.c int ret, cnt; cnt 206 drivers/infiniband/hw/qib/qib_qsfp.c cnt = 0; cnt 207 drivers/infiniband/hw/qib/qib_qsfp.c while (cnt < len) { cnt 209 drivers/infiniband/hw/qib/qib_qsfp.c int wlen = len - cnt; cnt 214 drivers/infiniband/hw/qib/qib_qsfp.c ret = qib_twsi_blk_wr(dd, QSFP_DEV, addr, buff + cnt, wlen); cnt 221 drivers/infiniband/hw/qib/qib_qsfp.c cnt += wlen; cnt 223 drivers/infiniband/hw/qib/qib_qsfp.c ret = cnt; cnt 747 drivers/infiniband/hw/qib/qib_sd7220.c u8 *buf, int cnt, int rd_notwr) cnt 812 drivers/infiniband/hw/qib/qib_sd7220.c while (tries > 0 && sofar < cnt) { cnt 862 drivers/infiniband/hw/qib/qib_sd7220.c int cnt, sofar, req; cnt 869 drivers/infiniband/hw/qib/qib_sd7220.c cnt = qib_sd7220_ram_xfer(dd, sdnum, offset + sofar, cnt 871 drivers/infiniband/hw/qib/qib_sd7220.c if (cnt < req) { cnt 886 drivers/infiniband/hw/qib/qib_sd7220.c int cnt, sofar, req, idx, errors; cnt 895 drivers/infiniband/hw/qib/qib_sd7220.c cnt = qib_sd7220_ram_xfer(dd, sdnum, sofar + offset, cnt 897 drivers/infiniband/hw/qib/qib_sd7220.c if (cnt < req) { cnt 902 drivers/infiniband/hw/qib/qib_sd7220.c for (idx = 0; idx < cnt; ++idx) { cnt 906 drivers/infiniband/hw/qib/qib_sd7220.c sofar += cnt; cnt 1218 drivers/infiniband/hw/qib/qib_sd7220.c int cnt = ARRAY_SIZE(rxeq_init_vals); cnt 1220 drivers/infiniband/hw/qib/qib_sd7220.c for (ridx = 0; ridx < cnt; ++ridx) { cnt 688 drivers/infiniband/hw/qib/qib_sdma.c u16 head, tail, cnt; cnt 692 drivers/infiniband/hw/qib/qib_sdma.c cnt = qib_sdma_descq_freecnt(ppd); cnt 700 drivers/infiniband/hw/qib/qib_sdma.c "SDMA sdma_descq_freecnt: %u\n", cnt); cnt 61 drivers/infiniband/hw/qib/qib_tx.c void qib_disarm_piobufs(struct qib_devdata *dd, unsigned first, unsigned cnt) cnt 67 drivers/infiniband/hw/qib/qib_tx.c last = first + cnt; cnt 172 drivers/infiniband/hw/qib/qib_tx.c unsigned cnt) cnt 181 drivers/infiniband/hw/qib/qib_tx.c for (i = 0; i < cnt; i++) { cnt 126 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c for (i = 0; i < res_chunk->cnt; i++) { cnt 167 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c for (i = 0; i < res_chunk->cnt; i++) { cnt 554 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c res_cnt = res_spec->resources[i].cnt; cnt 244 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c for (j = 0; j < res_chunk->cnt; j++) { cnt 57 drivers/infiniband/hw/usnic/usnic_ib_verbs.c {.type = USNIC_VNIC_RES_TYPE_EOL, .cnt = 0,}, cnt 62 drivers/infiniband/hw/usnic/usnic_ib_verbs.c {.type = USNIC_VNIC_RES_TYPE_WQ, .cnt = 1,}, cnt 63 drivers/infiniband/hw/usnic/usnic_ib_verbs.c {.type = USNIC_VNIC_RES_TYPE_RQ, .cnt = 1,}, cnt 64 drivers/infiniband/hw/usnic/usnic_ib_verbs.c {.type = USNIC_VNIC_RES_TYPE_CQ, .cnt = 1,}, cnt 65 drivers/infiniband/hw/usnic/usnic_ib_verbs.c {.type = USNIC_VNIC_RES_TYPE_EOL, .cnt = 0,}, cnt 70 drivers/infiniband/hw/usnic/usnic_ib_verbs.c {.type = USNIC_VNIC_RES_TYPE_WQ, .cnt = 1,}, cnt 71 drivers/infiniband/hw/usnic/usnic_ib_verbs.c {.type = USNIC_VNIC_RES_TYPE_RQ, .cnt = 1,}, cnt 72 drivers/infiniband/hw/usnic/usnic_ib_verbs.c {.type = USNIC_VNIC_RES_TYPE_CQ, .cnt = 1,}, cnt 73 drivers/infiniband/hw/usnic/usnic_ib_verbs.c {.type = USNIC_VNIC_RES_TYPE_EOL, .cnt = 0,}, cnt 125 drivers/infiniband/hw/usnic/usnic_ib_verbs.c resp.rq_cnt = chunk->cnt; cnt 126 drivers/infiniband/hw/usnic/usnic_ib_verbs.c for (i = 0; i < chunk->cnt; i++) cnt 139 drivers/infiniband/hw/usnic/usnic_ib_verbs.c resp.wq_cnt = chunk->cnt; cnt 140 drivers/infiniband/hw/usnic/usnic_ib_verbs.c for (i = 0; i < chunk->cnt; i++) cnt 153 drivers/infiniband/hw/usnic/usnic_ib_verbs.c resp.cq_cnt = chunk->cnt; cnt 154 drivers/infiniband/hw/usnic/usnic_ib_verbs.c for (i = 0; i < chunk->cnt; i++) cnt 120 drivers/infiniband/hw/usnic/usnic_vnic.c for (j = 0; j < chunk->cnt; j++) { cnt 140 drivers/infiniband/hw/usnic/usnic_vnic.c u16 cnt) cnt 146 drivers/infiniband/hw/usnic/usnic_vnic.c spec->resources[i].cnt = cnt; cnt 167 drivers/infiniband/hw/usnic/usnic_vnic.c if (min_spec->resources[i].cnt > cnt 168 drivers/infiniband/hw/usnic/usnic_vnic.c res_spec->resources[i].cnt) cnt 189 drivers/infiniband/hw/usnic/usnic_vnic.c res_cnt = res_spec->resources[i].cnt; cnt 208 drivers/infiniband/hw/usnic/usnic_vnic.c res_cnt = res_spec->resources[i].cnt; cnt 223 drivers/infiniband/hw/usnic/usnic_vnic.c return vnic->chunks[type].cnt; cnt 234 drivers/infiniband/hw/usnic/usnic_vnic.c int cnt, void *owner) cnt 240 drivers/infiniband/hw/usnic/usnic_vnic.c if (usnic_vnic_res_free_cnt(vnic, type) < cnt || cnt < 0 || !owner) cnt 247 drivers/infiniband/hw/usnic/usnic_vnic.c if (cnt > 0) { cnt 248 drivers/infiniband/hw/usnic/usnic_vnic.c ret->res = kcalloc(cnt, sizeof(*(ret->res)), GFP_ATOMIC); cnt 256 drivers/infiniband/hw/usnic/usnic_vnic.c for (i = 0; i < src->cnt && ret->cnt < cnt; i++) { cnt 261 drivers/infiniband/hw/usnic/usnic_vnic.c ret->res[ret->cnt++] = res; cnt 269 drivers/infiniband/hw/usnic/usnic_vnic.c WARN_ON(ret->cnt != cnt); cnt 281 drivers/infiniband/hw/usnic/usnic_vnic.c if (chunk->cnt > 0) { cnt 283 drivers/infiniband/hw/usnic/usnic_vnic.c while ((i = --chunk->cnt) >= 0) { cnt 305 drivers/infiniband/hw/usnic/usnic_vnic.c int cnt, err, i; cnt 308 drivers/infiniband/hw/usnic/usnic_vnic.c cnt = vnic_dev_get_res_count(vnic->vdev, _to_vnic_res_type(type)); cnt 309 drivers/infiniband/hw/usnic/usnic_vnic.c if (cnt < 1) { cnt 310 drivers/infiniband/hw/usnic/usnic_vnic.c usnic_err("Wrong res count with cnt %d\n", cnt); cnt 314 drivers/infiniband/hw/usnic/usnic_vnic.c chunk->cnt = chunk->free_cnt = cnt; cnt 315 drivers/infiniband/hw/usnic/usnic_vnic.c chunk->res = kcalloc(cnt, sizeof(*(chunk->res)), GFP_KERNEL); cnt 319 drivers/infiniband/hw/usnic/usnic_vnic.c for (i = 0; i < cnt; i++) { cnt 345 drivers/infiniband/hw/usnic/usnic_vnic.c for (i = 0; i < chunk->cnt; i++) cnt 70 drivers/infiniband/hw/usnic/usnic_vnic.h int cnt; cnt 78 drivers/infiniband/hw/usnic/usnic_vnic.h uint16_t cnt; cnt 94 drivers/infiniband/hw/usnic/usnic_vnic.h u16 cnt); cnt 108 drivers/infiniband/hw/usnic/usnic_vnic.h int cnt, cnt 59 drivers/infiniband/sw/rxe/rxe_hw_counters.c unsigned int cnt; cnt 64 drivers/infiniband/sw/rxe/rxe_hw_counters.c for (cnt = 0; cnt < ARRAY_SIZE(rxe_counter_name); cnt++) cnt 65 drivers/infiniband/sw/rxe/rxe_hw_counters.c stats->value[cnt] = atomic64_read(&dev->stats_counters[cnt]); cnt 118 drivers/infiniband/sw/rxe/rxe_pool.c static void rxe_cache_clean(size_t cnt) cnt 123 drivers/infiniband/sw/rxe/rxe_pool.c for (i = 0; i < cnt; i++) { cnt 80 drivers/input/evdev.c size_t cnt; cnt 92 drivers/input/evdev.c cnt = evdev_get_mask_cnt(type); cnt 93 drivers/input/evdev.c if (!cnt || code >= cnt) cnt 961 drivers/input/evdev.c size_t cnt; cnt 965 drivers/input/evdev.c cnt = evdev_get_mask_cnt(type); cnt 966 drivers/input/evdev.c if (!cnt) cnt 969 drivers/input/evdev.c mask = bitmap_zalloc(cnt, GFP_KERNEL); cnt 973 drivers/input/evdev.c error = bits_from_user(mask, cnt - 1, codes_size, codes, compat); cnt 997 drivers/input/evdev.c size_t cnt, size, xfer_size; cnt 1002 drivers/input/evdev.c cnt = evdev_get_mask_cnt(type); cnt 1003 drivers/input/evdev.c size = sizeof(unsigned long) * BITS_TO_LONGS(cnt); cnt 1006 drivers/input/evdev.c if (cnt > 0) { cnt 1009 drivers/input/evdev.c error = bits_to_user(mask, cnt - 1, cnt 253 drivers/input/keyboard/cap11xx.c int cnt = of_get_child_count(node); cnt 256 drivers/input/keyboard/cap11xx.c if (!num_leds || !cnt) cnt 259 drivers/input/keyboard/cap11xx.c if (cnt > num_leds) cnt 262 drivers/input/keyboard/cap11xx.c led = devm_kcalloc(dev, cnt, sizeof(struct cap11xx_led), GFP_KERNEL); cnt 210 drivers/input/keyboard/hil_kbd.c int i, cnt, laxis; cnt 225 drivers/input/keyboard/hil_kbd.c for (cnt = 1; i < laxis; i++) { cnt 228 drivers/input/keyboard/hil_kbd.c lo = ptr->data[cnt++] & HIL_PKT_DATA_MASK; cnt 229 drivers/input/keyboard/hil_kbd.c hi = ax16 ? (ptr->data[cnt++] & HIL_PKT_DATA_MASK) : 0; cnt 250 drivers/input/keyboard/hil_kbd.c while (cnt < idx - 1) { cnt 251 drivers/input/keyboard/hil_kbd.c unsigned int btn = ptr->data[cnt++]; cnt 108 drivers/input/keyboard/lm8323.c #define PWM_LOOP(cnt, pos) (0xa000 | (((cnt) & 0x3f) << 7) | \ cnt 44 drivers/input/keyboard/tegra-kbc.c #define KBC_FIFO_TH_CNT_SHIFT(cnt) (cnt << 14) cnt 45 drivers/input/keyboard/tegra-kbc.c #define KBC_DEBOUNCE_CNT_SHIFT(cnt) (cnt << 4) cnt 424 drivers/input/misc/uinput.c unsigned int cnt; cnt 434 drivers/input/misc/uinput.c for_each_set_bit(cnt, dev->absbit, ABS_CNT) { cnt 438 drivers/input/misc/uinput.c error = uinput_validate_absinfo(dev, cnt, &dev->absinfo[cnt]); cnt 563 drivers/input/misc/yealink.c const char *buf, size_t cnt) cnt 565 drivers/input/misc/yealink.c if (cnt != sizeof(map_seg7)) cnt 166 drivers/input/serio/hil_mlc.c int did, i, cnt; cnt 170 drivers/input/serio/hil_mlc.c i = cnt = 0; cnt 184 drivers/input/serio/hil_mlc.c drv->interrupt(serio, HIL_CMD_POL + cnt, 0); cnt 190 drivers/input/serio/hil_mlc.c cnt = 0; cnt 193 drivers/input/serio/hil_mlc.c cnt++; cnt 128 drivers/input/serio/ps2-gpio.c unsigned char byte, cnt; cnt 134 drivers/input/serio/ps2-gpio.c cnt = drvdata->rx_cnt; cnt 153 drivers/input/serio/ps2-gpio.c switch (cnt) { cnt 171 drivers/input/serio/ps2-gpio.c byte |= (data << (cnt - 1)); cnt 207 drivers/input/serio/ps2-gpio.c cnt = byte = 0; cnt 215 drivers/input/serio/ps2-gpio.c cnt++; cnt 219 drivers/input/serio/ps2-gpio.c cnt = byte = 0; cnt 223 drivers/input/serio/ps2-gpio.c drvdata->rx_cnt = cnt; cnt 230 drivers/input/serio/ps2-gpio.c unsigned char byte, cnt; cnt 234 drivers/input/serio/ps2-gpio.c cnt = drvdata->tx_cnt; cnt 247 drivers/input/serio/ps2-gpio.c switch (cnt) { cnt 261 drivers/input/serio/ps2-gpio.c data = byte & BIT(cnt - 1); cnt 289 drivers/input/serio/ps2-gpio.c cnt = 1; cnt 301 drivers/input/serio/ps2-gpio.c cnt++; cnt 305 drivers/input/serio/ps2-gpio.c cnt = 1; cnt 310 drivers/input/serio/ps2-gpio.c drvdata->tx_cnt = cnt; cnt 493 drivers/iommu/amd_iommu.c unsigned long pte_mask, pg_size, cnt; cnt 497 drivers/iommu/amd_iommu.c cnt = PAGE_SIZE_PTE_COUNT(pg_size); cnt 498 drivers/iommu/amd_iommu.c pte_mask = ~((cnt << 3) - 1); cnt 505 drivers/iommu/amd_iommu.c *count = cnt; cnt 738 drivers/iommu/amd_iommu.c u32 head, tail, cnt = 0; cnt 751 drivers/iommu/amd_iommu.c cnt++; cnt 81 drivers/iommu/dmar.c void *dmar_alloc_dev_scope(void *start, void *end, int *cnt) cnt 85 drivers/iommu/dmar.c *cnt = 0; cnt 91 drivers/iommu/dmar.c (*cnt)++; cnt 98 drivers/iommu/dmar.c if (*cnt == 0) cnt 101 drivers/iommu/dmar.c return kcalloc(*cnt, sizeof(struct dmar_dev_scope), GFP_KERNEL); cnt 104 drivers/iommu/dmar.c void dmar_free_dev_scope(struct dmar_dev_scope **devices, int *cnt) cnt 109 drivers/iommu/dmar.c if (*devices && *cnt) { cnt 110 drivers/iommu/dmar.c for_each_active_dev_scope(*devices, *cnt, i, tmp_dev) cnt 116 drivers/iommu/dmar.c *cnt = 0; cnt 654 drivers/iommu/dmar.c int cnt, struct pci_dev *dev) cnt 660 drivers/iommu/dmar.c for_each_active_dev_scope(devices, cnt, index, tmp) cnt 32 drivers/irqchip/qcom-pdc.c u32 cnt; cnt 168 drivers/irqchip/qcom-pdc.c pin < region->pin_base + region->cnt) cnt 263 drivers/irqchip/qcom-pdc.c &pdc_region[n].cnt); cnt 395 drivers/isdn/hardware/mISDN/avmfritz.c int cnt; cnt 403 drivers/isdn/hardware/mISDN/avmfritz.c cnt = bchannel_get_rxbuf(bch, count); cnt 404 drivers/isdn/hardware/mISDN/avmfritz.c if (cnt < 0) { cnt 419 drivers/isdn/hardware/mISDN/avmfritz.c cnt = 0; cnt 420 drivers/isdn/hardware/mISDN/avmfritz.c while (cnt < count) { cnt 426 drivers/isdn/hardware/mISDN/avmfritz.c cnt += 4; cnt 440 drivers/isdn/hardware/mISDN/avmfritz.c int count, fs, cnt = 0, idx; cnt 486 drivers/isdn/hardware/mISDN/avmfritz.c while (cnt < count) { cnt 489 drivers/isdn/hardware/mISDN/avmfritz.c cnt += 4; cnt 492 drivers/isdn/hardware/mISDN/avmfritz.c while (cnt < count) { cnt 496 drivers/isdn/hardware/mISDN/avmfritz.c cnt += 4; cnt 777 drivers/isdn/hardware/mISDN/avmfritz.c int ret, cnt = 3; cnt 792 drivers/isdn/hardware/mISDN/avmfritz.c while (cnt--) { cnt 820 drivers/isdn/hardware/mISDN/avmfritz.c fc->name, fc->irq, 3 - cnt); cnt 195 drivers/isdn/hardware/mISDN/hfcpci.c int cnt = 0; cnt 216 drivers/isdn/hardware/mISDN/hfcpci.c while (cnt < 50000) { /* max 50000 us */ cnt 218 drivers/isdn/hardware/mISDN/hfcpci.c cnt += 5; cnt 223 drivers/isdn/hardware/mISDN/hfcpci.c printk(KERN_DEBUG "HFC-PCI status(%x) after %dus\n", val, cnt); cnt 1716 drivers/isdn/hardware/mISDN/hfcpci.c int cnt = 3; cnt 1732 drivers/isdn/hardware/mISDN/hfcpci.c while (cnt) { cnt 1755 drivers/isdn/hardware/mISDN/hfcpci.c "during init %d\n", hc->irq, 4 - cnt); cnt 1756 drivers/isdn/hardware/mISDN/hfcpci.c if (cnt == 1) cnt 1760 drivers/isdn/hardware/mISDN/hfcpci.c cnt--; cnt 2123 drivers/isdn/hardware/mISDN/hfcsusb.c int cnt = 0; cnt 2131 drivers/isdn/hardware/mISDN/hfcsusb.c cnt++; cnt 2132 drivers/isdn/hardware/mISDN/hfcsusb.c if (!cnt) cnt 594 drivers/isdn/hardware/mISDN/mISDNinfineon.c int ret, cnt = 3; cnt 604 drivers/isdn/hardware/mISDN/mISDNinfineon.c while (cnt--) { cnt 621 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->name, hw->irq, 3 - cnt); cnt 1150 drivers/isdn/hardware/mISDN/mISDNipac.c int cnt = maxloop + 1; cnt 1156 drivers/isdn/hardware/mISDN/mISDNipac.c while (ista && --cnt) { cnt 1168 drivers/isdn/hardware/mISDN/mISDNipac.c while (ista && --cnt) { cnt 1186 drivers/isdn/hardware/mISDN/mISDNipac.c while (--cnt) { cnt 1199 drivers/isdn/hardware/mISDN/mISDNipac.c if (cnt > maxloop) /* only for ISAC/HSCX without PCI IRQ test */ cnt 1201 drivers/isdn/hardware/mISDN/mISDNipac.c if (cnt < maxloop) cnt 1203 drivers/isdn/hardware/mISDN/mISDNipac.c maxloop - cnt, smp_processor_id()); cnt 1204 drivers/isdn/hardware/mISDN/mISDNipac.c if (maxloop && !cnt) cnt 176 drivers/isdn/hardware/mISDN/mISDNisar.c int ret, cnt; cnt 197 drivers/isdn/hardware/mISDN/mISDNisar.c cnt = 0; cnt 203 drivers/isdn/hardware/mISDN/mISDNisar.c while (cnt < size) { cnt 207 drivers/isdn/hardware/mISDN/mISDNisar.c cnt += 3; cnt 211 drivers/isdn/hardware/mISDN/mISDNisar.c if (cnt + left > size) { cnt 213 drivers/isdn/hardware/mISDN/mISDNisar.c isar->name, size, cnt + left); cnt 247 drivers/isdn/hardware/mISDN/mISDNisar.c cnt += noc; cnt 283 drivers/isdn/hardware/mISDN/mISDNisar.c cnt = 10; cnt 284 drivers/isdn/hardware/mISDN/mISDNisar.c while (cnt--) cnt 312 drivers/isdn/hardware/mISDN/mISDNisar.c cnt = 1000; /* max 1s */ cnt 313 drivers/isdn/hardware/mISDN/mISDNisar.c while ((!isar->bstat) && cnt) { cnt 315 drivers/isdn/hardware/mISDN/mISDNisar.c cnt--; cnt 317 drivers/isdn/hardware/mISDN/mISDNisar.c if (!cnt) { cnt 325 drivers/isdn/hardware/mISDN/mISDNisar.c cnt = 10; cnt 326 drivers/isdn/hardware/mISDN/mISDNisar.c while (cnt--) cnt 336 drivers/isdn/hardware/mISDN/mISDNisar.c cnt = 10000; /* max 100 ms */ cnt 337 drivers/isdn/hardware/mISDN/mISDNisar.c while ((isar->iis != ISAR_IIS_DIAG) && cnt) { cnt 339 drivers/isdn/hardware/mISDN/mISDNisar.c cnt--; cnt 342 drivers/isdn/hardware/mISDN/mISDNisar.c if (!cnt) { cnt 364 drivers/isdn/hardware/mISDN/mISDNisar.c cnt = 30000; /* max 300 ms */ cnt 365 drivers/isdn/hardware/mISDN/mISDNisar.c while ((isar->iis != ISAR_IIS_DIAG) && cnt) { cnt 367 drivers/isdn/hardware/mISDN/mISDNisar.c cnt--; cnt 370 drivers/isdn/hardware/mISDN/mISDNisar.c if (!cnt) { cnt 381 drivers/isdn/hardware/mISDN/mISDNisar.c isar->clsb, cnt); cnt 1615 drivers/isdn/hardware/mISDN/mISDNisar.c int cnt = 3; cnt 1617 drivers/isdn/hardware/mISDN/mISDNisar.c while (cnt--) { cnt 1621 drivers/isdn/hardware/mISDN/mISDNisar.c isar->name, isar->version, 3 - cnt); cnt 175 drivers/isdn/hardware/mISDN/netjet.c fill_mem(struct tiger_ch *bc, u32 idx, u32 cnt, u32 fill) cnt 181 drivers/isdn/hardware/mISDN/netjet.c bc->bch.nr, fill, cnt, idx, card->send.idx); cnt 187 drivers/isdn/hardware/mISDN/netjet.c while (cnt--) { cnt 363 drivers/isdn/hardware/mISDN/netjet.c read_dma(struct tiger_ch *bc, u32 idx, int cnt) cnt 377 drivers/isdn/hardware/mISDN/netjet.c bc->bch.dropcnt += cnt; cnt 380 drivers/isdn/hardware/mISDN/netjet.c stat = bchannel_get_rxbuf(&bc->bch, cnt); cnt 384 drivers/isdn/hardware/mISDN/netjet.c card->name, bc->bch.nr, cnt); cnt 388 drivers/isdn/hardware/mISDN/netjet.c p = skb_put(bc->bch.rx_skb, cnt); cnt 392 drivers/isdn/hardware/mISDN/netjet.c for (i = 0; i < cnt; i++) { cnt 407 drivers/isdn/hardware/mISDN/netjet.c while (cnt > 0) { cnt 408 drivers/isdn/hardware/mISDN/netjet.c stat = isdnhdlc_decode(&bc->hrecv, pn, cnt, &i, cnt 424 drivers/isdn/hardware/mISDN/netjet.c card->name, bc->bch.nr, cnt); cnt 438 drivers/isdn/hardware/mISDN/netjet.c cnt -= i; cnt 446 drivers/isdn/hardware/mISDN/netjet.c int cnt = card->recv.size / 2; cnt 453 drivers/isdn/hardware/mISDN/netjet.c idx = cnt - 1; cnt 458 drivers/isdn/hardware/mISDN/netjet.c read_dma(&card->bc[0], idx, cnt); cnt 460 drivers/isdn/hardware/mISDN/netjet.c read_dma(&card->bc[1], idx, cnt); cnt 116 drivers/isdn/hardware/mISDN/speedfax.c int cnt = irqloops; cnt 133 drivers/isdn/hardware/mISDN/speedfax.c if ((val & ISAR_IRQSTA) && cnt--) cnt 135 drivers/isdn/hardware/mISDN/speedfax.c if (cnt < irqloops) cnt 137 drivers/isdn/hardware/mISDN/speedfax.c irqloops - cnt, smp_processor_id()); cnt 138 drivers/isdn/hardware/mISDN/speedfax.c if (irqloops && !cnt) cnt 275 drivers/isdn/hardware/mISDN/speedfax.c int ret, cnt = 3; cnt 283 drivers/isdn/hardware/mISDN/speedfax.c while (cnt--) { cnt 302 drivers/isdn/hardware/mISDN/speedfax.c sf->name, sf->irq, 3 - cnt); cnt 898 drivers/isdn/hardware/mISDN/w6692.c int cnt = 3; cnt 909 drivers/isdn/hardware/mISDN/w6692.c while (cnt--) { cnt 921 drivers/isdn/hardware/mISDN/w6692.c card->name, card->irq, 3 - cnt); cnt 189 drivers/isdn/mISDN/core.c _get_mdevice_count(struct device *dev, void *cnt) cnt 191 drivers/isdn/mISDN/core.c *(int *)cnt += 1; cnt 198 drivers/isdn/mISDN/core.c int cnt = 0; cnt 200 drivers/isdn/mISDN/core.c class_for_each_device(&mISDN_class, NULL, &cnt, _get_mdevice_count); cnt 201 drivers/isdn/mISDN/core.c return cnt; cnt 147 drivers/isdn/mISDN/dsp_cmx.c int cnt = 0; cnt 151 drivers/isdn/mISDN/dsp_cmx.c cnt++; cnt 152 drivers/isdn/mISDN/dsp_cmx.c return cnt; cnt 347 drivers/isdn/mISDN/layer2.c int i, cnt = 0; cnt 351 drivers/isdn/mISDN/layer2.c cnt++; cnt 356 drivers/isdn/mISDN/layer2.c return cnt; cnt 362 drivers/isdn/mISDN/layer2.c int cnt = freewin(l2); cnt 364 drivers/isdn/mISDN/layer2.c if (cnt) cnt 366 drivers/isdn/mISDN/layer2.c "isdnl2 freed %d skbuffs in release\n", cnt); cnt 207 drivers/leds/leds-bcm6328.c int i, cnt; cnt 220 drivers/leds/leds-bcm6328.c cnt = of_property_count_elems_of_size(nc, "brcm,link-signal-sources", cnt 222 drivers/leds/leds-bcm6328.c for (i = 0; i < cnt; i++) { cnt 246 drivers/leds/leds-bcm6328.c cnt = of_property_count_elems_of_size(nc, cnt 249 drivers/leds/leds-bcm6328.c for (i = 0; i < cnt; i++) { cnt 604 drivers/mailbox/bcm-flexrm-mailbox.c u32 cnt = 0; cnt 610 drivers/mailbox/bcm-flexrm-mailbox.c cnt++; cnt 617 drivers/mailbox/bcm-flexrm-mailbox.c cnt++; cnt 626 drivers/mailbox/bcm-flexrm-mailbox.c return cnt; cnt 746 drivers/mailbox/bcm-flexrm-mailbox.c u32 i, cnt; cnt 748 drivers/mailbox/bcm-flexrm-mailbox.c cnt = 0; cnt 750 drivers/mailbox/bcm-flexrm-mailbox.c cnt++; cnt 754 drivers/mailbox/bcm-flexrm-mailbox.c cnt++; cnt 757 drivers/mailbox/bcm-flexrm-mailbox.c cnt++; cnt 760 drivers/mailbox/bcm-flexrm-mailbox.c cnt++; cnt 763 drivers/mailbox/bcm-flexrm-mailbox.c return cnt; cnt 1228 drivers/mailbox/bcm-flexrm-mailbox.c int cnt = flexrm_process_completions(chan->con_priv); cnt 1230 drivers/mailbox/bcm-flexrm-mailbox.c return (cnt > 0) ? true : false; cnt 1106 drivers/mailbox/bcm-pdc-mailbox.c u32 cnt = 0; cnt 1109 drivers/mailbox/bcm-pdc-mailbox.c cnt += ((sg->length / PDC_DMA_BUF_MAX) + 1); cnt 1112 drivers/mailbox/bcm-pdc-mailbox.c return cnt; cnt 89 drivers/md/md-linear.c int i, cnt; cnt 96 drivers/md/md-linear.c cnt = 0; cnt 121 drivers/md/md-linear.c cnt++; cnt 126 drivers/md/md-linear.c if (cnt != raid_disks) { cnt 7091 drivers/md/md.c int cnt = 0; cnt 7112 drivers/md/md.c cnt++; cnt 7114 drivers/md/md.c cnt++; cnt 7116 drivers/md/md.c cnt++; cnt 7118 drivers/md/md.c cnt++; cnt 7119 drivers/md/md.c if (cnt == 0) cnt 7121 drivers/md/md.c if (cnt > 1) cnt 86 drivers/md/raid0.c int cnt; cnt 190 drivers/md/raid0.c cnt = 0; cnt 230 drivers/md/raid0.c cnt++; cnt 232 drivers/md/raid0.c if (cnt != mddev->raid_disks) { cnt 234 drivers/md/raid0.c mdname(mddev), cnt, mddev->raid_disks); cnt 237 drivers/md/raid0.c zone->nb_dev = cnt; cnt 238 drivers/md/raid0.c zone->zone_end = smallest->sectors * cnt; cnt 255 drivers/md/raid0.c for (j=0; j<cnt; j++) { cnt 3242 drivers/md/raid1.c int cnt, raid_disks; cnt 3266 drivers/md/raid1.c cnt=0; cnt 3269 drivers/md/raid1.c cnt++; cnt 3270 drivers/md/raid1.c if (cnt > raid_disks) cnt 1603 drivers/md/raid10.c int cnt = 0; cnt 1610 drivers/md/raid10.c cnt++; cnt 1613 drivers/md/raid10.c if (cnt == 0) cnt 897 drivers/md/raid5.c int cnt = 0; cnt 920 drivers/md/raid5.c cnt++; cnt 921 drivers/md/raid5.c if (cnt >= target) cnt 924 drivers/md/raid5.c conf->pending_data_cnt -= cnt; cnt 925 drivers/md/raid5.c BUG_ON(conf->pending_data_cnt < 0 || cnt < target); cnt 2231 drivers/md/raid5.c int num, int cnt, gfp_t flags) cnt 2238 drivers/md/raid5.c scribble = kvmalloc_array(cnt, obj_size, flags); cnt 2316 drivers/md/raid5.c int hash, cnt; cnt 2353 drivers/md/raid5.c cnt = 0; cnt 2369 drivers/md/raid5.c cnt++; cnt 2370 drivers/md/raid5.c if (cnt >= conf->max_nr_stripes / NR_STRIPE_HASH_LOCKS + cnt 2373 drivers/md/raid5.c cnt = 0; cnt 5430 drivers/md/raid5.c int cnt = 0; cnt 5451 drivers/md/raid5.c cnt++; cnt 5458 drivers/md/raid5.c trace_block_unplug(mddev->queue, cnt, !from_schedule); cnt 6599 drivers/md/raid5.c static int alloc_thread_groups(struct r5conf *conf, int cnt, cnt 6675 drivers/md/raid5.c static int alloc_thread_groups(struct r5conf *conf, int cnt, cnt 6684 drivers/md/raid5.c *worker_cnt_per_group = cnt; cnt 6685 drivers/md/raid5.c if (cnt == 0) { cnt 6691 drivers/md/raid5.c size = sizeof(struct r5worker) * cnt; cnt 6708 drivers/md/raid5.c group->workers = workers + i * cnt; cnt 6710 drivers/md/raid5.c for (j = 0; j < cnt; j++) { cnt 59 drivers/media/dvb-core/dvb_net.c static inline __u32 iov_crc32( __u32 c, struct kvec *iov, unsigned int cnt ) cnt 62 drivers/media/dvb-core/dvb_net.c for (j = 0; j < cnt; j++) cnt 1200 drivers/media/dvb-frontends/dib0090.c s16 wbd = 0, i, cnt; cnt 1206 drivers/media/dvb-frontends/dib0090.c cnt = 5; cnt 1208 drivers/media/dvb-frontends/dib0090.c cnt = 1; cnt 1210 drivers/media/dvb-frontends/dib0090.c for (i = 0; i < cnt; i++) { cnt 1214 drivers/media/dvb-frontends/dib0090.c wbd /= cnt; cnt 6251 drivers/media/dvb-frontends/drx39xyj/drxj.c u32 *ber, u32 *cnt) cnt 6272 drivers/media/dvb-frontends/drx39xyj/drxj.c *cnt = period * prescale * 207 * ((bit_errors_exp > 2) ? 1 : 8); cnt 6275 drivers/media/dvb-frontends/drx39xyj/drxj.c *ber = (*cnt) * 26570; cnt 6296 drivers/media/dvb-frontends/drx39xyj/drxj.c u32 *ber, u32 *cnt) cnt 6307 drivers/media/dvb-frontends/drx39xyj/drxj.c *cnt = VSB_TOP_MEASUREMENT_PERIOD * SYMBOLS_PER_SEGMENT; cnt 10679 drivers/media/dvb-frontends/drx39xyj/drxj.c u32 ber, cnt, err, pkt; cnt 10721 drivers/media/dvb-frontends/drx39xyj/drxj.c rc = get_vs_bpre_viterbi_ber(dev_addr, &ber, &cnt); cnt 10729 drivers/media/dvb-frontends/drx39xyj/drxj.c p->pre_bit_count.stat[0].uvalue += cnt; cnt 10732 drivers/media/dvb-frontends/drx39xyj/drxj.c rc = get_vs_bpost_viterbi_ber(dev_addr, &ber, &cnt); cnt 10740 drivers/media/dvb-frontends/drx39xyj/drxj.c p->post_bit_count.stat[0].uvalue += cnt; cnt 1449 drivers/media/dvb-frontends/drxk_hard.c int cnt = 0, ii; cnt 1467 drivers/media/dvb-frontends/drxk_hard.c buffer[cnt++] = (parameter[ii] & 0xFF); cnt 1468 drivers/media/dvb-frontends/drxk_hard.c buffer[cnt++] = ((parameter[ii] >> 8) & 0xFF); cnt 1471 drivers/media/dvb-frontends/drxk_hard.c buffer[cnt++] = (cmd & 0xFF); cnt 1472 drivers/media/dvb-frontends/drxk_hard.c buffer[cnt++] = ((cmd >> 8) & 0xFF); cnt 1475 drivers/media/dvb-frontends/drxk_hard.c (parameter_len - 1), cnt, buffer); cnt 1525 drivers/media/dvb-frontends/drxk_hard.c print_hex_dump_bytes("drxk: ", DUMP_PREFIX_NONE, buffer, cnt); cnt 1542 drivers/media/dvb-frontends/lgdt3306a.c u8 cnt = 0; cnt 1546 drivers/media/dvb-frontends/lgdt3306a.c for (cnt = 0; cnt < 10; cnt++) { cnt 1559 drivers/media/dvb-frontends/lgdt3306a.c dbg_info("cnt=%d errors=%d snr=%d\n", cnt, packet_error, snr); cnt 1572 drivers/media/dvb-frontends/lgdt3306a.c u8 cnt; cnt 1576 drivers/media/dvb-frontends/lgdt3306a.c for (cnt = 0; cnt < 10; cnt++) { cnt 1586 drivers/media/dvb-frontends/lgdt3306a.c dbg_info("cnt=%d errors=%d snr=%d\n", cnt, packet_error, snr); cnt 472 drivers/media/dvb-frontends/tda10048.c int cnt; cnt 525 drivers/media/dvb-frontends/tda10048.c cnt = wlen; cnt 527 drivers/media/dvb-frontends/tda10048.c cnt = fw->size - pos; cnt 530 drivers/media/dvb-frontends/tda10048.c &fw->data[pos], cnt); cnt 532 drivers/media/dvb-frontends/tda10048.c pos += cnt; cnt 537 drivers/media/dvb-frontends/tda10048.c for (cnt = 0; cnt < 250 ; cnt += 10) { cnt 91 drivers/media/i2c/adv7183.c unsigned int cnt = 0; cnt 98 drivers/media/i2c/adv7183.c while (cnt < num) { cnt 101 drivers/media/i2c/adv7183.c cnt += 2; cnt 220 drivers/media/i2c/et8ek8/et8ek8_driver.c int cnt) cnt 230 drivers/media/i2c/et8ek8/et8ek8_driver.c while (wcnt < cnt) { cnt 249 drivers/media/i2c/et8ek8/et8ek8_driver.c cnt -= wcnt; cnt 267 drivers/media/i2c/et8ek8/et8ek8_driver.c int r, cnt = 0; cnt 299 drivers/media/i2c/et8ek8/et8ek8_driver.c cnt++; cnt 304 drivers/media/i2c/et8ek8/et8ek8_driver.c r = et8ek8_i2c_buffered_write_regs(client, regs, cnt); cnt 324 drivers/media/i2c/et8ek8/et8ek8_driver.c cnt = 0; cnt 128 drivers/media/pci/bt8xx/bttv-i2c.c int retval,cnt; cnt 148 drivers/media/pci/bt8xx/bttv-i2c.c for (cnt = 1; cnt < msg->len; cnt++ ) { cnt 150 drivers/media/pci/bt8xx/bttv-i2c.c xmit = (msg->buf[cnt] << 24) | I2C_HW | BT878_I2C_NOSTART; cnt 151 drivers/media/pci/bt8xx/bttv-i2c.c if (cnt < msg->len-1 || !last) cnt 160 drivers/media/pci/bt8xx/bttv-i2c.c pr_cont(" %02x", msg->buf[cnt]); cnt 178 drivers/media/pci/bt8xx/bttv-i2c.c u32 cnt; cnt 181 drivers/media/pci/bt8xx/bttv-i2c.c for (cnt = 0; cnt < msg->len; cnt++) { cnt 183 drivers/media/pci/bt8xx/bttv-i2c.c if (cnt < msg->len-1) cnt 185 drivers/media/pci/bt8xx/bttv-i2c.c if (cnt < msg->len-1 || !last) cnt 187 drivers/media/pci/bt8xx/bttv-i2c.c if (cnt) cnt 201 drivers/media/pci/bt8xx/bttv-i2c.c msg->buf[cnt] = ((u32)btread(BT848_I2C) >> 8) & 0xff; cnt 203 drivers/media/pci/bt8xx/bttv-i2c.c pr_cont(" =%02x", msg->buf[cnt]); cnt 237 drivers/media/pci/bt8xx/dst.c u8 cnt; cnt 241 drivers/media/pci/bt8xx/dst.c for (cnt = 0; cnt < 2; cnt++) { cnt 250 drivers/media/pci/bt8xx/dst.c if (cnt >= 2) { cnt 271 drivers/media/pci/bt8xx/dst.c int cnt; cnt 273 drivers/media/pci/bt8xx/dst.c for (cnt = 0; cnt < 2; cnt++) { cnt 282 drivers/media/pci/bt8xx/dst.c if (cnt >= 2) { cnt 145 drivers/media/pci/cobalt/cobalt-alsa-pcm.c unsigned int cnt = runtime->buffer_size - oldptr; cnt 148 drivers/media/pci/cobalt/cobalt-alsa-pcm.c for (i = 0; i < cnt; i++) cnt 152 drivers/media/pci/cobalt/cobalt-alsa-pcm.c for (i = cnt; i < length; i++) cnt 153 drivers/media/pci/cobalt/cobalt-alsa-pcm.c sample_cpy(runtime->dma_area + (i - cnt) * stride, cnt 103 drivers/media/pci/cx18/cx18-alsa-pcm.c unsigned int cnt = cnt 106 drivers/media/pci/cx18/cx18-alsa-pcm.c cnt * stride); cnt 107 drivers/media/pci/cx18/cx18-alsa-pcm.c memcpy(runtime->dma_area, pcm_data + cnt * stride, cnt 108 drivers/media/pci/cx18/cx18-alsa-pcm.c length * stride - cnt * stride); cnt 73 drivers/media/pci/cx23885/cx23885-i2c.c int retval, cnt; cnt 117 drivers/media/pci/cx23885/cx23885-i2c.c for (cnt = 1; cnt < msg->len; cnt++) { cnt 119 drivers/media/pci/cx23885/cx23885-i2c.c wdata = msg->buf[cnt]; cnt 122 drivers/media/pci/cx23885/cx23885-i2c.c if (cnt < msg->len - 1) cnt 134 drivers/media/pci/cx23885/cx23885-i2c.c pr_cont(" %02x", msg->buf[cnt]); cnt 153 drivers/media/pci/cx23885/cx23885-i2c.c u32 ctrl, cnt; cnt 181 drivers/media/pci/cx23885/cx23885-i2c.c for (cnt = 0; cnt < msg->len; cnt++) { cnt 185 drivers/media/pci/cx23885/cx23885-i2c.c if (cnt < msg->len - 1) cnt 193 drivers/media/pci/cx23885/cx23885-i2c.c msg->buf[cnt] = cx_read(bus->reg_rdata) & 0xff; cnt 195 drivers/media/pci/cx23885/cx23885-i2c.c dprintk(1, " %02x", msg->buf[cnt]); cnt 72 drivers/media/pci/cx25821/cx25821-i2c.c int retval, cnt; cnt 122 drivers/media/pci/cx25821/cx25821-i2c.c for (cnt = 1; cnt < msg->len; cnt++) { cnt 124 drivers/media/pci/cx25821/cx25821-i2c.c wdata = msg->buf[cnt]; cnt 127 drivers/media/pci/cx25821/cx25821-i2c.c if (cnt < msg->len - 1) cnt 144 drivers/media/pci/cx25821/cx25821-i2c.c dprintk(1, " %02x", msg->buf[cnt]); cnt 165 drivers/media/pci/cx25821/cx25821-i2c.c u32 ctrl, cnt; cnt 191 drivers/media/pci/cx25821/cx25821-i2c.c for (cnt = 0; cnt < msg->len; cnt++) { cnt 195 drivers/media/pci/cx25821/cx25821-i2c.c if (cnt < msg->len - 1) cnt 206 drivers/media/pci/cx25821/cx25821-i2c.c msg->buf[cnt] = cx_read(bus->reg_rdata) & 0xff; cnt 209 drivers/media/pci/cx25821/cx25821-i2c.c dprintk(1, " %02x", msg->buf[cnt]); cnt 101 drivers/media/pci/ivtv/ivtv-alsa-pcm.c unsigned int cnt = cnt 104 drivers/media/pci/ivtv/ivtv-alsa-pcm.c cnt * stride); cnt 105 drivers/media/pci/ivtv/ivtv-alsa-pcm.c memcpy(runtime->dma_area, pcm_data + cnt * stride, cnt 106 drivers/media/pci/ivtv/ivtv-alsa-pcm.c length * stride - cnt * stride); cnt 164 drivers/media/pci/ivtv/ivtv-fileops.c int cnt; cnt 171 drivers/media/pci/ivtv/ivtv-fileops.c cnt = (wr_idx + itv->pgm_info_num - itv->pgm_info_write_idx) % itv->pgm_info_num; cnt 172 drivers/media/pci/ivtv/ivtv-fileops.c while (i < cnt) { cnt 135 drivers/media/pci/ivtv/ivtv-vbi.c size_t cnt) cnt 141 drivers/media/pci/ivtv/ivtv-vbi.c for (i = 0; i < cnt; i++) cnt 151 drivers/media/pci/ivtv/ivtv-vbi.c size_t cnt) cnt 157 drivers/media/pci/ivtv/ivtv-vbi.c ssize_t ret = cnt * sizeof(struct v4l2_sliced_vbi_data); cnt 159 drivers/media/pci/ivtv/ivtv-vbi.c for (i = 0; i < cnt; i++) { cnt 432 drivers/media/pci/ivtv/ivtv-vbi.c int cnt; cnt 442 drivers/media/pci/ivtv/ivtv-vbi.c cnt = ivtv_convert_ivtv_vbi(itv, p + offset); cnt 443 drivers/media/pci/ivtv/ivtv-vbi.c memcpy(buf->buf, itv->vbi.sliced_dec_data, cnt); cnt 444 drivers/media/pci/ivtv/ivtv-vbi.c buf->bytesused = cnt; cnt 447 drivers/media/pci/ivtv/ivtv-vbi.c cnt / sizeof(itv->vbi.sliced_dec_data[0])); cnt 357 drivers/media/pci/saa7164/saa7164-core.c u32 wp, mcb, rp, cnt = 0; cnt 410 drivers/media/pci/saa7164/saa7164-core.c cnt++; cnt 434 drivers/media/pci/saa7164/saa7164-core.c u32 wp, mcb, rp, cnt = 0; cnt 486 drivers/media/pci/saa7164/saa7164-core.c cnt++; cnt 796 drivers/media/pci/saa7164/saa7164-encoder.c int rem, cnt; cnt 841 drivers/media/pci/saa7164/saa7164-encoder.c cnt = rem > count ? count : rem; cnt 847 drivers/media/pci/saa7164/saa7164-encoder.c __func__, (int)count, cnt, rem, ubuf, ubuf->pos); cnt 849 drivers/media/pci/saa7164/saa7164-encoder.c if (copy_to_user(buffer, p, cnt)) { cnt 858 drivers/media/pci/saa7164/saa7164-encoder.c ubuf->pos += cnt; cnt 859 drivers/media/pci/saa7164/saa7164-encoder.c count -= cnt; cnt 860 drivers/media/pci/saa7164/saa7164-encoder.c buffer += cnt; cnt 861 drivers/media/pci/saa7164/saa7164-encoder.c ret += cnt; cnt 500 drivers/media/pci/saa7164/saa7164-vbi.c int rem, cnt; cnt 545 drivers/media/pci/saa7164/saa7164-vbi.c cnt = rem > count ? count : rem; cnt 551 drivers/media/pci/saa7164/saa7164-vbi.c __func__, (int)count, cnt, rem, ubuf, ubuf->pos); cnt 553 drivers/media/pci/saa7164/saa7164-vbi.c if (copy_to_user(buffer, p, cnt)) { cnt 562 drivers/media/pci/saa7164/saa7164-vbi.c ubuf->pos += cnt; cnt 563 drivers/media/pci/saa7164/saa7164-vbi.c count -= cnt; cnt 564 drivers/media/pci/saa7164/saa7164-vbi.c buffer += cnt; cnt 565 drivers/media/pci/saa7164/saa7164-vbi.c ret += cnt; cnt 46 drivers/media/pci/smipcie/smipcie-ir.c int cnt; cnt 48 drivers/media/pci/smipcie/smipcie-ir.c for (cnt = 0; cnt < length; cnt++) { cnt 49 drivers/media/pci/smipcie/smipcie-ir.c if (buffer[cnt] & 0x7f) { cnt 50 drivers/media/pci/smipcie/smipcie-ir.c rawir.pulse = (buffer[cnt] & 0x80) == 0; cnt 51 drivers/media/pci/smipcie/smipcie-ir.c rawir.duration = ((buffer[cnt] & 0x7f) + cnt 414 drivers/media/pci/tw686x/tw686x-video.c unsigned int cnt; cnt 416 drivers/media/pci/tw686x/tw686x-video.c for (cnt = 0; cnt < ARRAY_SIZE(formats); cnt++) cnt 417 drivers/media/pci/tw686x/tw686x-video.c if (formats[cnt].fourcc == fourcc) cnt 418 drivers/media/pci/tw686x/tw686x-video.c return &formats[cnt]; cnt 260 drivers/media/platform/fsl-viu.c int cnt = 100; cnt 275 drivers/media/platform/fsl-viu.c } while (cnt--); cnt 277 drivers/media/platform/fsl-viu.c if (cnt < 0) { cnt 67 drivers/media/platform/omap3isp/isphist.c u32 cnt; cnt 76 drivers/media/platform/omap3isp/isphist.c cnt = conf->cfa << ISPHIST_CNT_CFA_SHIFT; cnt 101 drivers/media/platform/omap3isp/isphist.c cnt |= conf->hist_bins << ISPHIST_CNT_BINS_SHIFT; cnt 104 drivers/media/platform/omap3isp/isphist.c cnt |= (ISPHIST_IN_BIT_WIDTH_CCDC - 8) << cnt 108 drivers/media/platform/omap3isp/isphist.c cnt |= (ISPHIST_IN_BIT_WIDTH_CCDC - 7) << cnt 112 drivers/media/platform/omap3isp/isphist.c cnt |= (ISPHIST_IN_BIT_WIDTH_CCDC - 6) << cnt 116 drivers/media/platform/omap3isp/isphist.c cnt |= (ISPHIST_IN_BIT_WIDTH_CCDC - 5) << cnt 123 drivers/media/platform/omap3isp/isphist.c isp_reg_writel(isp, cnt, OMAP3_ISP_IOMEM_HIST, ISPHIST_CNT); cnt 1019 drivers/media/platform/sh_vou.c static int cnt; cnt 1044 drivers/media/platform/sh_vou.c irq_status, masked, vou_status, cnt); cnt 1046 drivers/media/platform/sh_vou.c cnt++; cnt 84 drivers/media/platform/vicodec/codec-fwht.c int cnt = 0; cnt 88 drivers/media/platform/vicodec/codec-fwht.c while ((tmp = block[zigzag[i]]) == 0 && cnt < 14) { cnt 89 drivers/media/platform/vicodec/codec-fwht.c cnt++; cnt 92 drivers/media/platform/vicodec/codec-fwht.c cnt--; cnt 97 drivers/media/platform/vicodec/codec-fwht.c *output++ = htons((cnt | tmp << 4)); cnt 299 drivers/media/rc/bpf-lirc.c u32 cnt, flags = 0; cnt 319 drivers/media/rc/bpf-lirc.c cnt = progs ? bpf_prog_array_length(progs) : 0; cnt 321 drivers/media/rc/bpf-lirc.c if (copy_to_user(&uattr->query.prog_cnt, &cnt, sizeof(cnt))) { cnt 331 drivers/media/rc/bpf-lirc.c if (attr->query.prog_cnt != 0 && prog_ids && cnt) cnt 332 drivers/media/rc/bpf-lirc.c ret = bpf_prog_array_copy_to_user(progs, prog_ids, cnt); cnt 108 drivers/media/rc/sunxi-cir.c unsigned int cnt, rc; cnt 125 drivers/media/rc/sunxi-cir.c for (cnt = 0; cnt < rc; cnt++) { cnt 293 drivers/media/tuners/mt2063.c u8 subAddress, u8 *pData, u32 cnt) cnt 299 drivers/media/tuners/mt2063.c dprintk(2, "addr 0x%02x, cnt %d\n", subAddress, cnt); cnt 304 drivers/media/tuners/mt2063.c for (i = 0; i < cnt; i++) { cnt 130 drivers/media/usb/cx231xx/cx231xx-audio.c unsigned int cnt; cnt 132 drivers/media/usb/cx231xx/cx231xx-audio.c cnt = runtime->buffer_size - oldptr; cnt 134 drivers/media/usb/cx231xx/cx231xx-audio.c cnt * stride); cnt 135 drivers/media/usb/cx231xx/cx231xx-audio.c memcpy(runtime->dma_area, cp + cnt * stride, cnt 136 drivers/media/usb/cx231xx/cx231xx-audio.c length * stride - cnt * stride); cnt 217 drivers/media/usb/cx231xx/cx231xx-audio.c unsigned int cnt; cnt 219 drivers/media/usb/cx231xx/cx231xx-audio.c cnt = runtime->buffer_size - oldptr; cnt 221 drivers/media/usb/cx231xx/cx231xx-audio.c cnt * stride); cnt 222 drivers/media/usb/cx231xx/cx231xx-audio.c memcpy(runtime->dma_area, cp + cnt * stride, cnt 223 drivers/media/usb/cx231xx/cx231xx-audio.c length * stride - cnt * stride); cnt 130 drivers/media/usb/em28xx/em28xx-audio.c unsigned int cnt = cnt 133 drivers/media/usb/em28xx/em28xx-audio.c cnt * stride); cnt 134 drivers/media/usb/em28xx/em28xx-audio.c memcpy(runtime->dma_area, cp + cnt * stride, cnt 135 drivers/media/usb/em28xx/em28xx-audio.c length * stride - cnt * stride); cnt 279 drivers/media/usb/go7007/go7007-fw.c int i, cnt = pkg_cnt * 32; cnt 281 drivers/media/usb/go7007/go7007-fw.c if (space < cnt) cnt 284 drivers/media/usb/go7007/go7007-fw.c for (i = 0; i < cnt; ++i) cnt 287 drivers/media/usb/go7007/go7007-fw.c return cnt; cnt 1427 drivers/media/usb/go7007/go7007-fw.c int ret, mb, i, addr, cnt = 0; cnt 1451 drivers/media/usb/go7007/go7007-fw.c cnt += ret; cnt 1465 drivers/media/usb/go7007/go7007-fw.c ret = copy_packages(code + cnt, pack, 1, space - cnt); cnt 1468 drivers/media/usb/go7007/go7007-fw.c cnt += ret; cnt 1483 drivers/media/usb/go7007/go7007-fw.c ret = copy_packages(code + cnt, pack, 1, space - cnt); cnt 1486 drivers/media/usb/go7007/go7007-fw.c cnt += ret; cnt 1491 drivers/media/usb/go7007/go7007-fw.c return cnt; cnt 365 drivers/media/usb/gspca/spca500.c int ret, cnt = 20; cnt 367 drivers/media/usb/gspca/spca500.c while (--cnt > 0) { cnt 499 drivers/media/usb/gspca/sunplus.c int cnt; cnt 501 drivers/media/usb/gspca/sunplus.c cnt = 256; cnt 502 drivers/media/usb/gspca/sunplus.c while (--cnt > 0) { cnt 414 drivers/media/usb/hdpvr/hdpvr-video.c int rem, cnt; cnt 489 drivers/media/usb/hdpvr/hdpvr-video.c cnt = rem > count ? count : rem; cnt 492 drivers/media/usb/hdpvr/hdpvr-video.c cnt)) { cnt 499 drivers/media/usb/hdpvr/hdpvr-video.c buf->pos += cnt; cnt 500 drivers/media/usb/hdpvr/hdpvr-video.c count -= cnt; cnt 501 drivers/media/usb/hdpvr/hdpvr-video.c buffer += cnt; cnt 502 drivers/media/usb/hdpvr/hdpvr-video.c ret += cnt; cnt 18 drivers/media/usb/pvrusb2/pvrusb2-audio.c unsigned int cnt; cnt 39 drivers/media/usb/pvrusb2/pvrusb2-audio.c .cnt = ARRAY_SIZE(routing_scheme0), cnt 59 drivers/media/usb/pvrusb2/pvrusb2-audio.c (hdw->input_val < sp->cnt)) { cnt 26 drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.c unsigned int cnt; cnt 39 drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.c .cnt = ARRAY_SIZE(routing_scheme1), cnt 59 drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.c (hdw->input_val >= sp->cnt)) { cnt 298 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c unsigned int uc,cnt; cnt 309 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cnt = scnprintf(ptr,len,"%s%s%s", cnt 314 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr += cnt; len -= cnt; uc += cnt; cnt 323 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cnt = scnprintf(ptr,len,"%s0x%lx", cnt 326 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr += cnt; len -= cnt; uc += cnt; cnt 329 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cnt = scnprintf(ptr,len,"%s+0x%lx", cnt 332 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr += cnt; len -= cnt; uc += cnt; cnt 335 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cnt = scnprintf(ptr,len,"%s+0x%lx", cnt 338 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr += cnt; len -= cnt; uc += cnt; cnt 421 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c unsigned int cnt; cnt 427 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cnt = 0; cnt 428 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c while ((cnt < len) && cnt 429 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ((ptr[cnt] <= 32) || cnt 430 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c (ptr[cnt] >= 127))) cnt++; cnt 431 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr += cnt; cnt 432 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c len -= cnt; cnt 439 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cnt = 0; cnt 440 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c while (cnt < len) { cnt 441 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (ptr[cnt] <= 32) break; cnt 442 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (ptr[cnt] >= 127) break; cnt 443 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cnt++; cnt 445 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cnt) break; cnt 446 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (parse_mtoken(ptr,cnt,&kv,names,valid_bits)) { cnt 450 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr += cnt; cnt 451 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c len -= cnt; cnt 481 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c unsigned int cnt; cnt 486 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cnt = 0; cnt 487 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c while ((cnt < len) && ((ptr[cnt] <= 32) || (ptr[cnt] >= 127))) cnt++; cnt 488 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c len -= cnt; ptr += cnt; cnt 489 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cnt = 0; cnt 490 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c while ((cnt < len) && ((ptr[len-(cnt+1)] <= 32) || cnt 491 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c (ptr[len-(cnt+1)] >= 127))) cnt++; cnt 492 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c len -= cnt; cnt 33 drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.c unsigned int cnt; cnt 57 drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.c .cnt = ARRAY_SIZE(routing_scheme0), cnt 84 drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.c .cnt = ARRAY_SIZE(routing_schemegv), cnt 101 drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.c .cnt = ARRAY_SIZE(routing_schemeav400), cnt 125 drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.c .cnt = ARRAY_SIZE(routing_scheme160xxx), cnt 148 drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.c (hdw->input_val >= sp->cnt)) { cnt 55 drivers/media/usb/pvrusb2/pvrusb2-devattr.c .client_table.cnt = ARRAY_SIZE(pvr2_cli_29xxx), cnt 57 drivers/media/usb/pvrusb2/pvrusb2-devattr.c .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_29xxx), cnt 89 drivers/media/usb/pvrusb2/pvrusb2-devattr.c .client_table.cnt = ARRAY_SIZE(pvr2_cli_24xxx), cnt 91 drivers/media/usb/pvrusb2/pvrusb2-devattr.c .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_24xxx), cnt 119 drivers/media/usb/pvrusb2/pvrusb2-devattr.c .client_table.cnt = ARRAY_SIZE(pvr2_cli_gotview_2), cnt 140 drivers/media/usb/pvrusb2/pvrusb2-devattr.c .client_table.cnt = ARRAY_SIZE(pvr2_cli_gotview_2), cnt 163 drivers/media/usb/pvrusb2/pvrusb2-devattr.c .client_table.cnt = ARRAY_SIZE(pvr2_cli_av400), cnt 218 drivers/media/usb/pvrusb2/pvrusb2-devattr.c .client_table.cnt = ARRAY_SIZE(pvr2_cli_onair_creator), cnt 278 drivers/media/usb/pvrusb2/pvrusb2-devattr.c .client_table.cnt = ARRAY_SIZE(pvr2_cli_onair_usb2), cnt 372 drivers/media/usb/pvrusb2/pvrusb2-devattr.c .client_table.cnt = ARRAY_SIZE(pvr2_cli_73xxx), cnt 374 drivers/media/usb/pvrusb2/pvrusb2-devattr.c .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_73xxx), cnt 479 drivers/media/usb/pvrusb2/pvrusb2-devattr.c .client_table.cnt = ARRAY_SIZE(pvr2_cli_73xxx), cnt 481 drivers/media/usb/pvrusb2/pvrusb2-devattr.c .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_75xxx), cnt 502 drivers/media/usb/pvrusb2/pvrusb2-devattr.c .client_table.cnt = ARRAY_SIZE(pvr2_cli_73xxx), cnt 504 drivers/media/usb/pvrusb2/pvrusb2-devattr.c .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_75xxx), cnt 638 drivers/media/usb/pvrusb2/pvrusb2-devattr.c .client_table.cnt = ARRAY_SIZE(pvr2_cli_160xxx), cnt 640 drivers/media/usb/pvrusb2/pvrusb2-devattr.c .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_160xxx), cnt 662 drivers/media/usb/pvrusb2/pvrusb2-devattr.c .client_table.cnt = ARRAY_SIZE(pvr2_cli_160xxx), cnt 664 drivers/media/usb/pvrusb2/pvrusb2-devattr.c .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_160xxx), cnt 46 drivers/media/usb/pvrusb2/pvrusb2-devattr.h unsigned char cnt; cnt 52 drivers/media/usb/pvrusb2/pvrusb2-devattr.h unsigned int cnt; cnt 1416 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (!hdw->hdw_desc->fx2_firmware.cnt) { cnt 1428 drivers/media/usb/pvrusb2/pvrusb2-hdw.c hdw->hdw_desc->fx2_firmware.cnt, cnt 1933 drivers/media/usb/pvrusb2/pvrusb2-hdw.c unsigned int cnt = 0; cnt 1935 drivers/media/usb/pvrusb2/pvrusb2-hdw.c while (src[cnt] && (cnt + 1) < dst_max) { cnt 1936 drivers/media/usb/pvrusb2/pvrusb2-hdw.c dst[cnt] = src[cnt]; cnt 1937 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cnt++; cnt 1939 drivers/media/usb/pvrusb2/pvrusb2-hdw.c dst[cnt] = I2C_CLIENT_END; cnt 1940 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return cnt; cnt 2069 drivers/media/usb/pvrusb2/pvrusb2-hdw.c for (idx = 0; idx < cm->cnt; idx++) { cnt 2074 drivers/media/usb/pvrusb2/pvrusb2-hdw.c for (idx = 0; idx < ct->cnt; idx++) { cnt 2090 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (hdw->hdw_desc->fx2_firmware.cnt) { cnt 3474 drivers/media/usb/pvrusb2/pvrusb2-hdw.c char *buf,unsigned int cnt) cnt 3479 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (!cnt) break; cnt 3494 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (offs + cnt > hdw->fw_size) cnt = hdw->fw_size - offs; cnt 3496 drivers/media/usb/pvrusb2/pvrusb2-hdw.c memcpy(buf,hdw->fw_buffer+offs,cnt); cnt 3500 drivers/media/usb/pvrusb2/pvrusb2-hdw.c offs,cnt); cnt 3501 drivers/media/usb/pvrusb2/pvrusb2-hdw.c ret = cnt; cnt 3820 drivers/media/usb/pvrusb2/pvrusb2-hdw.c unsigned int cnt = 1; cnt 3827 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cnt += args; cnt 3871 drivers/media/usb/pvrusb2/pvrusb2-hdw.c ret = pvr2_send_request(hdw,hdw->cmd_buffer,cnt,NULL,0); cnt 219 drivers/media/usb/pvrusb2/pvrusb2-hdw.h char *buf,unsigned int cnt); cnt 468 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c unsigned int idx,offs,cnt; cnt 470 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c cnt = msgs[idx].len; cnt 474 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c cnt, cnt 478 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c if (cnt > 8) cnt = 8; cnt 480 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c for (offs = 0; offs < cnt; offs++) { cnt 484 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c if (offs < cnt) pr_cont(" ..."); cnt 117 drivers/media/usb/pvrusb2/pvrusb2-io.c unsigned int *cnt; cnt 123 drivers/media/usb/pvrusb2/pvrusb2-io.c cnt = &sp->i_count; cnt 128 drivers/media/usb/pvrusb2/pvrusb2-io.c cnt = &sp->q_count; cnt 133 drivers/media/usb/pvrusb2/pvrusb2-io.c cnt = &sp->r_count; cnt 141 drivers/media/usb/pvrusb2/pvrusb2-io.c (*cnt)--; cnt 145 drivers/media/usb/pvrusb2/pvrusb2-io.c pvr2_buffer_state_decode(bp->state), *bcnt, *cnt); cnt 281 drivers/media/usb/pvrusb2/pvrusb2-io.c static int pvr2_stream_buffer_count(struct pvr2_stream *sp, unsigned int cnt) cnt 287 drivers/media/usb/pvrusb2/pvrusb2-io.c if (cnt == sp->buffer_total_count) return 0; cnt 293 drivers/media/usb/pvrusb2/pvrusb2-io.c cnt-sp->buffer_total_count); cnt 295 drivers/media/usb/pvrusb2/pvrusb2-io.c scnt = cnt & ~0x1f; cnt 296 drivers/media/usb/pvrusb2/pvrusb2-io.c if (cnt > scnt) scnt += 0x20; cnt 298 drivers/media/usb/pvrusb2/pvrusb2-io.c if (cnt > sp->buffer_total_count) { cnt 312 drivers/media/usb/pvrusb2/pvrusb2-io.c while (sp->buffer_total_count < cnt) { cnt 326 drivers/media/usb/pvrusb2/pvrusb2-io.c while (sp->buffer_total_count > cnt) { cnt 353 drivers/media/usb/pvrusb2/pvrusb2-io.c unsigned int cnt; cnt 365 drivers/media/usb/pvrusb2/pvrusb2-io.c cnt = 0; cnt 366 drivers/media/usb/pvrusb2/pvrusb2-io.c while ((sp->buffer_total_count - cnt) > sp->buffer_target_count) { cnt 367 drivers/media/usb/pvrusb2/pvrusb2-io.c bp = sp->buffers[sp->buffer_total_count - (cnt + 1)]; cnt 369 drivers/media/usb/pvrusb2/pvrusb2-io.c cnt++; cnt 371 drivers/media/usb/pvrusb2/pvrusb2-io.c if (cnt) { cnt 372 drivers/media/usb/pvrusb2/pvrusb2-io.c pvr2_stream_buffer_count(sp, sp->buffer_total_count - cnt); cnt 534 drivers/media/usb/pvrusb2/pvrusb2-io.c int pvr2_stream_set_buffer_count(struct pvr2_stream *sp, unsigned int cnt) cnt 537 drivers/media/usb/pvrusb2/pvrusb2-io.c if (sp->buffer_target_count == cnt) return 0; cnt 540 drivers/media/usb/pvrusb2/pvrusb2-io.c sp->buffer_target_count = cnt; cnt 630 drivers/media/usb/pvrusb2/pvrusb2-io.c int pvr2_buffer_set_buffer(struct pvr2_buffer *bp, void *ptr, unsigned int cnt) cnt 645 drivers/media/usb/pvrusb2/pvrusb2-io.c bp->max_count = cnt; cnt 64 drivers/media/usb/pvrusb2/pvrusb2-io.h int pvr2_buffer_set_buffer(struct pvr2_buffer *,void *ptr,unsigned int cnt); cnt 388 drivers/media/usb/pvrusb2/pvrusb2-ioread.c int pvr2_ioread_read(struct pvr2_ioread *cp,void __user *buf,unsigned int cnt) cnt 395 drivers/media/usb/pvrusb2/pvrusb2-ioread.c unsigned int req_cnt = cnt; cnt 397 drivers/media/usb/pvrusb2/pvrusb2-ioread.c if (!cnt) { cnt 414 drivers/media/usb/pvrusb2/pvrusb2-ioread.c if (!buf) cnt = 0; cnt 421 drivers/media/usb/pvrusb2/pvrusb2-ioread.c if (!cnt) break; cnt 437 drivers/media/usb/pvrusb2/pvrusb2-ioread.c if (bcnt > cnt) bcnt = cnt; cnt 446 drivers/media/usb/pvrusb2/pvrusb2-ioread.c cnt -= bcnt; cnt 21 drivers/media/usb/pvrusb2/pvrusb2-ioread.h int pvr2_ioread_read(struct pvr2_ioread *,void __user *buf,unsigned int cnt); cnt 127 drivers/media/usb/pvrusb2/pvrusb2-std.c unsigned int cnt; cnt 133 drivers/media/usb/pvrusb2/pvrusb2-std.c cnt = 0; cnt 134 drivers/media/usb/pvrusb2/pvrusb2-std.c while ((cnt < bufSize) && (bufPtr[cnt] != '-')) cnt++; cnt 135 drivers/media/usb/pvrusb2/pvrusb2-std.c if (cnt >= bufSize) return 0; // No more characters cnt 137 drivers/media/usb/pvrusb2/pvrusb2-std.c bufPtr,cnt); cnt 139 drivers/media/usb/pvrusb2/pvrusb2-std.c cnt++; cnt 140 drivers/media/usb/pvrusb2/pvrusb2-std.c bufPtr += cnt; cnt 141 drivers/media/usb/pvrusb2/pvrusb2-std.c bufSize -= cnt; cnt 146 drivers/media/usb/pvrusb2/pvrusb2-std.c cnt = 0; cnt 147 drivers/media/usb/pvrusb2/pvrusb2-std.c while (cnt < bufSize) { cnt 148 drivers/media/usb/pvrusb2/pvrusb2-std.c ch = bufPtr[cnt]; cnt 154 drivers/media/usb/pvrusb2/pvrusb2-std.c cnt++; cnt 157 drivers/media/usb/pvrusb2/pvrusb2-std.c bufPtr,cnt); cnt 162 drivers/media/usb/pvrusb2/pvrusb2-std.c if (cnt < bufSize) cnt++; cnt 163 drivers/media/usb/pvrusb2/pvrusb2-std.c bufPtr += cnt; cnt 164 drivers/media/usb/pvrusb2/pvrusb2-std.c bufSize -= cnt; cnt 141 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c unsigned int cnt = 0; cnt 146 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c buf, PAGE_SIZE - 1, &cnt); cnt 148 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c cip->chptr, cip->ctl_id, cnt, buf, val); cnt 149 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c buf[cnt] = '\n'; cnt 150 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c return cnt + 1; cnt 160 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c unsigned int cnt = 0; cnt 165 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c buf, PAGE_SIZE - 1, &cnt); cnt 167 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c cip->chptr, cip->ctl_id, cnt, buf, val); cnt 168 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c buf[cnt] = '\n'; cnt 169 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c return cnt+1; cnt 179 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c unsigned int cnt = 0; cnt 184 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c buf, PAGE_SIZE - 1, &cnt); cnt 186 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c cip->chptr, cip->ctl_id, cnt, buf, val); cnt 187 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c buf[cnt] = '\n'; cnt 188 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c return cnt+1; cnt 290 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c unsigned int cnt,acnt; cnt 389 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c cnt = scnprintf(cip->name,sizeof(cip->name)-1,"ctl_%s", cnt 391 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c cip->name[cnt] = 0; cnt 468 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c unsigned int idx,cnt; cnt 469 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c cnt = pvr2_hdw_get_ctrl_count(sfp->channel.hdw); cnt 470 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c for (idx = 0; idx < cnt; idx++) { cnt 168 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c unsigned int cnt; cnt 192 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c cnt = 0; cnt 194 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c tmp.name, sizeof(tmp.name) - 1, &cnt); cnt 195 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c tmp.name[cnt] = 0; cnt 563 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c unsigned int cnt = 0; cnt 569 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c &cnt); cnt 570 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c vm->name[cnt] = 0; cnt 29 drivers/media/usb/pvrusb2/pvrusb2-video-v4l.c unsigned int cnt; cnt 44 drivers/media/usb/pvrusb2/pvrusb2-video-v4l.c .cnt = ARRAY_SIZE(routing_scheme0), cnt 56 drivers/media/usb/pvrusb2/pvrusb2-video-v4l.c .cnt = ARRAY_SIZE(routing_scheme1), cnt 78 drivers/media/usb/pvrusb2/pvrusb2-video-v4l.c (hdw->input_val >= sp->cnt)) { cnt 243 drivers/media/usb/tm6000/tm6000-alsa.c unsigned int cnt = runtime->buffer_size - buf_pos; cnt 244 drivers/media/usb/tm6000/tm6000-alsa.c memcpy(runtime->dma_area + buf_pos * stride, buf, cnt * stride); cnt 245 drivers/media/usb/tm6000/tm6000-alsa.c memcpy(runtime->dma_area, buf + cnt * stride, cnt 246 drivers/media/usb/tm6000/tm6000-alsa.c length * stride - cnt * stride); cnt 160 drivers/media/usb/usbtv/usbtv-audio.c size_t cnt = (runtime->buffer_size - buffer_pos) * cnt 163 drivers/media/usb/usbtv/usbtv-audio.c urb_current, cnt); cnt 164 drivers/media/usb/usbtv/usbtv-audio.c memcpy(runtime->dma_area, urb_current + cnt, cnt 165 drivers/media/usb/usbtv/usbtv-audio.c chunk_length * frame_bytes - cnt); cnt 688 drivers/memory/tegra/tegra124-emc.c u32 cnt = 512; cnt 692 drivers/memory/tegra/tegra124-emc.c cnt -= emc->dram_num * 256; cnt 697 drivers/memory/tegra/tegra124-emc.c if (cnt < val) cnt 698 drivers/memory/tegra/tegra124-emc.c cnt = val; cnt 702 drivers/memory/tegra/tegra124-emc.c val |= (cnt << EMC_MRS_WAIT_CNT_LONG_WAIT_SHIFT) cnt 294 drivers/memstick/core/mspro_block.c ssize_t cnt, rc = 0; cnt 296 drivers/memstick/core/mspro_block.c for (cnt = 0; cnt < s_attr->size; cnt++) { cnt 297 drivers/memstick/core/mspro_block.c if (cnt && !(cnt % 16)) { cnt 303 drivers/memstick/core/mspro_block.c ((unsigned char *)s_attr->data)[cnt]); cnt 740 drivers/memstick/core/mspro_block.c int cnt; cnt 756 drivers/memstick/core/mspro_block.c for (cnt = 0; cnt < msb->current_seg; cnt++) { cnt 757 drivers/memstick/core/mspro_block.c t_len += msb->req_sg[cnt].length cnt 975 drivers/memstick/core/mspro_block.c int cnt, rc, attr_count; cnt 1032 drivers/memstick/core/mspro_block.c for (cnt = 0; cnt < attr_count; ++cnt) { cnt 1039 drivers/memstick/core/mspro_block.c msb->attr_group.attrs[cnt] = &s_attr->dev_attr.attr; cnt 1040 drivers/memstick/core/mspro_block.c addr = be32_to_cpu(attr->entries[cnt].address); cnt 1041 drivers/memstick/core/mspro_block.c s_attr->size = be32_to_cpu(attr->entries[cnt].size); cnt 1043 drivers/memstick/core/mspro_block.c "size %zx\n", cnt, attr->entries[cnt].id, addr, cnt 1045 drivers/memstick/core/mspro_block.c s_attr->id = attr->entries[cnt].id; cnt 1048 drivers/memstick/core/mspro_block.c mspro_block_attr_name(attr->entries[cnt].id)); cnt 1051 drivers/memstick/core/mspro_block.c "attr_x%02x", attr->entries[cnt].id); cnt 1261 drivers/memstick/core/mspro_block.c int cnt; cnt 1265 drivers/memstick/core/mspro_block.c for (cnt = 0; msb->attr_group.attrs[cnt]; ++cnt) { cnt 1267 drivers/memstick/core/mspro_block.c .attrs[cnt]); cnt 1374 drivers/memstick/core/mspro_block.c unsigned char cnt; cnt 1388 drivers/memstick/core/mspro_block.c for (cnt = 0; new_msb->attr_group.attrs[cnt] cnt 1389 drivers/memstick/core/mspro_block.c && msb->attr_group.attrs[cnt]; ++cnt) { cnt 1390 drivers/memstick/core/mspro_block.c s_attr = mspro_from_sysfs_attr(new_msb->attr_group.attrs[cnt]); cnt 1391 drivers/memstick/core/mspro_block.c r_attr = mspro_from_sysfs_attr(msb->attr_group.attrs[cnt]); cnt 637 drivers/memstick/host/jmb38x_ms.c int cnt; cnt 643 drivers/memstick/host/jmb38x_ms.c for (cnt = 0; cnt < 20; ++cnt) { cnt 657 drivers/memstick/host/jmb38x_ms.c for (cnt = 0; cnt < 20; ++cnt) { cnt 801 drivers/memstick/host/jmb38x_ms.c int cnt; cnt 803 drivers/memstick/host/jmb38x_ms.c for (cnt = 0; cnt < jm->host_cnt; ++cnt) { cnt 804 drivers/memstick/host/jmb38x_ms.c if (!jm->hosts[cnt]) cnt 806 drivers/memstick/host/jmb38x_ms.c memstick_suspend_host(jm->hosts[cnt]); cnt 849 drivers/memstick/host/jmb38x_ms.c int cnt, rc = 0; cnt 851 drivers/memstick/host/jmb38x_ms.c for (cnt = 0; cnt < PCI_ROM_RESOURCE; ++cnt) { cnt 852 drivers/memstick/host/jmb38x_ms.c if (!(IORESOURCE_MEM & pci_resource_flags(pdev, cnt))) cnt 855 drivers/memstick/host/jmb38x_ms.c if (256 != pci_resource_len(pdev, cnt)) cnt 863 drivers/memstick/host/jmb38x_ms.c static struct memstick_host *jmb38x_ms_alloc_host(struct jmb38x_ms *jm, int cnt) cnt 876 drivers/memstick/host/jmb38x_ms.c host->addr = ioremap(pci_resource_start(jm->pdev, cnt), cnt 877 drivers/memstick/host/jmb38x_ms.c pci_resource_len(jm->pdev, cnt)); cnt 882 drivers/memstick/host/jmb38x_ms.c host->id = cnt; cnt 920 drivers/memstick/host/jmb38x_ms.c int rc, cnt; cnt 940 drivers/memstick/host/jmb38x_ms.c cnt = jmb38x_ms_count_slots(pdev); cnt 941 drivers/memstick/host/jmb38x_ms.c if (!cnt) { cnt 948 drivers/memstick/host/jmb38x_ms.c + cnt * sizeof(struct memstick_host *), GFP_KERNEL); cnt 955 drivers/memstick/host/jmb38x_ms.c jm->host_cnt = cnt; cnt 958 drivers/memstick/host/jmb38x_ms.c for (cnt = 0; cnt < jm->host_cnt; ++cnt) { cnt 959 drivers/memstick/host/jmb38x_ms.c jm->hosts[cnt] = jmb38x_ms_alloc_host(jm, cnt); cnt 960 drivers/memstick/host/jmb38x_ms.c if (!jm->hosts[cnt]) cnt 963 drivers/memstick/host/jmb38x_ms.c rc = memstick_add_host(jm->hosts[cnt]); cnt 966 drivers/memstick/host/jmb38x_ms.c jmb38x_ms_free_host(jm->hosts[cnt]); cnt 967 drivers/memstick/host/jmb38x_ms.c jm->hosts[cnt] = NULL; cnt 972 drivers/memstick/host/jmb38x_ms.c if (cnt) cnt 991 drivers/memstick/host/jmb38x_ms.c int cnt; cnt 994 drivers/memstick/host/jmb38x_ms.c for (cnt = 0; cnt < jm->host_cnt; ++cnt) { cnt 995 drivers/memstick/host/jmb38x_ms.c if (!jm->hosts[cnt]) cnt 998 drivers/memstick/host/jmb38x_ms.c host = memstick_priv(jm->hosts[cnt]); cnt 1000 drivers/memstick/host/jmb38x_ms.c jm->hosts[cnt]->request = jmb38x_ms_dummy_submit; cnt 1008 drivers/memstick/host/jmb38x_ms.c jmb38x_ms_complete_cmd(jm->hosts[cnt], 1); cnt 1012 drivers/memstick/host/jmb38x_ms.c memstick_remove_host(jm->hosts[cnt]); cnt 1015 drivers/memstick/host/jmb38x_ms.c jmb38x_ms_free_host(jm->hosts[cnt]); cnt 200 drivers/memstick/host/rtsx_pci_ms.c u8 cfg, u8 cnt, u8 *data, u8 *int_reg) cnt 212 drivers/memstick/host/rtsx_pci_ms.c for (i = 0; i < cnt; i++) cnt 215 drivers/memstick/host/rtsx_pci_ms.c if (cnt % 2) cnt 220 drivers/memstick/host/rtsx_pci_ms.c rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, MS_BYTE_CNT, 0xFF, cnt); cnt 268 drivers/memstick/host/rtsx_pci_ms.c u8 cfg, u8 cnt, u8 *data, u8 *int_reg) cnt 282 drivers/memstick/host/rtsx_pci_ms.c rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, MS_BYTE_CNT, 0xFF, cnt); cnt 291 drivers/memstick/host/rtsx_pci_ms.c for (i = 0; i < cnt - 1; i++) cnt 293 drivers/memstick/host/rtsx_pci_ms.c if (cnt % 2) cnt 294 drivers/memstick/host/rtsx_pci_ms.c rtsx_pci_add_cmd(pcr, READ_REG_CMD, PPBUF_BASE2 + cnt, 0, 0); cnt 297 drivers/memstick/host/rtsx_pci_ms.c PPBUF_BASE2 + cnt - 1, 0, 0); cnt 329 drivers/memstick/host/rtsx_pci_ms.c for (i = 0; i < cnt; i++) cnt 317 drivers/memstick/host/rtsx_usb_ms.c u8 cfg, u8 cnt, u8 *data, u8 *int_reg) cnt 326 drivers/memstick/host/rtsx_usb_ms.c for (i = 0; i < cnt; i++) cnt 330 drivers/memstick/host/rtsx_usb_ms.c if (cnt % 2) cnt 335 drivers/memstick/host/rtsx_usb_ms.c rtsx_usb_add_cmd(ucr, WRITE_REG_CMD, MS_BYTE_CNT, 0xFF, cnt); cnt 384 drivers/memstick/host/rtsx_usb_ms.c u8 cfg, u8 cnt, u8 *data, u8 *int_reg) cnt 395 drivers/memstick/host/rtsx_usb_ms.c rtsx_usb_add_cmd(ucr, WRITE_REG_CMD, MS_BYTE_CNT, 0xFF, cnt); cnt 404 drivers/memstick/host/rtsx_usb_ms.c for (i = 0; i < cnt - 1; i++) cnt 406 drivers/memstick/host/rtsx_usb_ms.c if (cnt % 2) cnt 407 drivers/memstick/host/rtsx_usb_ms.c rtsx_usb_add_cmd(ucr, READ_REG_CMD, PPBUF_BASE2 + cnt, 0, 0); cnt 410 drivers/memstick/host/rtsx_usb_ms.c PPBUF_BASE2 + cnt - 1, 0, 0); cnt 418 drivers/memstick/host/rtsx_usb_ms.c err = rtsx_usb_get_rsp(ucr, cnt + 2, 5000); cnt 446 drivers/memstick/host/rtsx_usb_ms.c for (i = 0; i < cnt; i++) cnt 3904 drivers/message/fusion/mptbase.c int cnt,cntdn; cnt 3928 drivers/message/fusion/mptbase.c for (cnt=0; cnt<cntdn; cnt++) { cnt 3932 drivers/message/fusion/mptbase.c ioc->name, cnt)); cnt 442 drivers/misc/hpilo.c int err, found, cnt, pkt_id, pkt_len; cnt 463 drivers/misc/hpilo.c cnt = 20; cnt 470 drivers/misc/hpilo.c cnt--; cnt 472 drivers/misc/hpilo.c } while (!found && cnt); cnt 59 drivers/misc/mei/init.c ssize_t cnt = 0; cnt 68 drivers/misc/mei/init.c cnt += scnprintf(buf + cnt, len - cnt, "%08X ", cnt 72 drivers/misc/mei/init.c buf[cnt] = '\0'; cnt 73 drivers/misc/mei/init.c return cnt; cnt 718 drivers/misc/mei/main.c ssize_t cnt = 0; cnt 729 drivers/misc/mei/main.c cnt += scnprintf(buf + cnt, PAGE_SIZE - cnt, "%08X\n", cnt 731 drivers/misc/mei/main.c return cnt; cnt 825 drivers/misc/mei/main.c ssize_t cnt = 0; cnt 831 drivers/misc/mei/main.c cnt += scnprintf(buf + cnt, PAGE_SIZE - cnt, "%u:%u.%u.%u.%u\n", cnt 834 drivers/misc/mei/main.c return cnt; cnt 181 drivers/misc/sgi-gru/grukdump.c int ctxnum, ret, cnt = 0; cnt 213 drivers/misc/sgi-gru/grukdump.c cnt++; cnt 219 drivers/misc/sgi-gru/grukdump.c return cnt; cnt 40 drivers/misc/tifm_7xx1.c unsigned int irq_status, cnt; cnt 52 drivers/misc/tifm_7xx1.c for (cnt = 0; cnt < fm->num_sockets; cnt++) { cnt 53 drivers/misc/tifm_7xx1.c sock = fm->sockets[cnt]; cnt 55 drivers/misc/tifm_7xx1.c if ((irq_status >> cnt) & TIFM_IRQ_FIFOMASK(1)) cnt 57 drivers/misc/tifm_7xx1.c if ((irq_status >> cnt) & TIFM_IRQ_CARDMASK(1)) cnt 81 drivers/misc/tifm_7xx1.c int cnt; cnt 85 drivers/misc/tifm_7xx1.c for (cnt = 16; cnt <= 256; cnt <<= 1) { cnt 90 drivers/misc/tifm_7xx1.c msleep(cnt); cnt 109 drivers/misc/tifm_7xx1.c for (cnt = 16; cnt <= 256; cnt <<= 1) { cnt 114 drivers/misc/tifm_7xx1.c msleep(cnt); cnt 143 drivers/misc/tifm_7xx1.c unsigned int socket_change_set, cnt; cnt 157 drivers/misc/tifm_7xx1.c for (cnt = 0; cnt < fm->num_sockets; cnt++) { cnt 158 drivers/misc/tifm_7xx1.c if (!(socket_change_set & (1 << cnt))) cnt 160 drivers/misc/tifm_7xx1.c sock = fm->sockets[cnt]; cnt 164 drivers/misc/tifm_7xx1.c dev_name(&fm->dev), fm->id, cnt); cnt 165 drivers/misc/tifm_7xx1.c fm->sockets[cnt] = NULL; cnt 177 drivers/misc/tifm_7xx1.c tifm_7xx1_sock_addr(fm->addr, cnt)); cnt 180 drivers/misc/tifm_7xx1.c sock = tifm_alloc_device(fm, cnt, media_id); cnt 182 drivers/misc/tifm_7xx1.c sock->addr = tifm_7xx1_sock_addr(fm->addr, cnt); cnt 186 drivers/misc/tifm_7xx1.c if (!fm->sockets[cnt]) { cnt 187 drivers/misc/tifm_7xx1.c fm->sockets[cnt] = sock; cnt 215 drivers/misc/tifm_7xx1.c int cnt; cnt 219 drivers/misc/tifm_7xx1.c for (cnt = 0; cnt < fm->num_sockets; cnt++) { cnt 220 drivers/misc/tifm_7xx1.c if (fm->sockets[cnt]) cnt 221 drivers/misc/tifm_7xx1.c tifm_7xx1_sock_power_off(fm->sockets[cnt]->addr); cnt 397 drivers/misc/tifm_7xx1.c int cnt; cnt 406 drivers/misc/tifm_7xx1.c for (cnt = 0; cnt < fm->num_sockets; cnt++) cnt 407 drivers/misc/tifm_7xx1.c tifm_7xx1_sock_power_off(tifm_7xx1_sock_addr(fm->addr, cnt)); cnt 221 drivers/misc/tifm_core.c unsigned int cnt; cnt 224 drivers/misc/tifm_core.c for (cnt = 0; cnt < fm->num_sockets; ++cnt) { cnt 225 drivers/misc/tifm_core.c if (fm->sockets[cnt]) cnt 226 drivers/misc/tifm_core.c device_unregister(&fm->sockets[cnt]->dev); cnt 2786 drivers/mmc/core/block.c size_t cnt, loff_t *ppos) cnt 2790 drivers/mmc/core/block.c return simple_read_from_buffer(ubuf, cnt, ppos, cnt 60 drivers/mmc/core/mmc_test.c unsigned int cnt; cnt 320 drivers/mmc/core/mmc_test.c while (mem->cnt--) cnt 321 drivers/mmc/core/mmc_test.c __free_pages(mem->arr[mem->cnt].page, cnt 322 drivers/mmc/core/mmc_test.c mem->arr[mem->cnt].order); cnt 382 drivers/mmc/core/mmc_test.c mem->arr[mem->cnt].page = page; cnt 383 drivers/mmc/core/mmc_test.c mem->arr[mem->cnt].order = order; cnt 384 drivers/mmc/core/mmc_test.c mem->cnt += 1; cnt 389 drivers/mmc/core/mmc_test.c if (mem->cnt >= max_segs) { cnt 422 drivers/mmc/core/mmc_test.c for (i = 0; i < mem->cnt; i++) { cnt 466 drivers/mmc/core/mmc_test.c unsigned int i = mem->cnt, cnt; cnt 475 drivers/mmc/core/mmc_test.c cnt = 1 << mem->arr[i].order; cnt 476 drivers/mmc/core/mmc_test.c while (sz && cnt) { cnt 477 drivers/mmc/core/mmc_test.c addr = base + PAGE_SIZE * --cnt; cnt 497 drivers/mmc/core/mmc_test.c i = mem->cnt; cnt 1769 drivers/mmc/core/mmc_test.c unsigned int dev_addr, i, cnt; cnt 1773 drivers/mmc/core/mmc_test.c cnt = t->max_sz / sz; cnt 1776 drivers/mmc/core/mmc_test.c for (i = 0; i < cnt; i++) { cnt 1783 drivers/mmc/core/mmc_test.c mmc_test_print_avg_rate(test, sz, cnt, &ts1, &ts2); cnt 1808 drivers/mmc/core/mmc_test.c unsigned int dev_addr, i, cnt; cnt 1815 drivers/mmc/core/mmc_test.c cnt = t->max_sz / sz; cnt 1818 drivers/mmc/core/mmc_test.c for (i = 0; i < cnt; i++) { cnt 1825 drivers/mmc/core/mmc_test.c mmc_test_print_avg_rate(test, sz, cnt, &ts1, &ts2); cnt 1854 drivers/mmc/core/mmc_test.c unsigned int dev_addr, i, cnt; cnt 1871 drivers/mmc/core/mmc_test.c cnt = t->max_sz / sz; cnt 1874 drivers/mmc/core/mmc_test.c for (i = 0; i < cnt; i++) { cnt 1882 drivers/mmc/core/mmc_test.c mmc_test_print_avg_rate(test, sz, cnt, &ts1, &ts2); cnt 1901 drivers/mmc/core/mmc_test.c unsigned int dev_addr, cnt, rnd_addr, range1, range2, last_ea = 0, ea; cnt 1913 drivers/mmc/core/mmc_test.c for (cnt = 0; cnt < UINT_MAX; cnt++) { cnt 1929 drivers/mmc/core/mmc_test.c mmc_test_print_avg_rate(test, sz, cnt, &ts1, &ts2); cnt 1988 drivers/mmc/core/mmc_test.c unsigned int dev_addr, i, cnt, sz, ssz; cnt 2013 drivers/mmc/core/mmc_test.c cnt = tot_sz / sz; cnt 2017 drivers/mmc/core/mmc_test.c for (i = 0; i < cnt; i++) { cnt 2026 drivers/mmc/core/mmc_test.c mmc_test_print_avg_rate(test, sz, cnt, &ts1, &ts2); cnt 2181 drivers/mmc/host/dw_mmc.c static void dw_mci_set_part_bytes(struct dw_mci *host, void *buf, int cnt) cnt 2183 drivers/mmc/host/dw_mmc.c memcpy((void *)&host->part_buf, buf, cnt); cnt 2184 drivers/mmc/host/dw_mmc.c host->part_buf_count = cnt; cnt 2188 drivers/mmc/host/dw_mmc.c static int dw_mci_push_part_bytes(struct dw_mci *host, void *buf, int cnt) cnt 2190 drivers/mmc/host/dw_mmc.c cnt = min(cnt, (1 << host->data_shift) - host->part_buf_count); cnt 2191 drivers/mmc/host/dw_mmc.c memcpy((void *)&host->part_buf + host->part_buf_count, buf, cnt); cnt 2192 drivers/mmc/host/dw_mmc.c host->part_buf_count += cnt; cnt 2193 drivers/mmc/host/dw_mmc.c return cnt; cnt 2197 drivers/mmc/host/dw_mmc.c static int dw_mci_pull_part_bytes(struct dw_mci *host, void *buf, int cnt) cnt 2199 drivers/mmc/host/dw_mmc.c cnt = min_t(int, cnt, host->part_buf_count); cnt 2200 drivers/mmc/host/dw_mmc.c if (cnt) { cnt 2202 drivers/mmc/host/dw_mmc.c cnt); cnt 2203 drivers/mmc/host/dw_mmc.c host->part_buf_count -= cnt; cnt 2204 drivers/mmc/host/dw_mmc.c host->part_buf_start += cnt; cnt 2206 drivers/mmc/host/dw_mmc.c return cnt; cnt 2210 drivers/mmc/host/dw_mmc.c static void dw_mci_pull_final_bytes(struct dw_mci *host, void *buf, int cnt) cnt 2212 drivers/mmc/host/dw_mmc.c memcpy(buf, &host->part_buf, cnt); cnt 2213 drivers/mmc/host/dw_mmc.c host->part_buf_start = cnt; cnt 2214 drivers/mmc/host/dw_mmc.c host->part_buf_count = (1 << host->data_shift) - cnt; cnt 2217 drivers/mmc/host/dw_mmc.c static void dw_mci_push_data16(struct dw_mci *host, void *buf, int cnt) cnt 2220 drivers/mmc/host/dw_mmc.c int init_cnt = cnt; cnt 2224 drivers/mmc/host/dw_mmc.c int len = dw_mci_push_part_bytes(host, buf, cnt); cnt 2227 drivers/mmc/host/dw_mmc.c cnt -= len; cnt 2235 drivers/mmc/host/dw_mmc.c while (cnt >= 2) { cnt 2237 drivers/mmc/host/dw_mmc.c int len = min(cnt & -2, (int)sizeof(aligned_buf)); cnt 2243 drivers/mmc/host/dw_mmc.c cnt -= len; cnt 2253 drivers/mmc/host/dw_mmc.c for (; cnt >= 2; cnt -= 2) cnt 2258 drivers/mmc/host/dw_mmc.c if (cnt) { cnt 2259 drivers/mmc/host/dw_mmc.c dw_mci_set_part_bytes(host, buf, cnt); cnt 2267 drivers/mmc/host/dw_mmc.c static void dw_mci_pull_data16(struct dw_mci *host, void *buf, int cnt) cnt 2271 drivers/mmc/host/dw_mmc.c while (cnt >= 2) { cnt 2274 drivers/mmc/host/dw_mmc.c int len = min(cnt & -2, (int)sizeof(aligned_buf)); cnt 2283 drivers/mmc/host/dw_mmc.c cnt -= len; cnt 2290 drivers/mmc/host/dw_mmc.c for (; cnt >= 2; cnt -= 2) cnt 2294 drivers/mmc/host/dw_mmc.c if (cnt) { cnt 2296 drivers/mmc/host/dw_mmc.c dw_mci_pull_final_bytes(host, buf, cnt); cnt 2300 drivers/mmc/host/dw_mmc.c static void dw_mci_push_data32(struct dw_mci *host, void *buf, int cnt) cnt 2303 drivers/mmc/host/dw_mmc.c int init_cnt = cnt; cnt 2307 drivers/mmc/host/dw_mmc.c int len = dw_mci_push_part_bytes(host, buf, cnt); cnt 2310 drivers/mmc/host/dw_mmc.c cnt -= len; cnt 2318 drivers/mmc/host/dw_mmc.c while (cnt >= 4) { cnt 2320 drivers/mmc/host/dw_mmc.c int len = min(cnt & -4, (int)sizeof(aligned_buf)); cnt 2326 drivers/mmc/host/dw_mmc.c cnt -= len; cnt 2336 drivers/mmc/host/dw_mmc.c for (; cnt >= 4; cnt -= 4) cnt 2341 drivers/mmc/host/dw_mmc.c if (cnt) { cnt 2342 drivers/mmc/host/dw_mmc.c dw_mci_set_part_bytes(host, buf, cnt); cnt 2350 drivers/mmc/host/dw_mmc.c static void dw_mci_pull_data32(struct dw_mci *host, void *buf, int cnt) cnt 2354 drivers/mmc/host/dw_mmc.c while (cnt >= 4) { cnt 2357 drivers/mmc/host/dw_mmc.c int len = min(cnt & -4, (int)sizeof(aligned_buf)); cnt 2366 drivers/mmc/host/dw_mmc.c cnt -= len; cnt 2373 drivers/mmc/host/dw_mmc.c for (; cnt >= 4; cnt -= 4) cnt 2377 drivers/mmc/host/dw_mmc.c if (cnt) { cnt 2379 drivers/mmc/host/dw_mmc.c dw_mci_pull_final_bytes(host, buf, cnt); cnt 2383 drivers/mmc/host/dw_mmc.c static void dw_mci_push_data64(struct dw_mci *host, void *buf, int cnt) cnt 2386 drivers/mmc/host/dw_mmc.c int init_cnt = cnt; cnt 2390 drivers/mmc/host/dw_mmc.c int len = dw_mci_push_part_bytes(host, buf, cnt); cnt 2393 drivers/mmc/host/dw_mmc.c cnt -= len; cnt 2402 drivers/mmc/host/dw_mmc.c while (cnt >= 8) { cnt 2404 drivers/mmc/host/dw_mmc.c int len = min(cnt & -8, (int)sizeof(aligned_buf)); cnt 2410 drivers/mmc/host/dw_mmc.c cnt -= len; cnt 2420 drivers/mmc/host/dw_mmc.c for (; cnt >= 8; cnt -= 8) cnt 2425 drivers/mmc/host/dw_mmc.c if (cnt) { cnt 2426 drivers/mmc/host/dw_mmc.c dw_mci_set_part_bytes(host, buf, cnt); cnt 2434 drivers/mmc/host/dw_mmc.c static void dw_mci_pull_data64(struct dw_mci *host, void *buf, int cnt) cnt 2438 drivers/mmc/host/dw_mmc.c while (cnt >= 8) { cnt 2441 drivers/mmc/host/dw_mmc.c int len = min(cnt & -8, (int)sizeof(aligned_buf)); cnt 2451 drivers/mmc/host/dw_mmc.c cnt -= len; cnt 2458 drivers/mmc/host/dw_mmc.c for (; cnt >= 8; cnt -= 8) cnt 2462 drivers/mmc/host/dw_mmc.c if (cnt) { cnt 2464 drivers/mmc/host/dw_mmc.c dw_mci_pull_final_bytes(host, buf, cnt); cnt 2468 drivers/mmc/host/dw_mmc.c static void dw_mci_pull_data(struct dw_mci *host, void *buf, int cnt) cnt 2473 drivers/mmc/host/dw_mmc.c len = dw_mci_pull_part_bytes(host, buf, cnt); cnt 2474 drivers/mmc/host/dw_mmc.c if (unlikely(len == cnt)) cnt 2477 drivers/mmc/host/dw_mmc.c cnt -= len; cnt 2480 drivers/mmc/host/dw_mmc.c host->pull_data(host, buf, cnt); cnt 221 drivers/mmc/host/dw_mmc.h void (*push_data)(struct dw_mci *host, void *buf, int cnt); cnt 222 drivers/mmc/host/dw_mmc.h void (*pull_data)(struct dw_mci *host, void *buf, int cnt); cnt 448 drivers/mmc/host/sdhci-msm.c int i, cnt, phase_0_raw_index = 0, phase_15_raw_index = 0; cnt 458 drivers/mmc/host/sdhci-msm.c for (cnt = 0; cnt < total_phases; cnt++) { cnt 459 drivers/mmc/host/sdhci-msm.c ranges[row_index][col_index] = phase_table[cnt]; cnt 463 drivers/mmc/host/sdhci-msm.c if ((cnt + 1) == total_phases) { cnt 466 drivers/mmc/host/sdhci-msm.c } else if ((phase_table[cnt] + 1) != phase_table[cnt + 1]) { cnt 480 drivers/mmc/host/sdhci-msm.c for (cnt = 1; cnt <= row_index; cnt++) { cnt 481 drivers/mmc/host/sdhci-msm.c if (phases_per_row[cnt]) { cnt 482 drivers/mmc/host/sdhci-msm.c for (i = 0; i < phases_per_row[cnt]; i++) { cnt 483 drivers/mmc/host/sdhci-msm.c if (ranges[cnt][i] == 15) { cnt 485 drivers/mmc/host/sdhci-msm.c phase_15_raw_index = cnt; cnt 510 drivers/mmc/host/sdhci-msm.c for (cnt = 0; cnt < phases_0; cnt++) { cnt 512 drivers/mmc/host/sdhci-msm.c ranges[phase_0_raw_index][cnt]; cnt 521 drivers/mmc/host/sdhci-msm.c for (cnt = 0; cnt <= row_index; cnt++) { cnt 522 drivers/mmc/host/sdhci-msm.c if (phases_per_row[cnt] > curr_max) { cnt 523 drivers/mmc/host/sdhci-msm.c curr_max = phases_per_row[cnt]; cnt 524 drivers/mmc/host/sdhci-msm.c selected_row_index = cnt; cnt 111 drivers/mmc/host/tifm_sd.c unsigned int off, unsigned int cnt) cnt 123 drivers/mmc/host/tifm_sd.c while (pos < cnt) { cnt 126 drivers/mmc/host/tifm_sd.c if (pos == cnt) { cnt 137 drivers/mmc/host/tifm_sd.c unsigned int off, unsigned int cnt) cnt 150 drivers/mmc/host/tifm_sd.c while (pos < cnt) { cnt 152 drivers/mmc/host/tifm_sd.c if (pos == cnt) { cnt 167 drivers/mmc/host/tifm_sd.c unsigned int off, cnt, t_size = TIFM_MMCSD_FIFO_SIZE * 2; cnt 174 drivers/mmc/host/tifm_sd.c cnt = sg[host->sg_pos].length - host->block_pos; cnt 175 drivers/mmc/host/tifm_sd.c if (!cnt) { cnt 187 drivers/mmc/host/tifm_sd.c cnt = sg[host->sg_pos].length; cnt 194 drivers/mmc/host/tifm_sd.c p_cnt = min(p_cnt, cnt); cnt 224 drivers/mmc/host/tifm_sd.c unsigned int off, cnt; cnt 230 drivers/mmc/host/tifm_sd.c cnt = sg[host->sg_pos].length - host->block_pos; cnt 231 drivers/mmc/host/tifm_sd.c if (!cnt) { cnt 236 drivers/mmc/host/tifm_sd.c cnt = sg[host->sg_pos].length; cnt 243 drivers/mmc/host/tifm_sd.c p_cnt = min(p_cnt, cnt); cnt 1460 drivers/mtd/mtdcore.c int cnt; cnt 1462 drivers/mtd/mtdcore.c cnt = min_t(int, nbytes, oobregion.length); cnt 1463 drivers/mtd/mtdcore.c memcpy(buf, oobbuf + oobregion.offset, cnt); cnt 1464 drivers/mtd/mtdcore.c buf += cnt; cnt 1465 drivers/mtd/mtdcore.c nbytes -= cnt; cnt 1503 drivers/mtd/mtdcore.c int cnt; cnt 1505 drivers/mtd/mtdcore.c cnt = min_t(int, nbytes, oobregion.length); cnt 1506 drivers/mtd/mtdcore.c memcpy(oobbuf + oobregion.offset, buf, cnt); cnt 1507 drivers/mtd/mtdcore.c buf += cnt; cnt 1508 drivers/mtd/mtdcore.c nbytes -= cnt; cnt 421 drivers/mtd/mtdswap.c unsigned int i, cnt, median; cnt 423 drivers/mtd/mtdswap.c cnt = 0; cnt 431 drivers/mtd/mtdswap.c cnt++; cnt 434 drivers/mtd/mtdswap.c if (cnt == 0) cnt 437 drivers/mtd/mtdswap.c medrb = mtdswap_rb_index(&hist_root, cnt / 2); cnt 66 drivers/mtd/nand/raw/fsl_upm.c int cnt = 1000000; cnt 68 drivers/mtd/nand/raw/fsl_upm.c while (--cnt && !fun_chip_ready(&fun->chip)) cnt 70 drivers/mtd/nand/raw/fsl_upm.c if (!cnt) cnt 172 drivers/mtd/nand/raw/nand_hynix.c int cnt = 0; cnt 178 drivers/mtd/nand/raw/nand_hynix.c cnt++; cnt 182 drivers/mtd/nand/raw/nand_hynix.c if (cnt > half) { cnt 120 drivers/mtd/nand/raw/nand_onfi.c unsigned int cnt = 0; cnt 126 drivers/mtd/nand/raw/nand_onfi.c cnt++; cnt 129 drivers/mtd/nand/raw/nand_onfi.c if (cnt > nsrcbufs / 2) cnt 441 drivers/mtd/nand/raw/sunxi_nand.c int cnt; cnt 448 drivers/mtd/nand/raw/sunxi_nand.c cnt = min(len - offs, NFC_SRAM_SIZE); cnt 454 drivers/mtd/nand/raw/sunxi_nand.c writel(cnt, nfc->regs + NFC_REG_CNT); cnt 459 drivers/mtd/nand/raw/sunxi_nand.c if (cnt < 64) cnt 468 drivers/mtd/nand/raw/sunxi_nand.c cnt); cnt 469 drivers/mtd/nand/raw/sunxi_nand.c offs += cnt; cnt 479 drivers/mtd/nand/raw/sunxi_nand.c int cnt; cnt 486 drivers/mtd/nand/raw/sunxi_nand.c cnt = min(len - offs, NFC_SRAM_SIZE); cnt 492 drivers/mtd/nand/raw/sunxi_nand.c writel(cnt, nfc->regs + NFC_REG_CNT); cnt 493 drivers/mtd/nand/raw/sunxi_nand.c memcpy_toio(nfc->regs + NFC_RAM0_BASE, buf + offs, cnt); cnt 499 drivers/mtd/nand/raw/sunxi_nand.c if (cnt < 64) cnt 506 drivers/mtd/nand/raw/sunxi_nand.c offs += cnt; cnt 1775 drivers/mtd/nand/raw/sunxi_nand.c u32 cmd = 0, extcmd = 0, cnt = 0, addrs[2] = { }; cnt 1815 drivers/mtd/nand/raw/sunxi_nand.c cnt = min_t(u32, remaining, NFC_SRAM_SIZE); cnt 1822 drivers/mtd/nand/raw/sunxi_nand.c cnt); cnt 1851 drivers/mtd/nand/raw/sunxi_nand.c writel(cnt, nfc->regs + NFC_REG_CNT); cnt 1856 drivers/mtd/nand/raw/sunxi_nand.c !(cmd & NFC_WAIT_FLAG) && cnt < 64, cnt 1862 drivers/mtd/nand/raw/sunxi_nand.c memcpy_fromio(inbuf, nfc->regs + NFC_RAM0_BASE, cnt); cnt 51 drivers/mtd/spi-nor/hisi-sfc.c #define FMC_DATA_NUM_CNT(cnt) ((cnt) & GENMASK(13, 0)) cnt 645 drivers/mtd/tests/oobtest.c int cnt = 2; cnt 651 drivers/mtd/tests/oobtest.c prandom_bytes_state(&rnd_state, writebuf, sz * cnt); cnt 652 drivers/mtd/tests/oobtest.c for (pg = 0; pg < cnt; ++pg) { cnt 258 drivers/net/can/c_can/c_can.c int cnt, reg = C_CAN_IFACE(COMREQ_REG, iface); cnt 262 drivers/net/can/c_can/c_can.c for (cnt = MIN_TIMEOUT_VALUE; cnt; cnt--) { cnt 598 drivers/net/can/pch_can.c int cnt; cnt 599 drivers/net/can/pch_can.c for (cnt = 0; cnt < PCH_FIFO_THRESH; cnt++) cnt 600 drivers/net/can/pch_can.c pch_can_int_clr(priv, cnt + 1); cnt 155 drivers/net/can/softing/softing_main.c int cnt = 0, lost_msg; cnt 188 drivers/net/can/softing/softing_main.c ++cnt; cnt 197 drivers/net/can/softing/softing_main.c return cnt; cnt 311 drivers/net/can/softing/softing_main.c ++cnt; cnt 312 drivers/net/can/softing/softing_main.c return cnt; cnt 305 drivers/net/can/ti_hecc.c u32 cnt; cnt 318 drivers/net/can/ti_hecc.c cnt = HECC_CCE_WAIT_COUNT; cnt 319 drivers/net/can/ti_hecc.c while (!hecc_get_bit(priv, HECC_CANES, HECC_CANES_CCE) && cnt != 0) { cnt 320 drivers/net/can/ti_hecc.c --cnt; cnt 340 drivers/net/can/ti_hecc.c cnt = HECC_CCE_WAIT_COUNT; cnt 341 drivers/net/can/ti_hecc.c while (hecc_get_bit(priv, HECC_CANES, HECC_CANES_CCE) && cnt != 0) { cnt 342 drivers/net/can/ti_hecc.c --cnt; cnt 365 drivers/net/can/ti_hecc.c u32 cnt, mbxno, mbx_mask; cnt 377 drivers/net/can/ti_hecc.c for (cnt = 0; cnt < HECC_MAX_RX_MBOX; cnt++) { cnt 378 drivers/net/can/ti_hecc.c mbxno = HECC_MAX_MAILBOXES - 1 - cnt; cnt 913 drivers/net/dsa/bcm_sf2.c int cnt = b53_get_sset_count(ds, port, stringset); cnt 917 drivers/net/dsa/bcm_sf2.c data + cnt * ETH_GSTRING_LEN); cnt 923 drivers/net/dsa/bcm_sf2.c int cnt = b53_get_sset_count(ds, port, ETH_SS_STATS); cnt 926 drivers/net/dsa/bcm_sf2.c bcm_sf2_cfp_get_ethtool_stats(ds, port, data + cnt); cnt 932 drivers/net/dsa/bcm_sf2.c int cnt = b53_get_sset_count(ds, port, sset); cnt 934 drivers/net/dsa/bcm_sf2.c if (cnt < 0) cnt 935 drivers/net/dsa/bcm_sf2.c return cnt; cnt 937 drivers/net/dsa/bcm_sf2.c cnt += bcm_sf2_cfp_get_sset_count(ds, port, sset); cnt 939 drivers/net/dsa/bcm_sf2.c return cnt; cnt 425 drivers/net/dsa/lantiq_gswip.c int cnt = 100; cnt 427 drivers/net/dsa/lantiq_gswip.c while (likely(cnt--)) { cnt 121 drivers/net/dsa/microchip/ksz8795.c u64 *cnt) cnt 143 drivers/net/dsa/microchip/ksz8795.c *cnt += MIB_COUNTER_VALUE + 1; cnt 144 drivers/net/dsa/microchip/ksz8795.c *cnt += data & MIB_COUNTER_VALUE; cnt 152 drivers/net/dsa/microchip/ksz8795.c u64 *dropped, u64 *cnt) cnt 180 drivers/net/dsa/microchip/ksz8795.c *cnt += total; cnt 181 drivers/net/dsa/microchip/ksz8795.c *cnt += data; cnt 185 drivers/net/dsa/microchip/ksz8795.c *cnt += total; cnt 189 drivers/net/dsa/microchip/ksz8795.c *cnt += MIB_PACKET_DROPPED + 1; cnt 190 drivers/net/dsa/microchip/ksz8795.c *cnt += data & MIB_PACKET_DROPPED; cnt 310 drivers/net/dsa/microchip/ksz8795.c int cnt; cnt 317 drivers/net/dsa/microchip/ksz8795.c cnt = data & DYNAMIC_MAC_TABLE_ENTRIES_H; cnt 318 drivers/net/dsa/microchip/ksz8795.c cnt <<= DYNAMIC_MAC_ENTRIES_H_S; cnt 319 drivers/net/dsa/microchip/ksz8795.c cnt |= (data_hi & DYNAMIC_MAC_TABLE_ENTRIES) >> cnt 321 drivers/net/dsa/microchip/ksz8795.c *entries = cnt + 1; cnt 762 drivers/net/dsa/microchip/ksz8795.c int first, index, cnt; cnt 767 drivers/net/dsa/microchip/ksz8795.c cnt = port + 1; cnt 771 drivers/net/dsa/microchip/ksz8795.c cnt = dev->mib_port_cnt; cnt 773 drivers/net/dsa/microchip/ksz8795.c for (index = first; index < cnt; index++) { cnt 783 drivers/net/dsa/microchip/ksz8795.c for (index = first; index < cnt; index++) { cnt 233 drivers/net/dsa/microchip/ksz9477.c u64 *cnt) cnt 257 drivers/net/dsa/microchip/ksz9477.c *cnt += data; cnt 261 drivers/net/dsa/microchip/ksz9477.c u64 *dropped, u64 *cnt) cnt 264 drivers/net/dsa/microchip/ksz9477.c ksz9477_r_mib_cnt(dev, port, addr, cnt); cnt 137 drivers/net/dsa/microchip/ksz_common.h u64 *cnt); cnt 139 drivers/net/dsa/microchip/ksz_common.h u64 *dropped, u64 *cnt); cnt 915 drivers/net/dsa/mt7530.c int cnt = MT7530_NUM_FDB_RECORDS; cnt 935 drivers/net/dsa/mt7530.c } while (--cnt && cnt 1000 drivers/net/dsa/qca8k.c int cnt = QCA8K_NUM_FDB_RECORDS; cnt 1005 drivers/net/dsa/qca8k.c while (cnt-- && !qca8k_fdb_next(priv, &_fdb, port)) { cnt 925 drivers/net/dsa/vitesse-vsc73xx-core.c const struct vsc73xx_counter *cnt; cnt 927 drivers/net/dsa/vitesse-vsc73xx-core.c cnt = &cnts[i]; cnt 928 drivers/net/dsa/vitesse-vsc73xx-core.c if (cnt->counter == counter) cnt 929 drivers/net/dsa/vitesse-vsc73xx-core.c return cnt; cnt 938 drivers/net/dsa/vitesse-vsc73xx-core.c const struct vsc73xx_counter *cnt; cnt 973 drivers/net/dsa/vitesse-vsc73xx-core.c cnt = vsc73xx_find_counter(vsc, indices[i], false); cnt 974 drivers/net/dsa/vitesse-vsc73xx-core.c if (cnt) cnt 976 drivers/net/dsa/vitesse-vsc73xx-core.c cnt->name, ETH_GSTRING_LEN); cnt 986 drivers/net/dsa/vitesse-vsc73xx-core.c cnt = vsc73xx_find_counter(vsc, indices[i], true); cnt 987 drivers/net/dsa/vitesse-vsc73xx-core.c if (cnt) cnt 989 drivers/net/dsa/vitesse-vsc73xx-core.c cnt->name, ETH_GSTRING_LEN); cnt 392 drivers/net/ethernet/8390/apne.c int cnt; cnt 415 drivers/net/ethernet/8390/apne.c for(cnt = 0; cnt < (sizeof(struct e8390_pkt_hdr)>>1); cnt++) cnt 419 drivers/net/ethernet/8390/apne.c for(cnt = 0; cnt < sizeof(struct e8390_pkt_hdr); cnt++) cnt 441 drivers/net/ethernet/8390/apne.c int cnt; cnt 460 drivers/net/ethernet/8390/apne.c for (cnt = 0; cnt < (count>>1); cnt++) cnt 467 drivers/net/ethernet/8390/apne.c for (cnt = 0; cnt < count; cnt++) cnt 483 drivers/net/ethernet/8390/apne.c int cnt; cnt 513 drivers/net/ethernet/8390/apne.c for (cnt = 0; cnt < count>>1; cnt++) cnt 517 drivers/net/ethernet/8390/apne.c for (cnt = 0; cnt < count; cnt++) cnt 115 drivers/net/ethernet/8390/zorro8390.c int cnt; cnt 138 drivers/net/ethernet/8390/zorro8390.c for (cnt = 0; cnt < sizeof(struct e8390_pkt_hdr) >> 1; cnt++) cnt 160 drivers/net/ethernet/8390/zorro8390.c int cnt; cnt 179 drivers/net/ethernet/8390/zorro8390.c for (cnt = 0; cnt < count >> 1; cnt++) cnt 195 drivers/net/ethernet/8390/zorro8390.c int cnt; cnt 226 drivers/net/ethernet/8390/zorro8390.c for (cnt = 0; cnt < count >> 1; cnt++) cnt 236 drivers/net/ethernet/amazon/ena/ena_com.c u16 cnt; cnt 243 drivers/net/ethernet/amazon/ena/ena_com.c cnt = (u16)atomic_read(&admin_queue->outstanding_cmds); cnt 244 drivers/net/ethernet/amazon/ena/ena_com.c if (cnt >= admin_queue->q_depth) { cnt 100 drivers/net/ethernet/amazon/ena/ena_eth_com.h u16 tail, next_to_comp, cnt; cnt 104 drivers/net/ethernet/amazon/ena/ena_eth_com.h cnt = tail - next_to_comp; cnt 106 drivers/net/ethernet/amazon/ena/ena_eth_com.h return io_sq->q_depth - 1 - cnt; cnt 72 drivers/net/ethernet/amazon/ena/ena_ethtool.c ENA_STAT_TX_ENTRY(cnt), cnt 89 drivers/net/ethernet/amazon/ena/ena_ethtool.c ENA_STAT_RX_ENTRY(cnt), cnt 627 drivers/net/ethernet/amazon/ena/ena_netdev.c u32 cnt; cnt 631 drivers/net/ethernet/amazon/ena/ena_netdev.c cnt = tx_info->num_of_bufs; cnt 633 drivers/net/ethernet/amazon/ena/ena_netdev.c if (unlikely(!cnt)) cnt 642 drivers/net/ethernet/amazon/ena/ena_netdev.c cnt--; cnt 646 drivers/net/ethernet/amazon/ena/ena_netdev.c for (i = 0; i < cnt; i++) { cnt 1123 drivers/net/ethernet/amazon/ena/ena_netdev.c rx_ring->rx_stats.cnt += work_done; cnt 1178 drivers/net/ethernet/amazon/ena/ena_netdev.c rx_ring->rx_stats.cnt, cnt 2323 drivers/net/ethernet/amazon/ena/ena_netdev.c tx_ring->tx_stats.cnt++; cnt 2509 drivers/net/ethernet/amazon/ena/ena_netdev.c packets = tx_ring->tx_stats.cnt; cnt 2520 drivers/net/ethernet/amazon/ena/ena_netdev.c packets = rx_ring->rx_stats.cnt; cnt 209 drivers/net/ethernet/amazon/ena/ena_netdev.h u64 cnt; cnt 226 drivers/net/ethernet/amazon/ena/ena_netdev.h u64 cnt; cnt 1048 drivers/net/ethernet/amd/ni65.c int cnt=0; cnt 1054 drivers/net/ethernet/amd/ni65.c cnt++; cnt 285 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c u32 *p, u32 cnt) cnt 307 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c for (++cnt; --cnt && !err;) { cnt 331 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c u32 cnt) cnt 345 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c for (; offset < cnt; ++offset) { cnt 362 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c for (; offset < cnt; ++offset) { cnt 476 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.h u32 *p, u32 cnt); cnt 1198 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h int cnt = 1000; cnt 1201 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h if (!cnt) { cnt 1212 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h cnt--; cnt 2473 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c int cnt = 1400; cnt 2476 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c while (bnx2x_link_test(bp, is_serdes) && cnt--) cnt 2479 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (cnt <= 0 && bnx2x_link_test(bp, is_serdes)) cnt 2482 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c cnt = 1400; cnt 2483 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c while (!bp->link_vars.link_up && cnt--) cnt 2486 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (cnt <= 0 && !bp->link_vars.link_up) cnt 2844 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c u32 rc, cnt, dir_offset = NVRAM_DIR_OFFSET; cnt 2859 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c &cnt, sizeof(u32)); cnt 2865 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c for (i = 0; i < cnt && i < MAX_IMAGES_IN_EXTENDED_DIR; i++) { cnt 3012 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c int rc, cnt = 0; cnt 3115 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c cnt = 100; cnt 3116 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c while (bnx2x_link_test(bp, is_serdes) && --cnt) cnt 3120 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (!cnt) { cnt 6015 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 cnt, ctrl; cnt 6017 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c for (cnt = 0; cnt < 1000; cnt++) { cnt 6030 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (cnt == 1000) cnt 6034 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c DP(NETIF_MSG_LINK, "control reg 0x%x (after %d ms)\n", ctrl, cnt); cnt 6035 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c return cnt; cnt 7249 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 val, cnt, cnt1 ; cnt 7265 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c for (cnt = 0; cnt < 1000; cnt++) { cnt 7943 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u8 i, j = 0, cnt = 0; cnt 7957 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if ((!is_init) && (cnt == I2C_WA_PWR_ITER)) { cnt 7965 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c } while ((rc != 0) && (++cnt < I2C_WA_RETRY_CNT)); cnt 8895 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 cnt, val, tmp1; cnt 8906 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c for (cnt = 0; cnt < 100; cnt++) { cnt 8913 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c DP(NETIF_MSG_LINK, "XGXS 8706 is initialized after %d ms\n", cnt); cnt 9650 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 val, fw_ver2, cnt, i; cnt 9672 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c for (cnt = 0; cnt < 100; cnt++) { cnt 9678 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (cnt == 100) { cnt 9691 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c for (cnt = 0; cnt < 100; cnt++) { cnt 9697 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (cnt == 100) { cnt 11563 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 val, cnt; cnt 11569 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c for (cnt = 0; cnt < 10; cnt++) { cnt 524 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int cnt = CHIP_REV_IS_SLOW(bp) ? (400000) : 4000; cnt 546 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (!cnt || cnt 553 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c cnt--; cnt 1983 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int cnt; cnt 2008 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c for (cnt = 0; cnt < 1000; cnt++) { cnt 3006 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 cnt = 1; cnt 3024 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c } while ((seq != (rc & FW_MSG_SEQ_NUMBER_MASK)) && (cnt++ < 500)); cnt 3027 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c cnt*delay, rc, seq); cnt 4100 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 cnt = 0, igu_acked; cnt 4105 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c (++cnt < MAX_IGU_ATTN_ACK_TO)); cnt 7737 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 data, ctl, cnt = 100; cnt 7768 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c while (!(REG_RD(bp, igu_addr_ack) & sb_bit) && --cnt) cnt 7774 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c idu_sb_id, idu_sb_id/32, idu_sb_id%32, cnt); cnt 9619 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int cnt = 0; cnt 9641 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c } while (cnt++ < (MCP_TIMEOUT / MCP_ONE_TIMEOUT)); cnt 9783 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 cnt = 1000; cnt 9793 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c } while (cnt-- > 0); cnt 9795 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (cnt <= 0) { cnt 9806 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int cnt = 1000; cnt 9828 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c } while (cnt-- > 0); cnt 9830 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (cnt <= 0) { cnt 12270 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int cnt, i, block_end, rodi; cnt 12278 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c cnt = pci_read_vpd(bp->pdev, 0, BNX2X_VPD_LEN, vpd_start); cnt 12281 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (cnt < BNX2X_VPD_LEN) cnt 12304 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c cnt = pci_read_vpd(bp->pdev, BNX2X_VPD_LEN, cnt 12307 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (cnt < (block_end - BNX2X_VPD_LEN)) cnt 89 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c int cnt = 0; cnt 94 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cnt++; cnt 98 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c return cnt; cnt 287 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c int cnt = 5000; cnt 290 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cnt *= 20; cnt 295 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c while (cnt--) { cnt 298 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c DP(BNX2X_MSG_SP, "exit (cnt %d)\n", 5000 - cnt); cnt 1560 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c int cnt = 5000, rc; cnt 1564 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c while (cnt--) { cnt 2905 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c int cur_bin, cnt = *rdata_idx; cnt 2913 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c o->set_one_rule(bp, o, cnt, &cfg_data, cnt 2916 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cnt++; cnt 2923 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (cnt >= o->max_cmd_len) cnt 2927 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c *rdata_idx = cnt; cnt 2937 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c int cnt = *line_idx; cnt 2944 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c o->set_one_rule(bp, o, cnt, &cfg_data, cmd_pos->type); cnt 2946 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cnt++; cnt 2956 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (cnt >= o->max_cmd_len) cnt 2960 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c *line_idx = cnt; cnt 2971 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c int cnt = *line_idx; cnt 2974 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c o->set_one_rule(bp, o, cnt, NULL, cmd_pos->type); cnt 2976 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cnt++; cnt 2981 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cmd_pos->data.macs_num, cnt); cnt 2986 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (cnt >= o->max_cmd_len) cnt 2990 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c *line_idx = cnt; cnt 3021 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c int cnt = 0, mac_cnt = 0, offset = 0, i; cnt 3060 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cnt++; cnt 3074 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c o->total_pending_num += cnt; cnt 3083 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c int *cnt) cnt 3101 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c o->set_one_rule(bp, o, *cnt, &cfg_data, p_item->type); cnt 3102 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c (*cnt)++; cnt 3107 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (*cnt >= o->max_cmd_len) cnt 3120 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c int cnt = 0; cnt 3127 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c bnx2x_mcast_hdl_pending_add_e2(bp, o, cmd_pos, &cnt); cnt 3131 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c bnx2x_mcast_hdl_pending_del_e2(bp, o, cmd_pos, &cnt); cnt 3136 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c &cnt); cnt 3140 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c bnx2x_mcast_hdl_pending_set_e2(bp, o, cmd_pos, &cnt); cnt 3158 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (cnt >= o->max_cmd_len) cnt 3162 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c return cnt; cnt 3171 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c int cnt = *line_idx; cnt 3175 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c o->set_one_rule(bp, o, cnt, &cfg_data, BNX2X_MCAST_CMD_ADD); cnt 3177 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cnt++; cnt 3183 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c *line_idx = cnt; cnt 3190 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c int cnt = *line_idx, i; cnt 3193 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c o->set_one_rule(bp, o, cnt, NULL, BNX2X_MCAST_CMD_DEL); cnt 3195 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cnt++; cnt 3201 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c *line_idx = cnt; cnt 3222 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c int cnt = start_cnt; cnt 3228 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c bnx2x_mcast_hdl_add(bp, o, p, &cnt); cnt 3232 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c bnx2x_mcast_hdl_del(bp, o, p, &cnt); cnt 3236 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c o->hdl_restore(bp, o, 0, &cnt); cnt 3247 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c return cnt; cnt 3357 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c int i, cnt = 0; cnt 3362 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c for (; elem; cnt++) cnt 3366 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c o->set_registry_size(o, cnt); cnt 3379 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c int cnt = 0, rc; cnt 3384 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cnt = bnx2x_mcast_handle_pending_cmds_e2(bp, p); cnt 3397 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cnt = bnx2x_mcast_handle_current_cmd(bp, p, cmd, cnt); cnt 3402 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c o->total_pending_num -= cnt; cnt 3406 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c WARN_ON(cnt > o->max_cmd_len); cnt 3408 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c bnx2x_mcast_set_rdata_hdr_e2(bp, p, (u8)cnt); cnt 3433 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (test_bit(RAMROD_DRV_CLR_ONLY, &p->ramrod_flags) || !cnt) { cnt 3754 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c int cnt = 0; cnt 3768 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c o->set_one_rule(bp, o, cnt, &cfg_data, cmd_pos->type); cnt 3770 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cnt++; cnt 3778 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cnt = cmd_pos->data.macs_num; cnt 3779 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c DP(BNX2X_MSG_SP, "About to delete %d multicast MACs\n", cnt); cnt 3783 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c o->hdl_restore(bp, o, 0, &cnt); cnt 3795 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c return cnt; cnt 3883 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c int cnt = 0, i, rc; cnt 3895 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cnt = bnx2x_mcast_handle_pending_cmds_e1(bp, p); cnt 3902 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (!cnt) cnt 3903 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cnt = bnx2x_mcast_handle_current_cmd(bp, p, cmd, 0); cnt 3912 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c WARN_ON(cnt > o->max_cmd_len); cnt 3915 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c bnx2x_mcast_set_rdata_hdr_e1(bp, p, (u8)cnt); cnt 4208 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c static bool bnx2x_credit_pool_get(struct bnx2x_credit_pool_obj *o, int cnt) cnt 4213 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c rc = __atomic_dec_ifmoe(&o->credit, cnt, 0); cnt 4219 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c static bool bnx2x_credit_pool_put(struct bnx2x_credit_pool_obj *o, int cnt) cnt 4226 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c rc = __atomic_add_ifless(&o->credit, cnt, o->pool_sz + 1); cnt 4244 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c int cnt) cnt 6505 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c int rc, cnt = 300; cnt 6515 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c while ((rc == -EBUSY) && (--cnt > 0)) { cnt 698 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h bool (*get)(struct bnx2x_credit_pool_obj *o, int cnt); cnt 706 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h bool (*put)(struct bnx2x_credit_pool_obj *o, int cnt); cnt 340 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c int cnt = 0; cnt 347 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c cnt++; cnt 352 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c atomic_set(counter, cnt); cnt 200 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c int cnt = 10; cnt 204 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c if (!cnt) { cnt 208 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c cnt--; cnt 1974 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c int cnt = 10, rc = 0; cnt 1986 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c while (bp->stats_pending && cnt--) cnt 1689 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c int i, cnt = 0; cnt 1693 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c cnt++; cnt 1695 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c return cnt; cnt 352 drivers/net/ethernet/broadcom/sb1250-mac.c int cnt; cnt 362 drivers/net/ethernet/broadcom/sb1250-mac.c for (cnt = 0; cnt < 32; cnt++) { cnt 12853 drivers/net/ethernet/broadcom/tg3.c ssize_t cnt; cnt 12857 drivers/net/ethernet/broadcom/tg3.c for (i = 0; pos < len && i < 3; i++, pos += cnt, ptr += cnt) { cnt 12858 drivers/net/ethernet/broadcom/tg3.c cnt = pci_read_vpd(tp->pdev, pos, cnt 12860 drivers/net/ethernet/broadcom/tg3.c if (cnt == -ETIMEDOUT || cnt == -EINTR) cnt 12861 drivers/net/ethernet/broadcom/tg3.c cnt = 0; cnt 12862 drivers/net/ethernet/broadcom/tg3.c else if (cnt < 0) cnt 1099 drivers/net/ethernet/brocade/bna/bfa_ioc.c int cnt = 0; cnt 1104 drivers/net/ethernet/brocade/bna/bfa_ioc.c while ((r32 & 1) && (cnt < BFA_SEM_SPINCNT)) { cnt 1105 drivers/net/ethernet/brocade/bna/bfa_ioc.c cnt++; cnt 3098 drivers/net/ethernet/cadence/macb_main.c uint32_t cnt = 0; cnt 3101 drivers/net/ethernet/cadence/macb_main.c if (cnt == cmd->rule_cnt) cnt 3103 drivers/net/ethernet/cadence/macb_main.c rule_locs[cnt] = item->fs.location; cnt 3104 drivers/net/ethernet/cadence/macb_main.c cnt++; cnt 3107 drivers/net/ethernet/cadence/macb_main.c cmd->rule_cnt = cnt; cnt 536 drivers/net/ethernet/cavium/liquidio/octeon_droq.c u32 cnt; cnt 540 drivers/net/ethernet/cavium/liquidio/octeon_droq.c cnt = octeon_droq_get_bufcount(droq->buffer_size, (u32)info->length); cnt 545 drivers/net/ethernet/cavium/liquidio/octeon_droq.c rinfo = octeon_create_recv_info(oct, droq, cnt, droq->read_idx); cnt 564 drivers/net/ethernet/cavium/liquidio/octeon_droq.c return cnt; cnt 569 drivers/net/ethernet/cavium/liquidio/octeon_droq.c u32 cnt) cnt 574 drivers/net/ethernet/cavium/liquidio/octeon_droq.c for (i = 0; i < cnt; i++) { cnt 461 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c unsigned long cnt = adap->sge.qs[0].rspq.offload_pkts; cnt 481 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c await_mgmt_replies(adap, cnt, i + 1); cnt 503 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c await_mgmt_replies(adap, cnt, 16 + i + 1); cnt 525 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c await_mgmt_replies(adap, cnt, 16 + 2048 + i + 1); cnt 544 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c i = await_mgmt_replies(adap, cnt, 16 + 2048 + 2048 + 1); cnt 546 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c i = await_mgmt_replies(adap, cnt, 16 + 2048 + 2048 + 1); cnt 1674 drivers/net/ethernet/chelsio/cxgb3/sge.c unsigned int flits, cnt; cnt 1680 drivers/net/ethernet/chelsio/cxgb3/sge.c cnt = skb_shinfo(skb)->nr_frags; cnt 1682 drivers/net/ethernet/chelsio/cxgb3/sge.c cnt++; cnt 1683 drivers/net/ethernet/chelsio/cxgb3/sge.c return flits_to_desc(flits + sgl_len(cnt)); cnt 1546 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h unsigned int cnt); cnt 1548 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h unsigned int us, unsigned int cnt, cnt 1552 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h cxgb4_set_rspq_intr_params(q, us, cnt); cnt 1706 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h void t4_pmtx_get_stats(struct adapter *adap, u32 cnt[], u64 cycles[]); cnt 1707 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h void t4_pmrx_get_stats(struct adapter *adap, u32 cnt[], u64 cycles[]); cnt 873 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c unsigned int us, unsigned int cnt) cnt 881 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c err = cxgb4_set_rspq_intr_params(&q->rspq, us, cnt); cnt 1149 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c unsigned int us, unsigned int cnt) cnt 1153 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if ((us | cnt) == 0) cnt 1154 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c cnt = 1; cnt 1156 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (cnt) { cnt 1160 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c new_idx = closest_thres(&adap->sge, cnt); cnt 1176 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c q->intr_params = QINTR_TIMER_IDX_V(us) | QINTR_CNT_EN_V(cnt > 0); cnt 2184 drivers/net/ethernet/chelsio/cxgb4/sge.c unsigned int flits, cnt; cnt 2190 drivers/net/ethernet/chelsio/cxgb4/sge.c cnt = skb_shinfo(skb)->nr_frags; cnt 2192 drivers/net/ethernet/chelsio/cxgb4/sge.c cnt++; cnt 2193 drivers/net/ethernet/chelsio/cxgb4/sge.c return flits + sgl_len(cnt); cnt 4875 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c u32 cnt = ECC_CECNT_G(t4_read_reg(adapter, cnt_addr)); cnt 4883 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cnt, name[idx], cnt > 1 ? "s" : ""); cnt 6060 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c void t4_pmtx_get_stats(struct adapter *adap, u32 cnt[], u64 cycles[]) cnt 6067 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cnt[i] = t4_read_reg(adap, PM_TX_STAT_COUNT_A); cnt 6087 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c void t4_pmrx_get_stats(struct adapter *adap, u32 cnt[], u64 cycles[]) cnt 6094 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cnt[i] = t4_read_reg(adap, PM_RX_STAT_COUNT_A); cnt 1078 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c unsigned int us, unsigned int cnt) cnt 1086 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c if ((us | cnt) == 0) cnt 1087 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c cnt = 1; cnt 1095 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c if (cnt) { cnt 1099 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c pktcnt_idx = closest_thres(&adapter->sge, cnt); cnt 1125 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c QINTR_CNT_EN_V(cnt > 0)); cnt 418 drivers/net/ethernet/cisco/enic/enic_ethtool.c int j, ret = 0, cnt = 0; cnt 428 drivers/net/ethernet/cisco/enic/enic_ethtool.c if (cnt == cmd->rule_cnt) cnt 430 drivers/net/ethernet/cisco/enic/enic_ethtool.c rule_locs[cnt] = n->fltr_id; cnt 431 drivers/net/ethernet/cisco/enic/enic_ethtool.c cnt++; cnt 434 drivers/net/ethernet/cisco/enic/enic_ethtool.c cmd->rule_cnt = cnt; cnt 786 drivers/net/ethernet/dlink/dl2k.c int cnt = max_intrloop; cnt 793 drivers/net/ethernet/dlink/dl2k.c if (int_status == 0 || --cnt < 0) cnt 927 drivers/net/ethernet/dlink/dl2k.c int cnt = 30; cnt 943 drivers/net/ethernet/dlink/dl2k.c if (--cnt < 0) cnt 1429 drivers/net/ethernet/dlink/sundance.c int cnt = 0; cnt 1456 drivers/net/ethernet/dlink/sundance.c cnt++; cnt 895 drivers/net/ethernet/emulex/benet/be_ethtool.c int status, cnt; cnt 936 drivers/net/ethernet/emulex/benet/be_ethtool.c for (cnt = 10; cnt; cnt--) { cnt 189 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static inline size_t bpool_buffer_raw_size(u8 index, u8 cnt) cnt 194 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c for (i = (cnt < 3) ? cnt : 3; i < 3 + index; i++) cnt 1277 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct bm_buffer *bmb, int cnt) cnt 1281 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c err = bman_release(dpaa_bp->pool, bmb, cnt); cnt 1284 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c while (cnt-- > 0) cnt 1285 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dpaa_bp->free_buf_cb(dpaa_bp, &bmb[cnt]); cnt 1287 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c return cnt; cnt 697 drivers/net/ethernet/freescale/fman/fman_port.c int cnt = 100; cnt 701 drivers/net/ethernet/freescale/fman/fman_port.c while (cnt-- > 0 && cnt 704 drivers/net/ethernet/freescale/fman/fman_port.c if (!cnt) cnt 711 drivers/net/ethernet/freescale/fman/fman_port.c int cnt = 100; cnt 715 drivers/net/ethernet/freescale/fman/fman_port.c while (cnt-- > 0 && cnt 718 drivers/net/ethernet/freescale/fman/fman_port.c if (!cnt) cnt 71 drivers/net/ethernet/google/gve/gve.h u32 cnt; /* free-running total number of completed packets */ cnt 141 drivers/net/ethernet/google/gve/gve_ethtool.c data[i++] = rx->cnt; cnt 160 drivers/net/ethernet/google/gve/gve_rx.c rx->cnt = 0; cnt 371 drivers/net/ethernet/google/gve/gve_rx.c next_idx = rx->cnt & rx->mask; cnt 386 drivers/net/ethernet/google/gve/gve_rx.c u32 cnt = rx->cnt; cnt 387 drivers/net/ethernet/google/gve/gve_rx.c u32 idx = cnt & rx->mask; cnt 404 drivers/net/ethernet/google/gve/gve_rx.c cnt++; cnt 405 drivers/net/ethernet/google/gve/gve_rx.c idx = cnt & rx->mask; cnt 418 drivers/net/ethernet/google/gve/gve_rx.c rx->cnt = cnt; cnt 1324 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c u32 cnt = 0; cnt 1354 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c cnt++; cnt 1356 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c cnt < DSAF_CFG_READ_CNT); cnt 1361 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c dsaf_dev->ae_dev.name, flag, cnt); cnt 991 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c u32 cnt = (sizeof(hns_nic_test_strs) / ETH_GSTRING_LEN); cnt 994 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c cnt--; cnt 997 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c cnt--; cnt 999 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c return cnt; cnt 24 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c int cnt; cnt 32 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c cnt = kstrtouint(&cmd_buf[11], 0, &queue_num); cnt 33 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c if (cnt) cnt 170 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c int cnt; cnt 172 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c cnt = sscanf(&cmd_buf[8], "%u %u", &q_num, &tx_index); cnt 173 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c if (cnt == 2) { cnt 175 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c } else if (cnt != 1) { cnt 176 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c dev_err(dev, "bd info: bad command string, cnt=%d\n", cnt); cnt 189 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c tx_index = (cnt == 1) ? value : tx_index; cnt 219 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c rx_index = (cnt == 1) ? value : tx_index; cnt 188 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c int cnt, ret; cnt 190 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c cnt = sscanf(cmd_buf, "%i %i %i %i %i %i", cnt 192 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c if (cnt != 6) { cnt 194 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c "dump dcb: bad command parameter, cnt=%d\n", cnt); cnt 1720 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u32 cnt = 0; cnt 1724 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cnt++; cnt 1725 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return cnt; cnt 1734 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int cnt = 0; cnt 1740 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cnt++; cnt 1743 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return cnt; cnt 1752 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int cnt = 0; cnt 1759 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cnt++; cnt 1762 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return cnt; cnt 3165 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u32 cnt = 0; cnt 3191 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cnt++ < HCLGE_RESET_WAIT_CNT) cnt 3196 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c "flr wait timeout: %d\n", cnt); cnt 3204 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c while (hnae3_get_bit(val, reg_bit) && cnt < HCLGE_RESET_WAIT_CNT) { cnt 3207 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cnt++; cnt 3210 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (cnt >= HCLGE_RESET_WAIT_CNT) { cnt 3272 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int cnt = 0; cnt 3295 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c } while (cnt++ < HCLGE_PF_RESET_SYNC_CNT); cnt 5979 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int cnt = 0; cnt 5989 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (cnt == cmd->rule_cnt) { cnt 5994 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rule_locs[cnt] = rule->location; cnt 5995 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cnt++; cnt 6000 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cmd->rule_cnt = cnt; cnt 9119 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int cnt = 0; cnt 9127 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cnt++ < HCLGE_FLR_WAIT_CNT) cnt 9132 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c "flr wait down timeout: %d\n", cnt); cnt 1382 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c unsigned long cnt = 0; cnt 1385 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c cnt++ < wait_cnt) cnt 1665 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c int cnt = 0; cnt 1673 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c cnt++ < HCLGEVF_FLR_WAIT_CNT) cnt 1678 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c "flr wait down timeout: %d\n", cnt); cnt 1455 drivers/net/ethernet/i825xx/82596.c int config = 0, cnt; cnt 1486 drivers/net/ethernet/i825xx/82596.c cnt = netdev_mc_count(dev); cnt 1487 drivers/net/ethernet/i825xx/82596.c if (cnt > MAX_MC_CNT) cnt 1489 drivers/net/ethernet/i825xx/82596.c cnt = MAX_MC_CNT; cnt 1491 drivers/net/ethernet/i825xx/82596.c dev->name, cnt); cnt 1503 drivers/net/ethernet/i825xx/82596.c cmd->mc_cnt = cnt * ETH_ALEN; cnt 1506 drivers/net/ethernet/i825xx/82596.c if (!cnt--) cnt 1339 drivers/net/ethernet/i825xx/lib82596.c int config = 0, cnt; cnt 1380 drivers/net/ethernet/i825xx/lib82596.c cnt = netdev_mc_count(dev); cnt 1381 drivers/net/ethernet/i825xx/lib82596.c if (cnt > MAX_MC_CNT) { cnt 1382 drivers/net/ethernet/i825xx/lib82596.c cnt = MAX_MC_CNT; cnt 1384 drivers/net/ethernet/i825xx/lib82596.c dev->name, cnt); cnt 1397 drivers/net/ethernet/i825xx/lib82596.c if (!cnt--) cnt 689 drivers/net/ethernet/i825xx/sun3_82586.c int cnt=0; cnt 740 drivers/net/ethernet/i825xx/sun3_82586.c printk("%d",cnt++); cnt 762 drivers/net/ethernet/i825xx/sun3_82586.c int status,cnt=0; cnt 830 drivers/net/ethernet/i825xx/sun3_82586.c printk("%d",cnt++); cnt 362 drivers/net/ethernet/ibm/ehea/ehea_qmr.c int ret, cnt; cnt 369 drivers/net/ethernet/ibm/ehea/ehea_qmr.c for (cnt = 0; cnt < nr_pages; cnt++) { cnt 707 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c u16 cnt; cnt 710 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c for (cnt = 0; !fm10k_fifo_empty(fifo); cnt++) { cnt 726 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c return cnt; cnt 1205 drivers/net/ethernet/intel/i40e/i40e_common.c u32 cnt, reg = 0; cnt 1207 drivers/net/ethernet/intel/i40e/i40e_common.c for (cnt = 0; cnt < retry_limit; cnt++) { cnt 1231 drivers/net/ethernet/intel/i40e/i40e_common.c u32 cnt = 0; cnt 1249 drivers/net/ethernet/intel/i40e/i40e_common.c for (cnt = 0; cnt < grst_del; cnt++) { cnt 1282 drivers/net/ethernet/intel/i40e/i40e_common.c if (!cnt) { cnt 1285 drivers/net/ethernet/intel/i40e/i40e_common.c cnt = I40E_PF_RESET_WAIT_COUNT_A0; cnt 1287 drivers/net/ethernet/intel/i40e/i40e_common.c cnt = I40E_PF_RESET_WAIT_COUNT; cnt 1291 drivers/net/ethernet/intel/i40e/i40e_common.c for (; cnt; cnt--) { cnt 494 drivers/net/ethernet/intel/i40e/i40e_debugfs.c static void i40e_dbg_dump_desc(int cnt, int vsi_seid, int ring_id, int desc_n, cnt 525 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt == 2) { cnt 544 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (cnt == 3) { cnt 710 drivers/net/ethernet/intel/i40e/i40e_debugfs.c int cnt; cnt 734 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[7], "%i", &vsi_seid); cnt 735 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt == 0) { cnt 760 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[7], "%i", &vsi_seid); cnt 761 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt != 1) { cnt 764 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt); cnt 781 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[9], "%i %i", &uplink_seid, &vsi_seid); cnt 782 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt != 2) { cnt 785 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt); cnt 821 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[9], "%i", &veb_seid); cnt 822 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt != 1) { cnt 825 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt); cnt 850 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[8], "%i %u", &vsi_seid, &v); cnt 851 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt != 2) { cnt 853 drivers/net/ethernet/intel/i40e/i40e_debugfs.c "add pvid: bad command string, cnt=%d\n", cnt); cnt 877 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[8], "%i", &vsi_seid); cnt 878 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt != 1) { cnt 881 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt); cnt 900 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[8], "%i", &vsi_seid); cnt 901 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt > 0) cnt 906 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[8], "%i", &vsi_seid); cnt 907 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt > 0) cnt 912 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[7], "%i", &vf_id); cnt 913 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt > 0) cnt 920 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[12], "%i %i %i", cnt 922 drivers/net/ethernet/intel/i40e/i40e_debugfs.c i40e_dbg_dump_desc(cnt, vsi_seid, ring_id, cnt 926 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[12], "%i %i %i", cnt 928 drivers/net/ethernet/intel/i40e/i40e_debugfs.c i40e_dbg_dump_desc(cnt, vsi_seid, ring_id, cnt 1070 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[18], "%i %i %i", cnt 1072 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt != 3) { cnt 1132 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[4], "%i", &address); cnt 1133 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt != 1) { cnt 1152 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[5], "%i %i", &address, &value); cnt 1153 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt != 2) { cnt 1170 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[15], "%i", &vsi_seid); cnt 1171 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt == 0) { cnt 1177 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (cnt == 1) { cnt 1209 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[11], cnt 1218 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt != 10) { cnt 1221 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt); cnt 1257 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[20], cnt 1267 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt != 11) { cnt 1270 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt); cnt 1455 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[8], "%hx %x %hx", cnt 1457 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt == 0) { cnt 1461 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (cnt == 1) { cnt 1464 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (cnt == 2) { cnt 1466 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (cnt > 3) { cnt 1468 drivers/net/ethernet/intel/i40e/i40e_debugfs.c "nvm read: bad command string, cnt=%d\n", cnt); cnt 1621 drivers/net/ethernet/intel/i40e/i40e_debugfs.c int i, cnt; cnt 1645 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&i40e_dbg_netdev_ops_buf[11], "%i %i", cnt 1647 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt != 2) { cnt 1668 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&i40e_dbg_netdev_ops_buf[11], "%i", &vsi_seid); cnt 1669 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt != 1) { cnt 1689 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&i40e_dbg_netdev_ops_buf[4], "%i", &vsi_seid); cnt 1690 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (cnt != 1) { cnt 3165 drivers/net/ethernet/intel/i40e/i40e_ethtool.c int cnt = 0; cnt 3172 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (cnt == cmd->rule_cnt) cnt 3175 drivers/net/ethernet/intel/i40e/i40e_ethtool.c rule_locs[cnt] = rule->fd_id; cnt 3176 drivers/net/ethernet/intel/i40e/i40e_ethtool.c cnt++; cnt 3179 drivers/net/ethernet/intel/i40e/i40e_ethtool.c cmd->rule_cnt = cnt; cnt 22 drivers/net/ethernet/intel/i40e/i40e_hmc.h u32 cnt; /* count of objects driver actually wants to create */ cnt 156 drivers/net/ethernet/intel/i40e/i40e_hmc.h #define I40E_FIND_SD_INDEX_LIMIT(hmc_info, type, index, cnt, sd_idx, sd_limit)\ cnt 161 drivers/net/ethernet/intel/i40e/i40e_hmc.h fpm_limit = fpm_addr + (hmc_info)->hmc_obj[(type)].size * (cnt);\ cnt 180 drivers/net/ethernet/intel/i40e/i40e_hmc.h #define I40E_FIND_PD_INDEX_LIMIT(hmc_info, type, idx, cnt, pd_index, pd_limit)\ cnt 185 drivers/net/ethernet/intel/i40e/i40e_hmc.h fpm_limit = fpm_adr + (hmc_info)->hmc_obj[(type)].size * (cnt); \ cnt 100 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c full_obj->cnt = 0; cnt 107 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c obj->cnt = txq_num; cnt 122 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c full_obj->cnt += obj->cnt; cnt 127 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c obj->cnt = rxq_num; cnt 129 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c (hw->hmc.hmc_obj[I40E_HMC_LAN_TX].cnt * cnt 145 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c full_obj->cnt += obj->cnt; cnt 150 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c obj->cnt = fcoe_cntx_num; cnt 152 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c (hw->hmc.hmc_obj[I40E_HMC_LAN_RX].cnt * cnt 168 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c full_obj->cnt += obj->cnt; cnt 173 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c obj->cnt = fcoe_filt_num; cnt 175 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c (hw->hmc.hmc_obj[I40E_HMC_FCOE_CTX].cnt * cnt 191 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c full_obj->cnt += obj->cnt; cnt 307 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { cnt 314 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c info->hmc_info->hmc_obj[info->rsrc_type].cnt) { cnt 489 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c wr32(hw, I40E_GLHMC_LANTXCNT(hmc_fn_id), obj->cnt); cnt 495 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c wr32(hw, I40E_GLHMC_LANRXCNT(hmc_fn_id), obj->cnt); cnt 501 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c wr32(hw, I40E_GLHMC_FCOEDDPCNT(hmc_fn_id), obj->cnt); cnt 507 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c wr32(hw, I40E_GLHMC_FCOEFCNT(hmc_fn_id), obj->cnt); cnt 559 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { cnt 567 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c info->hmc_info->hmc_obj[info->rsrc_type].cnt) { cnt 1009 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c if (obj_idx >= hmc_info->hmc_obj[rsrc_type].cnt) { cnt 14611 drivers/net/ethernet/intel/i40e/i40e_main.c int cnt; cnt 14613 drivers/net/ethernet/intel/i40e/i40e_main.c for (cnt = 0; cnt < MAX_CNT; ++cnt) { cnt 14620 drivers/net/ethernet/intel/i40e/i40e_main.c if (cnt == MAX_CNT) { cnt 658 drivers/net/ethernet/intel/ice/ice_common.c u16 cnt = enable ? chgs : (u16)ICE_AQC_FW_LOG_ID_MAX; cnt 661 drivers/net/ethernet/intel/ice/ice_common.c for (i = 0; i < cnt; i++) { cnt 937 drivers/net/ethernet/intel/ice/ice_common.c u32 cnt, reg = 0, grst_delay, uld_mask; cnt 946 drivers/net/ethernet/intel/ice/ice_common.c for (cnt = 0; cnt < grst_delay; cnt++) { cnt 953 drivers/net/ethernet/intel/ice/ice_common.c if (cnt == grst_delay) { cnt 970 drivers/net/ethernet/intel/ice/ice_common.c for (cnt = 0; cnt < ICE_PF_RESET_WAIT_COUNT; cnt++) { cnt 974 drivers/net/ethernet/intel/ice/ice_common.c "Global reset processes done. %d\n", cnt); cnt 980 drivers/net/ethernet/intel/ice/ice_common.c if (cnt == ICE_PF_RESET_WAIT_COUNT) { cnt 999 drivers/net/ethernet/intel/ice/ice_common.c u32 cnt, reg; cnt 1020 drivers/net/ethernet/intel/ice/ice_common.c for (cnt = 0; cnt < ICE_PF_RESET_WAIT_COUNT; cnt++) { cnt 1028 drivers/net/ethernet/intel/ice/ice_common.c if (cnt == ICE_PF_RESET_WAIT_COUNT) { cnt 2507 drivers/net/ethernet/intel/igb/igb_ethtool.c int cnt = 0; cnt 2513 drivers/net/ethernet/intel/igb/igb_ethtool.c if (cnt == cmd->rule_cnt) cnt 2515 drivers/net/ethernet/intel/igb/igb_ethtool.c rule_locs[cnt] = rule->sw_idx; cnt 2516 drivers/net/ethernet/intel/igb/igb_ethtool.c cnt++; cnt 2519 drivers/net/ethernet/intel/igb/igb_ethtool.c cmd->rule_cnt = cnt; cnt 209 drivers/net/ethernet/intel/igbvf/vf.c u32 cnt, i; cnt 221 drivers/net/ethernet/intel/igbvf/vf.c cnt = (mc_addr_count > 30) ? 30 : mc_addr_count; cnt 223 drivers/net/ethernet/intel/igbvf/vf.c msgbuf[0] |= cnt << E1000_VT_MSGINFO_SHIFT; cnt 225 drivers/net/ethernet/intel/igbvf/vf.c for (i = 0; i < cnt; i++) { cnt 934 drivers/net/ethernet/intel/igc/igc_ethtool.c int cnt = 0; cnt 940 drivers/net/ethernet/intel/igc/igc_ethtool.c if (cnt == cmd->rule_cnt) cnt 942 drivers/net/ethernet/intel/igc/igc_ethtool.c rule_locs[cnt] = rule->sw_idx; cnt 943 drivers/net/ethernet/intel/igc/igc_ethtool.c cnt++; cnt 946 drivers/net/ethernet/intel/igc/igc_ethtool.c cmd->rule_cnt = cnt; cnt 87 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c int cnt; cnt 88 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c cnt = sscanf(&ixgbe_dbg_reg_ops_buf[5], "%x %x", ®, &value); cnt 89 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c if (cnt == 2) { cnt 98 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c int cnt; cnt 99 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c cnt = sscanf(&ixgbe_dbg_reg_ops_buf[4], "%x", ®); cnt 100 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c if (cnt == 1) { cnt 2485 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c int cnt = 0; cnt 2492 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c if (cnt == cmd->rule_cnt) cnt 2494 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c rule_locs[cnt] = rule->sw_idx; cnt 2495 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c cnt++; cnt 2498 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c cmd->rule_cnt = cnt; cnt 484 drivers/net/ethernet/intel/ixgbevf/vf.c u32 cnt, i; cnt 495 drivers/net/ethernet/intel/ixgbevf/vf.c cnt = netdev_mc_count(netdev); cnt 496 drivers/net/ethernet/intel/ixgbevf/vf.c if (cnt > 30) cnt 497 drivers/net/ethernet/intel/ixgbevf/vf.c cnt = 30; cnt 499 drivers/net/ethernet/intel/ixgbevf/vf.c msgbuf[0] |= cnt << IXGBE_VT_MSGINFO_SHIFT; cnt 503 drivers/net/ethernet/intel/ixgbevf/vf.c if (i == cnt) cnt 361 drivers/net/ethernet/jme.c dpi->cnt = 0; cnt 413 drivers/net/ethernet/jme.c u32 phylink, cnt = JME_SPDRSV_TIMEOUT, bmcr; cnt 452 drivers/net/ethernet/jme.c --cnt) { cnt 461 drivers/net/ethernet/jme.c if (!cnt) cnt 1121 drivers/net/ethernet/jme.c dpi->cnt = 0; cnt 1126 drivers/net/ethernet/jme.c ++(dpi->cnt); cnt 1129 drivers/net/ethernet/jme.c dpi->cnt = 0; cnt 1147 drivers/net/ethernet/jme.c if (unlikely(dpi->attempt != dpi->cur && dpi->cnt > 5)) { cnt 1152 drivers/net/ethernet/jme.c dpi->cnt = 0; cnt 1426 drivers/net/ethernet/jme.c int i, j, cnt = 0, max, err, mask; cnt 1442 drivers/net/ethernet/jme.c for (i = atomic_read(&txring->next_to_clean) ; cnt < max ; ) { cnt 1469 drivers/net/ethernet/jme.c cnt += ctxbi->nr_desc; cnt 1493 drivers/net/ethernet/jme.c atomic_add(cnt, &txring->nr_free); cnt 2467 drivers/net/ethernet/jme.c dpi->cnt = 0; cnt 148 drivers/net/ethernet/jme.h unsigned char cnt; cnt 204 drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c int id, cnt = 0; cnt 216 drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c cnt = pfvf->pool_ctx->qsize; cnt 221 drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c cnt = pfvf->aura_ctx->qsize; cnt 228 drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c for (id = 0; id < cnt; id++) { cnt 779 drivers/net/ethernet/mediatek/mtk_eth_soc.c int cnt = MTK_DMA_SIZE; cnt 784 drivers/net/ethernet/mediatek/mtk_eth_soc.c cnt * sizeof(struct mtk_tx_dma), cnt 790 drivers/net/ethernet/mediatek/mtk_eth_soc.c eth->scratch_head = kcalloc(cnt, MTK_QDMA_PAGE_SIZE, cnt 796 drivers/net/ethernet/mediatek/mtk_eth_soc.c eth->scratch_head, cnt * MTK_QDMA_PAGE_SIZE, cnt 802 drivers/net/ethernet/mediatek/mtk_eth_soc.c (sizeof(struct mtk_tx_dma) * (cnt - 1)); cnt 804 drivers/net/ethernet/mediatek/mtk_eth_soc.c for (i = 0; i < cnt; i++) { cnt 807 drivers/net/ethernet/mediatek/mtk_eth_soc.c if (i < cnt - 1) cnt 815 drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_w32(eth, (cnt << 16) | cnt, MTK_QDMA_FQ_CNT); cnt 1855 drivers/net/ethernet/mediatek/mtk_eth_soc.c int cnt = 0; cnt 1860 drivers/net/ethernet/mediatek/mtk_eth_soc.c cnt++; cnt 1863 drivers/net/ethernet/mediatek/mtk_eth_soc.c return cnt; cnt 1957 drivers/net/ethernet/mediatek/mtk_eth_soc.c int cnt = 0; cnt 1962 drivers/net/ethernet/mediatek/mtk_eth_soc.c rule_locs[cnt] = i; cnt 1963 drivers/net/ethernet/mediatek/mtk_eth_soc.c cnt++; cnt 1967 drivers/net/ethernet/mediatek/mtk_eth_soc.c cmd->rule_cnt = cnt; cnt 109 drivers/net/ethernet/mellanox/mlx4/alloc.c u32 mlx4_bitmap_alloc_range(struct mlx4_bitmap *bitmap, int cnt, cnt 114 drivers/net/ethernet/mellanox/mlx4/alloc.c if (likely(cnt == 1 && align == 1 && !skip_mask)) cnt 120 drivers/net/ethernet/mellanox/mlx4/alloc.c bitmap->max, cnt, align, skip_mask); cnt 125 drivers/net/ethernet/mellanox/mlx4/alloc.c cnt, align, skip_mask); cnt 129 drivers/net/ethernet/mellanox/mlx4/alloc.c bitmap_set(bitmap->table, obj, cnt); cnt 131 drivers/net/ethernet/mellanox/mlx4/alloc.c bitmap->last = (obj + cnt); cnt 140 drivers/net/ethernet/mellanox/mlx4/alloc.c bitmap->avail -= cnt; cnt 157 drivers/net/ethernet/mellanox/mlx4/alloc.c void mlx4_bitmap_free_range(struct mlx4_bitmap *bitmap, u32 obj, int cnt, cnt 168 drivers/net/ethernet/mellanox/mlx4/alloc.c bitmap_clear(bitmap->table, obj, cnt); cnt 169 drivers/net/ethernet/mellanox/mlx4/alloc.c bitmap->avail += cnt; cnt 365 drivers/net/ethernet/mellanox/mlx4/en_tx.c int cnt = 0; cnt 383 drivers/net/ethernet/mellanox/mlx4/en_tx.c cnt++; cnt 389 drivers/net/ethernet/mellanox/mlx4/en_tx.c if (cnt) cnt 390 drivers/net/ethernet/mellanox/mlx4/en_tx.c en_dbg(DRV, priv, "Freed %d uncompleted tx descriptors\n", cnt); cnt 392 drivers/net/ethernet/mellanox/mlx4/en_tx.c return cnt; cnt 940 drivers/net/ethernet/mellanox/mlx4/mlx4.h u32 mlx4_bitmap_alloc_range(struct mlx4_bitmap *bitmap, int cnt, cnt 942 drivers/net/ethernet/mellanox/mlx4/mlx4.h void mlx4_bitmap_free_range(struct mlx4_bitmap *bitmap, u32 obj, int cnt, cnt 1026 drivers/net/ethernet/mellanox/mlx4/mlx4.h int __mlx4_qp_reserve_range(struct mlx4_dev *dev, int cnt, int align, cnt 1028 drivers/net/ethernet/mellanox/mlx4/mlx4.h void __mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt); cnt 178 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define INC_PERF_COUNTER(cnt) (++(cnt)) cnt 179 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define ADD_PERF_COUNTER(cnt, add) ((cnt) += (add)) cnt 180 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define AVG_PERF_COUNTER(cnt, sample) \ cnt 181 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h ((cnt) = ((cnt) * (AVG_SIZE - 1) + (sample) * AVG_FACTOR) / AVG_SIZE) cnt 182 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define GET_PERF_COUNTER(cnt) (cnt) cnt 183 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define GET_AVG_PERF_COUNTER(cnt) ((cnt) / AVG_FACTOR) cnt 187 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define INC_PERF_COUNTER(cnt) do {} while (0) cnt 188 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define ADD_PERF_COUNTER(cnt, add) do {} while (0) cnt 189 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define AVG_PERF_COUNTER(cnt, sample) do {} while (0) cnt 190 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define GET_PERF_COUNTER(cnt) (0) cnt 191 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define GET_AVG_PERF_COUNTER(cnt) (0) cnt 219 drivers/net/ethernet/mellanox/mlx4/qp.c int __mlx4_qp_reserve_range(struct mlx4_dev *dev, int cnt, int align, cnt 228 drivers/net/ethernet/mellanox/mlx4/qp.c if (cnt > MLX4_MAX_BF_QP_RANGE && bf_qp) cnt 239 drivers/net/ethernet/mellanox/mlx4/qp.c *base = mlx4_zone_alloc_entries(qp_table->zones, uid, cnt, align, cnt 247 drivers/net/ethernet/mellanox/mlx4/qp.c int mlx4_qp_reserve_range(struct mlx4_dev *dev, int cnt, int align, cnt 259 drivers/net/ethernet/mellanox/mlx4/qp.c set_param_l(&in_param, (((u32)flags) << 24) | (u32)cnt); cnt 271 drivers/net/ethernet/mellanox/mlx4/qp.c return __mlx4_qp_reserve_range(dev, cnt, align, base, flags); cnt 275 drivers/net/ethernet/mellanox/mlx4/qp.c void __mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt) cnt 282 drivers/net/ethernet/mellanox/mlx4/qp.c mlx4_zone_free_entries_unique(qp_table->zones, base_qpn, cnt); cnt 285 drivers/net/ethernet/mellanox/mlx4/qp.c void mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt) cnt 290 drivers/net/ethernet/mellanox/mlx4/qp.c if (!cnt) cnt 295 drivers/net/ethernet/mellanox/mlx4/qp.c set_param_h(&in_param, cnt); cnt 301 drivers/net/ethernet/mellanox/mlx4/qp.c base_qpn, cnt); cnt 304 drivers/net/ethernet/mellanox/mlx4/qp.c __mlx4_qp_release_range(dev, base_qpn, cnt); cnt 82 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c static int fill_monitor_counter_ppcnt_set1(int cnt, u32 *in) cnt 88 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c ppcnt_cnt++, cnt++) { cnt 90 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c monitor_counter[cnt].type, cnt 93 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c monitor_counter[cnt].counter, cnt 99 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c static int fill_monitor_counter_q_counter_set1(int cnt, int q_counter, u32 *in) cnt 102 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c monitor_counter[cnt].type, cnt 105 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c monitor_counter[cnt].counter, cnt 108 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c monitor_counter[cnt].counter_group_id, cnt 124 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c int cnt = 0; cnt 127 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c max_num_of_counters >= (NUM_REQ_PPCNT_COUNTER_S1 + cnt)) cnt 128 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c cnt += fill_monitor_counter_ppcnt_set1(cnt, in); cnt 131 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c max_num_of_counters >= (NUM_REQ_Q_COUNTERS_S1 + cnt) && cnt 133 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c cnt += fill_monitor_counter_q_counter_set1(cnt, q_counter, in); cnt 135 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c MLX5_SET(set_monitor_counter_in, in, num_of_counters, cnt); cnt 3110 drivers/net/ethernet/mellanox/mlxsw/spectrum.c int cnt = 0; cnt 3115 drivers/net/ethernet/mellanox/mlxsw/spectrum.c cnt++; cnt 3118 drivers/net/ethernet/mellanox/mlxsw/spectrum.c return cnt == link_mode->m_ethtool_len; cnt 160 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c u64 cnt; cnt 182 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c &cnt); cnt 184 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c entry->counter = cnt; cnt 218 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c enum mlxsw_sp_rif_counter_dir dir, u64 *cnt) cnt 237 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c *cnt = mlxsw_reg_ricnt_good_unicast_packets_get(ricnt_pl); cnt 39 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h u64 *cnt); cnt 1358 drivers/net/ethernet/micrel/ksz884x.c int cnt; cnt 1789 drivers/net/ethernet/micrel/ksz884x.c static void port_r_mib_cnt(struct ksz_hw *hw, int port, u16 addr, u64 *cnt) cnt 1809 drivers/net/ethernet/micrel/ksz884x.c *cnt += MIB_COUNTER_VALUE + 1; cnt 1810 drivers/net/ethernet/micrel/ksz884x.c *cnt += data & MIB_COUNTER_VALUE; cnt 1827 drivers/net/ethernet/micrel/ksz884x.c static void port_r_mib_pkt(struct ksz_hw *hw, int port, u32 *last, u64 *cnt) cnt 1855 drivers/net/ethernet/micrel/ksz884x.c *cnt += data; cnt 1858 drivers/net/ethernet/micrel/ksz884x.c ++cnt; cnt 4307 drivers/net/ethernet/micrel/ksz884x.c info->cnt = 0; cnt 4339 drivers/net/ethernet/micrel/ksz884x.c ++info->cnt; cnt 4341 drivers/net/ethernet/micrel/ksz884x.c if (info->cnt < info->max) { cnt 4604 drivers/net/ethernet/micrel/ksz884x.c static void get_mib_counters(struct ksz_hw *hw, int first, int cnt, cnt 4613 drivers/net/ethernet/micrel/ksz884x.c for (i = 0, port = first; i < cnt; i++, port++) { cnt 6923 drivers/net/ethernet/micrel/ksz884x.c int cnt; cnt 6966 drivers/net/ethernet/micrel/ksz884x.c cnt = hw_init(hw); cnt 6967 drivers/net/ethernet/micrel/ksz884x.c if (!cnt) { cnt 6975 drivers/net/ethernet/micrel/ksz884x.c banner[13] = cnt + '0'; /* Replace x in "Micrel KSZ884x" */ cnt 6988 drivers/net/ethernet/micrel/ksz884x.c if (2 == cnt) { cnt 7079 drivers/net/ethernet/micrel/ksz884x.c for (cnt = 0, pi = i; cnt < port_count; cnt++, pi++) { cnt 90 drivers/net/ethernet/mscc/ocelot_ace.c u32 cnt; /* Current counter */ cnt 192 drivers/net/ethernet/mscc/ocelot_ace.c u32 i, col, offset, count, cnt, base, width = vcap_is2.tg_width; cnt 196 drivers/net/ethernet/mscc/ocelot_ace.c cnt = (vcap_is2.sw_count / count); cnt 197 drivers/net/ethernet/mscc/ocelot_ace.c base = (vcap_is2.sw_count - col * cnt - cnt); cnt 200 drivers/net/ethernet/mscc/ocelot_ace.c for (i = 0; i < cnt; i++) { cnt 209 drivers/net/ethernet/mscc/ocelot_ace.c data->counter_offset = (cnt * col * vcap_is2.counter_width); cnt 212 drivers/net/ethernet/mscc/ocelot_ace.c cnt = vcap_is2.action_table[i].count; cnt 214 drivers/net/ethernet/mscc/ocelot_ace.c (((cnt * col * width) / count) + vcap_is2.action_type_width); cnt 582 drivers/net/ethernet/mscc/ocelot_ace.c u32 cnt; cnt 588 drivers/net/ethernet/mscc/ocelot_ace.c cnt = vcap_data_get(data.counter, data.counter_offset, cnt 591 drivers/net/ethernet/mscc/ocelot_ace.c rule->stats.pkts = cnt; cnt 131 drivers/net/ethernet/myricom/myri10ge/myri10ge.c int cnt; cnt 159 drivers/net/ethernet/myricom/myri10ge/myri10ge.c int cnt; cnt 1053 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ss->rx_big.cnt = 0; cnt 1054 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ss->rx_small.cnt = 0; cnt 1056 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ss->rx_done.cnt = 0; cnt 1204 drivers/net/ethernet/myricom/myri10ge/myri10ge.c while (rx->fill_cnt != (rx->cnt + rx->mask + 1)) { cnt 1215 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if (rx->fill_cnt - rx->cnt < 16) cnt 1225 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if (rx->fill_cnt - rx->cnt < 16) cnt 1337 drivers/net/ethernet/myricom/myri10ge/myri10ge.c idx = rx->cnt & rx->mask; cnt 1347 drivers/net/ethernet/myricom/myri10ge/myri10ge.c rx->cnt++; cnt 1348 drivers/net/ethernet/myricom/myri10ge/myri10ge.c idx = rx->cnt & rx->mask; cnt 1361 drivers/net/ethernet/myricom/myri10ge/myri10ge.c rx->cnt++; cnt 1362 drivers/net/ethernet/myricom/myri10ge/myri10ge.c idx = rx->cnt & rx->mask; cnt 1464 drivers/net/ethernet/myricom/myri10ge/myri10ge.c int cnt = rx_done->cnt; cnt 1476 drivers/net/ethernet/myricom/myri10ge/myri10ge.c cnt++; cnt 1477 drivers/net/ethernet/myricom/myri10ge/myri10ge.c idx = cnt & (mgp->max_intr_slots - 1); cnt 1481 drivers/net/ethernet/myricom/myri10ge/myri10ge.c rx_done->cnt = cnt; cnt 1486 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if (ss->rx_small.fill_cnt - ss->rx_small.cnt < myri10ge_fill_thresh) cnt 1489 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if (ss->rx_big.fill_cnt - ss->rx_big.cnt < myri10ge_fill_thresh) cnt 1848 drivers/net/ethernet/myricom/myri10ge/myri10ge.c data[i++] = (unsigned int)ss->rx_small.cnt; cnt 1849 drivers/net/ethernet/myricom/myri10ge/myri10ge.c data[i++] = (unsigned int)ss->rx_big.cnt; cnt 2008 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ss->rx_big.cnt = 0; cnt 2009 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ss->rx_small.cnt = 0; cnt 2039 drivers/net/ethernet/myricom/myri10ge/myri10ge.c for (i = ss->rx_big.cnt; i < ss->rx_big.fill_cnt; i++) { cnt 2048 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ss->rx_small.fill_cnt = ss->rx_small.cnt; cnt 2049 drivers/net/ethernet/myricom/myri10ge/myri10ge.c for (i = ss->rx_small.cnt; i < ss->rx_small.fill_cnt; i++) { cnt 2090 drivers/net/ethernet/myricom/myri10ge/myri10ge.c for (i = ss->rx_big.cnt; i < ss->rx_big.fill_cnt; i++) { cnt 2100 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ss->rx_small.fill_cnt = ss->rx_small.cnt; cnt 2101 drivers/net/ethernet/myricom/myri10ge/myri10ge.c for (i = ss->rx_small.cnt; i < ss->rx_small.fill_cnt; i++) { cnt 2523 drivers/net/ethernet/myricom/myri10ge/myri10ge.c struct mcp_kreq_ether_send *src, int cnt) cnt 2527 drivers/net/ethernet/myricom/myri10ge/myri10ge.c while (cnt > 1) { cnt 2528 drivers/net/ethernet/myricom/myri10ge/myri10ge.c cnt--; cnt 2529 drivers/net/ethernet/myricom/myri10ge/myri10ge.c idx = (starting_slot + cnt) & tx->mask; cnt 2530 drivers/net/ethernet/myricom/myri10ge/myri10ge.c myri10ge_pio_copy(&tx->lanai[idx], &src[cnt], sizeof(*src)); cnt 2544 drivers/net/ethernet/myricom/myri10ge/myri10ge.c int cnt) cnt 2559 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if ((idx + cnt) < tx->mask) { cnt 2560 drivers/net/ethernet/myricom/myri10ge/myri10ge.c for (i = 0; i < (cnt - 1); i += 2) { cnt 2569 drivers/net/ethernet/myricom/myri10ge/myri10ge.c myri10ge_submit_req_backwards(tx, src, cnt); cnt 2572 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if (i < cnt) { cnt 2581 drivers/net/ethernet/myricom/myri10ge/myri10ge.c tx->req += cnt; cnt 3396 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ss->watchdog_rx_done != ss->rx_done.cnt) { cnt 3401 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ss->watchdog_rx_done = ss->rx_done.cnt; cnt 3520 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if (ss->rx_small.fill_cnt - ss->rx_small.cnt >= cnt 3527 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if (ss->rx_big.fill_cnt - ss->rx_big.cnt >= cnt 288 drivers/net/ethernet/neterion/s2io-regs.h #define I2C_CONTROL_BYTE_CNT(cnt) vBIT(cnt,22,2) cnt 944 drivers/net/ethernet/neterion/s2io-regs.h #define SPI_CONTROL_BYTECNT(cnt) vBIT(cnt,29,3) cnt 541 drivers/net/ethernet/neterion/s2io.c struct fifo_info *fifo, int cnt, u8 multiq) cnt 545 drivers/net/ethernet/neterion/s2io.c if (cnt && __netif_subqueue_stopped(fifo->dev, fifo->fifo_no)) cnt 547 drivers/net/ethernet/neterion/s2io.c } else if (cnt && (fifo->queue_state == FIFO_QUEUE_STOP)) { cnt 2361 drivers/net/ethernet/neterion/s2io.c int cnt = 0; cnt 2379 drivers/net/ethernet/neterion/s2io.c cnt++; cnt 2384 drivers/net/ethernet/neterion/s2io.c dev->name, cnt, i); cnt 3331 drivers/net/ethernet/neterion/s2io.c int ret = FAILURE, cnt = 0, delay = 1; cnt 3356 drivers/net/ethernet/neterion/s2io.c if (++cnt >= 10) cnt 3358 drivers/net/ethernet/neterion/s2io.c } while (cnt < 20); cnt 3650 drivers/net/ethernet/neterion/s2io.c int ret = 0, cnt = 0; cnt 3657 drivers/net/ethernet/neterion/s2io.c cnt++; cnt 3658 drivers/net/ethernet/neterion/s2io.c } while (cnt < 5); cnt 3659 drivers/net/ethernet/neterion/s2io.c if (cnt == 5) { cnt 4330 drivers/net/ethernet/neterion/s2io.c unsigned long long *cnt) cnt 4336 drivers/net/ethernet/neterion/s2io.c (*cnt)++; cnt 4756 drivers/net/ethernet/neterion/s2io.c int cnt = 0; cnt 4768 drivers/net/ethernet/neterion/s2io.c cnt++; cnt 4769 drivers/net/ethernet/neterion/s2io.c if (cnt == 5) cnt 5620 drivers/net/ethernet/neterion/s2io.c static int write_eeprom(struct s2io_nic *sp, int off, u64 data, int cnt) cnt 5629 drivers/net/ethernet/neterion/s2io.c I2C_CONTROL_BYTE_CNT(cnt) | cnt 5647 drivers/net/ethernet/neterion/s2io.c int write_cnt = (cnt == 8) ? 0 : cnt; cnt 5648 drivers/net/ethernet/neterion/s2io.c writeq(SPI_DATA_WRITE(data, (cnt << 3)), &bar0->spi_data); cnt 5675 drivers/net/ethernet/neterion/s2io.c int i = 0, cnt, len, fail = 0; cnt 5699 drivers/net/ethernet/neterion/s2io.c for (cnt = 0; cnt < 5; cnt++) { cnt 5705 drivers/net/ethernet/neterion/s2io.c if (cnt >= 5) { cnt 5716 drivers/net/ethernet/neterion/s2io.c for (cnt = 0; cnt < 252; cnt++) { cnt 5717 drivers/net/ethernet/neterion/s2io.c if ((vpd_data[cnt] == 'S') && cnt 5718 drivers/net/ethernet/neterion/s2io.c (vpd_data[cnt+1] == 'N')) { cnt 5719 drivers/net/ethernet/neterion/s2io.c len = vpd_data[cnt+2]; cnt 5720 drivers/net/ethernet/neterion/s2io.c if (len < min(VPD_STRING_LEN, 256-cnt-2)) { cnt 5722 drivers/net/ethernet/neterion/s2io.c &vpd_data[cnt + 3], cnt 5797 drivers/net/ethernet/neterion/s2io.c int len = eeprom->len, cnt = 0; cnt 5811 drivers/net/ethernet/neterion/s2io.c data = (u32)data_buf[cnt] & 0x000000FF; cnt 5817 drivers/net/ethernet/neterion/s2io.c if (write_eeprom(sp, (eeprom->offset + cnt), valid, 0)) { cnt 5823 drivers/net/ethernet/neterion/s2io.c cnt++; cnt 6015 drivers/net/ethernet/neterion/s2io.c int cnt = 0, ret = -1; cnt 6021 drivers/net/ethernet/neterion/s2io.c while (cnt < 20) { cnt 6029 drivers/net/ethernet/neterion/s2io.c cnt++; cnt 6079 drivers/net/ethernet/neterion/s2io.c int cnt, iteration = 0, test_fail = 0; cnt 6120 drivers/net/ethernet/neterion/s2io.c for (cnt = 0; cnt < 5; cnt++) { cnt 6127 drivers/net/ethernet/neterion/s2io.c if (cnt == 5) cnt 6133 drivers/net/ethernet/neterion/s2io.c for (cnt = 0; cnt < 5; cnt++) { cnt 6140 drivers/net/ethernet/neterion/s2io.c if (cnt == 5) cnt 7013 drivers/net/ethernet/neterion/s2io.c int cnt = 0; cnt 7066 drivers/net/ethernet/neterion/s2io.c cnt++; cnt 7067 drivers/net/ethernet/neterion/s2io.c if (cnt == 10) { cnt 570 drivers/net/ethernet/netronome/nfp/bpf/main.h int nfp_bpf_opt_remove_insns(struct bpf_verifier_env *env, u32 off, u32 cnt); cnt 116 drivers/net/ethernet/netronome/nfp/bpf/offload.c int i, cnt, err; cnt 119 drivers/net/ethernet/netronome/nfp/bpf/offload.c cnt = 0; cnt 122 drivers/net/ethernet/netronome/nfp/bpf/offload.c cnt++; cnt 123 drivers/net/ethernet/netronome/nfp/bpf/offload.c if (!cnt) cnt 126 drivers/net/ethernet/netronome/nfp/bpf/offload.c nfp_prog->map_records = kmalloc_array(cnt, cnt 141 drivers/net/ethernet/netronome/nfp/bpf/offload.c WARN_ON(cnt != nfp_prog->map_records_cnt); cnt 148 drivers/net/ethernet/netronome/nfp/bpf/offload.c unsigned int cnt) cnt 153 drivers/net/ethernet/netronome/nfp/bpf/offload.c for (i = 0; i < cnt; i++) { cnt 167 drivers/net/ethernet/netronome/nfp/bpf/offload.c nfp_prog->n_insns = cnt; cnt 836 drivers/net/ethernet/netronome/nfp/bpf/verifier.c int nfp_bpf_opt_remove_insns(struct bpf_verifier_env *env, u32 off, u32 cnt) cnt 845 drivers/net/ethernet/netronome/nfp/bpf/verifier.c for (i = 0; i < cnt; i++) { cnt 154 drivers/net/ethernet/netronome/nfp/ccm_mbox.c int reserve, i, cnt; cnt 167 drivers/net/ethernet/netronome/nfp/ccm_mbox.c cnt = skb->len / 4; cnt 168 drivers/net/ethernet/netronome/nfp/ccm_mbox.c for (i = 0 ; i < cnt; i++) { cnt 300 drivers/net/ethernet/netronome/nfp/ccm_mbox.c int i, cnt; cnt 314 drivers/net/ethernet/netronome/nfp/ccm_mbox.c cnt = DIV_ROUND_UP(length, 4); cnt 315 drivers/net/ethernet/netronome/nfp/ccm_mbox.c for (i = 1 ; i < cnt; i++) cnt 379 drivers/net/ethernet/netronome/nfp/ccm_mbox.c int cnt, err; cnt 384 drivers/net/ethernet/netronome/nfp/ccm_mbox.c cnt = 1; cnt 395 drivers/net/ethernet/netronome/nfp/ccm_mbox.c cnt++; cnt 396 drivers/net/ethernet/netronome/nfp/ccm_mbox.c if (cnt == NFP_CCM_MBOX_BATCH_LIMIT) cnt 49 drivers/net/ethernet/netronome/nfp/crypto/tls.c int cnt; cnt 54 drivers/net/ethernet/netronome/nfp/crypto/tls.c cnt = nn->ktls_tx_conn_cnt; cnt 59 drivers/net/ethernet/netronome/nfp/crypto/tls.c cnt = nn->ktls_rx_conn_cnt; cnt 63 drivers/net/ethernet/netronome/nfp/crypto/tls.c if (cnt > 1) cnt 66 drivers/net/ethernet/netronome/nfp/crypto/tls.c nfp_net_crypto_set_op(nn, opcode, cnt); cnt 370 drivers/net/ethernet/netronome/nfp/flower/main.c enum nfp_repr_type repr_type, unsigned int cnt) cnt 385 drivers/net/ethernet/netronome/nfp/flower/main.c reprs = nfp_reprs_alloc(cnt); cnt 389 drivers/net/ethernet/netronome/nfp/flower/main.c for (i = 0; i < cnt; i++) { cnt 113 drivers/net/ethernet/netronome/nfp/nfp_net.h #define D_IDX(ring, idx) ((idx) & ((ring)->cnt - 1)) cnt 216 drivers/net/ethernet/netronome/nfp/nfp_net.h u32 cnt; cnt 334 drivers/net/ethernet/netronome/nfp/nfp_net.h u32 cnt; cnt 680 drivers/net/ethernet/netronome/nfp/nfp_net_common.c return (tx_ring->wr_p - tx_ring->rd_p) >= (tx_ring->cnt - dcnt); cnt 1113 drivers/net/ethernet/netronome/nfp/nfp_net_common.c wr_idx += tx_ring->cnt; cnt 1217 drivers/net/ethernet/netronome/nfp/nfp_net_common.c WARN_ONCE(tx_ring->wr_p - tx_ring->rd_p > tx_ring->cnt, cnt 1219 drivers/net/ethernet/netronome/nfp/nfp_net_common.c tx_ring->rd_p, tx_ring->wr_p, tx_ring->cnt); cnt 1256 drivers/net/ethernet/netronome/nfp/nfp_net_common.c WARN_ONCE(tx_ring->wr_p - tx_ring->rd_p > tx_ring->cnt, cnt 1258 drivers/net/ethernet/netronome/nfp/nfp_net_common.c tx_ring->rd_p, tx_ring->wr_p, tx_ring->cnt); cnt 1484 drivers/net/ethernet/netronome/nfp/nfp_net_common.c last_idx = rx_ring->cnt - 1; cnt 1510 drivers/net/ethernet/netronome/nfp/nfp_net_common.c for (i = 0; i < rx_ring->cnt - 1; i++) { cnt 1539 drivers/net/ethernet/netronome/nfp/nfp_net_common.c for (i = 0; i < rx_ring->cnt - 1; i++) { cnt 1561 drivers/net/ethernet/netronome/nfp/nfp_net_common.c for (i = 0; i < rx_ring->cnt - 1; i++) cnt 2358 drivers/net/ethernet/netronome/nfp/nfp_net_common.c tx_ring->cnt = 0; cnt 2377 drivers/net/ethernet/netronome/nfp/nfp_net_common.c tx_ring->cnt = dp->txd_cnt; cnt 2379 drivers/net/ethernet/netronome/nfp/nfp_net_common.c tx_ring->size = array_size(tx_ring->cnt, sizeof(*tx_ring->txds)); cnt 2385 drivers/net/ethernet/netronome/nfp/nfp_net_common.c tx_ring->cnt); cnt 2389 drivers/net/ethernet/netronome/nfp/nfp_net_common.c tx_ring->txbufs = kvcalloc(tx_ring->cnt, sizeof(*tx_ring->txbufs), cnt 2414 drivers/net/ethernet/netronome/nfp/nfp_net_common.c for (i = 0; i < tx_ring->cnt; i++) { cnt 2433 drivers/net/ethernet/netronome/nfp/nfp_net_common.c for (i = 0; i < tx_ring->cnt; i++) { cnt 2510 drivers/net/ethernet/netronome/nfp/nfp_net_common.c rx_ring->cnt = 0; cnt 2536 drivers/net/ethernet/netronome/nfp/nfp_net_common.c rx_ring->cnt = dp->rxd_cnt; cnt 2537 drivers/net/ethernet/netronome/nfp/nfp_net_common.c rx_ring->size = array_size(rx_ring->cnt, sizeof(*rx_ring->rxds)); cnt 2543 drivers/net/ethernet/netronome/nfp/nfp_net_common.c rx_ring->cnt); cnt 2547 drivers/net/ethernet/netronome/nfp/nfp_net_common.c rx_ring->rxbufs = kvcalloc(rx_ring->cnt, sizeof(*rx_ring->rxbufs), cnt 2788 drivers/net/ethernet/netronome/nfp/nfp_net_common.c nn_writeb(nn, NFP_NET_CFG_RXR_SZ(idx), ilog2(rx_ring->cnt)); cnt 2797 drivers/net/ethernet/netronome/nfp/nfp_net_common.c nn_writeb(nn, NFP_NET_CFG_TXR_SZ(idx), ilog2(tx_ring->cnt)); cnt 30 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c rxd_cnt = rx_ring->cnt; cnt 37 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c rx_ring->cnt, &rx_ring->dma, rx_ring->rxds, cnt 94 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c txd_cnt = tx_ring->cnt; cnt 102 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c tx_ring->cnt, &tx_ring->dma, tx_ring->txds, cnt 221 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c unsigned int cnt, i; cnt 223 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c cnt = nffw_res_fwinfos(&state->fwinf, &fwinfo); cnt 224 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c if (!cnt) cnt 227 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c for (i = 0; i < cnt; i++) cnt 249 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c int i, j, ret, cnt = 0; cnt 263 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c cnt++; cnt 269 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c if (ret && ret != cnt) { cnt 271 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c ret, cnt); cnt 275 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c table = kzalloc(struct_size(table, ports, cnt), GFP_KERNEL); cnt 279 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c table->count = cnt; cnt 176 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c u32 cnt, val; cnt 190 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c for (cnt = 0; cnt < 100; cnt++) { cnt 359 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c u32 cnt = 0; cnt 379 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c while (NXRD32(adapter, NETXEN_NIU_FRAME_COUNT) && ++cnt < 20) cnt 382 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c if (cnt < 20) { cnt 475 drivers/net/ethernet/qlogic/qed/qed_cxt.c u32 cnt = 0; cnt 479 drivers/net/ethernet/qlogic/qed/qed_cxt.c cnt += p_hwfn->p_cxt_mngr->conn_cfg[type].tid_seg[i].count; cnt 481 drivers/net/ethernet/qlogic/qed/qed_cxt.c return cnt; cnt 3510 drivers/net/ethernet/qlogic/qed/qed_dev.c min_t(u32, sb_cnt.cnt / 2, cnt 3521 drivers/net/ethernet/qlogic/qed/qed_dev.c sb_cnt.cnt - non_l2_sbs, cnt 3529 drivers/net/ethernet/qlogic/qed/qed_dev.c feat_num[QED_FCOE_CQ] = min_t(u32, sb_cnt.cnt, cnt 3534 drivers/net/ethernet/qlogic/qed/qed_dev.c feat_num[QED_ISCSI_CQ] = min_t(u32, sb_cnt.cnt, cnt 3545 drivers/net/ethernet/qlogic/qed/qed_dev.c (int)sb_cnt.cnt); cnt 2024 drivers/net/ethernet/qlogic/qed/qed_int.c if (p_info->usage.cnt != RESC_NUM(p_hwfn, QED_SB) - 1) { cnt 2028 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.cnt); cnt 2029 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.cnt = RESC_NUM(p_hwfn, QED_SB) - 1; cnt 2046 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.free_cnt_iov - p_info->usage.cnt) { cnt 2051 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.cnt, vfs); cnt 2063 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.free_cnt = p_info->usage.cnt; cnt 2065 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.orig = p_info->usage.cnt; cnt 2071 drivers/net/ethernet/qlogic/qed/qed_int.c pf_sbs = p_info->usage.cnt; cnt 2093 drivers/net/ethernet/qlogic/qed/qed_int.c p_block->vector_number = p_info->usage.cnt - pf_sbs; cnt 2195 drivers/net/ethernet/qlogic/qed/qed_int.c p_igu_info->usage.cnt++; cnt 2237 drivers/net/ethernet/qlogic/qed/qed_int.c p_igu_info->usage.free_cnt = p_igu_info->usage.cnt; cnt 2243 drivers/net/ethernet/qlogic/qed/qed_int.c p_igu_info->usage.cnt, p_igu_info->usage.iov_cnt); cnt 533 drivers/net/ethernet/qlogic/qed/qed_main.c int i, rc, cnt; cnt 535 drivers/net/ethernet/qlogic/qed/qed_main.c cnt = int_params->in.num_vectors; cnt 537 drivers/net/ethernet/qlogic/qed/qed_main.c for (i = 0; i < cnt; i++) cnt 541 drivers/net/ethernet/qlogic/qed/qed_main.c int_params->in.min_msix_cnt, cnt); cnt 542 drivers/net/ethernet/qlogic/qed/qed_main.c if (rc < cnt && rc >= int_params->in.min_msix_cnt && cnt 550 drivers/net/ethernet/qlogic/qed/qed_main.c cnt = (rc / cdev->num_hwfns) * cdev->num_hwfns; cnt 553 drivers/net/ethernet/qlogic/qed/qed_main.c cnt, int_params->in.num_vectors); cnt 555 drivers/net/ethernet/qlogic/qed/qed_main.c cnt); cnt 557 drivers/net/ethernet/qlogic/qed/qed_main.c rc = cnt; cnt 568 drivers/net/ethernet/qlogic/qed/qed_main.c cnt, rc); cnt 579 drivers/net/ethernet/qlogic/qed/qed_main.c int rc = 0, cnt; cnt 584 drivers/net/ethernet/qlogic/qed/qed_main.c cnt = int_params->in.num_vectors; cnt 585 drivers/net/ethernet/qlogic/qed/qed_main.c int_params->msix_table = kcalloc(cnt, sizeof(*tbl), GFP_KERNEL); cnt 844 drivers/net/ethernet/qlogic/qed/qed_main.c static int qed_set_int_fp(struct qed_dev *cdev, u16 cnt) cnt 849 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.fp_initialized = cnt ? true : false; cnt 859 drivers/net/ethernet/qlogic/qed/qed_main.c return min_t(int, cnt, limit); cnt 903 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.num_vectors += sb_cnt_info.cnt; cnt 193 drivers/net/ethernet/qlogic/qed/qed_mcp.c u8 cnt = QED_MCP_SHMEM_RDY_MAX_RETRIES; cnt 222 drivers/net/ethernet/qlogic/qed/qed_mcp.c while (!p_info->mfw_mb_length && --cnt) { cnt 230 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (!cnt) { cnt 320 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 org_mcp_reset_seq, seq, delay = QED_MCP_RESP_ITER_US, cnt = 0; cnt 345 drivers/net/ethernet/qlogic/qed/qed_mcp.c (cnt++ < QED_MCP_RESET_RETRIES)); cnt 350 drivers/net/ethernet/qlogic/qed/qed_mcp.c "MCP was reset after %d usec\n", cnt * delay); cnt 487 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 cnt = 0, msecs = DIV_ROUND_UP(usecs, 1000); cnt 516 drivers/net/ethernet/qlogic/qed/qed_mcp.c } while (++cnt < max_retries); cnt 518 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (cnt >= max_retries) { cnt 561 drivers/net/ethernet/qlogic/qed/qed_mcp.c } while (++cnt < max_retries); cnt 563 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (cnt >= max_retries) { cnt 587 drivers/net/ethernet/qlogic/qed/qed_mcp.c (cnt * usecs) / 1000, (cnt * usecs) % 1000); cnt 2518 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 resp = 0, param = 0, cpu_state, cnt = 0; cnt 2533 drivers/net/ethernet/qlogic/qed/qed_mcp.c } while (++cnt < QED_MCP_HALT_MAX_RETRIES); cnt 2535 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (cnt == QED_MCP_HALT_MAX_RETRIES) { cnt 909 drivers/net/ethernet/qlogic/qed/qed_rdma.c static int qed_rdma_set_int(struct qed_dev *cdev, u16 cnt) cnt 914 drivers/net/ethernet/qlogic/qed/qed_rdma.c cdev->int_params.fp_initialized = cnt ? true : false; cnt 928 drivers/net/ethernet/qlogic/qed/qed_rdma.c return min_t(int, cnt, limit); cnt 3579 drivers/net/ethernet/qlogic/qed/qed_sriov.c int cnt; cnt 3584 drivers/net/ethernet/qlogic/qed/qed_sriov.c for (cnt = 0; cnt < 50; cnt++) { cnt 3592 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (cnt == 50) { cnt 3607 drivers/net/ethernet/qlogic/qed/qed_sriov.c int i, cnt; cnt 3624 drivers/net/ethernet/qlogic/qed/qed_sriov.c for (cnt = 0; cnt < 50; cnt++) { cnt 3641 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (cnt == 50) { cnt 1370 drivers/net/ethernet/qlogic/qede/qede_filter.c int cnt = 0, rc = 0; cnt 1384 drivers/net/ethernet/qlogic/qede/qede_filter.c if (cnt == info->rule_cnt) { cnt 1389 drivers/net/ethernet/qlogic/qede/qede_filter.c rule_locs[cnt] = fltr->sw_id; cnt 1390 drivers/net/ethernet/qlogic/qede/qede_filter.c cnt++; cnt 1393 drivers/net/ethernet/qlogic/qede/qede_filter.c info->rule_cnt = cnt; cnt 1851 drivers/net/ethernet/qlogic/qede/qede_main.c int rc, cnt = 1000; cnt 1854 drivers/net/ethernet/qlogic/qede/qede_main.c if (!cnt) { cnt 1870 drivers/net/ethernet/qlogic/qede/qede_main.c cnt--; cnt 716 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c u8 i, num_app, map, cnt; cnt 730 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c cnt = qlcnic_dcb_prio_count(map); cnt 732 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c if (cnt >= QLC_DCB_MAX_TC) cnt 733 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c cnt = 0; cnt 735 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c app->priority = cnt; cnt 736 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c new_app.priority = cnt; cnt 799 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c u8 i, cnt, pg; cnt 820 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c for (i = 0, cnt = 0; i < QLC_DCB_MAX_TC; i++) { cnt 823 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c cnt++; cnt 826 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c tc_cfg->bwg_percent = (100 / cnt); cnt 1047 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c int i, loop, cnt = 0; cnt 1073 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c cnt++; cnt 1075 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c if (cnt != i) { cnt 1077 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c "LB Test: failed, TX[%d], RX[%d]\n", i, cnt); cnt 523 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c u32 cnt, addr, data, que_id = 0; cnt 527 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c cnt = que->read_addr_cnt; cnt 532 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c for (i = 0; i < cnt; i++) { cnt 539 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c return que->no_ops * cnt * sizeof(u32); cnt 593 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c u32 cnt, val, data, addr; cnt 602 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c cnt = l1->read_addr_num; cnt 603 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c while (cnt) { cnt 607 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c cnt--; cnt 618 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c u32 cnt, val, data, addr; cnt 649 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c cnt = l2->read_addr_num; cnt 650 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c while (cnt) { cnt 654 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c cnt--; cnt 523 drivers/net/ethernet/renesas/sh_eth.c int cnt; cnt 525 drivers/net/ethernet/renesas/sh_eth.c for (cnt = 100; cnt > 0; cnt--) { cnt 2578 drivers/net/ethernet/sfc/falcon/falcon.c ef4_oword_t cnt; cnt 2581 drivers/net/ethernet/sfc/falcon/falcon.c ef4_reado(efx, &cnt, FR_AZ_RX_NODESC_DROP); cnt 2583 drivers/net/ethernet/sfc/falcon/falcon.c EF4_OWORD_FIELD(cnt, FRF_AB_RX_NODESC_DROP_CNT); cnt 634 drivers/net/ethernet/socionext/netsec.c int cnt = 0; cnt 642 drivers/net/ethernet/socionext/netsec.c cnt < DESC_NUM) { cnt 681 drivers/net/ethernet/socionext/netsec.c cnt++; cnt 686 drivers/net/ethernet/socionext/netsec.c if (!cnt) cnt 692 drivers/net/ethernet/socionext/netsec.c priv->ndev->stats.tx_packets += cnt; cnt 695 drivers/net/ethernet/socionext/netsec.c netdev_completed_queue(priv->ndev, cnt, bytes); cnt 7237 drivers/net/ethernet/sun/niu.c int i, idx, cnt; cnt 7245 drivers/net/ethernet/sun/niu.c for (cnt = 0, i = 0; i < nfc->data; i++) { cnt 7250 drivers/net/ethernet/sun/niu.c if (cnt == nfc->rule_cnt) { cnt 7254 drivers/net/ethernet/sun/niu.c rule_locs[cnt] = i; cnt 7255 drivers/net/ethernet/sun/niu.c cnt++; cnt 7259 drivers/net/ethernet/sun/niu.c nfc->rule_cnt = cnt; cnt 8596 drivers/net/ethernet/sun/niu.c int port, cnt; cnt 8598 drivers/net/ethernet/sun/niu.c cnt = 0; cnt 8602 drivers/net/ethernet/sun/niu.c if (!cnt) cnt 8604 drivers/net/ethernet/sun/niu.c cnt++; cnt 8608 drivers/net/ethernet/sun/niu.c return cnt; cnt 570 drivers/net/ethernet/ti/davinci_emac.c int cnt; cnt 573 drivers/net/ethernet/ti/davinci_emac.c for (cnt = 0; cnt < 2; cnt++) { cnt 1093 drivers/net/ethernet/ti/davinci_emac.c u32 cnt; cnt 1094 drivers/net/ethernet/ti/davinci_emac.c for (cnt = 0; cnt < EMAC_MAX_TXRX_CHANNELS; cnt++) cnt 1396 drivers/net/ethernet/ti/davinci_emac.c u32 cnt; cnt 1414 drivers/net/ethernet/ti/davinci_emac.c for (cnt = 0; cnt < ETH_ALEN; cnt++) cnt 1415 drivers/net/ethernet/ti/davinci_emac.c ndev->dev_addr[cnt] = priv->mac_addr[cnt]; cnt 706 drivers/net/ethernet/toshiba/spider_net.c int cnt=0; cnt 716 drivers/net/ethernet/toshiba/spider_net.c cnt++; cnt 720 drivers/net/ethernet/toshiba/spider_net.c if (cnt < card->tx_chain.num_desc/4) cnt 721 drivers/net/ethernet/toshiba/spider_net.c return cnt; cnt 725 drivers/net/ethernet/toshiba/spider_net.c cnt = (cnt*3)/4; cnt 726 drivers/net/ethernet/toshiba/spider_net.c for (i=0;i<cnt; i++) cnt 739 drivers/net/ethernet/toshiba/spider_net.c return cnt; cnt 876 drivers/net/ethernet/toshiba/spider_net.c int cnt; cnt 887 drivers/net/ethernet/toshiba/spider_net.c cnt = spider_net_set_low_watermark(card); cnt 888 drivers/net/ethernet/toshiba/spider_net.c if (cnt < 5) cnt 989 drivers/net/ethernet/toshiba/spider_net.c int cnt = 0; cnt 1024 drivers/net/ethernet/toshiba/spider_net.c int from = (chain->num_desc + off - cnt) % chain->num_desc; cnt 1027 drivers/net/ethernet/toshiba/spider_net.c "with stat=0x%08x\n", cnt, from, to, cstat); cnt 1029 drivers/net/ethernet/toshiba/spider_net.c cnt = 0; cnt 1032 drivers/net/ethernet/toshiba/spider_net.c cnt ++; cnt 1038 drivers/net/ethernet/toshiba/spider_net.c "for a total of %d descrs\n", cnt, cstat, tot); cnt 1047 drivers/net/ethernet/toshiba/spider_net.c cnt = descr - chain->ring; cnt 1049 drivers/net/ethernet/toshiba/spider_net.c cnt, status, descr->skb); cnt 240 drivers/net/ethernet/xscale/ixp4xx_eth.c static inline void memcpy_swab32(u32 *dest, u32 *src, int cnt) cnt 243 drivers/net/ethernet/xscale/ixp4xx_eth.c for (i = 0; i < cnt; i++) cnt 328 drivers/net/ethernet/xscale/ixp4xx_eth.c u32 ch, cnt, hi, lo, val; cnt 344 drivers/net/ethernet/xscale/ixp4xx_eth.c for (cnt = 0; cnt < 100; cnt++) { cnt 61 drivers/net/fddi/skfp/hwt.c u_short cnt ; cnt 69 drivers/net/fddi/skfp/hwt.c cnt = (u_short)time ; cnt 74 drivers/net/fddi/skfp/hwt.c if (!cnt) cnt 75 drivers/net/fddi/skfp/hwt.c cnt++ ; cnt 77 drivers/net/fddi/skfp/hwt.c outpd(ADDR(B2_TI_INI), (u_long) cnt * 200) ; /* Load timer value. */ cnt 246 drivers/net/hamradio/baycom_epp.c static inline int check_crc_ccitt(const unsigned char *buf, int cnt) cnt 248 drivers/net/hamradio/baycom_epp.c return (crc_ccitt(0xffff, buf, cnt) & 0xffff) == 0xf0b8; cnt 253 drivers/net/hamradio/baycom_epp.c static inline int calc_crc_ccitt(const unsigned char *buf, int cnt) cnt 255 drivers/net/hamradio/baycom_epp.c return (crc_ccitt(0xffff, buf, cnt) ^ 0xffff) & 0xffff; cnt 420 drivers/net/hamradio/baycom_epp.c static int transmit(struct baycom_state *bc, int cnt, unsigned char stat) cnt 450 drivers/net/hamradio/baycom_epp.c while (cnt > 0) { cnt 453 drivers/net/hamradio/baycom_epp.c i = min_t(int, cnt, bc->hdlctx.flags); cnt 454 drivers/net/hamradio/baycom_epp.c cnt -= i; cnt 476 drivers/net/hamradio/baycom_epp.c i = min_t(int, cnt, bc->hdlctx.bufcnt); cnt 478 drivers/net/hamradio/baycom_epp.c cnt -= i; cnt 490 drivers/net/hamradio/baycom_epp.c i = min_t(int, cnt, bc->hdlctx.flags); cnt 492 drivers/net/hamradio/baycom_epp.c cnt -= i; cnt 508 drivers/net/hamradio/baycom_epp.c i = min_t(int, cnt, bc->hdlctx.calibrate); cnt 509 drivers/net/hamradio/baycom_epp.c cnt -= i; cnt 551 drivers/net/hamradio/baycom_epp.c static int receive(struct net_device *dev, int cnt) cnt 565 drivers/net/hamradio/baycom_epp.c while (cnt > 0) { cnt 566 drivers/net/hamradio/baycom_epp.c cnt2 = (cnt > sizeof(tmp)) ? sizeof(tmp) : cnt; cnt 567 drivers/net/hamradio/baycom_epp.c cnt -= cnt2; cnt 645 drivers/net/hamradio/baycom_epp.c int cnt, cnt2; cnt 666 drivers/net/hamradio/baycom_epp.c cnt = tmp[0] | (tmp[1] << 8); cnt 667 drivers/net/hamradio/baycom_epp.c cnt &= 0x7fff; cnt 683 drivers/net/hamradio/baycom_epp.c if (receive(dev, cnt)) cnt 692 drivers/net/hamradio/baycom_epp.c cnt = 2048 - 256; cnt 696 drivers/net/hamradio/baycom_epp.c cnt = 2048 - 1793; cnt 700 drivers/net/hamradio/baycom_epp.c cnt = 0; cnt 704 drivers/net/hamradio/baycom_epp.c cnt = 2048 - 1025; cnt 707 drivers/net/hamradio/baycom_epp.c if (transmit(bc, cnt, stat)) cnt 714 drivers/net/hamradio/baycom_epp.c cnt = 1025; cnt 718 drivers/net/hamradio/baycom_epp.c cnt = 1793; cnt 722 drivers/net/hamradio/baycom_epp.c cnt = 256; cnt 725 drivers/net/hamradio/baycom_epp.c if (receive(dev, cnt)) cnt 730 drivers/net/hamradio/baycom_epp.c cnt = 0; cnt 732 drivers/net/hamradio/baycom_epp.c cnt = 256; cnt 734 drivers/net/hamradio/baycom_epp.c cnt = 128; cnt 735 drivers/net/hamradio/baycom_epp.c while (cnt > 0 && stat & EPP_NREF) { cnt 738 drivers/net/hamradio/baycom_epp.c cnt--; cnt 85 drivers/net/hamradio/hdlcdrv.c static inline int check_crc_ccitt(const unsigned char *buf, int cnt) cnt 87 drivers/net/hamradio/hdlcdrv.c return (crc_ccitt(0xffff, buf, cnt) & 0xffff) == 0xf0b8; cnt 93 drivers/net/hamradio/hdlcdrv.c static int calc_crc_ccitt(const unsigned char *buf, int cnt) cnt 97 drivers/net/hamradio/hdlcdrv.c for (; cnt > 0; cnt--) cnt 857 drivers/net/hyperv/hyperv_net.h u32 cnt; /* #fragments in an RSC packet */ cnt 1151 drivers/net/hyperv/netvsc.c nvchan->rsc.cnt = 0; cnt 780 drivers/net/hyperv/netvsc_drv.c for (i = 0; i < nvchan->rsc.cnt; i++) cnt 363 drivers/net/hyperv/rndis_filter.c u32 cnt = nvchan->rsc.cnt; cnt 365 drivers/net/hyperv/rndis_filter.c if (cnt) { cnt 373 drivers/net/hyperv/rndis_filter.c nvchan->rsc.data[cnt] = data; cnt 374 drivers/net/hyperv/rndis_filter.c nvchan->rsc.len[cnt] = len; cnt 375 drivers/net/hyperv/rndis_filter.c nvchan->rsc.cnt++; cnt 421 drivers/net/hyperv/rndis_filter.c nvchan->rsc.cnt = 0; cnt 422 drivers/net/hyperv/rndis_filter.c else if (nvchan->rsc.cnt == 0) cnt 433 drivers/net/hyperv/rndis_filter.c nvchan->rsc.cnt = 0; cnt 436 drivers/net/hyperv/rndis_filter.c if (unlikely(nvchan->rsc.cnt >= NVSP_RSC_MAX)) cnt 450 drivers/net/hyperv/rndis_filter.c nvchan->rsc.cnt = 0; cnt 456 drivers/net/hyperv/rndis_filter.c nvchan->rsc.cnt = 0; cnt 318 drivers/net/ieee802154/adf7242.c int cnt = 0, ret = 0; cnt 323 drivers/net/ieee802154/adf7242.c cnt++; cnt 324 drivers/net/ieee802154/adf7242.c } while (((stat & mask) != status) && (cnt < MAX_POLL_LOOPS)); cnt 326 drivers/net/ieee802154/adf7242.c if (cnt >= MAX_POLL_LOOPS) { cnt 340 drivers/net/ieee802154/adf7242.c __func__, line, stat, cnt); cnt 343 drivers/net/ieee802154/adf7242.c dev_vdbg(&lp->spi->dev, "%s : loops=%d line %d\n", __func__, cnt, line); cnt 293 drivers/net/phy/adin.c int val, cnt, enable; cnt 299 drivers/net/phy/adin.c cnt = phy_read(phydev, ADIN1300_PHY_CTRL3); cnt 300 drivers/net/phy/adin.c if (cnt < 0) cnt 301 drivers/net/phy/adin.c return cnt; cnt 304 drivers/net/phy/adin.c cnt = FIELD_GET(ADIN1300_DOWNSPEED_RETRIES_MSK, cnt); cnt 306 drivers/net/phy/adin.c *data = (enable && cnt) ? cnt : DOWNSHIFT_DEV_DISABLE; cnt 311 drivers/net/phy/adin.c static int adin_set_downshift(struct phy_device *phydev, u8 cnt) cnt 316 drivers/net/phy/adin.c if (cnt == DOWNSHIFT_DEV_DISABLE) cnt 320 drivers/net/phy/adin.c if (cnt > 7) cnt 323 drivers/net/phy/adin.c val = FIELD_PREP(ADIN1300_DOWNSPEED_RETRIES_MSK, cnt); cnt 390 drivers/net/phy/aquantia_main.c int val, cnt, enable; cnt 397 drivers/net/phy/aquantia_main.c cnt = FIELD_GET(MDIO_AN_VEND_PROV_DOWNSHIFT_MASK, val); cnt 399 drivers/net/phy/aquantia_main.c *data = enable && cnt ? cnt : DOWNSHIFT_DEV_DISABLE; cnt 404 drivers/net/phy/aquantia_main.c static int aqr107_set_downshift(struct phy_device *phydev, u8 cnt) cnt 408 drivers/net/phy/aquantia_main.c if (!FIELD_FIT(MDIO_AN_VEND_PROV_DOWNSHIFT_MASK, cnt)) cnt 411 drivers/net/phy/aquantia_main.c if (cnt != DOWNSHIFT_DEV_DISABLE) { cnt 413 drivers/net/phy/aquantia_main.c val |= FIELD_PREP(MDIO_AN_VEND_PROV_DOWNSHIFT_MASK, cnt); cnt 1288 drivers/net/tun.c int cnt = n; cnt 1328 drivers/net/tun.c return cnt - drops; cnt 567 drivers/net/wan/hd64570.c u16 cnt; cnt 579 drivers/net/wan/hd64570.c for (cnt = 0; cnt < port_to_card(port)->rx_ring_buffers; cnt++) cnt 580 drivers/net/wan/hd64570.c pr_cont(" %02X", readb(&(desc_address(port, cnt, 0)->stat))); cnt 590 drivers/net/wan/hd64570.c for (cnt = 0; cnt < port_to_card(port)->tx_ring_buffers; cnt++) cnt 591 drivers/net/wan/hd64570.c pr_cont(" %02X", readb(&(desc_address(port, cnt, 1)->stat))); cnt 520 drivers/net/wan/hd64572.c u16 cnt; cnt 527 drivers/net/wan/hd64572.c for (cnt = 0; cnt < port->card->rx_ring_buffers; cnt++) cnt 528 drivers/net/wan/hd64572.c pr_cont(" %02X", readb(&(desc_address(port, cnt, 0)->stat))); cnt 538 drivers/net/wan/hd64572.c for (cnt = 0; cnt < port->card->tx_ring_buffers; cnt++) cnt 539 drivers/net/wan/hd64572.c pr_cont(" %02X", readb(&(desc_address(port, cnt, 1)->stat))); cnt 603 drivers/net/wan/hdlc_fr.c int i, cnt = 0, reliable; cnt 621 drivers/net/wan/hdlc_fr.c cnt += (list & 1); /* errors count */ cnt 623 drivers/net/wan/hdlc_fr.c reliable = (cnt < state(hdlc)->settings.n392); cnt 345 drivers/net/wan/ixp4xx_hss.c static inline void memcpy_swab32(u32 *dest, u32 *src, int cnt) cnt 348 drivers/net/wan/ixp4xx_hss.c for (i = 0; i < cnt; i++) cnt 302 drivers/net/wan/n2.c int cnt; cnt 304 drivers/net/wan/n2.c for (cnt = 0; cnt < 2; cnt++) cnt 305 drivers/net/wan/n2.c if (card->ports[cnt].card) { cnt 306 drivers/net/wan/n2.c struct net_device *dev = port_to_dev(&card->ports[cnt]); cnt 338 drivers/net/wan/n2.c u8 cnt, pcr; cnt 447 drivers/net/wan/n2.c for (cnt = 0; cnt < 2; cnt++) { cnt 448 drivers/net/wan/n2.c port_t *port = &card->ports[cnt]; cnt 452 drivers/net/wan/n2.c if ((cnt == 0 && !valid0) || (cnt == 1 && !valid1)) cnt 455 drivers/net/wan/n2.c port->phy_node = cnt; cnt 458 drivers/net/wan/n2.c if ((cnt == 1) && valid0) cnt 619 drivers/net/wimax/i2400m/rx.c unsigned cnt, cnt_idx; cnt 624 drivers/net/wimax/i2400m/rx.c for (cnt = roq->log->out; cnt < roq->log->in; cnt++) { cnt 625 drivers/net/wimax/i2400m/rx.c cnt_idx = cnt % I2400M_ROQ_LOG_LENGTH; cnt 2714 drivers/net/wireless/ath/ath6kl/cfg80211.c u16 cnt; cnt 2742 drivers/net/wireless/ath/ath6kl/cfg80211.c cnt = get_unaligned_le16(rsn_ie); cnt 2743 drivers/net/wireless/ath/ath6kl/cfg80211.c rsn_ie += (2 + cnt * 4); cnt 2744 drivers/net/wireless/ath/ath6kl/cfg80211.c rsn_ie_len -= (2 + cnt * 4); cnt 2749 drivers/net/wireless/ath/ath6kl/cfg80211.c cnt = get_unaligned_le16(rsn_ie); cnt 2750 drivers/net/wireless/ath/ath6kl/cfg80211.c rsn_ie += (2 + cnt * 4); cnt 2751 drivers/net/wireless/ath/ath6kl/cfg80211.c rsn_ie_len -= (2 + cnt * 4); cnt 640 drivers/net/wireless/ath/ath9k/eeprom_def.c #define XPA_LVL_FREQ(cnt) (le16_to_cpu(pModal->xpaBiasLvlFreq[cnt])) cnt 650 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c for (i = 0; i < txs->cnt; i++) { cnt 651 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c WARN_ON(txs->cnt > HTC_MAX_TX_STATUS); cnt 77 drivers/net/wireless/ath/ath9k/wmi.h u8 cnt; cnt 305 drivers/net/wireless/ath/carl9170/debug.c int cnt = 0, fc; cnt 314 drivers/net/wireless/ath/carl9170/debug.c cnt, iter->tid, iter->bsn, iter->snx, iter->hsn, cnt 348 drivers/net/wireless/ath/carl9170/debug.c cnt++; cnt 297 drivers/net/wireless/ath/carl9170/tx.c txinfo->status.ampdu_ack_len = super->s.cnt; cnt 424 drivers/net/wireless/ath/carl9170/tx.c super->s.cnt = sta_info->stats[tid].ampdu_ack_len; cnt 246 drivers/net/wireless/ath/carl9170/wlan.h u8 cnt; cnt 318 drivers/net/wireless/ath/carl9170/wlan.h u8 cnt; cnt 1626 drivers/net/wireless/broadcom/b43/dma.c int cnt = 0; cnt 1636 drivers/net/wireless/broadcom/b43/dma.c cnt++; cnt 1643 drivers/net/wireless/broadcom/b43/dma.c len, ring->rx_buffersize, cnt); cnt 1891 drivers/net/wireless/broadcom/b43/main.c unsigned int i, cnt; cnt 1927 drivers/net/wireless/broadcom/b43/main.c for (i = 0, cnt = 0; i < 64; i++) { cnt 1929 drivers/net/wireless/broadcom/b43/main.c if (cnt == 0) cnt 1932 drivers/net/wireless/broadcom/b43/main.c cnt++; cnt 1933 drivers/net/wireless/broadcom/b43/main.c if (cnt == 6) { cnt 1935 drivers/net/wireless/broadcom/b43/main.c cnt = 0; cnt 1300 drivers/net/wireless/broadcom/b43legacy/dma.c int cnt = 0; cnt 1309 drivers/net/wireless/broadcom/b43legacy/dma.c cnt++; cnt 1316 drivers/net/wireless/broadcom/b43legacy/dma.c len, ring->rx_buffersize, cnt); cnt 138 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c u32 cmd_value, cnt; cnt 152 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c cnt = netdev_mc_count(ndev); cnt 153 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c buflen = sizeof(cnt) + (cnt * ETH_ALEN); cnt 159 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c cnt_le = cpu_to_le32(cnt); cnt 164 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c if (!cnt) cnt 168 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c cnt--; cnt 174 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c cmd_value = cnt ? true : cmd_value; cnt 1456 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c u8 cnt = 0; cnt 1481 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c while (cnt < compcnt) { cnt 1530 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c cnt++; cnt 1840 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c u8 cnt; cnt 1843 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c cnt = brcmf_sdio_rxglom(bus, rd->seq_num); cnt 1844 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c brcmf_dbg(GLOM, "rxglom returned %d\n", cnt); cnt 1845 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c rd->seq_num += cnt - 1; cnt 1846 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c rxleft = (rxleft > cnt) ? (rxleft - cnt) : 1; cnt 2301 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c uint cnt = 0; cnt 2309 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c for (cnt = 0; (cnt < maxframes) && data_ok(bus);) { cnt 2331 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c cnt += i; cnt 2356 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c return cnt; cnt 3660 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_sta_modify_sleep_tx_count(struct il_priv *il, int sta_id, int cnt) cnt 3669 drivers/net/wireless/intel/iwlegacy/4965-mac.c il->stations[sta_id].sta.sleep_tx_count = cpu_to_le16(cnt); cnt 133 drivers/net/wireless/intel/iwlegacy/4965.h void il4965_sta_modify_sleep_tx_count(struct il_priv *il, int sta_id, int cnt); cnt 4794 drivers/net/wireless/intel/iwlegacy/common.c il_check_stuck_queue(struct il_priv *il, int cnt) cnt 4796 drivers/net/wireless/intel/iwlegacy/common.c struct il_tx_queue *txq = &il->txq[cnt]; cnt 4835 drivers/net/wireless/intel/iwlegacy/common.c int cnt; cnt 4850 drivers/net/wireless/intel/iwlegacy/common.c for (cnt = 0; cnt < il->hw_params.max_txq_num; cnt++) { cnt 4852 drivers/net/wireless/intel/iwlegacy/common.c if (cnt == il->cmd_queue) cnt 4854 drivers/net/wireless/intel/iwlegacy/common.c if (il_check_stuck_queue(il, cnt)) cnt 208 drivers/net/wireless/intel/iwlegacy/debug.c int cnt; cnt 216 drivers/net/wireless/intel/iwlegacy/debug.c for (cnt = 0; cnt < MANAGEMENT_MAX; cnt++) { cnt 219 drivers/net/wireless/intel/iwlegacy/debug.c il_get_mgmt_string(cnt), il->tx_stats.mgmt[cnt]); cnt 222 drivers/net/wireless/intel/iwlegacy/debug.c for (cnt = 0; cnt < CONTROL_MAX; cnt++) { cnt 225 drivers/net/wireless/intel/iwlegacy/debug.c il_get_ctrl_string(cnt), il->tx_stats.ctrl[cnt]); cnt 268 drivers/net/wireless/intel/iwlegacy/debug.c int cnt; cnt 277 drivers/net/wireless/intel/iwlegacy/debug.c for (cnt = 0; cnt < MANAGEMENT_MAX; cnt++) { cnt 280 drivers/net/wireless/intel/iwlegacy/debug.c il_get_mgmt_string(cnt), il->rx_stats.mgmt[cnt]); cnt 283 drivers/net/wireless/intel/iwlegacy/debug.c for (cnt = 0; cnt < CONTROL_MAX; cnt++) { cnt 286 drivers/net/wireless/intel/iwlegacy/debug.c il_get_ctrl_string(cnt), il->rx_stats.ctrl[cnt]); cnt 643 drivers/net/wireless/intel/iwlegacy/debug.c int cnt = 0; cnt 693 drivers/net/wireless/intel/iwlegacy/debug.c for (cnt = 0; cnt < IL_CN_MAX; cnt++) { cnt 694 drivers/net/wireless/intel/iwlegacy/debug.c if (il->isr_stats.handlers[cnt] > 0) cnt 698 drivers/net/wireless/intel/iwlegacy/debug.c il_get_cmd_string(cnt), cnt 699 drivers/net/wireless/intel/iwlegacy/debug.c il->isr_stats.handlers[cnt]); cnt 821 drivers/net/wireless/intel/iwlegacy/debug.c int cnt; cnt 834 drivers/net/wireless/intel/iwlegacy/debug.c for (cnt = 0; cnt < il->hw_params.max_txq_num; cnt++) { cnt 835 drivers/net/wireless/intel/iwlegacy/debug.c txq = &il->txq[cnt]; cnt 840 drivers/net/wireless/intel/iwlegacy/debug.c " swq_id=%#.2x (ac %d/hwq %d)\n", cnt, cnt 842 drivers/net/wireless/intel/iwlegacy/debug.c !!test_bit(cnt, il->queue_stopped), cnt 845 drivers/net/wireless/intel/iwlegacy/debug.c if (cnt >= 4) cnt 851 drivers/net/wireless/intel/iwlegacy/debug.c atomic_read(&il->queue_stop_count[cnt])); cnt 921 drivers/net/wireless/intel/iwlegacy/debug.c int cnt = 0; cnt 972 drivers/net/wireless/intel/iwlegacy/debug.c for (cnt = 0; cnt < 10; cnt++) { cnt 975 drivers/net/wireless/intel/iwlegacy/debug.c data->nrg_value[cnt]); cnt 979 drivers/net/wireless/intel/iwlegacy/debug.c for (cnt = 0; cnt < NRG_NUM_PREV_STAT_L; cnt++) { cnt 982 drivers/net/wireless/intel/iwlegacy/debug.c data->nrg_silence_rssi[cnt]); cnt 1020 drivers/net/wireless/intel/iwlegacy/debug.c int cnt = 0; cnt 1059 drivers/net/wireless/intel/iwlegacy/debug.c for (cnt = 0; cnt < NUM_RX_CHAINS; cnt++) { cnt 1062 drivers/net/wireless/intel/iwlegacy/debug.c data->disconn_array[cnt]); cnt 1066 drivers/net/wireless/intel/iwlegacy/debug.c for (cnt = 0; cnt < NUM_RX_CHAINS; cnt++) { cnt 1069 drivers/net/wireless/intel/iwlegacy/debug.c data->delta_gain_code[cnt]); cnt 367 drivers/net/wireless/intel/iwlwifi/dvm/agn.h void iwl_sta_modify_sleep_tx_count(struct iwl_priv *priv, int sta_id, int cnt); cnt 388 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c int cnt = 0; cnt 397 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c for (cnt = 0; cnt < REPLY_MAX; cnt++) { cnt 398 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c if (priv->rx_handlers_stats[cnt] > 0) cnt 401 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c iwl_get_cmd_string(priv->trans, (u32)cnt), cnt 402 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c priv->rx_handlers_stats[cnt]); cnt 1656 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c int cnt = 0; cnt 1696 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c for (cnt = 0; cnt < 10; cnt++) { cnt 1698 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c data->nrg_value[cnt]); cnt 1702 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c for (cnt = 0; cnt < NRG_NUM_PREV_STAT_L; cnt++) { cnt 1704 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c data->nrg_silence_rssi[cnt]); cnt 1735 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c int cnt = 0; cnt 1764 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c for (cnt = 0; cnt < NUM_RX_CHAINS; cnt++) { cnt 1766 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c data->disconn_array[cnt]); cnt 1770 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c for (cnt = 0; cnt < NUM_RX_CHAINS; cnt++) { cnt 1772 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c data->delta_gain_code[cnt]); cnt 1415 drivers/net/wireless/intel/iwlwifi/dvm/sta.c void iwl_sta_modify_sleep_tx_count(struct iwl_priv *priv, int sta_id, int cnt) cnt 1423 drivers/net/wireless/intel/iwlwifi/dvm/sta.c .sleep_tx_count = cpu_to_le16(cnt), cnt 3666 drivers/net/wireless/intel/iwlwifi/mvm/sta.c u16 cnt, u16 tids, bool more_data, cnt 3674 drivers/net/wireless/intel/iwlwifi/mvm/sta.c .sleep_tx_count = cpu_to_le16(cnt), cnt 3695 drivers/net/wireless/intel/iwlwifi/mvm/sta.c int remaining = cnt; cnt 3713 drivers/net/wireless/intel/iwlwifi/mvm/sta.c sleep_tx_count = cnt - remaining; cnt 3719 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (WARN_ON(cnt - remaining == 0)) { cnt 568 drivers/net/wireless/intel/iwlwifi/mvm/sta.h u16 cnt, u16 tids, bool more_data, cnt 133 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c int ret, i, cnt; cnt 146 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c cnt = 0; cnt 153 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c tdls_cfg_cmd.sta_info[cnt].sta_id = i; cnt 154 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c tdls_cfg_cmd.sta_info[cnt].tx_to_peer_tid = cnt 156 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c tdls_cfg_cmd.sta_info[cnt].tx_to_peer_ssn = cpu_to_le16(0); cnt 157 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c tdls_cfg_cmd.sta_info[cnt].is_initiator = cnt 160 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c cnt++; cnt 163 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c tdls_cfg_cmd.tdls_peer_count = cnt; cnt 164 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c IWL_DEBUG_TDLS(mvm, "send TDLS config to FW for %d peers\n", cnt); cnt 2408 drivers/net/wireless/intel/iwlwifi/pcie/trans.c int cnt; cnt 2412 drivers/net/wireless/intel/iwlwifi/pcie/trans.c for (cnt = 0; cnt 2413 drivers/net/wireless/intel/iwlwifi/pcie/trans.c cnt < trans->trans_cfg->base_params->num_of_queues; cnt 2414 drivers/net/wireless/intel/iwlwifi/pcie/trans.c cnt++) { cnt 2416 drivers/net/wireless/intel/iwlwifi/pcie/trans.c if (cnt == trans_pcie->cmd_queue) cnt 2418 drivers/net/wireless/intel/iwlwifi/pcie/trans.c if (!test_bit(cnt, trans_pcie->queue_used)) cnt 2420 drivers/net/wireless/intel/iwlwifi/pcie/trans.c if (!(BIT(cnt) & txq_bm)) cnt 2423 drivers/net/wireless/intel/iwlwifi/pcie/trans.c ret = iwl_trans_pcie_wait_txq_empty(trans, cnt); cnt 2554 drivers/net/wireless/intel/iwlwifi/pcie/trans.c int cnt; cnt 2568 drivers/net/wireless/intel/iwlwifi/pcie/trans.c for (cnt = 0; cnt 2569 drivers/net/wireless/intel/iwlwifi/pcie/trans.c cnt < trans->trans_cfg->base_params->num_of_queues; cnt 2570 drivers/net/wireless/intel/iwlwifi/pcie/trans.c cnt++) { cnt 2571 drivers/net/wireless/intel/iwlwifi/pcie/trans.c txq = trans_pcie->txq[cnt]; cnt 2574 drivers/net/wireless/intel/iwlwifi/pcie/trans.c cnt, txq->read_ptr, txq->write_ptr, cnt 2575 drivers/net/wireless/intel/iwlwifi/pcie/trans.c !!test_bit(cnt, trans_pcie->queue_used), cnt 2576 drivers/net/wireless/intel/iwlwifi/pcie/trans.c !!test_bit(cnt, trans_pcie->queue_stopped), cnt 2578 drivers/net/wireless/intel/iwlwifi/pcie/trans.c (cnt == trans_pcie->cmd_queue ? " HCMD" : "")); cnt 854 drivers/net/wireless/marvell/libertas/debugfs.c size_t cnt, loff_t *ppos) cnt 864 drivers/net/wireless/marvell/libertas/debugfs.c if (cnt == 0) cnt 867 drivers/net/wireless/marvell/libertas/debugfs.c pdata = memdup_user_nul(buf, cnt); cnt 899 drivers/net/wireless/marvell/libertas/debugfs.c return (ssize_t)cnt; cnt 331 drivers/net/wireless/marvell/libertas/main.c int cnt; cnt 337 drivers/net/wireless/marvell/libertas/main.c cnt = netdev_mc_count(dev); cnt 342 drivers/net/wireless/marvell/libertas/main.c cnt--; cnt 352 drivers/net/wireless/marvell/libertas/main.c cnt--; cnt 355 drivers/net/wireless/marvell/libertas/main.c if (cnt) cnt 1640 drivers/net/wireless/marvell/mwifiex/sta_cmd.c u16 cnt, idx, length; cnt 1650 drivers/net/wireless/marvell/mwifiex/sta_cmd.c for (cnt = 0; cnt < cfg->num_of_rules; cnt++) { cnt 1653 drivers/net/wireless/marvell/mwifiex/sta_cmd.c cpu_to_le16(cfg->rule[cnt].max_coalescing_delay); cnt 1654 drivers/net/wireless/marvell/mwifiex/sta_cmd.c rule->pkt_type = cfg->rule[cnt].pkt_type; cnt 1655 drivers/net/wireless/marvell/mwifiex/sta_cmd.c rule->num_of_fields = cfg->rule[cnt].num_of_fields; cnt 1660 drivers/net/wireless/marvell/mwifiex/sta_cmd.c for (idx = 0; idx < cfg->rule[cnt].num_of_fields; idx++) { cnt 1661 drivers/net/wireless/marvell/mwifiex/sta_cmd.c param->operation = cfg->rule[cnt].params[idx].operation; cnt 1663 drivers/net/wireless/marvell/mwifiex/sta_cmd.c cfg->rule[cnt].params[idx].operand_len; cnt 1665 drivers/net/wireless/marvell/mwifiex/sta_cmd.c cpu_to_le16(cfg->rule[cnt].params[idx].offset); cnt 1667 drivers/net/wireless/marvell/mwifiex/sta_cmd.c cfg->rule[cnt].params[idx].operand_byte_stream, cnt 150 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c int cnt, i, ret; cnt 155 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c cnt = min(max_vals_per_cmd, n); cnt 157 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c skb = alloc_skb(cnt * 8 + MT_DMA_HDR_LEN + 4, GFP_KERNEL); cnt 162 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c for (i = 0; i < cnt; i++) { cnt 168 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c ret = __mt76x02u_mcu_send_msg(dev, skb, CMD_RANDOM_WRITE, cnt == n); cnt 173 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c return mt76x02u_mcu_wr_rp(dev, base, data + cnt, n - cnt); cnt 184 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c int cnt, i, ret; cnt 189 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c cnt = min(max_vals_per_cmd, n); cnt 190 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c if (cnt != n) cnt 193 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c skb = alloc_skb(cnt * 8 + MT_DMA_HDR_LEN + 4, GFP_KERNEL); cnt 198 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c for (i = 0; i < cnt; i++) { cnt 133 drivers/net/wireless/mediatek/mt7601u/dma.c int cnt = 0; cnt 147 drivers/net/wireless/mediatek/mt7601u/dma.c cnt++; cnt 150 drivers/net/wireless/mediatek/mt7601u/dma.c if (cnt > 1) cnt 151 drivers/net/wireless/mediatek/mt7601u/dma.c trace_mt_rx_dma_aggr(dev, cnt, !!new_p); cnt 213 drivers/net/wireless/mediatek/mt7601u/mcu.c int cnt, i, ret; cnt 218 drivers/net/wireless/mediatek/mt7601u/mcu.c cnt = min(max_vals_per_cmd, n); cnt 220 drivers/net/wireless/mediatek/mt7601u/mcu.c skb = alloc_skb(cnt * 8 + MT_DMA_HDR_LEN + 4, GFP_KERNEL); cnt 225 drivers/net/wireless/mediatek/mt7601u/mcu.c for (i = 0; i < cnt; i++) { cnt 230 drivers/net/wireless/mediatek/mt7601u/mcu.c ret = mt7601u_mcu_msg_send(dev, skb, CMD_RANDOM_WRITE, cnt == n); cnt 234 drivers/net/wireless/mediatek/mt7601u/mcu.c return mt7601u_write_reg_pairs(dev, base, data + cnt, n - cnt); cnt 242 drivers/net/wireless/mediatek/mt7601u/mcu.c int cnt, i, ret; cnt 247 drivers/net/wireless/mediatek/mt7601u/mcu.c cnt = min(max_regs_per_cmd, n); cnt 249 drivers/net/wireless/mediatek/mt7601u/mcu.c skb = alloc_skb(cnt * 4 + MT_DMA_HDR_LEN + 4, GFP_KERNEL); cnt 255 drivers/net/wireless/mediatek/mt7601u/mcu.c for (i = 0; i < cnt; i++) cnt 258 drivers/net/wireless/mediatek/mt7601u/mcu.c ret = mt7601u_mcu_msg_send(dev, skb, CMD_BURST_WRITE, cnt == n); cnt 262 drivers/net/wireless/mediatek/mt7601u/mcu.c return mt7601u_burst_write_regs(dev, offset + cnt * 4, cnt 263 drivers/net/wireless/mediatek/mt7601u/mcu.c data + cnt, n - cnt); cnt 347 drivers/net/wireless/mediatek/mt7601u/trace.h TP_PROTO(struct mt7601u_dev *dev, int cnt, bool paged), cnt 348 drivers/net/wireless/mediatek/mt7601u/trace.h TP_ARGS(dev, cnt, paged), cnt 351 drivers/net/wireless/mediatek/mt7601u/trace.h __field(u8, cnt) cnt 356 drivers/net/wireless/mediatek/mt7601u/trace.h __entry->cnt = cnt; cnt 360 drivers/net/wireless/mediatek/mt7601u/trace.h DEV_PR_ARG, __entry->cnt, __entry->paged) cnt 8455 drivers/net/wireless/ralink/rt2x00/rt2800lib.c unsigned int cnt; cnt 8461 drivers/net/wireless/ralink/rt2x00/rt2800lib.c cnt = 0; cnt 8465 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (bbp_val == 0x02 || cnt == 20) cnt 8468 drivers/net/wireless/ralink/rt2x00/rt2800lib.c cnt++; cnt 8469 drivers/net/wireless/ralink/rt2x00/rt2800lib.c } while (cnt < 20); cnt 8487 drivers/net/wireless/ralink/rt2x00/rt2800lib.c int loop = 0, is_ht40, cnt; cnt 8545 drivers/net/wireless/ralink/rt2x00/rt2800lib.c cnt = 0; cnt 8549 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (((rf_val & 0x1) == 0x00) || (cnt == 40)) cnt 8551 drivers/net/wireless/ralink/rt2x00/rt2800lib.c cnt++; cnt 8552 drivers/net/wireless/ralink/rt2x00/rt2800lib.c } while (cnt < 40); cnt 51 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c u8 cnt = 0; cnt 59 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c cnt++; cnt 65 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c cnt++; cnt 70 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c if (cnt > 0) cnt 1058 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c u8 cnt = 0; cnt 1073 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c cnt++; cnt 1077 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c if (cnt == 1) cnt 1213 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c u8 cnt = 0; cnt 1229 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c cnt++; cnt 1233 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c if (cnt == 1) cnt 1748 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c u32 path, addr = EEPROM_TX_PWR_INX, group, cnt = 0; cnt 1765 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c for (cnt = 0; cnt < MAX_TX_COUNT; cnt++) { cnt 1766 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (cnt == 0) { cnt 1770 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->bw20_diff[path][cnt] = 0xFE; cnt 1771 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->bw40_diff[path][cnt] = 0xFE; cnt 1772 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->cck_diff[path][cnt] = 0xFE; cnt 1773 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->ofdm_diff[path][cnt] = 0xFE; cnt 1793 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c for (cnt = 0; cnt < MAX_TX_COUNT; cnt++) { cnt 1794 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (cnt == 0) { cnt 1795 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->bw40_diff[path][cnt] = 0; cnt 1797 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->bw20_diff[path][cnt] = 0x02; cnt 1799 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->bw20_diff[path][cnt] = cnt 1802 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (pw2g->bw20_diff[path][cnt] & BIT(3)) cnt 1803 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->bw20_diff[path][cnt] |= cnt 1808 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->ofdm_diff[path][cnt] = 0x04; cnt 1810 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->ofdm_diff[path][cnt] = cnt 1813 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (pw2g->ofdm_diff[path][cnt] & BIT(3)) cnt 1814 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->ofdm_diff[path][cnt] |= cnt 1817 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->cck_diff[path][cnt] = 0; cnt 1821 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->bw40_diff[path][cnt] = 0xFE; cnt 1823 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->bw40_diff[path][cnt] = cnt 1825 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (pw2g->bw40_diff[path][cnt] & BIT(3)) cnt 1826 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->bw40_diff[path][cnt] |= cnt 1831 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->bw20_diff[path][cnt] = 0xFE; cnt 1833 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->bw20_diff[path][cnt] = cnt 1835 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (pw2g->bw20_diff[path][cnt] & BIT(3)) cnt 1836 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->bw20_diff[path][cnt] |= cnt 1842 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->ofdm_diff[path][cnt] = 0xFE; cnt 1844 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->ofdm_diff[path][cnt] = cnt 1846 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (pw2g->ofdm_diff[path][cnt] & BIT(3)) cnt 1847 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->ofdm_diff[path][cnt] |= cnt 1852 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->cck_diff[path][cnt] = 0xFE; cnt 1854 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->cck_diff[path][cnt] = cnt 1856 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (pw2g->cck_diff[path][cnt] & BIT(3)) cnt 1857 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g->cck_diff[path][cnt] |= cnt 1871 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c for (cnt = 0; cnt < MAX_TX_COUNT; cnt++) { cnt 1872 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (cnt == 0) { cnt 1873 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw5g->bw40_diff[path][cnt] = 0; cnt 1876 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw5g->bw20_diff[path][cnt] = 0; cnt 1880 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (pw5g->bw20_diff[path][cnt] & BIT(3)) cnt 1881 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw5g->bw20_diff[path][cnt] |= cnt 1886 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw5g->ofdm_diff[path][cnt] = 0x04; cnt 1890 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (pw5g->ofdm_diff[path][cnt] & BIT(3)) cnt 1891 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw5g->ofdm_diff[path][cnt] |= cnt 1897 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw5g->bw40_diff[path][cnt] = 0xFE; cnt 1899 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw5g->bw40_diff[path][cnt] = cnt 1901 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (pw5g->bw40_diff[path][cnt] & BIT(3)) cnt 1902 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw5g->bw40_diff[path][cnt] |= 0xF0; cnt 1906 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw5g->bw20_diff[path][cnt] = 0xFE; cnt 1908 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw5g->bw20_diff[path][cnt] = cnt 1910 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (pw5g->bw20_diff[path][cnt] & BIT(3)) cnt 1911 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw5g->bw20_diff[path][cnt] |= 0xF0; cnt 1932 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c for (cnt = 1; cnt < MAX_TX_COUNT; cnt++) { cnt 1933 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (pw5g->ofdm_diff[path][cnt] == 0xFF) cnt 1934 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw5g->ofdm_diff[path][cnt] = 0xFE; cnt 1935 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c else if (pw5g->ofdm_diff[path][cnt] & BIT(3)) cnt 1936 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw5g->ofdm_diff[path][cnt] |= 0xF0; cnt 983 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c u8 cnt = 0; cnt 1001 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c cnt++; cnt 1004 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c if (cnt == 1) cnt 2279 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 cnt = 0; cnt 2308 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c } while (cnt++ < 200); cnt 303 drivers/net/wireless/realtek/rtw88/coex.c u8 cnt = 0; cnt 321 drivers/net/wireless/realtek/rtw88/coex.c } while (++cnt < wait_cnt); cnt 323 drivers/net/wireless/realtek/rtw88/coex.c if (cnt >= wait_cnt) cnt 91 drivers/net/wireless/realtek/rtw88/efuse.c u32 cnt; cnt 105 drivers/net/wireless/realtek/rtw88/efuse.c cnt = 1000000; cnt 109 drivers/net/wireless/realtek/rtw88/efuse.c if (--cnt == 0) cnt 107 drivers/net/wireless/realtek/rtw88/mac.c u32 cnt = RTW_PWR_POLLING_CNT; cnt 115 drivers/net/wireless/realtek/rtw88/mac.c cnt--; cnt 120 drivers/net/wireless/realtek/rtw88/mac.c if (cnt == 0) { cnt 128 drivers/net/wireless/realtek/rtw88/mac.c cnt = RTW_PWR_POLLING_CNT; cnt 1000 drivers/net/wireless/realtek/rtw88/pci.c u8 cnt = 20; cnt 1008 drivers/net/wireless/realtek/rtw88/pci.c while (flag && (cnt != 0)) { cnt 1011 drivers/net/wireless/realtek/rtw88/pci.c cnt--; cnt 1021 drivers/net/wireless/realtek/rtw88/pci.c u8 cnt; cnt 1033 drivers/net/wireless/realtek/rtw88/pci.c cnt = 20; cnt 1034 drivers/net/wireless/realtek/rtw88/pci.c while (wflag && (cnt != 0)) { cnt 1038 drivers/net/wireless/realtek/rtw88/pci.c cnt--; cnt 263 drivers/net/wireless/realtek/rtw88/rtw8822c.c int i = 0, cnt = 0; cnt 265 drivers/net/wireless/realtek/rtw88/rtw8822c.c while (i < DACK_SN_8822C && cnt < 10000) { cnt 266 drivers/net/wireless/realtek/rtw88/rtw8822c.c cnt++; cnt 284 drivers/net/wireless/realtek/rtw88/rtw8822c.c int i, cnt = 0; cnt 329 drivers/net/wireless/realtek/rtw88/rtw8822c.c } while (cnt++ < 100); cnt 803 drivers/net/wireless/realtek/rtw88/rtw8822c.c u32 cnt = 0; cnt 812 drivers/net/wireless/realtek/rtw88/rtw8822c.c } while (cnt++ < 100); cnt 11 drivers/net/wireless/realtek/rtw88/util.c u32 cnt; cnt 13 drivers/net/wireless/realtek/rtw88/util.c for (cnt = 0; cnt < 1000; cnt++) { cnt 143 drivers/net/wireless/rsi/rsi_91x_coex.c int cnt; cnt 153 drivers/net/wireless/rsi/rsi_91x_coex.c for (cnt = 0; cnt < NUM_COEX_TX_QUEUES; cnt++) cnt 154 drivers/net/wireless/rsi/rsi_91x_coex.c skb_queue_head_init(&coex_cb->coex_tx_qs[cnt]); cnt 172 drivers/net/wireless/rsi/rsi_91x_coex.c int cnt; cnt 176 drivers/net/wireless/rsi/rsi_91x_coex.c for (cnt = 0; cnt < NUM_COEX_TX_QUEUES; cnt++) cnt 177 drivers/net/wireless/rsi/rsi_91x_coex.c skb_queue_purge(&coex_cb->coex_tx_qs[cnt]); cnt 1010 drivers/net/wireless/rsi/rsi_91x_hal.c int status, cnt; cnt 1063 drivers/net/wireless/rsi/rsi_91x_hal.c cnt = 0; cnt 1066 drivers/net/wireless/rsi/rsi_91x_hal.c __func__, cnt); cnt 1068 drivers/net/wireless/rsi/rsi_91x_hal.c dest = le32_to_cpu(bootload_ds.bl_entry[cnt].dst_addr); cnt 1069 drivers/net/wireless/rsi/rsi_91x_hal.c len = le32_to_cpu(bootload_ds.bl_entry[cnt].control) & cnt 1080 drivers/net/wireless/rsi/rsi_91x_hal.c "Failed to load chunk %d\n", cnt); cnt 1084 drivers/net/wireless/rsi/rsi_91x_hal.c if (le32_to_cpu(bootload_ds.bl_entry[cnt].control) & cnt 1087 drivers/net/wireless/rsi/rsi_91x_hal.c cnt++; cnt 1431 drivers/net/wireless/rsi/rsi_91x_mac80211.c u8 cnt; cnt 1441 drivers/net/wireless/rsi/rsi_91x_mac80211.c for (cnt = 0; cnt < common->max_stations; cnt++) { cnt 1442 drivers/net/wireless/rsi/rsi_91x_mac80211.c rsta = &common->stations[cnt]; cnt 1446 drivers/net/wireless/rsi/rsi_91x_mac80211.c free_index = cnt; cnt 1451 drivers/net/wireless/rsi/rsi_91x_mac80211.c sta_idx = cnt; cnt 1470 drivers/net/wireless/rsi/rsi_91x_mac80211.c for (cnt = 0; cnt < IEEE80211_NUM_TIDS; cnt++) cnt 1471 drivers/net/wireless/rsi/rsi_91x_mac80211.c rsta->start_tx_aggr[cnt] = false; cnt 1472 drivers/net/wireless/rsi/rsi_91x_mac80211.c for (cnt = 0; cnt < IEEE80211_NUM_TIDS; cnt++) cnt 1473 drivers/net/wireless/rsi/rsi_91x_mac80211.c rsta->seq_start[cnt] = 0; cnt 1546 drivers/net/wireless/rsi/rsi_91x_mac80211.c u8 sta_idx, cnt; cnt 1562 drivers/net/wireless/rsi/rsi_91x_mac80211.c for (cnt = 0; cnt < IEEE80211_NUM_TIDS; cnt++) cnt 1563 drivers/net/wireless/rsi/rsi_91x_mac80211.c rsta->start_tx_aggr[cnt] = false; cnt 1738 drivers/net/wireless/rsi/rsi_91x_mac80211.c int cnt; cnt 1740 drivers/net/wireless/rsi/rsi_91x_mac80211.c for (cnt = 0; cnt < RSI_MAX_VIFS; cnt++) { cnt 1741 drivers/net/wireless/rsi/rsi_91x_mac80211.c vif = adapter->vifs[cnt]; cnt 2338 drivers/ntb/hw/idt/ntb_hw_idt.c unsigned char idx, pidx, cnt; cnt 2399 drivers/ntb/hw/idt/ntb_hw_idt.c for (idx = 0; idx < ndev->mw_cnt; idx += cnt) { cnt 2401 drivers/ntb/hw/idt/ntb_hw_idt.c cnt = idt_get_mw_count(data); cnt 2409 drivers/ntb/hw/idt/ntb_hw_idt.c "\t%hhu-%hhu.\t", idx, idx + cnt - 1); cnt 2429 drivers/ntb/hw/idt/ntb_hw_idt.c for (idx = 0; idx < ndev->peers[pidx].mw_cnt; idx += cnt) { cnt 2431 drivers/ntb/hw/idt/ntb_hw_idt.c cnt = idt_get_mw_count(data); cnt 2438 drivers/ntb/hw/idt/ntb_hw_idt.c "\t%hhu-%hhu.\t", idx, idx + cnt - 1); cnt 1189 drivers/ntb/hw/mscc/ntb_hw_switchtec.c int cnt = 0; cnt 1195 drivers/ntb/hw/mscc/ntb_hw_switchtec.c map[cnt++] = i; cnt 1198 drivers/ntb/hw/mscc/ntb_hw_switchtec.c return cnt; cnt 2575 drivers/nvme/host/fc.c u32 cnt; cnt 2577 drivers/nvme/host/fc.c cnt = atomic_dec_return(&lport->act_rport_cnt); cnt 2578 drivers/nvme/host/fc.c if (cnt == 0 && lport->localport.port_state == FC_OBJSTATE_DELETED) cnt 2586 drivers/nvme/host/fc.c u32 cnt; cnt 2592 drivers/nvme/host/fc.c cnt = atomic_inc_return(&rport->act_ctrl_cnt); cnt 2593 drivers/nvme/host/fc.c if (cnt == 1) cnt 2604 drivers/nvme/host/fc.c u32 cnt; cnt 2608 drivers/nvme/host/fc.c cnt = atomic_dec_return(&rport->act_ctrl_cnt); cnt 2609 drivers/nvme/host/fc.c if (cnt == 0) { cnt 738 drivers/of/overlay.c int cnt, id, ret; cnt 764 drivers/of/overlay.c cnt = 0; cnt 770 drivers/of/overlay.c cnt++; cnt 777 drivers/of/overlay.c cnt++; cnt 781 drivers/of/overlay.c fragments = kcalloc(cnt, sizeof(*fragments), GFP_KERNEL); cnt 787 drivers/of/overlay.c cnt = 0; cnt 793 drivers/of/overlay.c fragment = &fragments[cnt]; cnt 802 drivers/of/overlay.c cnt++; cnt 812 drivers/of/overlay.c fragment = &fragments[cnt]; cnt 822 drivers/of/overlay.c cnt++; cnt 825 drivers/of/overlay.c if (!cnt) { cnt 832 drivers/of/overlay.c ovcs->count = cnt; cnt 35 drivers/parisc/iommu-helpers.h (unsigned long)sg_dma_address(startsg), cnt, cnt 393 drivers/parisc/iosapic.c int cnt; /* track how many entries we've looked at */ cnt 398 drivers/parisc/iosapic.c for (cnt=0; cnt < irt_num_entry; cnt++, i++) { cnt 408 drivers/parisc/iosapic.c DBG_IRT(KERN_WARNING MODULE_NAME ":find_irqline(0x%p): skipping entry %d type %d\n", i, cnt, i->entry_type); cnt 413 drivers/parisc/iosapic.c DBG_IRT(KERN_WARNING MODULE_NAME ":find_irqline(0x%p): skipping entry %d length %d\n", i, cnt, i->entry_length); cnt 418 drivers/parisc/iosapic.c DBG_IRT(KERN_WARNING MODULE_NAME ":find_irqline(0x%p): skipping entry %d interrupt_type %d\n", i, cnt, i->interrupt_type); cnt 808 drivers/parisc/iosapic.c int cnt; cnt 814 drivers/parisc/iosapic.c for (cnt = 0; cnt < irt_num_entry; cnt++) { cnt 815 drivers/parisc/iosapic.c irte = &irt_cell[cnt]; cnt 820 drivers/parisc/iosapic.c if (cnt >= irt_num_entry) cnt 906 drivers/parisc/iosapic.c int cnt; /* track how many entries we've looked at */ cnt 913 drivers/parisc/iosapic.c for (cnt=0; cnt < irt_num_entry; cnt++, irte++) { cnt 919 drivers/parisc/iosapic.c if (cnt >= irt_num_entry) { cnt 942 drivers/parisc/iosapic.c for (cnt=0; cnt < isi->isi_num_vectors; cnt++, vip++) { cnt 943 drivers/parisc/iosapic.c vip->irqline = (unsigned char) cnt; cnt 833 drivers/parisc/sba_iommu.c int cnt = ioc->saved_cnt; cnt 834 drivers/parisc/sba_iommu.c while (cnt--) { cnt 438 drivers/pci/controller/dwc/pci-meson.c u32 cnt = 0; cnt 463 drivers/pci/controller/dwc/pci-meson.c cnt++; cnt 466 drivers/pci/controller/dwc/pci-meson.c } while (cnt < WAIT_LINKUP_TIMEOUT); cnt 1164 drivers/pci/pcie/aspm.c int i, cnt = 0; cnt 1167 drivers/pci/pcie/aspm.c cnt += sprintf(buffer + cnt, "[%s] ", policy_str[i]); cnt 1169 drivers/pci/pcie/aspm.c cnt += sprintf(buffer + cnt, "%s ", policy_str[i]); cnt 1170 drivers/pci/pcie/aspm.c return cnt; cnt 33 drivers/pci/proc.c unsigned int cnt, size; cnt 54 drivers/pci/proc.c cnt = nbytes; cnt 56 drivers/pci/proc.c if (!access_ok(buf, cnt)) cnt 61 drivers/pci/proc.c if ((pos & 1) && cnt) { cnt 67 drivers/pci/proc.c cnt--; cnt 70 drivers/pci/proc.c if ((pos & 3) && cnt > 2) { cnt 76 drivers/pci/proc.c cnt -= 2; cnt 79 drivers/pci/proc.c while (cnt >= 4) { cnt 85 drivers/pci/proc.c cnt -= 4; cnt 88 drivers/pci/proc.c if (cnt >= 2) { cnt 94 drivers/pci/proc.c cnt -= 2; cnt 97 drivers/pci/proc.c if (cnt) { cnt 103 drivers/pci/proc.c cnt--; cnt 119 drivers/pci/proc.c int cnt, ret; cnt 131 drivers/pci/proc.c cnt = nbytes; cnt 133 drivers/pci/proc.c if (!access_ok(buf, cnt)) cnt 138 drivers/pci/proc.c if ((pos & 1) && cnt) { cnt 144 drivers/pci/proc.c cnt--; cnt 147 drivers/pci/proc.c if ((pos & 3) && cnt > 2) { cnt 153 drivers/pci/proc.c cnt -= 2; cnt 156 drivers/pci/proc.c while (cnt >= 4) { cnt 162 drivers/pci/proc.c cnt -= 4; cnt 165 drivers/pci/proc.c if (cnt >= 2) { cnt 171 drivers/pci/proc.c cnt -= 2; cnt 174 drivers/pci/proc.c if (cnt) { cnt 180 drivers/pci/proc.c cnt--; cnt 125 drivers/perf/fsl_imx8_ddr_perf.c IMX8_DDR_PMU_EVENT_ATTR(lp-read-credit-cnt, 0x10), cnt 126 drivers/perf/fsl_imx8_ddr_perf.c IMX8_DDR_PMU_EVENT_ATTR(hp-read-credit-cnt, 0x11), cnt 127 drivers/perf/fsl_imx8_ddr_perf.c IMX8_DDR_PMU_EVENT_ATTR(write-credit-cnt, 0x12), cnt 130 drivers/phy/broadcom/phy-bcm-cygnus-pcie.c unsigned cnt = 0; cnt 185 drivers/phy/broadcom/phy-bcm-cygnus-pcie.c cnt++; cnt 196 drivers/phy/broadcom/phy-bcm-cygnus-pcie.c dev_dbg(dev, "registered %u PCIe PHY(s)\n", cnt); cnt 2171 drivers/pinctrl/pinctrl-rockchip.c int cnt, ret = 0; cnt 2180 drivers/pinctrl/pinctrl-rockchip.c for (cnt = 0; cnt < info->groups[group].npins; cnt++) { cnt 2181 drivers/pinctrl/pinctrl-rockchip.c bank = pin_to_bank(info, pins[cnt]); cnt 2182 drivers/pinctrl/pinctrl-rockchip.c ret = rockchip_set_mux(bank, pins[cnt] - bank->pin_base, cnt 2183 drivers/pinctrl/pinctrl-rockchip.c data[cnt].func); cnt 2190 drivers/pinctrl/pinctrl-rockchip.c for (cnt--; cnt >= 0; cnt--) cnt 2191 drivers/pinctrl/pinctrl-rockchip.c rockchip_set_mux(bank, pins[cnt] - bank->pin_base, 0); cnt 505 drivers/pinctrl/samsung/pinctrl-samsung.c unsigned int cnt; cnt 510 drivers/pinctrl/samsung/pinctrl-samsung.c for (cnt = 0; cnt < drvdata->pin_groups[group].num_pins; cnt++) cnt 511 drivers/pinctrl/samsung/pinctrl-samsung.c samsung_pinconf_set(pctldev, pins[cnt], configs, num_configs); cnt 671 drivers/pinctrl/samsung/pinctrl-samsung.c unsigned int *cnt) cnt 691 drivers/pinctrl/samsung/pinctrl-samsung.c *cnt = ctrldesc->npins; cnt 741 drivers/pinctrl/samsung/pinctrl-samsung.c unsigned int *cnt) cnt 815 drivers/pinctrl/samsung/pinctrl-samsung.c *cnt = func_cnt; cnt 881 drivers/pinctrl/sprd/pinctrl-sprd.c unsigned int group_cnt, cnt; cnt 886 drivers/pinctrl/sprd/pinctrl-sprd.c cnt = of_get_child_count(child); cnt 887 drivers/pinctrl/sprd/pinctrl-sprd.c if (cnt > 0) cnt 888 drivers/pinctrl/sprd/pinctrl-sprd.c group_cnt += cnt; cnt 290 drivers/platform/chrome/cros_ec_lpc.c int cnt = 0; cnt 304 drivers/platform/chrome/cros_ec_lpc.c cnt++; cnt 309 drivers/platform/chrome/cros_ec_lpc.c return cnt; cnt 2185 drivers/platform/x86/sony-laptop.c short cnt; cnt 2188 drivers/platform/x86/sony-laptop.c for (cnt = 0; cnt < THM_PROFILE_MAX; cnt++) { cnt 2189 drivers/platform/x86/sony-laptop.c if (!cnt || (th_handle->profiles & cnt)) cnt 2191 drivers/platform/x86/sony-laptop.c snc_thermal_profiles[cnt]); cnt 27 drivers/pnp/isapnp/proc.c int cnt, size = 256; cnt 35 drivers/pnp/isapnp/proc.c cnt = nbytes; cnt 37 drivers/pnp/isapnp/proc.c if (!access_ok(buf, cnt)) cnt 41 drivers/pnp/isapnp/proc.c for (; pos < 256 && cnt > 0; pos++, buf++, cnt--) { cnt 233 drivers/power/supply/power_supply_core.c int cnt = 0; cnt 246 drivers/power/supply/power_supply_core.c np = of_parse_phandle(psy->of_node, "power-supplies", cnt++); cnt 260 drivers/power/supply/power_supply_core.c if (cnt == 1) cnt 270 drivers/power/supply/power_supply_core.c cnt - 1, sizeof(char *), cnt 400 drivers/ptp/ptp_chardev.c uint rdflags, char __user *buf, size_t cnt) cnt 409 drivers/ptp/ptp_chardev.c if (cnt % sizeof(struct ptp_extts_event) != 0) cnt 412 drivers/ptp/ptp_chardev.c if (cnt > EXTTS_BUFSIZE) cnt 413 drivers/ptp/ptp_chardev.c cnt = EXTTS_BUFSIZE; cnt 415 drivers/ptp/ptp_chardev.c cnt = cnt / sizeof(struct ptp_extts_event); cnt 441 drivers/ptp/ptp_chardev.c if (cnt > qcnt) cnt 442 drivers/ptp/ptp_chardev.c cnt = qcnt; cnt 444 drivers/ptp/ptp_chardev.c for (i = 0; i < cnt; i++) { cnt 451 drivers/ptp/ptp_chardev.c cnt = cnt * sizeof(struct ptp_extts_event); cnt 455 drivers/ptp/ptp_chardev.c result = cnt; cnt 456 drivers/ptp/ptp_chardev.c if (copy_to_user(buf, event, cnt)) cnt 60 drivers/ptp/ptp_private.h int cnt = q->tail - q->head; cnt 61 drivers/ptp/ptp_private.h return cnt < 0 ? PTP_MAX_TIMESTAMPS + cnt : cnt; cnt 78 drivers/ptp/ptp_private.h uint flags, char __user *buf, size_t cnt); cnt 43 drivers/ptp/ptp_sysfs.c int cnt, enable; cnt 46 drivers/ptp/ptp_sysfs.c cnt = sscanf(buf, "%u %d", &req.extts.index, &enable); cnt 47 drivers/ptp/ptp_sysfs.c if (cnt != 2) cnt 70 drivers/ptp/ptp_sysfs.c int cnt = 0; cnt 88 drivers/ptp/ptp_sysfs.c cnt = snprintf(page, PAGE_SIZE, "%u %lld %u\n", cnt 92 drivers/ptp/ptp_sysfs.c return cnt; cnt 103 drivers/ptp/ptp_sysfs.c int cnt, enable, err = -EINVAL; cnt 105 drivers/ptp/ptp_sysfs.c cnt = sscanf(buf, "%u %lld %u %lld %u", &req.perout.index, cnt 108 drivers/ptp/ptp_sysfs.c if (cnt != 5) cnt 131 drivers/ptp/ptp_sysfs.c int cnt, enable; cnt 137 drivers/ptp/ptp_sysfs.c cnt = sscanf(buf, "%d", &enable); cnt 138 drivers/ptp/ptp_sysfs.c if (cnt != 1) cnt 238 drivers/ptp/ptp_sysfs.c int cnt, err, index; cnt 240 drivers/ptp/ptp_sysfs.c cnt = sscanf(buf, "%u %u", &func, &chan); cnt 241 drivers/ptp/ptp_sysfs.c if (cnt != 2) cnt 165 drivers/pwm/pwm-meson.c unsigned int duty, period, pre_div, cnt, duty_cnt; cnt 188 drivers/pwm/pwm-meson.c cnt = div64_u64(fin_freq * (u64)period, NSEC_PER_SEC * (pre_div + 1)); cnt 189 drivers/pwm/pwm-meson.c if (cnt > 0xffff) { cnt 195 drivers/pwm/pwm-meson.c pre_div, cnt); cnt 199 drivers/pwm/pwm-meson.c channel->hi = cnt; cnt 204 drivers/pwm/pwm-meson.c channel->lo = cnt; cnt 219 drivers/pwm/pwm-meson.c channel->lo = cnt - duty_cnt; cnt 311 drivers/pwm/pwm-meson.c struct pwm_device *pwm, u32 cnt) cnt 327 drivers/pwm/pwm-meson.c return cnt * fin_ns * (channel->pre_div + 1); cnt 59 drivers/regulator/dbx500-prcmu.c int cnt; cnt 62 drivers/regulator/dbx500-prcmu.c cnt = power_state_active_cnt; cnt 65 drivers/regulator/dbx500-prcmu.c return cnt; cnt 31 drivers/regulator/s2mpa01.c unsigned char cnt = 0; cnt 39 drivers/regulator/s2mpa01.c cnt++; cnt 42 drivers/regulator/s2mpa01.c if (cnt > 3) cnt 43 drivers/regulator/s2mpa01.c cnt = 3; cnt 45 drivers/regulator/s2mpa01.c return cnt; cnt 51 drivers/regulator/s2mps11.c unsigned char cnt = 0; cnt 59 drivers/regulator/s2mps11.c cnt++; cnt 62 drivers/regulator/s2mps11.c if (cnt > 3) cnt 63 drivers/regulator/s2mps11.c cnt = 3; cnt 65 drivers/regulator/s2mps11.c return cnt; cnt 130 drivers/remoteproc/stm32_rproc.c int cnt, array_size, i, ret = 0; cnt 135 drivers/remoteproc/stm32_rproc.c cnt = of_property_count_elems_of_size(np, "dma-ranges", cnt 137 drivers/remoteproc/stm32_rproc.c if (cnt <= 0) { cnt 142 drivers/remoteproc/stm32_rproc.c p_mems = devm_kcalloc(dev, cnt, sizeof(*p_mems), GFP_KERNEL); cnt 145 drivers/remoteproc/stm32_rproc.c mem_range = kcalloc(cnt, sizeof(*mem_range), GFP_KERNEL); cnt 149 drivers/remoteproc/stm32_rproc.c array_size = cnt * sizeof(struct stm32_rproc_mem_ranges) / sizeof(u32); cnt 158 drivers/remoteproc/stm32_rproc.c for (i = 0; i < cnt; i++) { cnt 169 drivers/remoteproc/stm32_rproc.c ddata->nb_rmems = cnt; cnt 473 drivers/rtc/rtc-imxdi.c int cnt; cnt 481 drivers/rtc/rtc-imxdi.c for (cnt = 0; cnt < 1000; cnt++) { cnt 328 drivers/rtc/rtc-m48t59.c ssize_t cnt = 0; cnt 334 drivers/rtc/rtc-m48t59.c for (; cnt < size; cnt++) cnt 335 drivers/rtc/rtc-m48t59.c *buf++ = M48T59_READ(cnt); cnt 349 drivers/rtc/rtc-m48t59.c ssize_t cnt = 0; cnt 355 drivers/rtc/rtc-m48t59.c for (; cnt < size; cnt++) cnt 356 drivers/rtc/rtc-m48t59.c M48T59_WRITE(*buf++, cnt); cnt 105 drivers/rtc/rtc-msm6242.c int cnt = 5; cnt 109 drivers/rtc/rtc-msm6242.c while ((msm6242_read(priv, MSM6242_CD) & MSM6242_CD_BUSY) && cnt) { cnt 113 drivers/rtc/rtc-msm6242.c cnt--; cnt 116 drivers/rtc/rtc-msm6242.c if (!cnt) cnt 216 drivers/rtc/rtc-rs5c313.c int cnt; cnt 218 drivers/rtc/rtc-rs5c313.c cnt = 0; cnt 231 drivers/rtc/rtc-rs5c313.c if (cnt++ > 100) { cnt 276 drivers/rtc/rtc-rs5c313.c int cnt; cnt 278 drivers/rtc/rtc-rs5c313.c cnt = 0; cnt 292 drivers/rtc/rtc-rs5c313.c if (cnt++ > 100) { cnt 334 drivers/rtc/rtc-rs5c313.c int cnt; cnt 344 drivers/rtc/rtc-rs5c313.c for (cnt = 0; cnt < 100; cnt++) { cnt 146 drivers/s390/char/zcore.c memblock.memory.cnt * CHUNK_INFO_SIZE); cnt 155 drivers/s390/char/zcore.c buf = kcalloc(memblock.memory.cnt, CHUNK_INFO_SIZE, GFP_KERNEL); cnt 373 drivers/s390/cio/vfio_ccw_cp.c int cnt = 0; cnt 376 drivers/s390/cio/vfio_ccw_cp.c cnt++; cnt 394 drivers/s390/cio/vfio_ccw_cp.c if (!ccw_is_chain(ccw) && !is_tic_within_range(ccw, iova, cnt)) cnt 398 drivers/s390/cio/vfio_ccw_cp.c } while (cnt < CCWCHAIN_LEN_MAX + 1); cnt 400 drivers/s390/cio/vfio_ccw_cp.c if (cnt == CCWCHAIN_LEN_MAX + 1) cnt 401 drivers/s390/cio/vfio_ccw_cp.c cnt = -EINVAL; cnt 403 drivers/s390/cio/vfio_ccw_cp.c return cnt; cnt 1224 drivers/s390/crypto/zcrypt_api.c u64 cnt; cnt 1236 drivers/s390/crypto/zcrypt_api.c cnt = zq->queue->total_request_count; cnt 1238 drivers/s390/crypto/zcrypt_api.c reqcnt[card] = (cnt < UINT_MAX) ? (u32) cnt : UINT_MAX; cnt 105 drivers/s390/net/lcs.c int cnt; cnt 108 drivers/s390/net/lcs.c for (cnt = 0; cnt < LCS_NUM_BUFFS; cnt++) { cnt 110 drivers/s390/net/lcs.c channel->iob[cnt].data = cnt 112 drivers/s390/net/lcs.c if (channel->iob[cnt].data == NULL) cnt 114 drivers/s390/net/lcs.c channel->iob[cnt].state = LCS_BUF_STATE_EMPTY; cnt 116 drivers/s390/net/lcs.c if (cnt < LCS_NUM_BUFFS) { cnt 119 drivers/s390/net/lcs.c while (cnt-- > 0) cnt 120 drivers/s390/net/lcs.c kfree(channel->iob[cnt].data); cnt 132 drivers/s390/net/lcs.c int cnt; cnt 135 drivers/s390/net/lcs.c for (cnt = 0; cnt < LCS_NUM_BUFFS; cnt++) { cnt 136 drivers/s390/net/lcs.c kfree(channel->iob[cnt].data); cnt 137 drivers/s390/net/lcs.c channel->iob[cnt].data = NULL; cnt 211 drivers/s390/net/lcs.c int cnt; cnt 216 drivers/s390/net/lcs.c for (cnt = 0; cnt < LCS_NUM_BUFFS; cnt++) { cnt 217 drivers/s390/net/lcs.c card->read.ccws[cnt].cmd_code = LCS_CCW_READ; cnt 218 drivers/s390/net/lcs.c card->read.ccws[cnt].count = LCS_IOBUFFERSIZE; cnt 219 drivers/s390/net/lcs.c card->read.ccws[cnt].flags = cnt 225 drivers/s390/net/lcs.c card->read.ccws[cnt].cda = cnt 226 drivers/s390/net/lcs.c (__u32) __pa(card->read.iob[cnt].data); cnt 228 drivers/s390/net/lcs.c card->read.iob[cnt].data)->offset = LCS_ILLEGAL_OFFSET; cnt 229 drivers/s390/net/lcs.c card->read.iob[cnt].callback = lcs_get_frames_cb; cnt 230 drivers/s390/net/lcs.c card->read.iob[cnt].state = LCS_BUF_STATE_READY; cnt 231 drivers/s390/net/lcs.c card->read.iob[cnt].count = LCS_IOBUFFERSIZE; cnt 266 drivers/s390/net/lcs.c int cnt; cnt 271 drivers/s390/net/lcs.c for (cnt = 0; cnt < LCS_NUM_BUFFS; cnt++) { cnt 272 drivers/s390/net/lcs.c card->write.ccws[cnt].cmd_code = LCS_CCW_WRITE; cnt 273 drivers/s390/net/lcs.c card->write.ccws[cnt].count = 0; cnt 274 drivers/s390/net/lcs.c card->write.ccws[cnt].flags = cnt 280 drivers/s390/net/lcs.c card->write.ccws[cnt].cda = cnt 281 drivers/s390/net/lcs.c (__u32) __pa(card->write.iob[cnt].data); cnt 3586 drivers/s390/net/qeth_core_main.c int cnt, elements = 0; cnt 3588 drivers/s390/net/qeth_core_main.c for (cnt = 0; cnt < skb_shinfo(skb)->nr_frags; cnt++) { cnt 3589 drivers/s390/net/qeth_core_main.c skb_frag_t *frag = &skb_shinfo(skb)->frags[cnt]; cnt 3739 drivers/s390/net/qeth_core_main.c unsigned int elem_length, cnt; cnt 3767 drivers/s390/net/qeth_core_main.c for (cnt = 0; cnt < skb_shinfo(skb)->nr_frags; cnt++) { cnt 3768 drivers/s390/net/qeth_core_main.c skb_frag_t *frag = &skb_shinfo(skb)->frags[cnt]; cnt 276 drivers/s390/net/qeth_core_sys.c int cnt, old_cnt; cnt 289 drivers/s390/net/qeth_core_sys.c cnt = simple_strtoul(buf, &tmp, 10); cnt 290 drivers/s390/net/qeth_core_sys.c cnt = (cnt < QETH_IN_BUF_COUNT_MIN) ? QETH_IN_BUF_COUNT_MIN : cnt 291 drivers/s390/net/qeth_core_sys.c ((cnt > QETH_IN_BUF_COUNT_MAX) ? QETH_IN_BUF_COUNT_MAX : cnt); cnt 292 drivers/s390/net/qeth_core_sys.c if (old_cnt != cnt) { cnt 293 drivers/s390/net/qeth_core_sys.c rc = qeth_realloc_buffer_pool(card, cnt); cnt 681 drivers/s390/net/qeth_l3_main.c int cnt = 3; cnt 704 drivers/s390/net/qeth_l3_main.c } while ((--cnt > 0) && rc); cnt 39 drivers/s390/scsi/zfcp_qdio.c static void zfcp_qdio_zero_sbals(struct qdio_buffer *sbal[], int first, int cnt) cnt 43 drivers/s390/scsi/zfcp_qdio.c for (i = first; i < first + cnt; i++) { cnt 296 drivers/sbus/char/openprom.c static int cnt; cnt 346 drivers/sbus/char/openprom.c if (cnt++ < 10) cnt 351 drivers/sbus/char/openprom.c if (cnt++ < 10) cnt 793 drivers/scsi/NCR5380.c int cnt, toPIO; cnt 796 drivers/scsi/NCR5380.c cnt = toPIO = hostdata->read_overruns; cnt 802 drivers/scsi/NCR5380.c cnt--; cnt 807 drivers/scsi/NCR5380.c "Doing %d byte PIO to 0x%p\n", cnt, *data); cnt 808 drivers/scsi/NCR5380.c NCR5380_transfer_pio(instance, &p, &cnt, data); cnt 809 drivers/scsi/NCR5380.c *count -= toPIO - cnt; cnt 10070 drivers/scsi/aic7xxx/aic79xx_core.c int cnt; cnt 10072 drivers/scsi/aic7xxx/aic79xx_core.c cnt = 5000; cnt 10073 drivers/scsi/aic7xxx/aic79xx_core.c while ((ahd_inb(ahd, SEESTAT) & (SEEARBACK|SEEBUSY)) != 0 && --cnt) cnt 10076 drivers/scsi/aic7xxx/aic79xx_core.c if (cnt == 0) cnt 10170 drivers/scsi/aic7xxx/aic79xx_core.c int cnt; cnt 10173 drivers/scsi/aic7xxx/aic79xx_core.c cnt = 1000000 * 2 / 5; cnt 10174 drivers/scsi/aic7xxx/aic79xx_core.c while ((ahd_inb(ahd, BRDCTL) & FLXARBACK) == 0 && --cnt) cnt 10177 drivers/scsi/aic7xxx/aic79xx_core.c if (cnt == 0) cnt 1329 drivers/scsi/bfa/bfa_ioc.c int cnt = 0; cnt 1334 drivers/scsi/bfa/bfa_ioc.c while ((r32 & 1) && (cnt < BFA_SEM_SPINCNT)) { cnt 1335 drivers/scsi/bfa/bfa_ioc.c cnt++; cnt 5112 drivers/scsi/bfa/bfa_ioc.c bfa_diag_fwping(struct bfa_diag_s *diag, u32 cnt, u32 data, cnt 5116 drivers/scsi/bfa/bfa_ioc.c bfa_trc(diag, cnt); cnt 5139 drivers/scsi/bfa/bfa_ioc.c diag->fwping.count = cnt; cnt 643 drivers/scsi/bfa/bfa_ioc.h bfa_status_t bfa_diag_fwping(struct bfa_diag_s *diag, u32 cnt, cnt 1689 drivers/scsi/bfa/bfad_bsg.c iocmd->status = bfa_diag_fwping(BFA_DIAG_MOD(&bfad->bfa), iocmd->cnt, cnt 610 drivers/scsi/bfa/bfad_bsg.h u32 cnt; cnt 136 drivers/scsi/bfa/bfad_im.h struct bfad_s *drv, int cnt, cnt 151 drivers/scsi/bfa/bfad_im.h entry->seq_num = cnt; cnt 155 drivers/scsi/bnx2fc/bnx2fc.h #define BNX2FC_STATS(hba, stat, cnt) \ cnt 159 drivers/scsi/bnx2fc/bnx2fc.h val = fw_stats->stat.cnt; \ cnt 160 drivers/scsi/bnx2fc/bnx2fc.h if (hba->prev_stats.stat.cnt <= val) \ cnt 161 drivers/scsi/bnx2fc/bnx2fc.h val -= hba->prev_stats.stat.cnt; \ cnt 163 drivers/scsi/bnx2fc/bnx2fc.h val += (0xfffffff - hba->prev_stats.stat.cnt); \ cnt 164 drivers/scsi/bnx2fc/bnx2fc.h hba->bfw_stats.cnt += val; \ cnt 1680 drivers/scsi/bnx2fc/bnx2fc_hwi.c int cnt, i; cnt 1751 drivers/scsi/bnx2fc/bnx2fc_hwi.c cnt = sizeof(struct fcp_cmnd) / sizeof(u64); cnt 1753 drivers/scsi/bnx2fc/bnx2fc_hwi.c for (i = 0; i < cnt; i++) { cnt 885 drivers/scsi/csiostor/csio_hw.c int cnt = 6; cnt 889 drivers/scsi/csiostor/csio_hw.c (--cnt != 0)) cnt 897 drivers/scsi/csiostor/csio_hw.c if ((cnt == 0) && (((int32_t)(src_pf) < 0) || cnt 899 drivers/scsi/csiostor/csio_hw.c csio_err(hw, "PL_WHOAMI returned 0x%x, cnt:%d\n", reg, cnt); cnt 3489 drivers/scsi/csiostor/csio_hw.c uint32_t cnt = ECC_CECNT_G(csio_rd_reg32(hw, cnt_addr)); cnt 3493 drivers/scsi/csiostor/csio_hw.c cnt, name[idx], cnt > 1 ? "s" : ""); cnt 358 drivers/scsi/csiostor/csio_isr.c int cnt = hw->num_sqsets + k; cnt 372 drivers/scsi/csiostor/csio_isr.c for (i = k; i < cnt; i++, entryp++) { cnt 457 drivers/scsi/csiostor/csio_isr.c csio_reduce_sqsets(struct csio_hw *hw, int cnt) cnt 462 drivers/scsi/csiostor/csio_isr.c while (cnt < hw->num_sqsets) { cnt 468 drivers/scsi/csiostor/csio_isr.c if (hw->num_sqsets <= cnt) cnt 499 drivers/scsi/csiostor/csio_isr.c int i, j, k, n, min, cnt; cnt 512 drivers/scsi/csiostor/csio_isr.c cnt = hw->num_sqsets + extra; cnt 516 drivers/scsi/csiostor/csio_isr.c cnt = min_t(uint8_t, hw->cfg_niq, cnt); cnt 518 drivers/scsi/csiostor/csio_isr.c csio_dbg(hw, "FW supp #niq:%d, trying %d msix's\n", hw->cfg_niq, cnt); cnt 520 drivers/scsi/csiostor/csio_isr.c cnt = pci_alloc_irq_vectors_affinity(hw->pdev, min, cnt, cnt 522 drivers/scsi/csiostor/csio_isr.c if (cnt < 0) cnt 523 drivers/scsi/csiostor/csio_isr.c return cnt; cnt 525 drivers/scsi/csiostor/csio_isr.c if (cnt < (hw->num_sqsets + extra)) { cnt 526 drivers/scsi/csiostor/csio_isr.c csio_dbg(hw, "Reducing sqsets to %d\n", cnt - extra); cnt 527 drivers/scsi/csiostor/csio_isr.c csio_reduce_sqsets(hw, cnt - extra); cnt 1292 drivers/scsi/csiostor/csio_wr.c csio_closest_thresh(struct csio_sge *s, int cnt) cnt 1297 drivers/scsi/csiostor/csio_wr.c delta = cnt - s->counter_val[i]; cnt 574 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c unsigned int flits, cnt; cnt 579 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cnt = skb_shinfo(skb)->nr_frags; cnt 581 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cnt++; cnt 582 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c return flits + sgl_len(cnt); cnt 1975 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c unsigned int i, cnt; cnt 1982 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c for (i = 0; i < npods; i += cnt, pidx += cnt) { cnt 1983 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cnt = npods - i; cnt 1985 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c if (cnt > ULPMEM_IDATA_MAX_NPPODS) cnt 1986 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cnt = ULPMEM_IDATA_MAX_NPPODS; cnt 1987 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c err = ddp_ppod_write_idata(ppm, csk, ttinfo, pidx, cnt, cnt 304 drivers/scsi/cxlflash/sislite.h #define SISL_RHT_CNT_ID(cnt, ctx_id) (((cnt) << 48) | ((ctx_id) << 32)) cnt 115 drivers/scsi/fnic/fnic_debugfs.c size_t cnt, loff_t *ppos) cnt 131 drivers/scsi/fnic/fnic_debugfs.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, len); cnt 153 drivers/scsi/fnic/fnic_debugfs.c size_t cnt, loff_t *ppos) cnt 161 drivers/scsi/fnic/fnic_debugfs.c if (cnt >= sizeof(buf)) cnt 164 drivers/scsi/fnic/fnic_debugfs.c if (copy_from_user(&buf, ubuf, cnt)) cnt 167 drivers/scsi/fnic/fnic_debugfs.c buf[cnt] = 0; cnt 184 drivers/scsi/fnic/fnic_debugfs.c return cnt; cnt 483 drivers/scsi/fnic/fnic_debugfs.c size_t cnt, loff_t *ppos) cnt 492 drivers/scsi/fnic/fnic_debugfs.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, len); cnt 511 drivers/scsi/fnic/fnic_debugfs.c size_t cnt, loff_t *ppos) cnt 522 drivers/scsi/fnic/fnic_debugfs.c if (cnt >= sizeof(buf)) cnt 525 drivers/scsi/fnic/fnic_debugfs.c if (copy_from_user(&buf, ubuf, cnt)) cnt 528 drivers/scsi/fnic/fnic_debugfs.c buf[cnt] = 0; cnt 557 drivers/scsi/fnic/fnic_debugfs.c return cnt; cnt 71 drivers/scsi/fnic/vnic_wq_copy.h unsigned int cnt; cnt 74 drivers/scsi/fnic/vnic_wq_copy.h cnt = (index - wq->to_clean_index) + 1; cnt 76 drivers/scsi/fnic/vnic_wq_copy.h cnt = wq->ring.desc_count - wq->to_clean_index + index + 1; cnt 79 drivers/scsi/fnic/vnic_wq_copy.h wq->ring.desc_avail += cnt; cnt 1978 drivers/scsi/gdth.c u32 cnt, blockcnt; cnt 2046 drivers/scsi/gdth.c memcpy(&cnt, &scp->cmnd[10], sizeof(u32)); cnt 2047 drivers/scsi/gdth.c blockcnt = be32_to_cpu(cnt); cnt 2051 drivers/scsi/gdth.c memcpy(&cnt, &scp->cmnd[7], sizeof(u16)); cnt 2052 drivers/scsi/gdth.c blockcnt = be16_to_cpu(cnt); cnt 3892 drivers/scsi/gdth.c int cnt = gdth_ctr_count; cnt 3893 drivers/scsi/gdth.c if (put_user(cnt, (int __user *)argp)) cnt 157 drivers/scsi/gdth_proc.c u32 cnt; cnt 255 drivers/scsi/gdth_proc.c cnt = (3*GDTH_SCRATCH/4 - 5 * sizeof(u32)) / cnt 257 drivers/scsi/gdth_proc.c if (pds->entries > cnt) cnt 258 drivers/scsi/gdth_proc.c pds->entries = cnt; cnt 3424 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c int rc, cnt; cnt 3437 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c cnt = 0; cnt 3446 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c if (cnt++ > 10) { cnt 1134 drivers/scsi/imm.c unsigned int cnt = 0; cnt 1140 drivers/scsi/imm.c if (dev->dev_no != cnt) cnt 1142 drivers/scsi/imm.c cnt++; cnt 1512 drivers/scsi/initio.c long cnt, xcnt; /* cannot use unsigned !! code: if (xcnt < 0) */ cnt 1518 drivers/scsi/initio.c cnt = inl(host->addr + TUL_SCnt0) & 0x0FFFFFF; cnt 1536 drivers/scsi/initio.c cnt += (inb(host->addr + TUL_SFifoCnt) & 0x1F) << 1; cnt 1538 drivers/scsi/initio.c cnt += (inb(host->addr + TUL_SFifoCnt) & 0x1F); cnt 1546 drivers/scsi/initio.c if ((cnt == 1) && (host->phase == DATA_OUT)) { cnt 1550 drivers/scsi/initio.c cnt = 0; cnt 1556 drivers/scsi/initio.c if (cnt == 0) { cnt 1561 drivers/scsi/initio.c xcnt = (long) scb->buflen - cnt; /* xcnt== bytes already xferred */ cnt 1562 drivers/scsi/initio.c scb->buflen = (u32) cnt; /* cnt == bytes left to be xferred */ cnt 1645 drivers/scsi/initio.c int cnt, i; cnt 1651 drivers/scsi/initio.c cnt = inb(host->addr + TUL_SFifoCnt) & 0x1F; cnt 1652 drivers/scsi/initio.c if (cnt) { cnt 1653 drivers/scsi/initio.c for (i = 0; i < cnt; i++) cnt 268 drivers/scsi/libfc/fc_exch.c if (ep->seq.cnt) cnt 300 drivers/scsi/libfc/fc_exch.c fh->fh_seq_cnt = htons(ep->seq.cnt); cnt 490 drivers/scsi/libfc/fc_exch.c sp->cnt += DIV_ROUND_UP((fr_len(fp) - sizeof(*fh)), cnt 493 drivers/scsi/libfc/fc_exch.c sp->cnt++; cnt 551 drivers/scsi/libfc/fc_exch.c sp->cnt = 0; cnt 1446 drivers/scsi/libfc/fc_exch.c ap->ba_low_seq_cnt = htons(sp->cnt); cnt 2191 drivers/scsi/libfc/fc_exch.c sp->cnt++; cnt 193 drivers/scsi/libfc/fc_libfc.c seq_cnt = sp->cnt; cnt 1178 drivers/scsi/lpfc/lpfc_attr.c int cnt = 0; cnt 1184 drivers/scsi/lpfc/lpfc_attr.c if (cnt++ > 250) { /* 5 secs */ cnt 1949 drivers/scsi/lpfc/lpfc_attr.c uint32_t cnt; cnt 1951 drivers/scsi/lpfc/lpfc_attr.c if (lpfc_get_hba_info(phba, NULL, NULL, &cnt, NULL, NULL, NULL)) cnt 1952 drivers/scsi/lpfc/lpfc_attr.c return scnprintf(buf, PAGE_SIZE, "%d\n", cnt); cnt 1977 drivers/scsi/lpfc/lpfc_attr.c uint32_t cnt, acnt; cnt 1979 drivers/scsi/lpfc/lpfc_attr.c if (lpfc_get_hba_info(phba, NULL, NULL, &cnt, &acnt, NULL, NULL)) cnt 1980 drivers/scsi/lpfc/lpfc_attr.c return scnprintf(buf, PAGE_SIZE, "%d\n", (cnt - acnt)); cnt 2005 drivers/scsi/lpfc/lpfc_attr.c uint32_t cnt; cnt 2007 drivers/scsi/lpfc/lpfc_attr.c if (lpfc_get_hba_info(phba, &cnt, NULL, NULL, NULL, NULL, NULL)) cnt 2008 drivers/scsi/lpfc/lpfc_attr.c return scnprintf(buf, PAGE_SIZE, "%d\n", cnt); cnt 2033 drivers/scsi/lpfc/lpfc_attr.c uint32_t cnt, acnt; cnt 2035 drivers/scsi/lpfc/lpfc_attr.c if (lpfc_get_hba_info(phba, &cnt, &acnt, NULL, NULL, NULL, NULL)) cnt 2036 drivers/scsi/lpfc/lpfc_attr.c return scnprintf(buf, PAGE_SIZE, "%d\n", (cnt - acnt)); cnt 2061 drivers/scsi/lpfc/lpfc_attr.c uint32_t cnt; cnt 2063 drivers/scsi/lpfc/lpfc_attr.c if (lpfc_get_hba_info(phba, NULL, NULL, NULL, NULL, &cnt, NULL)) cnt 2064 drivers/scsi/lpfc/lpfc_attr.c return scnprintf(buf, PAGE_SIZE, "%d\n", cnt); cnt 2089 drivers/scsi/lpfc/lpfc_attr.c uint32_t cnt, acnt; cnt 2091 drivers/scsi/lpfc/lpfc_attr.c if (lpfc_get_hba_info(phba, NULL, NULL, NULL, NULL, &cnt, &acnt)) cnt 2092 drivers/scsi/lpfc/lpfc_attr.c return scnprintf(buf, PAGE_SIZE, "%d\n", (cnt - acnt)); cnt 2727 drivers/scsi/lpfc/lpfc_attr.c lpfc_wwn_set(const char *buf, size_t cnt, char wwn[]) cnt 2732 drivers/scsi/lpfc/lpfc_attr.c if (buf[cnt-1] == '\n') cnt 2733 drivers/scsi/lpfc/lpfc_attr.c cnt--; cnt 2735 drivers/scsi/lpfc/lpfc_attr.c if ((cnt < 16) || (cnt > 18) || ((cnt == 17) && (*buf++ != 'x')) || cnt 2736 drivers/scsi/lpfc/lpfc_attr.c ((cnt == 18) && ((*buf++ != '0') || (*buf++ != 'x')))) cnt 2776 drivers/scsi/lpfc/lpfc_attr.c unsigned int cnt = count; cnt 2800 drivers/scsi/lpfc/lpfc_attr.c if (buf[cnt-1] == '\n') cnt 2801 drivers/scsi/lpfc/lpfc_attr.c cnt--; cnt 2803 drivers/scsi/lpfc/lpfc_attr.c if ((cnt != strlen(lpfc_soft_wwn_key)) || cnt 2861 drivers/scsi/lpfc/lpfc_attr.c unsigned int cnt = count; cnt 2874 drivers/scsi/lpfc/lpfc_attr.c if (buf[cnt-1] == '\n') cnt 2875 drivers/scsi/lpfc/lpfc_attr.c cnt--; cnt 2883 drivers/scsi/lpfc/lpfc_attr.c rc = lpfc_wwn_set(buf, cnt, wwpn); cnt 2952 drivers/scsi/lpfc/lpfc_attr.c unsigned int cnt = count; cnt 2957 drivers/scsi/lpfc/lpfc_attr.c if (buf[cnt-1] == '\n') cnt 2958 drivers/scsi/lpfc/lpfc_attr.c cnt--; cnt 2963 drivers/scsi/lpfc/lpfc_attr.c rc = lpfc_wwn_set(buf, cnt, wwnn); cnt 3021 drivers/scsi/lpfc/lpfc_attr.c unsigned int cnt = count; cnt 3029 drivers/scsi/lpfc/lpfc_attr.c if (buf[cnt-1] == '\n') cnt 3030 drivers/scsi/lpfc/lpfc_attr.c cnt--; cnt 3032 drivers/scsi/lpfc/lpfc_attr.c rc = lpfc_wwn_set(buf, cnt, wwpn); cnt 3088 drivers/scsi/lpfc/lpfc_attr.c unsigned int cnt = count; cnt 3096 drivers/scsi/lpfc/lpfc_attr.c if (buf[cnt-1] == '\n') cnt 3097 drivers/scsi/lpfc/lpfc_attr.c cnt--; cnt 3152 drivers/scsi/lpfc/lpfc_attr.c unsigned int cnt = count; cnt 3160 drivers/scsi/lpfc/lpfc_attr.c if (buf[cnt-1] == '\n') cnt 3161 drivers/scsi/lpfc/lpfc_attr.c cnt--; cnt 3163 drivers/scsi/lpfc/lpfc_attr.c rc = lpfc_wwn_set(buf, cnt, wwpn); cnt 2881 drivers/scsi/lpfc/lpfc_bsg.c int cnt, offset = 0, i = 0; cnt 2889 drivers/scsi/lpfc/lpfc_bsg.c cnt = BUF_SZ_4K; cnt 2891 drivers/scsi/lpfc/lpfc_bsg.c cnt = size; cnt 2908 drivers/scsi/lpfc/lpfc_bsg.c cnt, cnt 2915 drivers/scsi/lpfc/lpfc_bsg.c dmp->size = cnt; cnt 2920 drivers/scsi/lpfc/lpfc_bsg.c memset((uint8_t *)dmp->dma.virt, 0, cnt); cnt 2927 drivers/scsi/lpfc/lpfc_bsg.c bpl->tus.f.bdeSize = (ushort) cnt; cnt 2932 drivers/scsi/lpfc/lpfc_bsg.c offset += cnt; cnt 2933 drivers/scsi/lpfc/lpfc_bsg.c size -= cnt; cnt 77 drivers/scsi/lpfc/lpfc_crtn.h int lpfc_init_iocb_list(struct lpfc_hba *phba, int cnt); cnt 580 drivers/scsi/lpfc/lpfc_crtn.h void lpfc_move_xri_pbl_to_pvt(struct lpfc_hba *phba, u32 hwqid, u32 cnt); cnt 223 drivers/scsi/lpfc/lpfc_ct.c int cnt, i = 0; cnt 226 drivers/scsi/lpfc/lpfc_ct.c cnt = size > FCELSSIZE ? FCELSSIZE: size; cnt 262 drivers/scsi/lpfc/lpfc_ct.c bpl->tus.f.bdeSize = (uint16_t) cnt; cnt 267 drivers/scsi/lpfc/lpfc_ct.c size -= cnt; cnt 418 drivers/scsi/lpfc/lpfc_ct.c int cnt = 0, status; cnt 425 drivers/scsi/lpfc/lpfc_ct.c outmp = lpfc_alloc_ct_rsp(phba, cmdcode, bpl, rsp_size, &cnt); cnt 433 drivers/scsi/lpfc/lpfc_ct.c cnt += 1; cnt 435 drivers/scsi/lpfc/lpfc_ct.c cnt, 0, retry); cnt 1515 drivers/scsi/lpfc/lpfc_ct.c uint32_t cnt = 0; cnt 1524 drivers/scsi/lpfc/lpfc_ct.c cnt++; cnt 1527 drivers/scsi/lpfc/lpfc_ct.c return cnt; cnt 1999 drivers/scsi/lpfc/lpfc_ct.c uint16_t cnt; cnt 2039 drivers/scsi/lpfc/lpfc_ct.c cnt = lpfc_find_map_node(vport); cnt 2040 drivers/scsi/lpfc/lpfc_ct.c if (cnt == vport->fdmi_num_disc) cnt 810 drivers/scsi/lpfc/lpfc_debugfs.c int i, iocnt, outio, cnt; cnt 819 drivers/scsi/lpfc/lpfc_debugfs.c cnt = (LPFC_NODELIST_SIZE / LPFC_NODELIST_ENTRY_SIZE); cnt 826 drivers/scsi/lpfc/lpfc_debugfs.c if (!cnt) { cnt 831 drivers/scsi/lpfc/lpfc_debugfs.c cnt--; cnt 1043 drivers/scsi/lpfc/lpfc_debugfs.c int cnt, i; cnt 1128 drivers/scsi/lpfc/lpfc_debugfs.c cnt = 0; cnt 1133 drivers/scsi/lpfc/lpfc_debugfs.c cnt++; cnt 1136 drivers/scsi/lpfc/lpfc_debugfs.c if (cnt) { cnt 1138 drivers/scsi/lpfc/lpfc_debugfs.c "ABORT: %d ctx entries\n", cnt); cnt 2173 drivers/scsi/lpfc/lpfc_debugfs.c int cnt = 0; cnt 2176 drivers/scsi/lpfc/lpfc_debugfs.c cnt = scnprintf(cbuf, 32, "%u\n", phba->lpfc_injerr_wgrd_cnt); cnt 2178 drivers/scsi/lpfc/lpfc_debugfs.c cnt = scnprintf(cbuf, 32, "%u\n", phba->lpfc_injerr_wapp_cnt); cnt 2180 drivers/scsi/lpfc/lpfc_debugfs.c cnt = scnprintf(cbuf, 32, "%u\n", phba->lpfc_injerr_wref_cnt); cnt 2182 drivers/scsi/lpfc/lpfc_debugfs.c cnt = scnprintf(cbuf, 32, "%u\n", phba->lpfc_injerr_rgrd_cnt); cnt 2184 drivers/scsi/lpfc/lpfc_debugfs.c cnt = scnprintf(cbuf, 32, "%u\n", phba->lpfc_injerr_rapp_cnt); cnt 2186 drivers/scsi/lpfc/lpfc_debugfs.c cnt = scnprintf(cbuf, 32, "%u\n", phba->lpfc_injerr_rref_cnt); cnt 2188 drivers/scsi/lpfc/lpfc_debugfs.c cnt = scnprintf(cbuf, 32, "0x%06x\n", cnt 2193 drivers/scsi/lpfc/lpfc_debugfs.c cnt = scnprintf(cbuf, 32, "0x%016llx\n", tmp); cnt 2196 drivers/scsi/lpfc/lpfc_debugfs.c cnt = scnprintf(cbuf, 32, "off\n"); cnt 2198 drivers/scsi/lpfc/lpfc_debugfs.c cnt = scnprintf(cbuf, 32, "0x%llx\n", cnt 2204 drivers/scsi/lpfc/lpfc_debugfs.c return simple_read_from_buffer(buf, nbytes, ppos, &cbuf, cnt); cnt 7701 drivers/scsi/lpfc/lpfc_els.c uint32_t cnt, did; cnt 7718 drivers/scsi/lpfc/lpfc_els.c cnt = 0; cnt 7723 drivers/scsi/lpfc/lpfc_els.c cnt = 1; cnt 7730 drivers/scsi/lpfc/lpfc_els.c cnt = 1; cnt 7733 drivers/scsi/lpfc/lpfc_els.c if (cnt) { cnt 1049 drivers/scsi/lpfc/lpfc_init.c int cnt, idx; cnt 1080 drivers/scsi/lpfc/lpfc_init.c cnt = 0; cnt 1091 drivers/scsi/lpfc/lpfc_init.c cnt++; cnt 1116 drivers/scsi/lpfc/lpfc_init.c return cnt; cnt 2549 drivers/scsi/lpfc/lpfc_init.c lpfc_post_buffer(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, int cnt) cnt 2555 drivers/scsi/lpfc/lpfc_init.c cnt += pring->missbufcnt; cnt 2558 drivers/scsi/lpfc/lpfc_init.c while (cnt > 0) { cnt 2562 drivers/scsi/lpfc/lpfc_init.c pring->missbufcnt = cnt; cnt 2563 drivers/scsi/lpfc/lpfc_init.c return cnt; cnt 2575 drivers/scsi/lpfc/lpfc_init.c pring->missbufcnt = cnt; cnt 2576 drivers/scsi/lpfc/lpfc_init.c return cnt; cnt 2581 drivers/scsi/lpfc/lpfc_init.c if (cnt > 1) { cnt 2591 drivers/scsi/lpfc/lpfc_init.c pring->missbufcnt = cnt; cnt 2592 drivers/scsi/lpfc/lpfc_init.c return cnt; cnt 2604 drivers/scsi/lpfc/lpfc_init.c cnt--; cnt 2609 drivers/scsi/lpfc/lpfc_init.c cnt--; cnt 2620 drivers/scsi/lpfc/lpfc_init.c cnt++; cnt 2624 drivers/scsi/lpfc/lpfc_init.c cnt++; cnt 2627 drivers/scsi/lpfc/lpfc_init.c pring->missbufcnt = cnt; cnt 2628 drivers/scsi/lpfc/lpfc_init.c return cnt; cnt 3905 drivers/scsi/lpfc/lpfc_init.c int idx, cnt, xri, inserted; cnt 3907 drivers/scsi/lpfc/lpfc_init.c cnt = 0; cnt 3918 drivers/scsi/lpfc/lpfc_init.c cnt += qp->get_io_bufs + qp->put_io_bufs; cnt 3931 drivers/scsi/lpfc/lpfc_init.c for (idx = 0; idx < cnt; idx++) { cnt 3934 drivers/scsi/lpfc/lpfc_init.c return cnt; cnt 3957 drivers/scsi/lpfc/lpfc_init.c return cnt; cnt 3965 drivers/scsi/lpfc/lpfc_init.c int idx, cnt; cnt 3968 drivers/scsi/lpfc/lpfc_init.c cnt = 0; cnt 3974 drivers/scsi/lpfc/lpfc_init.c return cnt; cnt 3975 drivers/scsi/lpfc/lpfc_init.c cnt++; cnt 3989 drivers/scsi/lpfc/lpfc_init.c return cnt; cnt 4011 drivers/scsi/lpfc/lpfc_init.c int rc, cnt; cnt 4028 drivers/scsi/lpfc/lpfc_init.c cnt = lpfc_io_buf_flush(phba, &io_sgl_list); cnt 4051 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.io_xri_cnt = cnt; cnt 4065 drivers/scsi/lpfc/lpfc_init.c cnt = lpfc_io_buf_replenish(phba, &io_sgl_list); cnt 2600 drivers/scsi/lpfc/lpfc_nvmet.c int i, cnt; cnt 2905 drivers/scsi/lpfc/lpfc_nvmet.c cnt = sg_dma_len(sgel); cnt 2914 drivers/scsi/lpfc/lpfc_nvmet.c sgl->sge_len = cpu_to_le32(cnt); cnt 2930 drivers/scsi/lpfc/lpfc_nvmet.c ctxp->offset += cnt; cnt 5176 drivers/scsi/lpfc/lpfc_scsi.c int cnt; cnt 5178 drivers/scsi/lpfc/lpfc_scsi.c cnt = lpfc_sli_sum_iocb(vport, tgt_id, lun_id, context); cnt 5179 drivers/scsi/lpfc/lpfc_scsi.c if (cnt) cnt 5184 drivers/scsi/lpfc/lpfc_scsi.c while (time_after(later, jiffies) && cnt) { cnt 5186 drivers/scsi/lpfc/lpfc_scsi.c cnt = lpfc_sli_sum_iocb(vport, tgt_id, lun_id, context); cnt 5188 drivers/scsi/lpfc/lpfc_scsi.c if (cnt) { cnt 5194 drivers/scsi/lpfc/lpfc_scsi.c cnt); cnt 112 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_pcimem_bcopy(void *srcp, void *destp, uint32_t cnt) cnt 118 drivers/scsi/lpfc/lpfc_sli.c for (i = 0; i < (int)cnt; i += sizeof(uint64_t)) cnt 3295 drivers/scsi/lpfc/lpfc_sli.c uint64_t sli_intr, cnt; cnt 3303 drivers/scsi/lpfc/lpfc_sli.c cnt = (((uint64_t)(-1) - phba->sli.slistat.sli_prev_intr) + cnt 3306 drivers/scsi/lpfc/lpfc_sli.c cnt = (sli_intr - phba->sli.slistat.sli_prev_intr); cnt 3309 drivers/scsi/lpfc/lpfc_sli.c do_div(cnt, phba->eratt_poll_interval); cnt 3310 drivers/scsi/lpfc/lpfc_sli.c phba->sli.slistat.sli_ips = cnt; cnt 6910 drivers/scsi/lpfc/lpfc_sli.c struct list_head *sgl_list, int cnt) cnt 6930 drivers/scsi/lpfc/lpfc_sli.c total_cnt = cnt; cnt 7161 drivers/scsi/lpfc/lpfc_sli.c int rc, i, cnt, len; cnt 7536 drivers/scsi/lpfc/lpfc_sli.c cnt = phba->cfg_iocb_cnt * 1024; cnt 7538 drivers/scsi/lpfc/lpfc_sli.c cnt += phba->sli4_hba.nvmet_xri_cnt; cnt 7560 drivers/scsi/lpfc/lpfc_sli.c cnt = phba->cfg_iocb_cnt * 1024; cnt 7567 drivers/scsi/lpfc/lpfc_sli.c phba->cfg_iocb_cnt, cnt); cnt 7568 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_init_iocb_list(phba, cnt); cnt 10834 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_pcimem_bcopy(void *srcp, void *destp, uint32_t cnt) cnt 10841 drivers/scsi/lpfc/lpfc_sli.c for (i = 0; i < (int)cnt; i += sizeof (uint32_t)) { cnt 10862 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_bemem_bcopy(void *srcp, void *destp, uint32_t cnt) cnt 10869 drivers/scsi/lpfc/lpfc_sli.c for (i = 0; i < (int)cnt; i += sizeof(uint32_t)) { cnt 14642 drivers/scsi/lpfc/lpfc_sli.c int cnt = 0, rc, length; cnt 14667 drivers/scsi/lpfc/lpfc_sli.c if (++cnt >= numq) cnt 14701 drivers/scsi/lpfc/lpfc_sli.c eq_delay->u.request.eq[cnt].eq_id = eq->queue_id; cnt 14702 drivers/scsi/lpfc/lpfc_sli.c eq_delay->u.request.eq[cnt].phase = 0; cnt 14703 drivers/scsi/lpfc/lpfc_sli.c eq_delay->u.request.eq[cnt].delay_multi = dmult; cnt 14705 drivers/scsi/lpfc/lpfc_sli.c if (++cnt >= numq) cnt 14708 drivers/scsi/lpfc/lpfc_sli.c eq_delay->u.request.num_eq = cnt; cnt 15036 drivers/scsi/lpfc/lpfc_sli.c int cnt, idx, numcq, page_idx = 0; cnt 15213 drivers/scsi/lpfc/lpfc_sli.c cnt = page_idx + dmabuf->buffer_tag; cnt 15214 drivers/scsi/lpfc/lpfc_sli.c cq_set->u.request.page[cnt].addr_lo = cnt 15216 drivers/scsi/lpfc/lpfc_sli.c cq_set->u.request.page[cnt].addr_hi = cnt 16055 drivers/scsi/lpfc/lpfc_sli.c int cnt, idx, numrq, page_idx = 0; cnt 16093 drivers/scsi/lpfc/lpfc_sli.c cnt = 0; cnt 16141 drivers/scsi/lpfc/lpfc_sli.c cnt = page_idx + dmabuf->buffer_tag; cnt 16142 drivers/scsi/lpfc/lpfc_sli.c rq_create->u.request.page[cnt].addr_lo = cnt 16144 drivers/scsi/lpfc/lpfc_sli.c rq_create->u.request.page[cnt].addr_hi = cnt 16153 drivers/scsi/lpfc/lpfc_sli.c cnt = page_idx + dmabuf->buffer_tag; cnt 16154 drivers/scsi/lpfc/lpfc_sli.c rq_create->u.request.page[cnt].addr_lo = cnt 16156 drivers/scsi/lpfc/lpfc_sli.c rq_create->u.request.page[cnt].addr_hi = cnt 48 drivers/scsi/megaraid/megaraid_sas_debugfs.c megasas_debugfs_read(struct file *filp, char __user *ubuf, size_t cnt, cnt 56 drivers/scsi/megaraid/megaraid_sas_debugfs.c return simple_read_from_buffer(ubuf, cnt, ppos, debug->buf, debug->len); cnt 1001 drivers/scsi/ppa.c unsigned int cnt = 0; cnt 1007 drivers/scsi/ppa.c if (dev->dev_no != cnt) cnt 1009 drivers/scsi/ppa.c cnt++; cnt 103 drivers/scsi/qedf/qedf_debugfs.c size_t cnt = 0; cnt 113 drivers/scsi/qedf/qedf_debugfs.c cnt = sprintf(buffer, "\nFastpath I/O completions\n\n"); cnt 119 drivers/scsi/qedf/qedf_debugfs.c cnt += sprintf((buffer + cnt), "#%d: %lu\n", id, cnt 123 drivers/scsi/qedf/qedf_debugfs.c cnt = min_t(int, count, cnt - *ppos); cnt 124 drivers/scsi/qedf/qedf_debugfs.c *ppos += cnt; cnt 125 drivers/scsi/qedf/qedf_debugfs.c return cnt; cnt 142 drivers/scsi/qedf/qedf_debugfs.c int cnt; cnt 147 drivers/scsi/qedf/qedf_debugfs.c cnt = sprintf(buffer, "debug mask = 0x%x\n", qedf_debug); cnt 149 drivers/scsi/qedf/qedf_debugfs.c cnt = min_t(int, count, cnt - *ppos); cnt 150 drivers/scsi/qedf/qedf_debugfs.c *ppos += cnt; cnt 151 drivers/scsi/qedf/qedf_debugfs.c return cnt; cnt 189 drivers/scsi/qedf/qedf_debugfs.c int cnt; cnt 196 drivers/scsi/qedf/qedf_debugfs.c cnt = sprintf(buffer, "%s\n", cnt 199 drivers/scsi/qedf/qedf_debugfs.c cnt = min_t(int, count, cnt - *ppos); cnt 200 drivers/scsi/qedf/qedf_debugfs.c *ppos += cnt; cnt 201 drivers/scsi/qedf/qedf_debugfs.c return cnt; cnt 384 drivers/scsi/qedf/qedf_debugfs.c int cnt = 0; cnt 387 drivers/scsi/qedf/qedf_debugfs.c cnt = min_t(int, count, cnt - *ppos); cnt 388 drivers/scsi/qedf/qedf_debugfs.c *ppos += cnt; cnt 389 drivers/scsi/qedf/qedf_debugfs.c return cnt; cnt 609 drivers/scsi/qedf/qedf_io.c int i, cnt; cnt 666 drivers/scsi/qedf/qedf_io.c cnt = sizeof(struct fcp_cmnd) / sizeof(u32); cnt 667 drivers/scsi/qedf/qedf_io.c for (i = 0; i < cnt; i++) { cnt 97 drivers/scsi/qedi/qedi_debugfs.c size_t cnt = 0; cnt 110 drivers/scsi/qedi/qedi_debugfs.c cnt = lof->oper_func(qedi_dbg); cnt 116 drivers/scsi/qedi/qedi_debugfs.c return (count - cnt); cnt 123 drivers/scsi/qedi/qedi_debugfs.c size_t cnt = 0; cnt 128 drivers/scsi/qedi/qedi_debugfs.c cnt = sprintf(buffer, "do_not_recover=%d\n", qedi_do_not_recover); cnt 129 drivers/scsi/qedi/qedi_debugfs.c cnt = min_t(int, count, cnt - *ppos); cnt 130 drivers/scsi/qedi/qedi_debugfs.c *ppos += cnt; cnt 131 drivers/scsi/qedi/qedi_debugfs.c return cnt; cnt 582 drivers/scsi/qla1280.c int cnt, i; cnt 595 drivers/scsi/qla1280.c for (cnt = 0; cnt < 3; cnt++) { cnt 596 drivers/scsi/qla1280.c *wptr = qla1280_get_nvram_word(ha, cnt); cnt 607 drivers/scsi/qla1280.c for (; cnt < sizeof(struct nvram); cnt++) { cnt 608 drivers/scsi/qla1280.c *wptr = qla1280_get_nvram_word(ha, cnt); cnt 776 drivers/scsi/qla1280.c int cnt; cnt 787 drivers/scsi/qla1280.c for (cnt = 0; cnt < MAX_OUTSTANDING_COMMANDS; cnt++) { cnt 788 drivers/scsi/qla1280.c sp = ha->outstanding_cmds[cnt]; cnt 1559 drivers/scsi/qla1280.c int cnt; cnt 1580 drivers/scsi/qla1280.c for (cnt = 1000000; cnt && data & ISP_RESET; cnt--) { cnt 1585 drivers/scsi/qla1280.c if (!cnt) cnt 1604 drivers/scsi/qla1280.c for (cnt = 1000000; cnt && data == MBS_BUSY; cnt--) { cnt 1609 drivers/scsi/qla1280.c if (!cnt) cnt 1710 drivers/scsi/qla1280.c uint16_t mb[MAILBOX_REGISTER_COUNT], cnt; cnt 1740 drivers/scsi/qla1280.c cnt = 2000 >> 1; cnt 1742 drivers/scsi/qla1280.c if (cnt > risc_code_size) cnt 1743 drivers/scsi/qla1280.c cnt = risc_code_size; cnt 1747 drivers/scsi/qla1280.c fw_data, cnt, num, risc_address); cnt 1748 drivers/scsi/qla1280.c for(i = 0; i < cnt; i++) cnt 1753 drivers/scsi/qla1280.c mb[4] = cnt; cnt 1773 drivers/scsi/qla1280.c mb[4] = cnt; cnt 1787 drivers/scsi/qla1280.c for (i = 0; i < (cnt << 1); i++) { cnt 1799 drivers/scsi/qla1280.c risc_address += cnt; cnt 1800 drivers/scsi/qla1280.c risc_code_size = risc_code_size - cnt; cnt 1801 drivers/scsi/qla1280.c fw_data = fw_data + cnt; cnt 2344 drivers/scsi/qla1280.c int cnt; cnt 2351 drivers/scsi/qla1280.c for (cnt = 0; cnt < 11; cnt++) { cnt 2361 drivers/scsi/qla1280.c for (cnt = 0; cnt < 16; cnt++) { cnt 2419 drivers/scsi/qla1280.c int cnt; cnt 2439 drivers/scsi/qla1280.c for (cnt = 0; cnt < MAILBOX_REGISTER_COUNT; cnt++) { cnt 2746 drivers/scsi/qla1280.c int cnt; cnt 2769 drivers/scsi/qla1280.c cnt = RD_REG_WORD(®->mailbox4); cnt 2770 drivers/scsi/qla1280.c if (ha->req_ring_index < cnt) cnt 2771 drivers/scsi/qla1280.c ha->req_q_cnt = cnt - ha->req_ring_index; cnt 2774 drivers/scsi/qla1280.c REQUEST_ENTRY_CNT - (ha->req_ring_index - cnt); cnt 2790 drivers/scsi/qla1280.c for (cnt = 0; cnt < MAX_OUTSTANDING_COMMANDS && cnt 2791 drivers/scsi/qla1280.c ha->outstanding_cmds[cnt] != NULL; cnt++); cnt 2793 drivers/scsi/qla1280.c if (cnt >= MAX_OUTSTANDING_COMMANDS) { cnt 2800 drivers/scsi/qla1280.c ha->outstanding_cmds[cnt] = sp; cnt 2802 drivers/scsi/qla1280.c CMD_HANDLE(sp->cmd) = (unsigned char *)(unsigned long)(cnt + 1); cnt 2819 drivers/scsi/qla1280.c pkt->handle = cpu_to_le32(cnt); cnt 2861 drivers/scsi/qla1280.c for_each_sg(sg, s, seg_cnt, cnt) { cnt 2862 drivers/scsi/qla1280.c if (cnt == 2) cnt 2918 drivers/scsi/qla1280.c for_each_sg(sg, s, remseg, cnt) { cnt 2919 drivers/scsi/qla1280.c if (cnt == 5) cnt 2933 drivers/scsi/qla1280.c remseg -= cnt; cnt 2999 drivers/scsi/qla1280.c int cnt; cnt 3031 drivers/scsi/qla1280.c cnt = RD_REG_WORD(®->mailbox4); cnt 3032 drivers/scsi/qla1280.c if (ha->req_ring_index < cnt) cnt 3033 drivers/scsi/qla1280.c ha->req_q_cnt = cnt - ha->req_ring_index; cnt 3036 drivers/scsi/qla1280.c REQUEST_ENTRY_CNT - (ha->req_ring_index - cnt); cnt 3051 drivers/scsi/qla1280.c for (cnt = 0; cnt < MAX_OUTSTANDING_COMMANDS && cnt 3052 drivers/scsi/qla1280.c (ha->outstanding_cmds[cnt] != 0); cnt++) ; cnt 3054 drivers/scsi/qla1280.c if (cnt >= MAX_OUTSTANDING_COMMANDS) { cnt 3061 drivers/scsi/qla1280.c CMD_HANDLE(sp->cmd) = (unsigned char *) (unsigned long)(cnt + 1); cnt 3062 drivers/scsi/qla1280.c ha->outstanding_cmds[cnt] = sp; cnt 3074 drivers/scsi/qla1280.c pkt->handle = cpu_to_le32(cnt); cnt 3119 drivers/scsi/qla1280.c for_each_sg(sg, s, seg_cnt, cnt) { cnt 3120 drivers/scsi/qla1280.c if (cnt == 4) cnt 3165 drivers/scsi/qla1280.c for_each_sg(sg, s, remseg, cnt) { cnt 3166 drivers/scsi/qla1280.c if (cnt == 7) cnt 3178 drivers/scsi/qla1280.c remseg -= cnt; cnt 3236 drivers/scsi/qla1280.c int cnt; cnt 3248 drivers/scsi/qla1280.c cnt = RD_REG_WORD(®->mailbox4); cnt 3249 drivers/scsi/qla1280.c if (ha->req_ring_index < cnt) cnt 3250 drivers/scsi/qla1280.c ha->req_q_cnt = cnt - ha->req_ring_index; cnt 3253 drivers/scsi/qla1280.c REQUEST_ENTRY_CNT - (ha->req_ring_index - cnt); cnt 3763 drivers/scsi/qla1280.c int cnt; cnt 3781 drivers/scsi/qla1280.c for (cnt = 0; cnt < MAX_OUTSTANDING_COMMANDS; cnt++) { cnt 3783 drivers/scsi/qla1280.c sp = ha->outstanding_cmds[cnt]; cnt 3788 drivers/scsi/qla1280.c ha->outstanding_cmds[cnt] = NULL; cnt 3928 drivers/scsi/qla1280.c int cnt; cnt 3936 drivers/scsi/qla1280.c for (cnt = 0; cnt < size;) { cnt 3940 drivers/scsi/qla1280.c cnt++; cnt 3941 drivers/scsi/qla1280.c if (!(cnt % 16)) cnt 3946 drivers/scsi/qla1280.c if (cnt % 16) cnt 200 drivers/scsi/qla2xxx/qla_attr.c uint16_t cnt; cnt 213 drivers/scsi/qla2xxx/qla_attr.c for (cnt = 0; cnt < ((count >> 2) - 1); cnt++, iter++) cnt 223 drivers/scsi/qla2xxx/qla_attr.c for (cnt = 0; cnt < count - 1; cnt++) cnt 2783 drivers/scsi/qla2xxx/qla_attr.c int cnt; cnt 2875 drivers/scsi/qla2xxx/qla_attr.c for (cnt = 0; cnt < ha->nvram_npiv_size; cnt++) { cnt 2876 drivers/scsi/qla2xxx/qla_attr.c if (memcmp(ha->npiv_info[cnt].port_name, vha->port_name, 8) == 0 cnt 2877 drivers/scsi/qla2xxx/qla_attr.c && memcmp(ha->npiv_info[cnt].node_name, vha->node_name, cnt 2879 drivers/scsi/qla2xxx/qla_attr.c qos = ha->npiv_info[cnt].q_qos; cnt 2573 drivers/scsi/qla2xxx/qla_bsg.c int cnt, que; cnt 2584 drivers/scsi/qla2xxx/qla_bsg.c for (cnt = 1; cnt < req->num_outstanding_cmds; cnt++) { cnt 2585 drivers/scsi/qla2xxx/qla_bsg.c sp = req->outstanding_cmds[cnt]; cnt 2591 drivers/scsi/qla2xxx/qla_bsg.c req->outstanding_cmds[cnt] = NULL; cnt 316 drivers/scsi/qla2xxx/qla_dbg.c uint32_t cnt; cnt 326 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < 30000; cnt++) { cnt 342 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < 30000; cnt++) { cnt 355 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 10000; RD_REG_WORD(®->mailbox0) != 0 && cnt 356 drivers/scsi/qla2xxx/qla_dbg.c rval == QLA_SUCCESS; cnt--) { cnt 357 drivers/scsi/qla2xxx/qla_dbg.c if (cnt) cnt 373 drivers/scsi/qla2xxx/qla_dbg.c uint32_t cnt, stat, timer, words, idx; cnt 386 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < ram_words && rval == QLA_SUCCESS; cnt 387 drivers/scsi/qla2xxx/qla_dbg.c cnt += words, addr += words) { cnt 388 drivers/scsi/qla2xxx/qla_dbg.c if (cnt + words > ram_words) cnt 389 drivers/scsi/qla2xxx/qla_dbg.c words = ram_words - cnt; cnt 442 drivers/scsi/qla2xxx/qla_dbg.c ram[cnt + idx] = swab16(dump[idx]); cnt 448 drivers/scsi/qla2xxx/qla_dbg.c *nxt = rval == QLA_SUCCESS ? &ram[cnt] : NULL; cnt 475 drivers/scsi/qla2xxx/qla_dbg.c uint32_t cnt; cnt 491 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < 8; cnt++) cnt 492 drivers/scsi/qla2xxx/qla_dbg.c *iter_reg++ = htonl(ha->fce_mb[cnt]); cnt 665 drivers/scsi/qla2xxx/qla_dbg.c uint32_t cnt, que_idx; cnt 682 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < que_cnt; cnt++) { cnt 683 drivers/scsi/qla2xxx/qla_dbg.c reg = ISP_QUE_REG(ha, cnt); cnt 684 drivers/scsi/qla2xxx/qla_dbg.c que_idx = cnt * 4; cnt 726 drivers/scsi/qla2xxx/qla_dbg.c uint32_t cnt; cnt 764 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 30000; cnt 766 drivers/scsi/qla2xxx/qla_dbg.c rval == QLA_SUCCESS; cnt--) { cnt 767 drivers/scsi/qla2xxx/qla_dbg.c if (cnt) cnt 779 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < sizeof(fw->pbiu_reg) / 2; cnt++, dmp_reg++) cnt 780 drivers/scsi/qla2xxx/qla_dbg.c fw->pbiu_reg[cnt] = htons(RD_REG_WORD(dmp_reg)); cnt 783 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < sizeof(fw->risc_host_reg) / 2; cnt 784 drivers/scsi/qla2xxx/qla_dbg.c cnt++, dmp_reg++) cnt 785 drivers/scsi/qla2xxx/qla_dbg.c fw->risc_host_reg[cnt] = htons(RD_REG_WORD(dmp_reg)); cnt 788 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < sizeof(fw->mailbox_reg) / 2; cnt 789 drivers/scsi/qla2xxx/qla_dbg.c cnt++, dmp_reg++) cnt 790 drivers/scsi/qla2xxx/qla_dbg.c fw->mailbox_reg[cnt] = htons(RD_REG_WORD(dmp_reg)); cnt 800 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < sizeof(fw->risc_hdw_reg) / 2; cnt 801 drivers/scsi/qla2xxx/qla_dbg.c cnt++, dmp_reg++) cnt 802 drivers/scsi/qla2xxx/qla_dbg.c fw->risc_hdw_reg[cnt] = htons(RD_REG_WORD(dmp_reg)); cnt 839 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < 30000; cnt++) { cnt 849 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 30000; RD_MAILBOX_REG(ha, reg, 0) != 0 && cnt 850 drivers/scsi/qla2xxx/qla_dbg.c rval == QLA_SUCCESS; cnt--) { cnt 851 drivers/scsi/qla2xxx/qla_dbg.c if (cnt) cnt 896 drivers/scsi/qla2xxx/qla_dbg.c uint32_t cnt, timer; cnt 936 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 30000; (RD_REG_WORD(®->hccr) & HCCR_RISC_PAUSE) == 0 && cnt 937 drivers/scsi/qla2xxx/qla_dbg.c rval == QLA_SUCCESS; cnt--) { cnt 938 drivers/scsi/qla2xxx/qla_dbg.c if (cnt) cnt 945 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < sizeof(fw->pbiu_reg) / 2; cnt++, dmp_reg++) cnt 946 drivers/scsi/qla2xxx/qla_dbg.c fw->pbiu_reg[cnt] = htons(RD_REG_WORD(dmp_reg)); cnt 949 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < ha->mbx_count; cnt++, dmp_reg++) { cnt 950 drivers/scsi/qla2xxx/qla_dbg.c if (cnt == 8) cnt 953 drivers/scsi/qla2xxx/qla_dbg.c fw->mailbox_reg[cnt] = htons(RD_REG_WORD(dmp_reg)); cnt 957 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < sizeof(fw->dma_reg) / 2; cnt++, dmp_reg++) cnt 958 drivers/scsi/qla2xxx/qla_dbg.c fw->dma_reg[cnt] = htons(RD_REG_WORD(dmp_reg)); cnt 962 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < sizeof(fw->risc_hdw_reg) / 2; cnt++, dmp_reg++) cnt 963 drivers/scsi/qla2xxx/qla_dbg.c fw->risc_hdw_reg[cnt] = htons(RD_REG_WORD(dmp_reg)); cnt 1002 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 30000; RD_MAILBOX_REG(ha, reg, 0) != 0 && cnt 1003 drivers/scsi/qla2xxx/qla_dbg.c rval == QLA_SUCCESS; cnt--) { cnt 1004 drivers/scsi/qla2xxx/qla_dbg.c if (cnt) cnt 1015 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 30000; cnt 1017 drivers/scsi/qla2xxx/qla_dbg.c rval == QLA_SUCCESS; cnt--) { cnt 1018 drivers/scsi/qla2xxx/qla_dbg.c if (cnt) cnt 1042 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < sizeof(fw->risc_ram) / 2 && rval == QLA_SUCCESS; cnt 1043 drivers/scsi/qla2xxx/qla_dbg.c cnt++, risc_address++) { cnt 1071 drivers/scsi/qla2xxx/qla_dbg.c fw->risc_ram[cnt] = htons(mb2); cnt 1078 drivers/scsi/qla2xxx/qla_dbg.c qla2xxx_copy_queues(ha, &fw->risc_ram[cnt]); cnt 1095 drivers/scsi/qla2xxx/qla_dbg.c uint32_t cnt; cnt 1146 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < sizeof(fw->host_reg) / 4; cnt++, dmp_reg++) cnt 1147 drivers/scsi/qla2xxx/qla_dbg.c fw->host_reg[cnt] = htonl(RD_REG_DWORD(dmp_reg)); cnt 1179 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < sizeof(fw->mailbox_reg) / 2; cnt++, mbx_reg++) cnt 1180 drivers/scsi/qla2xxx/qla_dbg.c fw->mailbox_reg[cnt] = htons(RD_REG_WORD(mbx_reg)); cnt 1218 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < 7; cnt++, dmp_reg++) cnt 1224 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < 7; cnt++, dmp_reg++) cnt 1230 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < 7; cnt++, dmp_reg++) cnt 1354 drivers/scsi/qla2xxx/qla_dbg.c uint32_t cnt; cnt 1422 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < sizeof(fw->host_reg) / 4; cnt++, dmp_reg++) cnt 1423 drivers/scsi/qla2xxx/qla_dbg.c fw->host_reg[cnt] = htonl(RD_REG_DWORD(dmp_reg)); cnt 1471 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < sizeof(fw->mailbox_reg) / 2; cnt++, mbx_reg++) cnt 1472 drivers/scsi/qla2xxx/qla_dbg.c fw->mailbox_reg[cnt] = htons(RD_REG_WORD(mbx_reg)); cnt 1535 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < 7; cnt++, dmp_reg++) cnt 1541 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < 7; cnt++, dmp_reg++) cnt 1547 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < 7; cnt++, dmp_reg++) cnt 1680 drivers/scsi/qla2xxx/qla_dbg.c uint32_t cnt; cnt 1746 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < sizeof(fw->host_reg) / 4; cnt++, dmp_reg++) cnt 1747 drivers/scsi/qla2xxx/qla_dbg.c fw->host_reg[cnt] = htonl(RD_REG_DWORD(dmp_reg)); cnt 1795 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < sizeof(fw->mailbox_reg) / 2; cnt++, mbx_reg++) cnt 1796 drivers/scsi/qla2xxx/qla_dbg.c fw->mailbox_reg[cnt] = htons(RD_REG_WORD(mbx_reg)); cnt 1859 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < 7; cnt++, dmp_reg++) cnt 1865 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < 7; cnt++, dmp_reg++) cnt 1871 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < 7; cnt++, dmp_reg++) cnt 2008 drivers/scsi/qla2xxx/qla_dbg.c uint32_t cnt; cnt 2094 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < sizeof(fw->host_reg) / 4; cnt++, dmp_reg++) cnt 2095 drivers/scsi/qla2xxx/qla_dbg.c fw->host_reg[cnt] = htonl(RD_REG_DWORD(dmp_reg)); cnt 2143 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < sizeof(fw->mailbox_reg) / 2; cnt++, mbx_reg++) cnt 2144 drivers/scsi/qla2xxx/qla_dbg.c fw->mailbox_reg[cnt] = htons(RD_REG_WORD(mbx_reg)); cnt 2239 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < 7; cnt++, dmp_reg++) cnt 2245 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < 7; cnt++, dmp_reg++) cnt 2251 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < 7; cnt++, dmp_reg++) cnt 2467 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 30000; cnt && (RD_REG_WORD(®->mailbox0)); cnt--) cnt 2470 drivers/scsi/qla2xxx/qla_dbg.c if (!cnt) { cnt 2743 drivers/scsi/qla2xxx/qla_dbg.c uint cnt; cnt 2752 drivers/scsi/qla2xxx/qla_dbg.c for (cnt = 0; cnt < size; cnt += 16) { cnt 2753 drivers/scsi/qla2xxx/qla_dbg.c ql_dbg(level, vha, id, "%04x: ", cnt); cnt 2755 drivers/scsi/qla2xxx/qla_dbg.c buf + cnt, min(16U, size - cnt), false); cnt 3471 drivers/scsi/qla2xxx/qla_def.h uint16_t cnt; cnt 267 drivers/scsi/qla2xxx/qla_dfs.c uint32_t cnt; cnt 284 drivers/scsi/qla2xxx/qla_dfs.c for (cnt = 0; cnt < fce_calc_size(ha->fce_bufs) / 4; cnt++) { cnt 285 drivers/scsi/qla2xxx/qla_dfs.c if (cnt % 8 == 0) cnt 287 drivers/scsi/qla2xxx/qla_dfs.c (unsigned long long)((cnt * 4) + fce_start)); cnt 2355 drivers/scsi/qla2xxx/qla_init.c uint32_t cnt; cnt 2381 drivers/scsi/qla2xxx/qla_init.c for (cnt = 0; cnt < 30000; cnt++) { cnt 2404 drivers/scsi/qla2xxx/qla_init.c for (cnt = 0; cnt < 30000; cnt++) { cnt 2549 drivers/scsi/qla2xxx/qla_init.c uint32_t cnt; cnt 2570 drivers/scsi/qla2xxx/qla_init.c for (cnt = 0; cnt < 30000; cnt++) { cnt 2607 drivers/scsi/qla2xxx/qla_init.c for (cnt = 0; cnt < 3000; cnt++) { cnt 2641 drivers/scsi/qla2xxx/qla_init.c for (cnt = 30000; cnt; cnt--) { cnt 2660 drivers/scsi/qla2xxx/qla_init.c for (cnt = 0; cnt < 30000; cnt++) { cnt 2713 drivers/scsi/qla2xxx/qla_init.c uint32_t cnt; cnt 2722 drivers/scsi/qla2xxx/qla_init.c for (cnt = 0; cnt < 30000; cnt++) { cnt 2746 drivers/scsi/qla2xxx/qla_init.c for (cnt = 10000; RD_REG_WORD(®->mailbox0) != 0 && cnt 2747 drivers/scsi/qla2xxx/qla_init.c rval == QLA_SUCCESS; cnt--) { cnt 2749 drivers/scsi/qla2xxx/qla_init.c if (cnt) cnt 2765 drivers/scsi/qla2xxx/qla_init.c for (cnt = 0; cnt < 60; cnt++) { cnt 2808 drivers/scsi/qla2xxx/qla_init.c for (cnt = 60; RD_REG_WORD(®->mailbox0) != 0 && cnt 2809 drivers/scsi/qla2xxx/qla_init.c rval == QLA_SUCCESS; cnt--) { cnt 2811 drivers/scsi/qla2xxx/qla_init.c if (cnt) cnt 2957 drivers/scsi/qla2xxx/qla_init.c uint32_t cnt; cnt 2978 drivers/scsi/qla2xxx/qla_init.c for (cnt = 6000000 ; cnt && (data & CSR_ISP_SOFT_RESET); cnt--) { cnt 2984 drivers/scsi/qla2xxx/qla_init.c if (!cnt) cnt 2997 drivers/scsi/qla2xxx/qla_init.c for (cnt = 6000000; cnt && (data == MBS_BUSY); cnt--) { cnt 3005 drivers/scsi/qla2xxx/qla_init.c if (!cnt) cnt 3754 drivers/scsi/qla2xxx/qla_init.c uint16_t cnt; cnt 3761 drivers/scsi/qla2xxx/qla_init.c for (cnt = 0; cnt < rsp->length; cnt++) { cnt 4049 drivers/scsi/qla2xxx/qla_init.c int cnt, que; cnt 4065 drivers/scsi/qla2xxx/qla_init.c for (cnt = 1; cnt < req->num_outstanding_cmds; cnt++) cnt 4066 drivers/scsi/qla2xxx/qla_init.c req->outstanding_cmds[cnt] = NULL; cnt 4073 drivers/scsi/qla2xxx/qla_init.c req->cnt = req->length; cnt 4489 drivers/scsi/qla2xxx/qla_init.c uint16_t cnt; cnt 4508 drivers/scsi/qla2xxx/qla_init.c for (cnt = 0, chksum = 0; cnt < ha->nvram_size; cnt++) cnt 4626 drivers/scsi/qla2xxx/qla_init.c cnt = (uint8_t *)&icb->request_q_outpointer - (uint8_t *)&icb->version; cnt 4627 drivers/scsi/qla2xxx/qla_init.c while (cnt--) cnt 4632 drivers/scsi/qla2xxx/qla_init.c cnt = (uint8_t *)icb->reserved_3 - (uint8_t *)icb->add_firmware_options; cnt 4633 drivers/scsi/qla2xxx/qla_init.c while (cnt--) cnt 7085 drivers/scsi/qla2xxx/qla_init.c uint16_t cnt; cnt 7112 drivers/scsi/qla2xxx/qla_init.c for (cnt = 0, chksum = 0; cnt < ha->nvram_size >> 2; cnt++, dptr++) cnt 7192 drivers/scsi/qla2xxx/qla_init.c cnt = (uint8_t *)&icb->response_q_inpointer - (uint8_t *)&icb->version; cnt 7193 drivers/scsi/qla2xxx/qla_init.c while (cnt--) cnt 7202 drivers/scsi/qla2xxx/qla_init.c cnt = (uint8_t *)&icb->reserved_3 - cnt 7204 drivers/scsi/qla2xxx/qla_init.c while (cnt--) cnt 8264 drivers/scsi/qla2xxx/qla_init.c uint16_t cnt; cnt 8309 drivers/scsi/qla2xxx/qla_init.c for (cnt = 0, chksum = 0; cnt < ha->nvram_size >> 2; cnt++, dptr++) cnt 8389 drivers/scsi/qla2xxx/qla_init.c cnt = (uint8_t *)&icb->response_q_inpointer - (uint8_t *)&icb->version; cnt 8390 drivers/scsi/qla2xxx/qla_init.c while (cnt--) cnt 8398 drivers/scsi/qla2xxx/qla_init.c cnt = (uint8_t *)&icb->reserved_5 - cnt 8400 drivers/scsi/qla2xxx/qla_init.c while (cnt--) cnt 331 drivers/scsi/qla2xxx/qla_iocb.c uint16_t cnt; cnt 378 drivers/scsi/qla2xxx/qla_iocb.c if (req->cnt < (req_cnt + 2)) { cnt 379 drivers/scsi/qla2xxx/qla_iocb.c cnt = RD_REG_WORD_RELAXED(ISP_REQ_Q_OUT(ha, reg)); cnt 380 drivers/scsi/qla2xxx/qla_iocb.c if (req->ring_index < cnt) cnt 381 drivers/scsi/qla2xxx/qla_iocb.c req->cnt = cnt - req->ring_index; cnt 383 drivers/scsi/qla2xxx/qla_iocb.c req->cnt = req->length - cnt 384 drivers/scsi/qla2xxx/qla_iocb.c (req->ring_index - cnt); cnt 386 drivers/scsi/qla2xxx/qla_iocb.c if (req->cnt < (req_cnt + 2)) cnt 395 drivers/scsi/qla2xxx/qla_iocb.c req->cnt -= req_cnt; cnt 1598 drivers/scsi/qla2xxx/qla_iocb.c uint16_t cnt; cnt 1638 drivers/scsi/qla2xxx/qla_iocb.c if (req->cnt < (req_cnt + 2)) { cnt 1639 drivers/scsi/qla2xxx/qla_iocb.c cnt = IS_SHADOW_REG_CAPABLE(ha) ? *req->out_ptr : cnt 1641 drivers/scsi/qla2xxx/qla_iocb.c if (req->ring_index < cnt) cnt 1642 drivers/scsi/qla2xxx/qla_iocb.c req->cnt = cnt - req->ring_index; cnt 1644 drivers/scsi/qla2xxx/qla_iocb.c req->cnt = req->length - cnt 1645 drivers/scsi/qla2xxx/qla_iocb.c (req->ring_index - cnt); cnt 1646 drivers/scsi/qla2xxx/qla_iocb.c if (req->cnt < (req_cnt + 2)) cnt 1655 drivers/scsi/qla2xxx/qla_iocb.c req->cnt -= req_cnt; cnt 1728 drivers/scsi/qla2xxx/qla_iocb.c uint16_t cnt; cnt 1823 drivers/scsi/qla2xxx/qla_iocb.c if (req->cnt < (req_cnt + 2)) { cnt 1824 drivers/scsi/qla2xxx/qla_iocb.c cnt = IS_SHADOW_REG_CAPABLE(ha) ? *req->out_ptr : cnt 1826 drivers/scsi/qla2xxx/qla_iocb.c if (req->ring_index < cnt) cnt 1827 drivers/scsi/qla2xxx/qla_iocb.c req->cnt = cnt - req->ring_index; cnt 1829 drivers/scsi/qla2xxx/qla_iocb.c req->cnt = req->length - cnt 1830 drivers/scsi/qla2xxx/qla_iocb.c (req->ring_index - cnt); cnt 1831 drivers/scsi/qla2xxx/qla_iocb.c if (req->cnt < (req_cnt + 2)) cnt 1842 drivers/scsi/qla2xxx/qla_iocb.c req->cnt -= req_cnt; cnt 1893 drivers/scsi/qla2xxx/qla_iocb.c req->cnt += req_cnt; cnt 1915 drivers/scsi/qla2xxx/qla_iocb.c uint16_t cnt; cnt 1958 drivers/scsi/qla2xxx/qla_iocb.c if (req->cnt < (req_cnt + 2)) { cnt 1959 drivers/scsi/qla2xxx/qla_iocb.c cnt = IS_SHADOW_REG_CAPABLE(ha) ? *req->out_ptr : cnt 1961 drivers/scsi/qla2xxx/qla_iocb.c if (req->ring_index < cnt) cnt 1962 drivers/scsi/qla2xxx/qla_iocb.c req->cnt = cnt - req->ring_index; cnt 1964 drivers/scsi/qla2xxx/qla_iocb.c req->cnt = req->length - cnt 1965 drivers/scsi/qla2xxx/qla_iocb.c (req->ring_index - cnt); cnt 1966 drivers/scsi/qla2xxx/qla_iocb.c if (req->cnt < (req_cnt + 2)) cnt 1975 drivers/scsi/qla2xxx/qla_iocb.c req->cnt -= req_cnt; cnt 2049 drivers/scsi/qla2xxx/qla_iocb.c uint16_t cnt; cnt 2158 drivers/scsi/qla2xxx/qla_iocb.c if (req->cnt < (req_cnt + 2)) { cnt 2159 drivers/scsi/qla2xxx/qla_iocb.c cnt = IS_SHADOW_REG_CAPABLE(ha) ? *req->out_ptr : cnt 2161 drivers/scsi/qla2xxx/qla_iocb.c if (req->ring_index < cnt) cnt 2162 drivers/scsi/qla2xxx/qla_iocb.c req->cnt = cnt - req->ring_index; cnt 2164 drivers/scsi/qla2xxx/qla_iocb.c req->cnt = req->length - cnt 2165 drivers/scsi/qla2xxx/qla_iocb.c (req->ring_index - cnt); cnt 2166 drivers/scsi/qla2xxx/qla_iocb.c if (req->cnt < (req_cnt + 2)) cnt 2177 drivers/scsi/qla2xxx/qla_iocb.c req->cnt -= req_cnt; cnt 2231 drivers/scsi/qla2xxx/qla_iocb.c req->cnt += req_cnt; cnt 2252 drivers/scsi/qla2xxx/qla_iocb.c uint16_t cnt, req_cnt; cnt 2264 drivers/scsi/qla2xxx/qla_iocb.c if (req->cnt < req_cnt + 2) { cnt 2266 drivers/scsi/qla2xxx/qla_iocb.c cnt = *req->out_ptr; cnt 2269 drivers/scsi/qla2xxx/qla_iocb.c cnt = RD_REG_DWORD(®->isp25mq.req_q_out); cnt 2271 drivers/scsi/qla2xxx/qla_iocb.c cnt = RD_REG_DWORD(®->isp82.req_q_out); cnt 2273 drivers/scsi/qla2xxx/qla_iocb.c cnt = RD_REG_DWORD(®->isp24.req_q_out); cnt 2275 drivers/scsi/qla2xxx/qla_iocb.c cnt = RD_REG_DWORD(®->ispfx00.req_q_out); cnt 2277 drivers/scsi/qla2xxx/qla_iocb.c cnt = qla2x00_debounce_register( cnt 2280 drivers/scsi/qla2xxx/qla_iocb.c if (req->ring_index < cnt) cnt 2281 drivers/scsi/qla2xxx/qla_iocb.c req->cnt = cnt - req->ring_index; cnt 2283 drivers/scsi/qla2xxx/qla_iocb.c req->cnt = req->length - cnt 2284 drivers/scsi/qla2xxx/qla_iocb.c (req->ring_index - cnt); cnt 2286 drivers/scsi/qla2xxx/qla_iocb.c if (req->cnt < req_cnt + 2) cnt 2304 drivers/scsi/qla2xxx/qla_iocb.c req->cnt -= req_cnt; cnt 3084 drivers/scsi/qla2xxx/qla_iocb.c uint16_t cnt; cnt 3182 drivers/scsi/qla2xxx/qla_iocb.c if (req->cnt < (req_cnt + 2)) { cnt 3183 drivers/scsi/qla2xxx/qla_iocb.c cnt = (uint16_t)RD_REG_DWORD_RELAXED( cnt 3185 drivers/scsi/qla2xxx/qla_iocb.c if (req->ring_index < cnt) cnt 3186 drivers/scsi/qla2xxx/qla_iocb.c req->cnt = cnt - req->ring_index; cnt 3188 drivers/scsi/qla2xxx/qla_iocb.c req->cnt = req->length - cnt 3189 drivers/scsi/qla2xxx/qla_iocb.c (req->ring_index - cnt); cnt 3190 drivers/scsi/qla2xxx/qla_iocb.c if (req->cnt < (req_cnt + 2)) cnt 3291 drivers/scsi/qla2xxx/qla_iocb.c if (req->cnt < (req_cnt + 2)) { cnt 3292 drivers/scsi/qla2xxx/qla_iocb.c cnt = (uint16_t)RD_REG_DWORD_RELAXED( cnt 3294 drivers/scsi/qla2xxx/qla_iocb.c if (req->ring_index < cnt) cnt 3295 drivers/scsi/qla2xxx/qla_iocb.c req->cnt = cnt - req->ring_index; cnt 3297 drivers/scsi/qla2xxx/qla_iocb.c req->cnt = req->length - cnt 3298 drivers/scsi/qla2xxx/qla_iocb.c (req->ring_index - cnt); cnt 3300 drivers/scsi/qla2xxx/qla_iocb.c if (req->cnt < (req_cnt + 2)) cnt 3349 drivers/scsi/qla2xxx/qla_iocb.c req->cnt -= req_cnt; cnt 3732 drivers/scsi/qla2xxx/qla_iocb.c uint16_t cnt; cnt 3765 drivers/scsi/qla2xxx/qla_iocb.c if (req->cnt < req_cnt + 2) { cnt 3766 drivers/scsi/qla2xxx/qla_iocb.c cnt = IS_SHADOW_REG_CAPABLE(ha) ? *req->out_ptr : cnt 3768 drivers/scsi/qla2xxx/qla_iocb.c if (req->ring_index < cnt) cnt 3769 drivers/scsi/qla2xxx/qla_iocb.c req->cnt = cnt - req->ring_index; cnt 3771 drivers/scsi/qla2xxx/qla_iocb.c req->cnt = req->length - cnt 3772 drivers/scsi/qla2xxx/qla_iocb.c (req->ring_index - cnt); cnt 3774 drivers/scsi/qla2xxx/qla_iocb.c if (req->cnt < req_cnt + 2) { cnt 3799 drivers/scsi/qla2xxx/qla_iocb.c req->cnt -= req_cnt; cnt 276 drivers/scsi/qla2xxx/qla_isr.c uint16_t cnt; cnt 296 drivers/scsi/qla2xxx/qla_isr.c for (cnt = 1; cnt < ha->mbx_count; cnt++) { cnt 297 drivers/scsi/qla2xxx/qla_isr.c if (IS_QLA2200(ha) && cnt == 8) cnt 299 drivers/scsi/qla2xxx/qla_isr.c if ((cnt == 4 || cnt == 5) && (mboxes & BIT_0)) cnt 300 drivers/scsi/qla2xxx/qla_isr.c ha->mailbox_out[cnt] = qla2x00_debounce_register(wptr); cnt 302 drivers/scsi/qla2xxx/qla_isr.c ha->mailbox_out[cnt] = RD_REG_WORD(wptr); cnt 318 drivers/scsi/qla2xxx/qla_isr.c uint16_t cnt, timeout, mb[QLA_IDC_ACK_REGS]; cnt 328 drivers/scsi/qla2xxx/qla_isr.c for (cnt = 0; cnt < QLA_IDC_ACK_REGS; cnt++, wptr++) cnt 329 drivers/scsi/qla2xxx/qla_isr.c mb[cnt] = RD_REG_WORD(wptr); cnt 632 drivers/scsi/qla2xxx/qla_isr.c uint16_t cnt, mbx; cnt 706 drivers/scsi/qla2xxx/qla_isr.c for (cnt = 0; cnt < handle_cnt; cnt++) cnt 708 drivers/scsi/qla2xxx/qla_isr.c handles[cnt]); cnt 1998 drivers/scsi/qla2xxx/qla_isr.c uint16_t cnt; cnt 2007 drivers/scsi/qla2xxx/qla_isr.c for (cnt = 0; cnt < handle_cnt; cnt++) cnt 2009 drivers/scsi/qla2xxx/qla_isr.c sts21_entry->handle[cnt]); cnt 2014 drivers/scsi/qla2xxx/qla_isr.c for (cnt = 0; cnt < handle_cnt; cnt++) cnt 2016 drivers/scsi/qla2xxx/qla_isr.c sts22_entry->handle[cnt]); cnt 2924 drivers/scsi/qla2xxx/qla_isr.c uint16_t cnt; cnt 2944 drivers/scsi/qla2xxx/qla_isr.c for (cnt = 1; cnt < ha->mbx_count; cnt++) { cnt 2946 drivers/scsi/qla2xxx/qla_isr.c ha->mailbox_out[cnt] = RD_REG_WORD(wptr); cnt 3115 drivers/scsi/qla2xxx/qla_isr.c uint32_t cnt; cnt 3127 drivers/scsi/qla2xxx/qla_isr.c for (cnt = 10000; (RD_REG_DWORD(®->iobase_window) & BIT_0) == 0 && cnt 3128 drivers/scsi/qla2xxx/qla_isr.c rval == QLA_SUCCESS; cnt--) { cnt 3129 drivers/scsi/qla2xxx/qla_isr.c if (cnt) { cnt 3140 drivers/scsi/qla2xxx/qla_isr.c for (cnt = 100; (RD_REG_DWORD(®->iobase_window) & BIT_0) == 0 && cnt 3141 drivers/scsi/qla2xxx/qla_isr.c rval == QLA_SUCCESS; cnt--) { cnt 3142 drivers/scsi/qla2xxx/qla_isr.c if (cnt) { cnt 110 drivers/scsi/qla2xxx/qla_mbx.c uint32_t cnt; cnt 224 drivers/scsi/qla2xxx/qla_mbx.c for (cnt = 0; cnt < ha->mbx_count; cnt++) { cnt 225 drivers/scsi/qla2xxx/qla_mbx.c if (IS_QLA2200(ha) && cnt == 8) cnt 230 drivers/scsi/qla2xxx/qla_mbx.c "mbox[%d]<-0x%04x\n", cnt, *iptr); cnt 399 drivers/scsi/qla2xxx/qla_mbx.c for (cnt = 0; cnt < ha->mbx_count; cnt++) { cnt 403 drivers/scsi/qla2xxx/qla_mbx.c "mbox[%d]->0x%04x\n", cnt, *iptr2); cnt 566 drivers/scsi/qla2xxx/qla_mbx.c cnt = 4; cnt 567 drivers/scsi/qla2xxx/qla_mbx.c for (i = 0; i < ha->mbx_count && cnt; i++, mboxes >>= 1) cnt 570 drivers/scsi/qla2xxx/qla_mbx.c cnt--; cnt 639 drivers/scsi/qla2xxx/qla_mid.c int cnt, ret = 0; cnt 651 drivers/scsi/qla2xxx/qla_mid.c for (cnt = 1; cnt < ha->max_req_queues; cnt++) { cnt 652 drivers/scsi/qla2xxx/qla_mid.c req = ha->req_q_map[cnt]; cnt 653 drivers/scsi/qla2xxx/qla_mid.c if (req && test_bit(cnt, ha->req_qid_map)) { cnt 665 drivers/scsi/qla2xxx/qla_mid.c for (cnt = 1; cnt < ha->max_rsp_queues; cnt++) { cnt 666 drivers/scsi/qla2xxx/qla_mid.c rsp = ha->rsp_q_map[cnt]; cnt 667 drivers/scsi/qla2xxx/qla_mid.c if (rsp && test_bit(cnt, ha->rsp_qid_map)) { cnt 692 drivers/scsi/qla2xxx/qla_mid.c uint32_t cnt; cnt 751 drivers/scsi/qla2xxx/qla_mid.c for (cnt = 1; cnt < req->num_outstanding_cmds; cnt++) cnt 752 drivers/scsi/qla2xxx/qla_mid.c req->outstanding_cmds[cnt] = NULL; cnt 757 drivers/scsi/qla2xxx/qla_mid.c req->cnt = req->length; cnt 769 drivers/scsi/qla2xxx/qla_mid.c req->cnt, req->id, req->max_q_depth); cnt 773 drivers/scsi/qla2xxx/qla_mid.c req->ring_ptr, req->ring_index, req->cnt, cnt 50 drivers/scsi/qla2xxx/qla_mr.c uint32_t cnt; cnt 119 drivers/scsi/qla2xxx/qla_mr.c for (cnt = 0; cnt < ha->mbx_count; cnt++) { cnt 196 drivers/scsi/qla2xxx/qla_mr.c for (cnt = 0; cnt < ha->mbx_count; cnt++) { cnt 531 drivers/scsi/qla2xxx/qla_mr.c uint32_t cnt; cnt 620 drivers/scsi/qla2xxx/qla_mr.c for (cnt = 10; cnt; cnt--) { cnt 1423 drivers/scsi/qla2xxx/qla_mr.c uint16_t cnt; cnt 1430 drivers/scsi/qla2xxx/qla_mr.c for (cnt = 0; cnt < rsp->length; cnt++) { cnt 2875 drivers/scsi/qla2xxx/qla_mr.c uint16_t cnt; cnt 2888 drivers/scsi/qla2xxx/qla_mr.c for (cnt = 1; cnt < ha->mbx_count; cnt++) { cnt 2889 drivers/scsi/qla2xxx/qla_mr.c ha->mailbox_out32[cnt] = RD_REG_DWORD(wptr); cnt 3079 drivers/scsi/qla2xxx/qla_mr.c uint16_t cnt; cnt 3116 drivers/scsi/qla2xxx/qla_mr.c if (req->cnt < (req_cnt + 2)) { cnt 3117 drivers/scsi/qla2xxx/qla_mr.c cnt = RD_REG_DWORD_RELAXED(req->req_q_out); cnt 3119 drivers/scsi/qla2xxx/qla_mr.c if (req->ring_index < cnt) cnt 3120 drivers/scsi/qla2xxx/qla_mr.c req->cnt = cnt - req->ring_index; cnt 3122 drivers/scsi/qla2xxx/qla_mr.c req->cnt = req->length - cnt 3123 drivers/scsi/qla2xxx/qla_mr.c (req->ring_index - cnt); cnt 3124 drivers/scsi/qla2xxx/qla_mr.c if (req->cnt < (req_cnt + 2)) cnt 3133 drivers/scsi/qla2xxx/qla_mr.c req->cnt -= req_cnt; cnt 358 drivers/scsi/qla2xxx/qla_nvme.c uint16_t cnt, i; cnt 385 drivers/scsi/qla2xxx/qla_nvme.c if (req->cnt < (req_cnt + 2)) { cnt 386 drivers/scsi/qla2xxx/qla_nvme.c cnt = IS_SHADOW_REG_CAPABLE(ha) ? *req->out_ptr : cnt 389 drivers/scsi/qla2xxx/qla_nvme.c if (req->ring_index < cnt) cnt 390 drivers/scsi/qla2xxx/qla_nvme.c req->cnt = cnt - req->ring_index; cnt 392 drivers/scsi/qla2xxx/qla_nvme.c req->cnt = req->length - (req->ring_index - cnt); cnt 394 drivers/scsi/qla2xxx/qla_nvme.c if (req->cnt < (req_cnt + 2)){ cnt 413 drivers/scsi/qla2xxx/qla_nvme.c req->cnt -= req_cnt; cnt 1998 drivers/scsi/qla2xxx/qla_nx.c uint16_t cnt; cnt 2009 drivers/scsi/qla2xxx/qla_nx.c for (cnt = 1; cnt < ha->mbx_count; cnt++) { cnt 2010 drivers/scsi/qla2xxx/qla_nx.c ha->mailbox_out[cnt] = RD_REG_WORD(wptr); cnt 3678 drivers/scsi/qla2xxx/qla_nx.c int cnt, que; cnt 3687 drivers/scsi/qla2xxx/qla_nx.c for (cnt = 1; cnt < req->num_outstanding_cmds; cnt++) { cnt 3688 drivers/scsi/qla2xxx/qla_nx.c sp = req->outstanding_cmds[cnt]; cnt 489 drivers/scsi/qla2xxx/qla_os.c int cnt; cnt 502 drivers/scsi/qla2xxx/qla_os.c for (cnt = 0; cnt < ha->max_req_queues; cnt++) { cnt 503 drivers/scsi/qla2xxx/qla_os.c if (!test_bit(cnt, ha->req_qid_map)) cnt 506 drivers/scsi/qla2xxx/qla_os.c req = ha->req_q_map[cnt]; cnt 507 drivers/scsi/qla2xxx/qla_os.c clear_bit(cnt, ha->req_qid_map); cnt 508 drivers/scsi/qla2xxx/qla_os.c ha->req_q_map[cnt] = NULL; cnt 521 drivers/scsi/qla2xxx/qla_os.c for (cnt = 0; cnt < ha->max_rsp_queues; cnt++) { cnt 522 drivers/scsi/qla2xxx/qla_os.c if (!test_bit(cnt, ha->rsp_qid_map)) cnt 525 drivers/scsi/qla2xxx/qla_os.c rsp = ha->rsp_q_map[cnt]; cnt 526 drivers/scsi/qla2xxx/qla_os.c clear_bit(cnt, ha->rsp_qid_map); cnt 527 drivers/scsi/qla2xxx/qla_os.c ha->rsp_q_map[cnt] = NULL; cnt 1323 drivers/scsi/qla2xxx/qla_os.c int cnt, match, status; cnt 1334 drivers/scsi/qla2xxx/qla_os.c for (cnt = 1; status == QLA_SUCCESS && cnt 1335 drivers/scsi/qla2xxx/qla_os.c cnt < req->num_outstanding_cmds; cnt++) { cnt 1336 drivers/scsi/qla2xxx/qla_os.c sp = req->outstanding_cmds[cnt]; cnt 1752 drivers/scsi/qla2xxx/qla_os.c int cnt; cnt 1765 drivers/scsi/qla2xxx/qla_os.c for (cnt = 1; cnt < req->num_outstanding_cmds; cnt++) { cnt 1766 drivers/scsi/qla2xxx/qla_os.c sp = req->outstanding_cmds[cnt]; cnt 1789 drivers/scsi/qla2xxx/qla_os.c req->outstanding_cmds[cnt] = NULL; cnt 4987 drivers/scsi/qla2xxx/qla_os.c uint32_t *data, int cnt) cnt 4996 drivers/scsi/qla2xxx/qla_os.c e->u.aenfx.count = cnt; cnt 4997 drivers/scsi/qla2xxx/qla_os.c memcpy(e->u.aenfx.mbx, data, sizeof(*data) * cnt); cnt 106 drivers/scsi/qla2xxx/qla_sup.c uint8_t cnt; cnt 113 drivers/scsi/qla2xxx/qla_sup.c for (cnt = 0; cnt < 11; cnt++) { cnt 122 drivers/scsi/qla2xxx/qla_sup.c for (cnt = 0; cnt < 16; cnt++) { cnt 457 drivers/scsi/qla2xxx/qla_sup.c ulong cnt = 30000; cnt 461 drivers/scsi/qla2xxx/qla_sup.c while (cnt--) { cnt 500 drivers/scsi/qla2xxx/qla_sup.c ulong cnt = 500000; cnt 505 drivers/scsi/qla2xxx/qla_sup.c while (cnt--) { cnt 552 drivers/scsi/qla2xxx/qla_sup.c uint16_t cnt, chksum, *wptr; cnt 614 drivers/scsi/qla2xxx/qla_sup.c cnt = sizeof(*fltl) / sizeof(*wptr); cnt 615 drivers/scsi/qla2xxx/qla_sup.c for (chksum = 0; cnt--; wptr++) cnt 674 drivers/scsi/qla2xxx/qla_sup.c uint16_t *wptr, cnt, chksum; cnt 698 drivers/scsi/qla2xxx/qla_sup.c cnt = (sizeof(*flt) + le16_to_cpu(flt->length)) / sizeof(*wptr); cnt 699 drivers/scsi/qla2xxx/qla_sup.c for (chksum = 0; cnt--; wptr++) cnt 709 drivers/scsi/qla2xxx/qla_sup.c cnt = le16_to_cpu(flt->length) / sizeof(*region); cnt 710 drivers/scsi/qla2xxx/qla_sup.c for ( ; cnt; cnt--, region++) { cnt 951 drivers/scsi/qla2xxx/qla_sup.c uint16_t cnt, chksum; cnt 964 drivers/scsi/qla2xxx/qla_sup.c for (cnt = 0, chksum = 0; cnt < sizeof(*fdt) >> 1; cnt++, wptr++) cnt 1099 drivers/scsi/qla2xxx/qla_sup.c uint16_t cnt, chksum; cnt 1138 drivers/scsi/qla2xxx/qla_sup.c cnt = (sizeof(hdr) + le16_to_cpu(hdr.entries) * sizeof(*entry)) >> 1; cnt 1139 drivers/scsi/qla2xxx/qla_sup.c for (wptr = data, chksum = 0; cnt--; wptr++) cnt 1151 drivers/scsi/qla2xxx/qla_sup.c cnt = le16_to_cpu(hdr.entries); cnt 1152 drivers/scsi/qla2xxx/qla_sup.c for (i = 0; cnt; cnt--, entry++, i++) { cnt 1174 drivers/scsi/qla2xxx/qla_sup.c cnt, vid.port_name, vid.node_name, cnt 1183 drivers/scsi/qla2xxx/qla_sup.c cnt, vid.port_name, vid.node_name); cnt 1220 drivers/scsi/qla2xxx/qla_sup.c ulong cnt = 300; cnt 1233 drivers/scsi/qla2xxx/qla_sup.c while (cnt--) { cnt 2134 drivers/scsi/qla2xxx/qla_sup.c uint32_t cnt; cnt 2140 drivers/scsi/qla2xxx/qla_sup.c for (cnt = 3000000; cnt; cnt--) { cnt 2148 drivers/scsi/qla2xxx/qla_sup.c if ((flash_data & BIT_5) && cnt > 2) cnt 2149 drivers/scsi/qla2xxx/qla_sup.c cnt = 2; cnt 2310 drivers/scsi/qla2xxx/qla_sup.c int cnt; cnt 2325 drivers/scsi/qla2xxx/qla_sup.c for (cnt = 0; cnt < 30000; cnt++) { cnt 2657 drivers/scsi/qla2xxx/qla_sup.c uint16_t cnt; cnt 2665 drivers/scsi/qla2xxx/qla_sup.c cnt = le16_to_cpu(flt->length) / sizeof(struct qla_flt_region); cnt 2667 drivers/scsi/qla2xxx/qla_sup.c for (; cnt; cnt--, flt_reg++) { cnt 1023 drivers/scsi/qla2xxx/qla_target.c u16 cnt = 0; cnt 1033 drivers/scsi/qla2xxx/qla_target.c cnt++; cnt 1034 drivers/scsi/qla2xxx/qla_target.c if (cnt > 200) cnt 2474 drivers/scsi/qla2xxx/qla_target.c uint32_t cnt; cnt 2477 drivers/scsi/qla2xxx/qla_target.c if (req->cnt < (req_cnt + 2)) { cnt 2478 drivers/scsi/qla2xxx/qla_target.c cnt = (uint16_t)(qpair->use_shadow_reg ? *req->out_ptr : cnt 2481 drivers/scsi/qla2xxx/qla_target.c if (req->ring_index < cnt) cnt 2482 drivers/scsi/qla2xxx/qla_target.c req->cnt = cnt - req->ring_index; cnt 2484 drivers/scsi/qla2xxx/qla_target.c req->cnt = req->length - (req->ring_index - cnt); cnt 2486 drivers/scsi/qla2xxx/qla_target.c if (unlikely(req->cnt < (req_cnt + 2))) cnt 2490 drivers/scsi/qla2xxx/qla_target.c req->cnt -= req_cnt; cnt 2596 drivers/scsi/qla2xxx/qla_target.c int cnt; cnt 2621 drivers/scsi/qla2xxx/qla_target.c for (cnt = 0; cnt 2622 drivers/scsi/qla2xxx/qla_target.c cnt < QLA_TGT_DATASEGS_PER_CONT_24XX && prm->seg_cnt; cnt 2623 drivers/scsi/qla2xxx/qla_target.c cnt++, prm->seg_cnt--) { cnt 2636 drivers/scsi/qla2xxx/qla_target.c int cnt; cnt 2659 drivers/scsi/qla2xxx/qla_target.c for (cnt = 0; cnt 2660 drivers/scsi/qla2xxx/qla_target.c (cnt < QLA_TGT_DATASEGS_PER_CMD_24XX) && prm->seg_cnt; cnt 2661 drivers/scsi/qla2xxx/qla_target.c cnt++, prm->seg_cnt--) { cnt 3256 drivers/scsi/qla2xxx/qla_target.c qpair->req->cnt += full_req_cnt; cnt 3400 drivers/scsi/qla2xxx/qla_target.c qpair->req->cnt += prm.req_cnt; cnt 6731 drivers/scsi/qla2xxx/qla_target.c uint16_t cnt; cnt 6737 drivers/scsi/qla2xxx/qla_target.c for (cnt = 0; cnt < ha->tgt.atio_q_length; cnt++) { cnt 6753 drivers/scsi/qla2xxx/qla_target.c int cnt, i; cnt 6761 drivers/scsi/qla2xxx/qla_target.c cnt = pkt->u.raw.entry_count; cnt 6783 drivers/scsi/qla2xxx/qla_target.c for (i = 0; i < cnt; i++) { cnt 137 drivers/scsi/qla2xxx/tcm_qla2xxx.c unsigned int cnt = count; cnt 144 drivers/scsi/qla2xxx/tcm_qla2xxx.c if (name[cnt-1] == '\n' || name[cnt-1] == 0) cnt 145 drivers/scsi/qla2xxx/tcm_qla2xxx.c cnt--; cnt 148 drivers/scsi/qla2xxx/tcm_qla2xxx.c if ((cnt != (16+1+16)) || (name[16] != ':')) cnt 15 drivers/scsi/qla4xxx/ql4_dbg.c uint32_t cnt; cnt 22 drivers/scsi/qla4xxx/ql4_dbg.c for (cnt = 0; cnt < size; c++) { cnt 24 drivers/scsi/qla4xxx/ql4_dbg.c if (!(++cnt % 16)) cnt 68 drivers/scsi/qla4xxx/ql4_init.c uint16_t cnt; cnt 72 drivers/scsi/qla4xxx/ql4_init.c for (cnt = 0; cnt < RESPONSE_QUEUE_DEPTH; cnt++) { cnt 18 drivers/scsi/qla4xxx/ql4_iocb.c uint16_t cnt; cnt 22 drivers/scsi/qla4xxx/ql4_iocb.c cnt = (uint16_t) ha->isp_ops->rd_shdw_req_q_out(ha); cnt 23 drivers/scsi/qla4xxx/ql4_iocb.c if (ha->request_in < cnt) cnt 24 drivers/scsi/qla4xxx/ql4_iocb.c ha->req_q_count = cnt - ha->request_in; cnt 27 drivers/scsi/qla4xxx/ql4_iocb.c (ha->request_in - cnt); cnt 3724 drivers/scsi/qla4xxx/ql4_nx.c uint16_t cnt, chksum; cnt 3756 drivers/scsi/qla4xxx/ql4_nx.c cnt = (sizeof(struct qla_flt_header) + le16_to_cpu(flt->length)) >> 1; cnt 3757 drivers/scsi/qla4xxx/ql4_nx.c for (chksum = 0; cnt; cnt--) cnt 3768 drivers/scsi/qla4xxx/ql4_nx.c cnt = le16_to_cpu(flt->length) / sizeof(struct qla_flt_region); cnt 3769 drivers/scsi/qla4xxx/ql4_nx.c for ( ; cnt; cnt--, region++) { cnt 3836 drivers/scsi/qla4xxx/ql4_nx.c uint16_t cnt, chksum; cnt 3858 drivers/scsi/qla4xxx/ql4_nx.c for (cnt = 0, chksum = 0; cnt < sizeof(struct qla_fdt_layout) >> 1; cnt 3859 drivers/scsi/qla4xxx/ql4_nx.c cnt++) cnt 9157 drivers/scsi/qla4xxx/ql4_os.c int cnt; cnt 9165 drivers/scsi/qla4xxx/ql4_os.c for (cnt = 0; cnt < ha->host->can_queue; cnt++) { cnt 9166 drivers/scsi/qla4xxx/ql4_os.c cmd = scsi_host_find_tag(ha->host, cnt); cnt 1102 drivers/scsi/scsi_transport_fc.c unsigned int cnt=count; \ cnt 1105 drivers/scsi/scsi_transport_fc.c if (buf[cnt-1] == '\n') \ cnt 1106 drivers/scsi/scsi_transport_fc.c cnt--; \ cnt 1107 drivers/scsi/scsi_transport_fc.c if (cnt > ((slen) - 1)) \ cnt 1109 drivers/scsi/scsi_transport_fc.c memcpy(vport->field, buf, cnt); \ cnt 1366 drivers/scsi/scsi_transport_fc.c unsigned int cnt=count; \ cnt 1369 drivers/scsi/scsi_transport_fc.c if (buf[cnt-1] == '\n') \ cnt 1370 drivers/scsi/scsi_transport_fc.c cnt--; \ cnt 1371 drivers/scsi/scsi_transport_fc.c if (cnt > ((slen) - 1)) \ cnt 1373 drivers/scsi/scsi_transport_fc.c memcpy(fc_host_##field(shost), buf, cnt); \ cnt 1849 drivers/scsi/scsi_transport_fc.c unsigned int cnt=count; cnt 1855 drivers/scsi/scsi_transport_fc.c if (buf[cnt-1] == '\n') cnt 1856 drivers/scsi/scsi_transport_fc.c cnt--; cnt 1859 drivers/scsi/scsi_transport_fc.c if ((cnt != (16+1+16)) || (buf[16] != ':')) cnt 1898 drivers/scsi/scsi_transport_fc.c unsigned int cnt=count; cnt 1902 drivers/scsi/scsi_transport_fc.c if (buf[cnt-1] == '\n') cnt 1903 drivers/scsi/scsi_transport_fc.c cnt--; cnt 1906 drivers/scsi/scsi_transport_fc.c if ((cnt != (16+1+16)) || (buf[16] != ':')) cnt 88 drivers/scsi/snic/snic_debugfs.c size_t cnt, cnt 97 drivers/scsi/snic/snic_debugfs.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, len); cnt 117 drivers/scsi/snic/snic_debugfs.c size_t cnt, cnt 128 drivers/scsi/snic/snic_debugfs.c if (cnt >= sizeof(buf)) cnt 131 drivers/scsi/snic/snic_debugfs.c if (copy_from_user(&buf, ubuf, cnt)) cnt 134 drivers/scsi/snic/snic_debugfs.c buf[cnt] = '\0'; cnt 164 drivers/scsi/snic/snic_debugfs.c return cnt; cnt 3999 drivers/scsi/st.c int i, cnt, res, offset; cnt 4011 drivers/scsi/st.c cnt = length - offset < do_count ? length - offset : do_count; cnt 4012 drivers/scsi/st.c res = copy_from_user(page_address(page) + offset, ubp, cnt); cnt 4015 drivers/scsi/st.c do_count -= cnt; cnt 4016 drivers/scsi/st.c st_bp->buffer_bytes += cnt; cnt 4017 drivers/scsi/st.c ubp += cnt; cnt 4031 drivers/scsi/st.c int i, cnt, res, offset; cnt 4043 drivers/scsi/st.c cnt = length - offset < do_count ? length - offset : do_count; cnt 4044 drivers/scsi/st.c res = copy_to_user(ubp, page_address(page) + offset, cnt); cnt 4047 drivers/scsi/st.c do_count -= cnt; cnt 4048 drivers/scsi/st.c st_bp->buffer_bytes -= cnt; cnt 4049 drivers/scsi/st.c st_bp->read_pointer += cnt; cnt 4050 drivers/scsi/st.c ubp += cnt; cnt 980 drivers/scsi/sym53c8xx_2/sym_glue.c int cnt, c; cnt 982 drivers/scsi/sym53c8xx_2/sym_glue.c for (cnt = len; cnt > 0 && (c = *ptr++) && isspace(c); cnt--); cnt 984 drivers/scsi/sym53c8xx_2/sym_glue.c return (len - cnt); cnt 49 drivers/scsi/ufs/ufshcd-pltfrm.c int cnt; cnt 62 drivers/scsi/ufs/ufshcd-pltfrm.c cnt = of_property_count_strings(np, "clock-names"); cnt 63 drivers/scsi/ufs/ufshcd-pltfrm.c if (!cnt || (cnt == -EINVAL)) { cnt 66 drivers/scsi/ufs/ufshcd-pltfrm.c } else if (cnt < 0) { cnt 68 drivers/scsi/ufs/ufshcd-pltfrm.c __func__, cnt); cnt 69 drivers/scsi/ufs/ufshcd-pltfrm.c ret = cnt; cnt 72 drivers/scsi/ufs/ufshcd-pltfrm.c if (cnt <= 0) cnt 84 drivers/scsi/ufs/ufshcd-pltfrm.c if (sz != 2 * cnt) { cnt 823 drivers/scsi/ufs/ufshcd.c ufshcd_config_intr_aggr(struct ufs_hba *hba, u8 cnt, u8 tmout) cnt 826 drivers/scsi/ufs/ufshcd.c INT_AGGR_COUNTER_THLD_VAL(cnt) | cnt 686 drivers/scsi/wd33c93.c transfer_pio(const wd33c93_regs regs, uchar * buf, int cnt, cnt 692 drivers/scsi/wd33c93.c printk("(%p,%d,%s:", buf, cnt, data_in_dir ? "in" : "out")) cnt 695 drivers/scsi/wd33c93.c write_wd33c93_count(regs, cnt); cnt 183 drivers/sfi/sfi_acpi.c ssize_t cnt; cnt 193 drivers/sfi/sfi_acpi.c cnt = memory_read_from_buffer(buf, count, &offset, cnt 197 drivers/sfi/sfi_acpi.c return cnt; cnt 398 drivers/sfi/sfi_core.c ssize_t cnt; cnt 409 drivers/sfi/sfi_core.c cnt = memory_read_from_buffer(buf, count, &offset, cnt 413 drivers/sfi/sfi_core.c cnt = memory_read_from_buffer(buf, count, &offset, cnt 416 drivers/sfi/sfi_core.c return cnt; cnt 165 drivers/sh/intc/core.c unsigned int cnt, cnt 172 drivers/sh/intc/core.c d->reg[cnt] = value; cnt 174 drivers/sh/intc/core.c d->smp[cnt] = smp; cnt 2838 drivers/soc/fsl/qbman/qman.c static int qman_alloc_range(struct gen_pool *p, u32 *result, u32 cnt) cnt 2845 drivers/soc/fsl/qbman/qman.c addr = gen_pool_alloc(p, cnt); cnt 447 drivers/soc/ixp4xx/ixp4xx-npe.c int cycles = 0, cnt = 0; cnt 453 drivers/soc/ixp4xx/ixp4xx-npe.c recv[cnt++] = __raw_readl(&npe->regs->in_out_fifo); cnt 454 drivers/soc/ixp4xx/ixp4xx-npe.c if (cnt == 2) cnt 462 drivers/soc/ixp4xx/ixp4xx-npe.c switch(cnt) { cnt 50 drivers/soc/qcom/cmd-db.c __le16 cnt; cnt 157 drivers/soc/qcom/cmd-db.c for (j = 0; j < le16_to_cpu(rsc_hdr->cnt); j++, ent++) { cnt 418 drivers/spi/spi-mt65xx.c int cnt, remainder; cnt 428 drivers/spi/spi-mt65xx.c cnt = xfer->len / 4; cnt 429 drivers/spi/spi-mt65xx.c iowrite32_rep(mdata->base + SPI_TX_DATA_REG, xfer->tx_buf, cnt); cnt 434 drivers/spi/spi-mt65xx.c memcpy(®_val, xfer->tx_buf + (cnt * 4), remainder); cnt 523 drivers/spi/spi-mt65xx.c u32 cmd, reg_val, cnt, remainder, len; cnt 536 drivers/spi/spi-mt65xx.c cnt = mdata->xfer_len / 4; cnt 538 drivers/spi/spi-mt65xx.c trans->rx_buf + mdata->num_xfered, cnt); cnt 544 drivers/spi/spi-mt65xx.c (cnt * 4), cnt 560 drivers/spi/spi-mt65xx.c cnt = mdata->xfer_len / 4; cnt 562 drivers/spi/spi-mt65xx.c trans->tx_buf + mdata->num_xfered, cnt); cnt 568 drivers/spi/spi-mt65xx.c trans->tx_buf + (cnt * 4) + mdata->num_xfered, cnt 445 drivers/spi/spi-orion.c unsigned int cnt = count / 4; cnt 452 drivers/spi/spi-orion.c iowrite32_rep(vaddr, xfer->tx_buf, cnt); cnt 456 drivers/spi/spi-orion.c iowrite8_rep(vaddr, &buf[cnt], rem); cnt 305 drivers/spi/spi-ppc4xx.c int cnt = 0; cnt 311 drivers/spi/spi-ppc4xx.c } while (++cnt < 100 && lstatus & SPI_PPC4XX_SR_BSY); cnt 313 drivers/spi/spi-ppc4xx.c if (cnt >= 100) { cnt 320 drivers/spi/spi-ppc4xx.c dev_dbg(hw->dev, "loops %d status %x\n", cnt, status); cnt 150 drivers/spi/spi-slave-mt27xx.c int reg_val, cnt, remainder, ret; cnt 161 drivers/spi/spi-slave-mt27xx.c cnt = xfer->len / 4; cnt 164 drivers/spi/spi-slave-mt27xx.c xfer->tx_buf, cnt); cnt 169 drivers/spi/spi-slave-mt27xx.c memcpy(®_val, xfer->tx_buf + cnt * 4, remainder); cnt 315 drivers/spi/spi-slave-mt27xx.c u32 int_status, reg_val, cnt, remainder; cnt 342 drivers/spi/spi-slave-mt27xx.c cnt = trans->len / 4; cnt 345 drivers/spi/spi-slave-mt27xx.c trans->rx_buf, cnt); cnt 349 drivers/spi/spi-slave-mt27xx.c memcpy(trans->rx_buf + (cnt * 4), cnt 65 drivers/spi/spi-sun4i.c #define SUN4I_BURST_CNT(cnt) ((cnt) & SUN4I_MAX_XFER_SIZE) cnt 68 drivers/spi/spi-sun4i.c #define SUN4I_XMIT_CNT(cnt) ((cnt) & SUN4I_MAX_XFER_SIZE) cnt 127 drivers/spi/spi-sun4i.c u32 reg, cnt; cnt 133 drivers/spi/spi-sun4i.c cnt = reg >> SUN4I_FIFO_STA_RF_CNT_BITS; cnt 135 drivers/spi/spi-sun4i.c if (len > cnt) cnt 136 drivers/spi/spi-sun4i.c len = cnt; cnt 147 drivers/spi/spi-sun4i.c u32 cnt; cnt 151 drivers/spi/spi-sun4i.c cnt = SUN4I_FIFO_DEPTH - sun4i_spi_get_tx_fifo_count(sspi); cnt 153 drivers/spi/spi-sun4i.c len = min3(len, (int)cnt, sspi->len); cnt 76 drivers/spi/spi-sun6i.c #define SUN6I_BURST_CNT(cnt) ((cnt) & SUN6I_MAX_XFER_SIZE) cnt 79 drivers/spi/spi-sun6i.c #define SUN6I_XMIT_CNT(cnt) ((cnt) & SUN6I_MAX_XFER_SIZE) cnt 82 drivers/spi/spi-sun6i.c #define SUN6I_BURST_CTL_CNT_STC(cnt) ((cnt) & SUN6I_MAX_XFER_SIZE) cnt 139 drivers/spi/spi-sun6i.c u32 reg, cnt; cnt 145 drivers/spi/spi-sun6i.c cnt = reg >> SUN6I_FIFO_STA_RF_CNT_BITS; cnt 147 drivers/spi/spi-sun6i.c if (len > cnt) cnt 148 drivers/spi/spi-sun6i.c len = cnt; cnt 159 drivers/spi/spi-sun6i.c u32 cnt; cnt 163 drivers/spi/spi-sun6i.c cnt = sspi->fifo_depth - sun6i_spi_get_tx_fifo_count(sspi); cnt 165 drivers/spi/spi-sun6i.c len = min3(len, (int)cnt, sspi->len); cnt 1171 drivers/spi/spi-topcliff-pch.c int cnt; cnt 1195 drivers/spi/spi-topcliff-pch.c cnt = (data->cur_trans->len - 1) / PCH_BUF_SIZE + 1; cnt 1200 drivers/spi/spi-topcliff-pch.c for (i = 0; i < cnt; i ++) { cnt 40 drivers/ssb/sprom.c int err, cnt = 0; cnt 54 drivers/ssb/sprom.c while (cnt < sprom_size_words) { cnt 60 drivers/ssb/sprom.c sprom[cnt++] = swab16((u16)parsed); cnt 417 drivers/staging/android/ion/ion.c int ret = -EINVAL, cnt = 0, max_cnt; cnt 425 drivers/staging/android/ion/ion.c query->cnt = dev->heap_cnt; cnt 430 drivers/staging/android/ion/ion.c if (query->cnt <= 0) cnt 433 drivers/staging/android/ion/ion.c max_cnt = query->cnt; cnt 441 drivers/staging/android/ion/ion.c if (copy_to_user(&buffer[cnt], &hdata, sizeof(hdata))) { cnt 446 drivers/staging/android/ion/ion.c cnt++; cnt 447 drivers/staging/android/ion/ion.c if (cnt >= max_cnt) cnt 451 drivers/staging/android/ion/ion.c query->cnt = cnt; cnt 100 drivers/staging/android/uapi/ion.h __u32 cnt; /* Total number of heaps to be copied */ cnt 662 drivers/staging/comedi/drivers/amplc_pci230.c unsigned int clk_src, cnt; cnt 665 drivers/staging/comedi/drivers/amplc_pci230.c cnt = pci230_divide_ns(ns, pci230_timebase[clk_src], flags); cnt 666 drivers/staging/comedi/drivers/amplc_pci230.c if (cnt <= 65536 || clk_src == CLK_1KHZ) cnt 669 drivers/staging/comedi/drivers/amplc_pci230.c *count = cnt; cnt 203 drivers/staging/gs_fpgaboot/gs_fpgaboot.c int size, i, cnt; cnt 205 drivers/staging/gs_fpgaboot/gs_fpgaboot.c cnt = 0; cnt 247 drivers/staging/gs_fpgaboot/gs_fpgaboot.c if (cnt++ > MAX_WAIT_DONE) { cnt 253 drivers/staging/gs_fpgaboot/gs_fpgaboot.c if (cnt > MAX_WAIT_DONE) { cnt 298 drivers/staging/iio/adc/ad7280a.c static int ad7280_read_all_channels(struct ad7280_state *st, unsigned int cnt, cnt 319 drivers/staging/iio/adc/ad7280a.c for (i = 0; i < cnt; i++) { cnt 518 drivers/staging/iio/adc/ad7280a.c int cnt) cnt 524 drivers/staging/iio/adc/ad7280a.c chan->scan_index = cnt; cnt 531 drivers/staging/iio/adc/ad7280a.c int cnt, int dev) cnt 541 drivers/staging/iio/adc/ad7280a.c chan->scan_index = cnt; cnt 547 drivers/staging/iio/adc/ad7280a.c static void ad7280_timestamp_channel_init(struct iio_chan_spec *chan, int cnt) cnt 551 drivers/staging/iio/adc/ad7280a.c chan->scan_index = cnt; cnt 557 drivers/staging/iio/adc/ad7280a.c static void ad7280_init_dev_channels(struct ad7280_state *st, int dev, int *cnt) cnt 563 drivers/staging/iio/adc/ad7280a.c chan = &st->channels[*cnt]; cnt 574 drivers/staging/iio/adc/ad7280a.c ad7280_common_fields_init(chan, addr, *cnt); cnt 576 drivers/staging/iio/adc/ad7280a.c (*cnt)++; cnt 582 drivers/staging/iio/adc/ad7280a.c int dev, cnt = 0; cnt 590 drivers/staging/iio/adc/ad7280a.c ad7280_init_dev_channels(st, dev, &cnt); cnt 592 drivers/staging/iio/adc/ad7280a.c ad7280_total_voltage_channel_init(&st->channels[cnt], cnt, dev); cnt 593 drivers/staging/iio/adc/ad7280a.c cnt++; cnt 594 drivers/staging/iio/adc/ad7280a.c ad7280_timestamp_channel_init(&st->channels[cnt], cnt); cnt 596 drivers/staging/iio/adc/ad7280a.c return cnt + 1; cnt 631 drivers/staging/iio/adc/ad7280a.c static int ad7280_init_dev_attrs(struct ad7280_state *st, int dev, int *cnt) cnt 638 drivers/staging/iio/adc/ad7280a.c iio_attr = &st->iio_attr[*cnt]; cnt 646 drivers/staging/iio/adc/ad7280a.c ad7280_attributes[*cnt] = &iio_attr->dev_attr.attr; cnt 648 drivers/staging/iio/adc/ad7280a.c (*cnt)++; cnt 649 drivers/staging/iio/adc/ad7280a.c iio_attr = &st->iio_attr[*cnt]; cnt 656 drivers/staging/iio/adc/ad7280a.c ad7280_attributes[*cnt] = &iio_attr->dev_attr.attr; cnt 657 drivers/staging/iio/adc/ad7280a.c (*cnt)++; cnt 660 drivers/staging/iio/adc/ad7280a.c ad7280_attributes[*cnt] = NULL; cnt 667 drivers/staging/iio/adc/ad7280a.c int dev, cnt = 0, ret; cnt 676 drivers/staging/iio/adc/ad7280a.c ret = ad7280_init_dev_attrs(st, dev, &cnt); cnt 219 drivers/staging/isdn/hysdn/boardergo.c int cnt = (BOOT_IMG_SIZE >> 2); /* number of words to move and swap (byte order!) */ cnt 226 drivers/staging/isdn/hysdn/boardergo.c while (cnt--) { cnt 70 drivers/staging/isdn/hysdn/hysdn_boot.c DecryptBuf(struct boot_data *boot, int cnt) cnt 74 drivers/staging/isdn/hysdn/hysdn_boot.c while (cnt--) { cnt 152 drivers/staging/isdn/hysdn/hysdn_sched.c int cnt = 50; /* timeout intervalls */ cnt 164 drivers/staging/isdn/hysdn/hysdn_sched.c if (!--cnt) cnt 181 drivers/staging/isdn/hysdn/hysdn_sched.c cnt++; /* short delay */ cnt 189 drivers/staging/isdn/hysdn/hysdn_sched.c if (!--cnt) cnt 2370 drivers/staging/media/ipu3/ipu3-css.c u32 cnt = readl(base + IMGU_REG_SP_DMEM_BASE(0) + cnt 2376 drivers/staging/media/ipu3/ipu3-css.c __func__, i, cnt, val); cnt 177 drivers/staging/most/video/video.c int const cnt = rem < count ? rem : count; cnt 179 drivers/staging/most/video/video.c if (copy_to_user(buf, mbo->virt_address + fh->offs, cnt)) { cnt 186 drivers/staging/most/video/video.c fh->offs += cnt; cnt 187 drivers/staging/most/video/video.c count -= cnt; cnt 188 drivers/staging/most/video/video.c buf += cnt; cnt 189 drivers/staging/most/video/video.c ret += cnt; cnt 191 drivers/staging/most/video/video.c if (cnt >= rem) { cnt 517 drivers/staging/mt7621-dma/mtk-hsdma.c int next_idx, drx_idx, cnt; cnt 523 drivers/staging/mt7621-dma/mtk-hsdma.c cnt = (drx_idx - next_idx) & HSDMA_DESCS_MASK; cnt 524 drivers/staging/mt7621-dma/mtk-hsdma.c if (!cnt) cnt 527 drivers/staging/mt7621-dma/mtk-hsdma.c chan->next_sg += cnt; cnt 528 drivers/staging/mt7621-dma/mtk-hsdma.c chan->rx_idx = (chan->rx_idx + cnt) & HSDMA_DESCS_MASK; cnt 380 drivers/staging/octeon/octeon-stubs.h uint64_t cnt:32; cnt 126 drivers/staging/ralink-gdma/ralink-gdma.c atomic_t cnt; cnt 481 drivers/staging/ralink-gdma/ralink-gdma.c atomic_dec(&dma_dev->cnt); cnt 721 drivers/staging/ralink-gdma/ralink-gdma.c if (atomic_read(&dma_dev->cnt) >= 2) { cnt 729 drivers/staging/ralink-gdma/ralink-gdma.c atomic_inc(&dma_dev->cnt); cnt 1011 drivers/staging/rtl8188eu/core/rtw_cmd.c int cnt = 0; cnt 1027 drivers/staging/rtl8188eu/core/rtw_cmd.c cnt++; cnt 1029 drivers/staging/rtl8188eu/core/rtw_cmd.c if (cnt > 10) cnt 1035 drivers/staging/rtl8188eu/core/rtw_cmd.c if (cnt <= 10) { cnt 489 drivers/staging/rtl8188eu/core/rtw_ieee80211.c uint cnt; cnt 493 drivers/staging/rtl8188eu/core/rtw_ieee80211.c cnt = _TIMESTAMP_ + _BEACON_ITERVAL_ + _CAPABILITY_; cnt 497 drivers/staging/rtl8188eu/core/rtw_ieee80211.c while (cnt < in_len) { cnt 498 drivers/staging/rtl8188eu/core/rtw_ieee80211.c authmode = in_ie[cnt]; cnt 500 drivers/staging/rtl8188eu/core/rtw_ieee80211.c if ((authmode == _WPA_IE_ID_) && (!memcmp(&in_ie[cnt + 2], &wpa_oui[0], 4))) { cnt 503 drivers/staging/rtl8188eu/core/rtw_ieee80211.c sec_idx, in_ie[cnt + 1] + 2)); cnt 506 drivers/staging/rtl8188eu/core/rtw_ieee80211.c memcpy(wpa_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); cnt 508 drivers/staging/rtl8188eu/core/rtw_ieee80211.c for (i = 0; i < (in_ie[cnt + 1] + 2); i += 8) { cnt 516 drivers/staging/rtl8188eu/core/rtw_ieee80211.c *wpa_len = in_ie[cnt + 1] + 2; cnt 517 drivers/staging/rtl8188eu/core/rtw_ieee80211.c cnt += in_ie[cnt + 1] + 2; /* get next */ cnt 522 drivers/staging/rtl8188eu/core/rtw_ieee80211.c sec_idx, in_ie[cnt + 1] + 2)); cnt 525 drivers/staging/rtl8188eu/core/rtw_ieee80211.c memcpy(rsn_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); cnt 527 drivers/staging/rtl8188eu/core/rtw_ieee80211.c for (i = 0; i < (in_ie[cnt + 1] + 2); i += 8) { cnt 535 drivers/staging/rtl8188eu/core/rtw_ieee80211.c *rsn_len = in_ie[cnt + 1] + 2; cnt 536 drivers/staging/rtl8188eu/core/rtw_ieee80211.c cnt += in_ie[cnt + 1] + 2; /* get next */ cnt 538 drivers/staging/rtl8188eu/core/rtw_ieee80211.c cnt += in_ie[cnt + 1] + 2; /* get next */ cnt 572 drivers/staging/rtl8188eu/core/rtw_ieee80211.c uint cnt; cnt 582 drivers/staging/rtl8188eu/core/rtw_ieee80211.c cnt = 0; cnt 584 drivers/staging/rtl8188eu/core/rtw_ieee80211.c while (cnt < in_len) { cnt 585 drivers/staging/rtl8188eu/core/rtw_ieee80211.c eid = in_ie[cnt]; cnt 587 drivers/staging/rtl8188eu/core/rtw_ieee80211.c if ((eid == _WPA_IE_ID_) && (!memcmp(&in_ie[cnt + 2], wps_oui, 4))) { cnt 588 drivers/staging/rtl8188eu/core/rtw_ieee80211.c wpsie_ptr = &in_ie[cnt]; cnt 591 drivers/staging/rtl8188eu/core/rtw_ieee80211.c memcpy(wps_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); cnt 594 drivers/staging/rtl8188eu/core/rtw_ieee80211.c *wps_ielen = in_ie[cnt + 1] + 2; cnt 596 drivers/staging/rtl8188eu/core/rtw_ieee80211.c cnt += in_ie[cnt + 1] + 2; cnt 600 drivers/staging/rtl8188eu/core/rtw_ieee80211.c cnt += in_ie[cnt + 1] + 2; /* goto next */ cnt 196 drivers/staging/rtl8188eu/core/rtw_recv.c u32 cnt = 0; cnt 202 drivers/staging/rtl8188eu/core/rtw_recv.c cnt++; cnt 205 drivers/staging/rtl8188eu/core/rtw_recv.c return cnt; cnt 18 drivers/staging/rtl8188eu/hal/hal_com.c uint cnt = 0; cnt 21 drivers/staging/rtl8188eu/hal/hal_com.c cnt += sprintf((buf+cnt), "Chip Version Info: CHIP_8188E_"); cnt 22 drivers/staging/rtl8188eu/hal/hal_com.c cnt += sprintf((buf+cnt), "%s_", chip_vers.ChipType == NORMAL_CHIP ? cnt 24 drivers/staging/rtl8188eu/hal/hal_com.c cnt += sprintf((buf+cnt), "%s_", chip_vers.VendorType == CHIP_VENDOR_TSMC ? cnt 27 drivers/staging/rtl8188eu/hal/hal_com.c cnt += sprintf((buf+cnt), "A_CUT_"); cnt 29 drivers/staging/rtl8188eu/hal/hal_com.c cnt += sprintf((buf+cnt), "B_CUT_"); cnt 31 drivers/staging/rtl8188eu/hal/hal_com.c cnt += sprintf((buf+cnt), "C_CUT_"); cnt 33 drivers/staging/rtl8188eu/hal/hal_com.c cnt += sprintf((buf+cnt), "D_CUT_"); cnt 35 drivers/staging/rtl8188eu/hal/hal_com.c cnt += sprintf((buf+cnt), "E_CUT_"); cnt 37 drivers/staging/rtl8188eu/hal/hal_com.c cnt += sprintf((buf+cnt), "UNKNOWN_CUT(%d)_", cnt 39 drivers/staging/rtl8188eu/hal/hal_com.c cnt += sprintf((buf+cnt), "1T1R_"); cnt 40 drivers/staging/rtl8188eu/hal/hal_com.c cnt += sprintf((buf+cnt), "RomVer(0)\n"); cnt 55 drivers/staging/rtl8188eu/include/usb_ops_linux.h u32 usb_write_port(struct adapter *adapter, u32 addr, u32 cnt, struct xmit_buf *pmem); cnt 280 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c uint cnt = 0, total_ielen; cnt 287 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c while (cnt < total_ielen) { cnt 288 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (rtw_is_wps_ie(&ie_ptr[cnt], &wps_ielen) && (wps_ielen > 2)) { cnt 289 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wpsie_ptr = &ie_ptr[cnt]; cnt 294 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c cnt += ie_ptr[cnt+1]+2; /* goto next */ cnt 591 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c u16 cnt = 0; cnt 594 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c while (cnt < ielen) { cnt 595 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c eid = buf[cnt]; cnt 596 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if ((eid == _VENDOR_SPECIFIC_IE_) && (!memcmp(&buf[cnt+2], wps_oui, 4))) { cnt 599 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.wps_ie_len = min(buf[cnt + 1] + 2, MAX_WPA_IE_LEN << 2); cnt 601 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.wps_ie, &buf[cnt], padapter->securitypriv.wps_ie_len); cnt 604 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c cnt += buf[cnt+1]+2; cnt 607 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c cnt += buf[cnt+1]+2; /* goto next */ cnt 1213 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c u32 cnt = 0; cnt 1231 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c cnt++; cnt 1232 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (cnt > wait_for_surveydone) cnt 656 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c u32 usb_write_port(struct adapter *padapter, u32 addr, u32 cnt, struct xmit_buf *xmitbuf) cnt 715 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c cnt, cnt 369 drivers/staging/rtl8712/ieee80211.c uint cnt; cnt 372 drivers/staging/rtl8712/ieee80211.c cnt = _TIMESTAMP_ + _BEACON_ITERVAL_ + _CAPABILITY_; cnt 373 drivers/staging/rtl8712/ieee80211.c while (cnt < in_len) { cnt 374 drivers/staging/rtl8712/ieee80211.c authmode = in_ie[cnt]; cnt 376 drivers/staging/rtl8712/ieee80211.c (!memcmp(&in_ie[cnt + 2], &wpa_oui[0], 4))) { cnt 377 drivers/staging/rtl8712/ieee80211.c memcpy(wpa_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); cnt 378 drivers/staging/rtl8712/ieee80211.c *wpa_len = in_ie[cnt + 1] + 2; cnt 379 drivers/staging/rtl8712/ieee80211.c cnt += in_ie[cnt + 1] + 2; /*get next */ cnt 382 drivers/staging/rtl8712/ieee80211.c memcpy(rsn_ie, &in_ie[cnt], cnt 383 drivers/staging/rtl8712/ieee80211.c in_ie[cnt + 1] + 2); cnt 384 drivers/staging/rtl8712/ieee80211.c *rsn_len = in_ie[cnt + 1] + 2; cnt 385 drivers/staging/rtl8712/ieee80211.c cnt += in_ie[cnt + 1] + 2; /*get next*/ cnt 387 drivers/staging/rtl8712/ieee80211.c cnt += in_ie[cnt + 1] + 2; /*get next*/ cnt 397 drivers/staging/rtl8712/ieee80211.c uint cnt; cnt 400 drivers/staging/rtl8712/ieee80211.c cnt = 12; cnt 402 drivers/staging/rtl8712/ieee80211.c while (cnt < in_len) { cnt 403 drivers/staging/rtl8712/ieee80211.c eid = in_ie[cnt]; cnt 405 drivers/staging/rtl8712/ieee80211.c (!memcmp(&in_ie[cnt + 2], wps_oui, 4))) { cnt 406 drivers/staging/rtl8712/ieee80211.c memcpy(wps_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); cnt 407 drivers/staging/rtl8712/ieee80211.c *wps_ielen = in_ie[cnt + 1] + 2; cnt 408 drivers/staging/rtl8712/ieee80211.c cnt += in_ie[cnt + 1] + 2; cnt 412 drivers/staging/rtl8712/ieee80211.c cnt += in_ie[cnt + 1] + 2; /* goto next */ cnt 67 drivers/staging/rtl8712/rtl8712_io.c void r8712_read_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) cnt 74 drivers/staging/rtl8712/rtl8712_io.c hdl->io_ops._read_mem(hdl, addr, cnt, pmem); cnt 77 drivers/staging/rtl8712/rtl8712_io.c void r8712_write_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) cnt 81 drivers/staging/rtl8712/rtl8712_io.c hdl->io_ops._write_mem(hdl, addr, cnt, pmem); cnt 84 drivers/staging/rtl8712/rtl8712_io.c void r8712_read_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) cnt 91 drivers/staging/rtl8712/rtl8712_io.c hdl->io_ops._read_port(hdl, addr, cnt, pmem); cnt 94 drivers/staging/rtl8712/rtl8712_io.c void r8712_write_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) cnt 98 drivers/staging/rtl8712/rtl8712_io.c hdl->io_ops._write_port(hdl, addr, cnt, pmem); cnt 72 drivers/staging/rtl8712/rtl871x_io.h u32 addr, u32 cnt, u8 *pbuf); cnt 74 drivers/staging/rtl8712/rtl871x_io.h u32 addr, u32 cnt, u8 *pbuf); cnt 79 drivers/staging/rtl8712/rtl871x_io.h u32 addr, u32 cnt, u8 *pbuf, cnt 82 drivers/staging/rtl8712/rtl871x_io.h u32 addr, u32 cnt, u8 *pbuf); cnt 90 drivers/staging/rtl8712/rtl871x_io.h void (*_read_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, cnt 92 drivers/staging/rtl8712/rtl871x_io.h void (*_write_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, cnt 95 drivers/staging/rtl8712/rtl871x_io.h u32 (*_read_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, cnt 97 drivers/staging/rtl8712/rtl871x_io.h u32 (*_write_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, cnt 226 drivers/staging/rtl8712/rtl871x_io.h void r8712_read_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem); cnt 227 drivers/staging/rtl8712/rtl871x_io.h void r8712_read_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem); cnt 231 drivers/staging/rtl8712/rtl871x_io.h void r8712_write_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem); cnt 232 drivers/staging/rtl8712/rtl871x_io.h void r8712_write_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem); cnt 568 drivers/staging/rtl8712/rtl871x_ioctl_linux.c u16 cnt = 0; cnt 571 drivers/staging/rtl8712/rtl871x_ioctl_linux.c while (cnt < ielen) { cnt 572 drivers/staging/rtl8712/rtl871x_ioctl_linux.c eid = buf[cnt]; cnt 575 drivers/staging/rtl8712/rtl871x_ioctl_linux.c (!memcmp(&buf[cnt + 2], wps_oui, 4))) { cnt 578 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ((buf[cnt + 1] + 2) < cnt 580 drivers/staging/rtl8712/rtl871x_ioctl_linux.c (buf[cnt + 1] + 2) : cnt 583 drivers/staging/rtl8712/rtl871x_ioctl_linux.c &buf[cnt], cnt 588 drivers/staging/rtl8712/rtl871x_ioctl_linux.c cnt += buf[cnt + 1] + 2; cnt 592 drivers/staging/rtl8712/rtl871x_ioctl_linux.c cnt += buf[cnt + 1] + 2; cnt 1194 drivers/staging/rtl8712/rtl871x_ioctl_linux.c u32 ret = 0, cnt = 0; cnt 1201 drivers/staging/rtl8712/rtl871x_ioctl_linux.c cnt++; cnt 1202 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (cnt > 100) cnt 1950 drivers/staging/rtl8712/rtl871x_ioctl_linux.c u32 cnt = 0, wpa_ielen; cnt 1962 drivers/staging/rtl8712/rtl871x_ioctl_linux.c cnt++; cnt 1963 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (cnt > 100) cnt 1318 drivers/staging/rtl8712/rtl871x_mlme.c uint ielength, cnt, remove_cnt; cnt 1356 drivers/staging/rtl8712/rtl871x_mlme.c cnt = 12; cnt 1358 drivers/staging/rtl8712/rtl871x_mlme.c while (cnt < in_len) { cnt 1359 drivers/staging/rtl8712/rtl871x_mlme.c if (in_ie[cnt] == authmode) { cnt 1361 drivers/staging/rtl8712/rtl871x_mlme.c (!memcmp(&in_ie[cnt + 2], &wpa_oui[0], 4))) { cnt 1362 drivers/staging/rtl8712/rtl871x_mlme.c memcpy(&sec_ie[0], &in_ie[cnt], cnt 1363 drivers/staging/rtl8712/rtl871x_mlme.c in_ie[cnt + 1] + 2); cnt 1368 drivers/staging/rtl8712/rtl871x_mlme.c memcpy(&sec_ie[0], &in_ie[cnt], cnt 1369 drivers/staging/rtl8712/rtl871x_mlme.c in_ie[cnt + 1] + 2); cnt 1374 drivers/staging/rtl8712/rtl871x_mlme.c (!memcmp(&in_ie[cnt + 2], &wpa_oui[0], 4))) || cnt 1376 drivers/staging/rtl8712/rtl871x_mlme.c memcpy(&bkup_ie[0], &in_ie[cnt], cnt 1377 drivers/staging/rtl8712/rtl871x_mlme.c in_ie[cnt + 1] + 2); cnt 1379 drivers/staging/rtl8712/rtl871x_mlme.c cnt += in_ie[cnt + 1] + 2; /*get next*/ cnt 1441 drivers/staging/rtl8712/rtl871x_mlme.c cnt = sec_ie[12]; cnt 1442 drivers/staging/rtl8712/rtl871x_mlme.c remove_cnt = (cnt - 1) * 4; cnt 1504 drivers/staging/rtl8712/rtl871x_mlme.c cnt = sec_ie[8]; cnt 1505 drivers/staging/rtl8712/rtl871x_mlme.c remove_cnt = (cnt - 1) * 4; cnt 22 drivers/staging/rtl8712/usb_ops.h u32 cnt, u8 *wmem); cnt 24 drivers/staging/rtl8712/usb_ops.h u32 cnt, u8 *wmem); cnt 26 drivers/staging/rtl8712/usb_ops.h u32 cnt, u8 *rmem); cnt 157 drivers/staging/rtl8712/usb_ops_linux.c void r8712_usb_write_mem(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *wmem) cnt 175 drivers/staging/rtl8712/usb_ops_linux.c wmem, cnt, usb_write_mem_complete, cnt 242 drivers/staging/rtl8712/usb_ops_linux.c u32 r8712_usb_read_port(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *rmem) cnt 379 drivers/staging/rtl8712/usb_ops_linux.c u32 r8712_usb_write_port(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *wmem) cnt 421 drivers/staging/rtl8712/usb_ops_linux.c pxmitframe->sz[i] = (u16)cnt; cnt 428 drivers/staging/rtl8712/usb_ops_linux.c if (cnt > 0 && cnt % 512 == 0) cnt 431 drivers/staging/rtl8712/usb_ops_linux.c if (cnt > 0 && cnt % 64 == 0) cnt 441 drivers/staging/rtl8712/usb_ops_linux.c cnt += 8; cnt 444 drivers/staging/rtl8712/usb_ops_linux.c cnt, usb_write_port_complete, cnt 185 drivers/staging/rtl8723bs/core/rtw_ieee80211.c uint cnt; cnt 194 drivers/staging/rtl8723bs/core/rtw_ieee80211.c cnt = 0; cnt 196 drivers/staging/rtl8723bs/core/rtw_ieee80211.c while (cnt < in_len) { cnt 197 drivers/staging/rtl8723bs/core/rtw_ieee80211.c if (eid == in_ie[cnt] cnt 198 drivers/staging/rtl8723bs/core/rtw_ieee80211.c && (!oui || !memcmp(&in_ie[cnt+2], oui, oui_len))) { cnt 199 drivers/staging/rtl8723bs/core/rtw_ieee80211.c target_ie = &in_ie[cnt]; cnt 202 drivers/staging/rtl8723bs/core/rtw_ieee80211.c memcpy(ie, &in_ie[cnt], in_ie[cnt+1]+2); cnt 205 drivers/staging/rtl8723bs/core/rtw_ieee80211.c *ielen = in_ie[cnt+1]+2; cnt 209 drivers/staging/rtl8723bs/core/rtw_ieee80211.c cnt += in_ie[cnt+1]+2; /* goto next */ cnt 613 drivers/staging/rtl8723bs/core/rtw_ieee80211.c uint cnt; cnt 623 drivers/staging/rtl8723bs/core/rtw_ieee80211.c cnt = (_TIMESTAMP_ + _BEACON_ITERVAL_ + _CAPABILITY_); cnt 625 drivers/staging/rtl8723bs/core/rtw_ieee80211.c while (cnt < in_len) { cnt 626 drivers/staging/rtl8723bs/core/rtw_ieee80211.c authmode = in_ie[cnt]; cnt 629 drivers/staging/rtl8723bs/core/rtw_ieee80211.c if (authmode == _WAPI_IE_ && (!memcmp(&in_ie[cnt+6], wapi_oui1, 4) || cnt 630 drivers/staging/rtl8723bs/core/rtw_ieee80211.c !memcmp(&in_ie[cnt+6], wapi_oui2, 4))) { cnt 632 drivers/staging/rtl8723bs/core/rtw_ieee80211.c memcpy(wapi_ie, &in_ie[cnt], in_ie[cnt+1]+2); cnt 634 drivers/staging/rtl8723bs/core/rtw_ieee80211.c for (i = 0; i < (in_ie[cnt+1]+2); i = i+8) { cnt 642 drivers/staging/rtl8723bs/core/rtw_ieee80211.c *wapi_len = in_ie[cnt+1]+2; cnt 644 drivers/staging/rtl8723bs/core/rtw_ieee80211.c cnt += in_ie[cnt+1]+2; /* get next */ cnt 646 drivers/staging/rtl8723bs/core/rtw_ieee80211.c cnt += in_ie[cnt+1]+2; /* get next */ cnt 661 drivers/staging/rtl8723bs/core/rtw_ieee80211.c uint cnt; cnt 665 drivers/staging/rtl8723bs/core/rtw_ieee80211.c cnt = (_TIMESTAMP_ + _BEACON_ITERVAL_ + _CAPABILITY_); cnt 669 drivers/staging/rtl8723bs/core/rtw_ieee80211.c while (cnt < in_len) { cnt 670 drivers/staging/rtl8723bs/core/rtw_ieee80211.c authmode = in_ie[cnt]; cnt 672 drivers/staging/rtl8723bs/core/rtw_ieee80211.c if ((authmode == _WPA_IE_ID_) && (!memcmp(&in_ie[cnt+2], &wpa_oui[0], 4))) { cnt 673 drivers/staging/rtl8723bs/core/rtw_ieee80211.c RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("\n rtw_get_wpa_ie: sec_idx =%d in_ie[cnt+1]+2 =%d\n", sec_idx, in_ie[cnt+1]+2)); cnt 676 drivers/staging/rtl8723bs/core/rtw_ieee80211.c memcpy(wpa_ie, &in_ie[cnt], in_ie[cnt+1]+2); cnt 678 drivers/staging/rtl8723bs/core/rtw_ieee80211.c for (i = 0; i < (in_ie[cnt+1]+2); i = i+8) { cnt 685 drivers/staging/rtl8723bs/core/rtw_ieee80211.c *wpa_len = in_ie[cnt+1]+2; cnt 686 drivers/staging/rtl8723bs/core/rtw_ieee80211.c cnt += in_ie[cnt+1]+2; /* get next */ cnt 689 drivers/staging/rtl8723bs/core/rtw_ieee80211.c RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("\n get_rsn_ie: sec_idx =%d in_ie[cnt+1]+2 =%d\n", sec_idx, in_ie[cnt+1]+2)); cnt 692 drivers/staging/rtl8723bs/core/rtw_ieee80211.c memcpy(rsn_ie, &in_ie[cnt], in_ie[cnt+1]+2); cnt 694 drivers/staging/rtl8723bs/core/rtw_ieee80211.c for (i = 0; i < (in_ie[cnt+1]+2); i = i+8) { cnt 701 drivers/staging/rtl8723bs/core/rtw_ieee80211.c *rsn_len = in_ie[cnt+1]+2; cnt 702 drivers/staging/rtl8723bs/core/rtw_ieee80211.c cnt += in_ie[cnt+1]+2; /* get next */ cnt 704 drivers/staging/rtl8723bs/core/rtw_ieee80211.c cnt += in_ie[cnt+1]+2; /* get next */ cnt 739 drivers/staging/rtl8723bs/core/rtw_ieee80211.c uint cnt; cnt 749 drivers/staging/rtl8723bs/core/rtw_ieee80211.c cnt = 0; cnt 751 drivers/staging/rtl8723bs/core/rtw_ieee80211.c while (cnt < in_len) { cnt 752 drivers/staging/rtl8723bs/core/rtw_ieee80211.c eid = in_ie[cnt]; cnt 754 drivers/staging/rtl8723bs/core/rtw_ieee80211.c if ((eid == _WPA_IE_ID_) && (!memcmp(&in_ie[cnt+2], wps_oui, 4))) { cnt 755 drivers/staging/rtl8723bs/core/rtw_ieee80211.c wpsie_ptr = &in_ie[cnt]; cnt 758 drivers/staging/rtl8723bs/core/rtw_ieee80211.c memcpy(wps_ie, &in_ie[cnt], in_ie[cnt+1]+2); cnt 761 drivers/staging/rtl8723bs/core/rtw_ieee80211.c *wps_ielen = in_ie[cnt+1]+2; cnt 763 drivers/staging/rtl8723bs/core/rtw_ieee80211.c cnt += in_ie[cnt+1]+2; cnt 767 drivers/staging/rtl8723bs/core/rtw_ieee80211.c cnt += in_ie[cnt+1]+2; /* goto next */ cnt 140 drivers/staging/rtl8723bs/core/rtw_io.c u32 _rtw_write_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem) cnt 142 drivers/staging/rtl8723bs/core/rtw_io.c u32 (*_write_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); cnt 149 drivers/staging/rtl8723bs/core/rtw_io.c ret = _write_port(pintfhdl, addr, cnt, pmem); cnt 2089 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c int cnt = 0; cnt 2097 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c cnt += sprintf((msg+cnt), "%s(token:%u)", action_public_str(action), token); cnt 247 drivers/staging/rtl8723bs/core/rtw_recv.c u32 cnt = 0; cnt 251 drivers/staging/rtl8723bs/core/rtw_recv.c cnt++; cnt 254 drivers/staging/rtl8723bs/core/rtw_recv.c if (cnt) cnt 255 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_871X(FUNC_ADPT_FMT" dequeue %d\n", FUNC_ADPT_ARG(adapter), cnt); cnt 257 drivers/staging/rtl8723bs/core/rtw_recv.c return cnt; cnt 2516 drivers/staging/rtl8723bs/core/rtw_recv.c int cnt = 0; cnt 2519 drivers/staging/rtl8723bs/core/rtw_recv.c cnt++; cnt 2524 drivers/staging/rtl8723bs/core/rtw_recv.c if (cnt) cnt 2526 drivers/staging/rtl8723bs/core/rtw_recv.c FUNC_ADPT_ARG(padapter), cnt); cnt 320 drivers/staging/rtl8723bs/core/rtw_wlan_util.c int cnt = 0; cnt 329 drivers/staging/rtl8723bs/core/rtw_wlan_util.c cnt += snprintf(msg+cnt, len-cnt, "switch to ch %3u", ch); cnt 333 drivers/staging/rtl8723bs/core/rtw_wlan_util.c cnt += snprintf(msg+cnt, len-cnt, " ["ADPT_FMT":", ADPT_ARG(iface)); cnt 335 drivers/staging/rtl8723bs/core/rtw_wlan_util.c cnt += snprintf(msg+cnt, len-cnt, "C"); cnt 337 drivers/staging/rtl8723bs/core/rtw_wlan_util.c cnt += snprintf(msg+cnt, len-cnt, "_"); cnt 339 drivers/staging/rtl8723bs/core/rtw_wlan_util.c cnt += snprintf(msg+cnt, len-cnt, "L"); cnt 341 drivers/staging/rtl8723bs/core/rtw_wlan_util.c cnt += snprintf(msg+cnt, len-cnt, "_"); cnt 342 drivers/staging/rtl8723bs/core/rtw_wlan_util.c cnt += snprintf(msg+cnt, len-cnt, "]"); cnt 44 drivers/staging/rtl8723bs/hal/hal_com.c int cnt = 0; cnt 47 drivers/staging/rtl8723bs/hal/hal_com.c cnt += sprintf((buf+cnt), "Chip Version Info: CHIP_8723B_"); cnt 48 drivers/staging/rtl8723bs/hal/hal_com.c cnt += sprintf((buf+cnt), "%s_", IS_NORMAL_CHIP(ChipVersion) ? "Normal_Chip" : "Test_Chip"); cnt 50 drivers/staging/rtl8723bs/hal/hal_com.c cnt += sprintf((buf+cnt), "%s_", "TSMC"); cnt 52 drivers/staging/rtl8723bs/hal/hal_com.c cnt += sprintf((buf+cnt), "%s_", "UMC"); cnt 54 drivers/staging/rtl8723bs/hal/hal_com.c cnt += sprintf((buf+cnt), "%s_", "SMIC"); cnt 57 drivers/staging/rtl8723bs/hal/hal_com.c cnt += sprintf((buf+cnt), "A_CUT_"); cnt 59 drivers/staging/rtl8723bs/hal/hal_com.c cnt += sprintf((buf+cnt), "B_CUT_"); cnt 61 drivers/staging/rtl8723bs/hal/hal_com.c cnt += sprintf((buf+cnt), "C_CUT_"); cnt 63 drivers/staging/rtl8723bs/hal/hal_com.c cnt += sprintf((buf+cnt), "D_CUT_"); cnt 65 drivers/staging/rtl8723bs/hal/hal_com.c cnt += sprintf((buf+cnt), "E_CUT_"); cnt 67 drivers/staging/rtl8723bs/hal/hal_com.c cnt += sprintf((buf+cnt), "I_CUT_"); cnt 69 drivers/staging/rtl8723bs/hal/hal_com.c cnt += sprintf((buf+cnt), "J_CUT_"); cnt 71 drivers/staging/rtl8723bs/hal/hal_com.c cnt += sprintf((buf+cnt), "K_CUT_"); cnt 73 drivers/staging/rtl8723bs/hal/hal_com.c cnt += sprintf((buf+cnt), "UNKNOWN_CUT(%d)_", ChipVersion.CUTVersion); cnt 76 drivers/staging/rtl8723bs/hal/hal_com.c cnt += sprintf((buf+cnt), "1T1R_"); cnt 78 drivers/staging/rtl8723bs/hal/hal_com.c cnt += sprintf((buf+cnt), "1T2R_"); cnt 80 drivers/staging/rtl8723bs/hal/hal_com.c cnt += sprintf((buf+cnt), "2T2R_"); cnt 82 drivers/staging/rtl8723bs/hal/hal_com.c cnt += sprintf((buf+cnt), "UNKNOWN_RFTYPE(%d)_", ChipVersion.RFType); cnt 84 drivers/staging/rtl8723bs/hal/hal_com.c cnt += sprintf((buf+cnt), "RomVer(%d)\n", ChipVersion.ROMVer); cnt 1539 drivers/staging/rtl8723bs/hal/hal_com.c u8 cnt = 0, NumOfSpaceAndTab = 0; cnt 1541 drivers/staging/rtl8723bs/hal/hal_com.c while (size > cnt) { cnt 1542 drivers/staging/rtl8723bs/hal/hal_com.c if (data[cnt] == ' ' || data[cnt] == '\t' || data[cnt] == '\0') cnt 1545 drivers/staging/rtl8723bs/hal/hal_com.c ++cnt; cnt 3097 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c u8 cnt = 0; cnt 3123 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c cnt = 0; cnt 3125 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c channel[cnt] = szLine[i]; cnt 3126 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c ++cnt; cnt 3137 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c cnt = 0; cnt 3153 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c powerLimit[cnt] = szLine[i]; cnt 3154 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c ++cnt; cnt 3167 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c cnt = 0; cnt 3173 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c powerLimit[cnt++] = limitValue/100 + '0'; cnt 3177 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c powerLimit[cnt++] = limitValue/10 + '0'; cnt 3180 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c powerLimit[cnt++] = '0'; cnt 3182 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c powerLimit[cnt++] = limitValue + '0'; cnt 3184 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c powerLimit[cnt++] = limitValue/10 + '0'; cnt 3186 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c powerLimit[cnt++] = limitValue + '0'; cnt 3190 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c powerLimit[cnt++] = limitValue + '0'; cnt 3192 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c powerLimit[cnt] = '\0'; cnt 138 drivers/staging/rtl8723bs/hal/odm_DIG.c u8 cnt, IGI; cnt 158 drivers/staging/rtl8723bs/hal/odm_DIG.c for (cnt = 0; cnt < 20; cnt++) { cnt 229 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u32 cnt = 0; cnt 233 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c cnt++; cnt 238 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c } while (jiffies_to_msecs(jiffies-start) < timeout_ms || cnt < min_cnt); cnt 257 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c cnt, cnt 272 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u32 cnt = 0; cnt 283 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c cnt++; cnt 288 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c } while (jiffies_to_msecs(jiffies - start) < timeout_ms || cnt < min_cnt); cnt 307 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c cnt, cnt 1079 drivers/staging/rtl8723bs/hal/sdio_halinit.c int cnt = 0; cnt 1088 drivers/staging/rtl8723bs/hal/sdio_halinit.c cnt++; cnt 1089 drivers/staging/rtl8723bs/hal/sdio_halinit.c DBG_871X("%s polling REG_HMETFR = 0x%x, cnt =%d\n", __func__, val8, cnt); cnt 1091 drivers/staging/rtl8723bs/hal/sdio_halinit.c } while (cnt < 100 && (val8 != 0)); cnt 1101 drivers/staging/rtl8723bs/hal/sdio_halinit.c cnt = val8 = 0; cnt 1104 drivers/staging/rtl8723bs/hal/sdio_halinit.c cnt++; cnt 1105 drivers/staging/rtl8723bs/hal/sdio_halinit.c DBG_871X("%s polling 0x100 = 0x%x, cnt =%d\n", __func__, val8, cnt); cnt 1107 drivers/staging/rtl8723bs/hal/sdio_halinit.c } while (cnt < 100 && (val8 != 0xEA)); cnt 1121 drivers/staging/rtl8723bs/hal/sdio_halinit.c cnt, cnt 225 drivers/staging/rtl8723bs/hal/sdio_ops.c static s32 sdio_readN(struct intf_hdl *intfhdl, u32 addr, u32 cnt, u8 *buf) cnt 246 drivers/staging/rtl8723bs/hal/sdio_ops.c return sd_cmd52_read(intfhdl, ftaddr, cnt, buf); cnt 251 drivers/staging/rtl8723bs/hal/sdio_ops.c err = sd_read(intfhdl, ftaddr, cnt, buf); cnt 257 drivers/staging/rtl8723bs/hal/sdio_ops.c n = cnt + shift; cnt 264 drivers/staging/rtl8723bs/hal/sdio_ops.c memcpy(buf, tmpbuf + shift, cnt); cnt 329 drivers/staging/rtl8723bs/hal/sdio_ops.c static s32 sdio_writeN(struct intf_hdl *intfhdl, u32 addr, u32 cnt, u8 *buf) cnt 350 drivers/staging/rtl8723bs/hal/sdio_ops.c return sd_cmd52_write(intfhdl, ftaddr, cnt, buf); cnt 354 drivers/staging/rtl8723bs/hal/sdio_ops.c err = sd_write(intfhdl, ftaddr, cnt, buf); cnt 360 drivers/staging/rtl8723bs/hal/sdio_ops.c n = cnt + shift; cnt 369 drivers/staging/rtl8723bs/hal/sdio_ops.c memcpy(tmpbuf + shift, buf, cnt); cnt 384 drivers/staging/rtl8723bs/hal/sdio_ops.c u32 cnt, cnt 390 drivers/staging/rtl8723bs/hal/sdio_ops.c err = sdio_readN(intfhdl, addr, cnt, rmem); cnt 397 drivers/staging/rtl8723bs/hal/sdio_ops.c u32 cnt, cnt 401 drivers/staging/rtl8723bs/hal/sdio_ops.c sdio_writeN(intfhdl, addr, cnt, wmem); cnt 423 drivers/staging/rtl8723bs/hal/sdio_ops.c u32 cnt, cnt 440 drivers/staging/rtl8723bs/hal/sdio_ops.c oldcnt = cnt; cnt 441 drivers/staging/rtl8723bs/hal/sdio_ops.c if (cnt > psdio->block_transfer_len) cnt 442 drivers/staging/rtl8723bs/hal/sdio_ops.c cnt = _RND(cnt, psdio->block_transfer_len); cnt 445 drivers/staging/rtl8723bs/hal/sdio_ops.c err = _sd_read(intfhdl, addr, cnt, mem); cnt 471 drivers/staging/rtl8723bs/hal/sdio_ops.c u32 cnt, cnt 484 drivers/staging/rtl8723bs/hal/sdio_ops.c DBG_871X("%s [addr = 0x%x cnt =%d] adapter->hw_init_completed == false\n", __func__, addr, cnt); cnt 488 drivers/staging/rtl8723bs/hal/sdio_ops.c cnt = _RND4(cnt); cnt 489 drivers/staging/rtl8723bs/hal/sdio_ops.c HalSdioGetCmdAddr8723BSdio(adapter, addr, cnt >> 2, &addr); cnt 491 drivers/staging/rtl8723bs/hal/sdio_ops.c if (cnt > psdio->block_transfer_len) cnt 492 drivers/staging/rtl8723bs/hal/sdio_ops.c cnt = _RND(cnt, psdio->block_transfer_len); cnt 495 drivers/staging/rtl8723bs/hal/sdio_ops.c err = sd_write(intfhdl, addr, cnt, xmitbuf->pdata); cnt 531 drivers/staging/rtl8723bs/hal/sdio_ops.c u32 cnt, cnt 548 drivers/staging/rtl8723bs/hal/sdio_ops.c return _sd_cmd52_read(intfhdl, addr, cnt, buf); cnt 550 drivers/staging/rtl8723bs/hal/sdio_ops.c n = RND4(cnt); cnt 557 drivers/staging/rtl8723bs/hal/sdio_ops.c memcpy(buf, tmpbuf, cnt); cnt 570 drivers/staging/rtl8723bs/hal/sdio_ops.c u32 cnt, cnt 589 drivers/staging/rtl8723bs/hal/sdio_ops.c return sd_cmd52_read(intfhdl, addr, cnt, buf); cnt 591 drivers/staging/rtl8723bs/hal/sdio_ops.c n = RND4(cnt); cnt 598 drivers/staging/rtl8723bs/hal/sdio_ops.c memcpy(buf, tmpbuf, cnt); cnt 611 drivers/staging/rtl8723bs/hal/sdio_ops.c u32 cnt, cnt 623 drivers/staging/rtl8723bs/hal/sdio_ops.c if (cnt & 0x3) cnt 635 drivers/staging/rtl8723bs/hal/sdio_ops.c return sd_cmd52_write(intfhdl, addr, cnt, buf); cnt 637 drivers/staging/rtl8723bs/hal/sdio_ops.c tmpbuf = rtw_malloc(cnt); cnt 641 drivers/staging/rtl8723bs/hal/sdio_ops.c memcpy(tmpbuf, buf, cnt); cnt 643 drivers/staging/rtl8723bs/hal/sdio_ops.c err = sd_write(intfhdl, addr, cnt, tmpbuf); cnt 93 drivers/staging/rtl8723bs/include/rtw_io.h void (*_read_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); cnt 94 drivers/staging/rtl8723bs/include/rtw_io.h void (*_write_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); cnt 100 drivers/staging/rtl8723bs/include/rtw_io.h u32 (*_read_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); cnt 101 drivers/staging/rtl8723bs/include/rtw_io.h u32 (*_write_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); cnt 103 drivers/staging/rtl8723bs/include/rtw_io.h u32 (*_write_scsi)(struct intf_hdl *pintfhdl, u32 cnt, u8 *pmem); cnt 281 drivers/staging/rtl8723bs/include/rtw_io.h extern void _rtw_attrib_read(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); cnt 282 drivers/staging/rtl8723bs/include/rtw_io.h extern void _rtw_attrib_write(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); cnt 294 drivers/staging/rtl8723bs/include/rtw_io.h extern u32 _rtw_write_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); cnt 304 drivers/staging/rtl8723bs/include/rtw_io.h #define rtw_write_port(adapter, addr, cnt, mem) _rtw_write_port((adapter), (addr), (cnt), (mem)) cnt 308 drivers/staging/rtl8723bs/include/rtw_io.h extern void rtw_write_scsi(struct adapter *adapter, u32 cnt, u8 *pmem); cnt 326 drivers/staging/rtl8723bs/include/rtw_io.h extern void async_read_mem(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); cnt 327 drivers/staging/rtl8723bs/include/rtw_io.h extern void async_read_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); cnt 336 drivers/staging/rtl8723bs/include/rtw_io.h extern void async_write_mem(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); cnt 337 drivers/staging/rtl8723bs/include/rtw_io.h extern void async_write_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); cnt 19 drivers/staging/rtl8723bs/include/sdio_ops.h extern s32 sdio_local_read(struct adapter *padapter, u32 addr, u32 cnt, u8 *pbuf); cnt 20 drivers/staging/rtl8723bs/include/sdio_ops.h extern s32 sdio_local_write(struct adapter *padapter, u32 addr, u32 cnt, u8 *pbuf); cnt 16 drivers/staging/rtl8723bs/include/sdio_ops_linux.h s32 _sd_cmd52_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata); cnt 17 drivers/staging/rtl8723bs/include/sdio_ops_linux.h s32 _sd_cmd52_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata); cnt 18 drivers/staging/rtl8723bs/include/sdio_ops_linux.h s32 sd_cmd52_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata); cnt 19 drivers/staging/rtl8723bs/include/sdio_ops_linux.h s32 sd_cmd52_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata); cnt 23 drivers/staging/rtl8723bs/include/sdio_ops_linux.h s32 _sd_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata); cnt 24 drivers/staging/rtl8723bs/include/sdio_ops_linux.h s32 sd_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata); cnt 27 drivers/staging/rtl8723bs/include/sdio_ops_linux.h s32 _sd_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata); cnt 28 drivers/staging/rtl8723bs/include/sdio_ops_linux.h s32 sd_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata); cnt 285 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c uint cnt = 0, total_ielen; cnt 300 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c while (cnt < total_ielen) { cnt 301 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (rtw_is_wps_ie(&ie_ptr[cnt], &wps_ielen) && (wps_ielen>2)) { cnt 302 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wpsie_ptr = &ie_ptr[cnt]; cnt 307 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c cnt+=ie_ptr[cnt+1]+2; /* goto next */ cnt 714 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c u16 cnt = 0; cnt 717 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c while (cnt < ielen) { cnt 718 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c eid = buf[cnt]; cnt 720 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if ((eid == _VENDOR_SPECIFIC_IE_) && (!memcmp(&buf[cnt+2], wps_oui, 4))) { cnt 723 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.wps_ie_len = ((buf[cnt+1]+2) < MAX_WPS_IE_LEN) ? (buf[cnt+1]+2):MAX_WPS_IE_LEN; cnt 725 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.wps_ie, &buf[cnt], padapter->securitypriv.wps_ie_len); cnt 729 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c cnt += buf[cnt+1]+2; cnt 733 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c cnt += buf[cnt+1]+2; /* goto next */ cnt 2440 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c u32 cnt = 0, wpa_ielen; cnt 2460 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c cnt++; cnt 2461 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (cnt > 100) cnt 1154 drivers/staging/rtl8723bs/os_dep/os_intfs.c u8 cnt = 0; cnt 1174 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (cnt > 5) { cnt 1178 drivers/staging/rtl8723bs/os_dep/os_intfs.c cnt ++; cnt 1179 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("cmdthd is running(%d)\n", cnt); cnt 66 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c s32 _sd_cmd52_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata) cnt 86 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c for (i = 0; i < cnt; i++) { cnt 101 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c s32 sd_cmd52_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata) cnt 125 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c err = _sd_cmd52_read(pintfhdl, addr, cnt, pdata); cnt 136 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c s32 _sd_cmd52_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata) cnt 156 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c for (i = 0; i < cnt; i++) { cnt 171 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c s32 sd_cmd52_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata) cnt 195 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c err = _sd_cmd52_write(pintfhdl, addr, cnt, pdata); cnt 399 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c s32 _sd_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata) cnt 419 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c if (unlikely((cnt == 1) || (cnt == 2))) { cnt 423 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c for (i = 0; i < cnt; i++) { cnt 434 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c err = sdio_memcpy_fromio(func, pdata, addr, cnt); cnt 436 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c DBG_871X(KERN_ERR "%s: FAIL(%d)! ADDR =%#x Size =%d\n", __func__, err, addr, cnt); cnt 454 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c s32 sd_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata) cnt 477 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c err = _sd_read(pintfhdl, addr, cnt, pdata); cnt 498 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c s32 _sd_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata) cnt 520 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c if (unlikely((cnt == 1) || (cnt == 2))) { cnt 524 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c for (i = 0; i < cnt; i++) { cnt 535 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c size = cnt; cnt 538 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c DBG_871X(KERN_ERR "%s: FAIL(%d)! ADDR =%#x Size =%d(%d)\n", __func__, err, addr, cnt, size); cnt 556 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c s32 sd_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata) cnt 579 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c err = _sd_write(pintfhdl, addr, cnt, pdata); cnt 16 drivers/staging/rts5208/general.c int i, cnt = 0; cnt 20 drivers/staging/rts5208/general.c cnt++; cnt 23 drivers/staging/rts5208/general.c return cnt; cnt 40 drivers/staging/rts5208/ms.c u8 tpc, u8 cnt, u8 cfg) cnt 51 drivers/staging/rts5208/ms.c rtsx_add_cmd(chip, WRITE_REG_CMD, MS_BYTE_CNT, 0xFF, cnt); cnt 163 drivers/staging/rts5208/ms.c u8 tpc, u8 cnt, u8 cfg, u8 *data, int data_len) cnt 168 drivers/staging/rts5208/ms.c if (!data || (data_len < cnt)) cnt 173 drivers/staging/rts5208/ms.c for (i = 0; i < cnt; i++) { cnt 177 drivers/staging/rts5208/ms.c if (cnt % 2) cnt 181 drivers/staging/rts5208/ms.c rtsx_add_cmd(chip, WRITE_REG_CMD, MS_BYTE_CNT, 0xFF, cnt); cnt 227 drivers/staging/rts5208/ms.c u8 tpc, u8 cnt, u8 cfg, u8 *data, int data_len) cnt 239 drivers/staging/rts5208/ms.c rtsx_add_cmd(chip, WRITE_REG_CMD, MS_BYTE_CNT, 0xFF, cnt); cnt 296 drivers/staging/rts5208/ms.c cnt); cnt 2753 drivers/staging/rts5208/ms.c u8 cnt, tmp; cnt 2782 drivers/staging/rts5208/ms.c cnt = 0; cnt 2784 drivers/staging/rts5208/ms.c cnt = (u8)short_data_len; cnt 2793 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, PRO_READ_SHORT_DATA, cnt, WAIT_INT, cnt 39 drivers/staging/rts5208/rtsx_transport.c unsigned int cnt; cnt 47 drivers/staging/rts5208/rtsx_transport.c cnt = min(buflen, scsi_bufflen(srb) - *offset); cnt 52 drivers/staging/rts5208/rtsx_transport.c memcpy(sgbuffer, buffer, cnt); cnt 54 drivers/staging/rts5208/rtsx_transport.c memcpy(buffer, sgbuffer, cnt); cnt 55 drivers/staging/rts5208/rtsx_transport.c *offset += cnt; cnt 73 drivers/staging/rts5208/rtsx_transport.c cnt = 0; cnt 74 drivers/staging/rts5208/rtsx_transport.c while (cnt < buflen && *index < scsi_sg_count(srb)) { cnt 81 drivers/staging/rts5208/rtsx_transport.c if (sglen > buflen - cnt) { cnt 83 drivers/staging/rts5208/rtsx_transport.c sglen = buflen - cnt; cnt 98 drivers/staging/rts5208/rtsx_transport.c memcpy(ptr + poff, buffer + cnt, plen); cnt 100 drivers/staging/rts5208/rtsx_transport.c memcpy(buffer + cnt, ptr + poff, plen); cnt 106 drivers/staging/rts5208/rtsx_transport.c cnt += plen; cnt 113 drivers/staging/rts5208/rtsx_transport.c return cnt; cnt 12 drivers/staging/sm750fb/ddk750_display.c int cnt = 0; cnt 41 drivers/staging/sm750fb/ddk750_display.c cnt++; cnt 44 drivers/staging/sm750fb/ddk750_display.c pr_debug("Set Plane enbit:after tried %d times\n", cnt); cnt 81 drivers/staging/sm750fb/ddk750_mode.c int cnt = 0; cnt 198 drivers/staging/sm750fb/ddk750_mode.c cnt++; cnt 199 drivers/staging/sm750fb/ddk750_mode.c if (cnt > 1000) cnt 549 drivers/staging/speakup/main.c u_long cnt = 0, tmpx = spk_x, tmp_pos = spk_pos; cnt 579 drivers/staging/speakup/main.c buf[cnt++] = attr_ch; cnt 585 drivers/staging/speakup/main.c (buf[cnt - 1] < 0x100 && IS_WDLM(buf[cnt - 1]) && cnt 588 drivers/staging/speakup/main.c buf[cnt++] = ch; cnt 590 drivers/staging/speakup/main.c buf[cnt] = '\0'; cnt 591 drivers/staging/speakup/main.c return cnt; cnt 596 drivers/staging/speakup/main.c u_long cnt = get_word(vc); cnt 599 drivers/staging/speakup/main.c if (cnt == 0) cnt 602 drivers/staging/speakup/main.c buf[cnt++] = SPACE; cnt 603 drivers/staging/speakup/main.c spkup_write(buf, cnt); cnt 287 drivers/staging/uwb/drp-ie.c int cnt; cnt 294 drivers/staging/uwb/drp-ie.c for (cnt = 0; cnt < numallocs; cnt++) { cnt 295 drivers/staging/uwb/drp-ie.c alloc = &drp_ie->allocs[cnt]; cnt 156 drivers/staging/uwb/i1480/dfu/mac.c u32 src_itr = 0, cnt; cnt 171 drivers/staging/uwb/i1480/dfu/mac.c for (cnt = 0; cnt < result; cnt++) cnt 172 drivers/staging/uwb/i1480/dfu/mac.c if (bin[src_itr + cnt] != buf[cnt]) { cnt 175 drivers/staging/uwb/i1480/dfu/mac.c "vs 0x%02x]\n", src_itr, cnt, cnt 176 drivers/staging/uwb/i1480/dfu/mac.c bin[src_itr + cnt], buf[cnt]); cnt 177 drivers/staging/uwb/i1480/dfu/mac.c result = src_itr + cnt + 1; cnt 406 drivers/staging/uwb/i1480/dfu/mac.c int cnt = 0; cnt 410 drivers/staging/uwb/i1480/dfu/mac.c for (cnt = 0; cnt < 10; cnt++) { cnt 91 drivers/staging/uwb/i1480/dfu/phy.c unsigned cnt; cnt 101 drivers/staging/uwb/i1480/dfu/phy.c for (cnt = 0; cnt < size; cnt++) { cnt 102 drivers/staging/uwb/i1480/dfu/phy.c cmd->data[cnt].page = (srcaddr + cnt) >> 8; cnt 103 drivers/staging/uwb/i1480/dfu/phy.c cmd->data[cnt].offset = (srcaddr + cnt) & 0xff; cnt 117 drivers/staging/uwb/i1480/dfu/phy.c for (cnt = 0; cnt < size; cnt++) { cnt 118 drivers/staging/uwb/i1480/dfu/phy.c if (reply->data[cnt].page != (srcaddr + cnt) >> 8) cnt 120 drivers/staging/uwb/i1480/dfu/phy.c "index %u: expected 0x%02x, got 0x%02x\n", cnt, cnt 121 drivers/staging/uwb/i1480/dfu/phy.c (srcaddr + cnt) >> 8, reply->data[cnt].page); cnt 122 drivers/staging/uwb/i1480/dfu/phy.c if (reply->data[cnt].offset != ((srcaddr + cnt) & 0x00ff)) cnt 124 drivers/staging/uwb/i1480/dfu/phy.c "index %u: expected 0x%02x, got 0x%02x\n", cnt, cnt 125 drivers/staging/uwb/i1480/dfu/phy.c (srcaddr + cnt) & 0x00ff, cnt 126 drivers/staging/uwb/i1480/dfu/phy.c reply->data[cnt].offset); cnt 127 drivers/staging/uwb/i1480/dfu/phy.c data[cnt] = reply->data[cnt].value; cnt 21 drivers/staging/wilc1000/wilc_hif.c u32 cnt; cnt 91 drivers/staging/wilc1000/wilc_hif.c u8 cnt; cnt 98 drivers/staging/wilc1000/wilc_hif.c u8 cnt; cnt 513 drivers/staging/wilc1000/wilc_hif.c param->opp_en.cnt = noa_attr.desc[0].count; cnt 519 drivers/staging/wilc1000/wilc_hif.c param->opp_dis.cnt = noa_attr.desc[0].count; cnt 1021 drivers/staging/wilc1000/wilc_hif.c wid.size = sizeof(struct wilc_set_multicast) + (set_mc->cnt * ETH_ALEN); cnt 1030 drivers/staging/wilc1000/wilc_hif.c put_unaligned_le32(set_mc->cnt, cur_byte); cnt 1033 drivers/staging/wilc1000/wilc_hif.c if (set_mc->cnt > 0 && set_mc->mc_list) cnt 1034 drivers/staging/wilc1000/wilc_hif.c memcpy(cur_byte, set_mc->mc_list, set_mc->cnt * ETH_ALEN); cnt 2007 drivers/staging/wilc1000/wilc_hif.c msg->body.mc_info.cnt = count; cnt 1218 drivers/staging/wlan-ng/hfa384x.h unsigned int cnt; cnt 1225 drivers/staging/wlan-ng/hfa384x.h unsigned int cnt; cnt 236 drivers/staging/wlan-ng/p80211types.h u32 cnt; cnt 993 drivers/staging/wlan-ng/prism2sta.c int cnt; cnt 1000 drivers/staging/wlan-ng/prism2sta.c cnt = sizeof(struct hfa384x_comm_tallies_32) / sizeof(u32); cnt 1004 drivers/staging/wlan-ng/prism2sta.c for (i = 0; i < cnt; i++, dst++, src32++) cnt 1009 drivers/staging/wlan-ng/prism2sta.c for (i = 0; i < cnt; i++, dst++, src16++) cnt 1489 drivers/staging/wlan-ng/prism2sta.c for (i = 0; i < hw->authlist.cnt; i++) cnt 1493 drivers/staging/wlan-ng/prism2sta.c if (i >= hw->authlist.cnt) { cnt 1548 drivers/staging/wlan-ng/prism2sta.c int i, added, result, cnt; cnt 1571 drivers/staging/wlan-ng/prism2sta.c for (i = 0; i < hw->authlist.cnt; i++) cnt 1602 drivers/staging/wlan-ng/prism2sta.c cnt = hw->allow.cnt; cnt 1605 drivers/staging/wlan-ng/prism2sta.c cnt = hw->allow.cnt1; cnt 1609 drivers/staging/wlan-ng/prism2sta.c for (i = 0; i < cnt; i++, addr += ETH_ALEN) cnt 1630 drivers/staging/wlan-ng/prism2sta.c cnt = hw->deny.cnt; cnt 1633 drivers/staging/wlan-ng/prism2sta.c cnt = hw->deny.cnt1; cnt 1639 drivers/staging/wlan-ng/prism2sta.c for (i = 0; i < cnt; i++, addr += ETH_ALEN) cnt 1660 drivers/staging/wlan-ng/prism2sta.c for (i = 0; i < hw->authlist.cnt; i++) cnt 1665 drivers/staging/wlan-ng/prism2sta.c if (i >= hw->authlist.cnt) { cnt 1666 drivers/staging/wlan-ng/prism2sta.c if (hw->authlist.cnt >= WLAN_AUTH_MAX) { cnt 1669 drivers/staging/wlan-ng/prism2sta.c ether_addr_copy(hw->authlist.addr[hw->authlist.cnt], cnt 1671 drivers/staging/wlan-ng/prism2sta.c hw->authlist.cnt++; cnt 1689 drivers/staging/wlan-ng/prism2sta.c hw->authlist.cnt--; cnt 120 drivers/staging/wusbcore/devconnect.c unsigned cnt; cnt 125 drivers/staging/wusbcore/devconnect.c cnt = 0; cnt 127 drivers/staging/wusbcore/devconnect.c cack_ie->blk[cnt].CDID = dev_itr->cdid; cnt 128 drivers/staging/wusbcore/devconnect.c cack_ie->blk[cnt].bDeviceAddress = dev_itr->addr; cnt 129 drivers/staging/wusbcore/devconnect.c if (++cnt >= WUIE_ELT_MAX) cnt 133 drivers/staging/wusbcore/devconnect.c + cnt * sizeof(cack_ie->blk[0]); cnt 392 drivers/staging/wusbcore/devconnect.c unsigned cnt; cnt 400 drivers/staging/wusbcore/devconnect.c for (cnt = 0; cnt 401 drivers/staging/wusbcore/devconnect.c keep_alives < WUIE_ELT_MAX && cnt < wusbhc->ports_max; cnt 402 drivers/staging/wusbcore/devconnect.c cnt++) { cnt 405 drivers/staging/wusbcore/devconnect.c wusb_port = wusb_port_by_idx(wusbhc, cnt); cnt 130 drivers/staging/wusbcore/rh.c size_t cnt, size, bits_set = 0; cnt 139 drivers/staging/wusbcore/rh.c for (cnt = 0; cnt < wusbhc->ports_max; cnt++) { cnt 141 drivers/staging/wusbcore/rh.c if (wusb_port_by_idx(wusbhc, cnt)->change) { cnt 142 drivers/staging/wusbcore/rh.c const int bitpos = cnt+1; cnt 176 drivers/staging/wusbcore/wa-xfer.c unsigned cnt; cnt 177 drivers/staging/wusbcore/wa-xfer.c for (cnt = 0; cnt < xfer->segs; cnt++) { cnt 178 drivers/staging/wusbcore/wa-xfer.c struct wa_seg *seg = xfer->seg[cnt]; cnt 326 drivers/staging/wusbcore/wa-xfer.c unsigned result, cnt; cnt 335 drivers/staging/wusbcore/wa-xfer.c for (cnt = 0; cnt < xfer->segs; cnt++) { cnt 336 drivers/staging/wusbcore/wa-xfer.c seg = xfer->seg[cnt]; cnt 341 drivers/staging/wusbcore/wa-xfer.c xfer, wa_xfer_id(xfer), cnt, cnt 349 drivers/staging/wusbcore/wa-xfer.c && cnt != xfer->segs-1) cnt 370 drivers/staging/wusbcore/wa-xfer.c xfer, wa_xfer_id(xfer), cnt, seg->status); cnt 1161 drivers/staging/wusbcore/wa-xfer.c int result, cnt, isoc_frame_offset = 0; cnt 1175 drivers/staging/wusbcore/wa-xfer.c for (cnt = 0; cnt < xfer->segs; cnt++) { cnt 1193 drivers/staging/wusbcore/wa-xfer.c seg = xfer->seg[cnt] = kmalloc(alloc_size + iso_pkt_descr_size, cnt 1199 drivers/staging/wusbcore/wa-xfer.c seg->index = cnt; cnt 1275 drivers/staging/wusbcore/wa-xfer.c usb_free_urb(xfer->seg[cnt]->dto_urb); cnt 1277 drivers/staging/wusbcore/wa-xfer.c usb_free_urb(xfer->seg[cnt]->isoc_pack_desc_urb); cnt 1279 drivers/staging/wusbcore/wa-xfer.c kfree(xfer->seg[cnt]); cnt 1280 drivers/staging/wusbcore/wa-xfer.c xfer->seg[cnt] = NULL; cnt 1301 drivers/staging/wusbcore/wa-xfer.c size_t xfer_hdr_size, cnt, transfer_size; cnt 1324 drivers/staging/wusbcore/wa-xfer.c for (cnt = 1; cnt < xfer->segs; cnt++) { cnt 1326 drivers/staging/wusbcore/wa-xfer.c struct wa_seg *seg = xfer->seg[cnt]; cnt 1338 drivers/staging/wusbcore/wa-xfer.c xfer_hdr->bTransferSegment = cnt; cnt 1352 drivers/staging/wusbcore/wa-xfer.c for (cnt = 1; cnt < xfer->segs; cnt++) { cnt 1353 drivers/staging/wusbcore/wa-xfer.c xfer_hdr = &xfer->seg[cnt]->xfer_hdr; cnt 1355 drivers/staging/wusbcore/wa-xfer.c xfer_hdr->bTransferSegment = cnt; cnt 1360 drivers/staging/wusbcore/wa-xfer.c xfer->seg[cnt]->status = WA_SEG_READY; cnt 1546 drivers/staging/wusbcore/wa-xfer.c unsigned cnt; cnt 1561 drivers/staging/wusbcore/wa-xfer.c for (cnt = 0; cnt < xfer->segs; cnt++) { cnt 1566 drivers/staging/wusbcore/wa-xfer.c seg = xfer->seg[cnt]; cnt 1578 drivers/staging/wusbcore/wa-xfer.c xfer, wa_xfer_id(xfer), cnt, available, cnt 1592 drivers/staging/wusbcore/wa-xfer.c xfer, wa_xfer_id(xfer), cnt, available, empty); cnt 1925 drivers/staging/wusbcore/wa-xfer.c unsigned cnt, done = 0, xfer_abort_pending; cnt 1980 drivers/staging/wusbcore/wa-xfer.c for (cnt = 0; cnt < xfer->segs; cnt++) { cnt 1981 drivers/staging/wusbcore/wa-xfer.c seg = xfer->seg[cnt]; cnt 1983 drivers/staging/wusbcore/wa-xfer.c __func__, wa_xfer_id(xfer), cnt, seg->status); cnt 1988 drivers/staging/wusbcore/wa-xfer.c xfer, cnt, seg->status); cnt 132 drivers/target/iscsi/cxgbit/cxgbit_ddp.c unsigned int i, cnt; cnt 137 drivers/target/iscsi/cxgbit/cxgbit_ddp.c for (i = 0; i < npods; i += cnt, pidx += cnt) { cnt 138 drivers/target/iscsi/cxgbit/cxgbit_ddp.c cnt = npods - i; cnt 140 drivers/target/iscsi/cxgbit/cxgbit_ddp.c if (cnt > ULPMEM_IDATA_MAX_NPPODS) cnt 141 drivers/target/iscsi/cxgbit/cxgbit_ddp.c cnt = ULPMEM_IDATA_MAX_NPPODS; cnt 143 drivers/target/iscsi/cxgbit/cxgbit_ddp.c ret = cxgbit_ppod_write_idata(ppm, csk, ttinfo, pidx, cnt, cnt 115 drivers/target/iscsi/cxgbit/cxgbit_target.c unsigned int flits, cnt; cnt 120 drivers/target/iscsi/cxgbit/cxgbit_target.c cnt = skb_shinfo(skb)->nr_frags; cnt 122 drivers/target/iscsi/cxgbit/cxgbit_target.c cnt++; cnt 123 drivers/target/iscsi/cxgbit/cxgbit_target.c return flits + cxgbit_sgl_len(cnt); cnt 136 drivers/target/target_core_spc.c int cnt; cnt 147 drivers/target/target_core_spc.c for (cnt = 0; *p && cnt < 13; p++) { cnt 155 drivers/target/target_core_spc.c buf[cnt++] |= val; cnt 158 drivers/target/target_core_spc.c buf[cnt] = val << 4; cnt 398 drivers/tty/isicom.c short txcount, wrd, residue, word_count, cnt; cnt 451 drivers/tty/isicom.c cnt = min_t(int, txcount, (SERIAL_XMIT_SIZE cnt 455 drivers/tty/isicom.c if (cnt > 0) { cnt 462 drivers/tty/isicom.c cnt--; cnt 469 drivers/tty/isicom.c if (cnt <= 0) cnt 471 drivers/tty/isicom.c word_count = cnt >> 1; cnt 477 drivers/tty/isicom.c if (cnt & 0x0001) { cnt 938 drivers/tty/isicom.c int cnt, total = 0; cnt 946 drivers/tty/isicom.c cnt = min_t(int, count, min(SERIAL_XMIT_SIZE - port->xmit_cnt cnt 948 drivers/tty/isicom.c if (cnt <= 0) cnt 951 drivers/tty/isicom.c memcpy(port->port.xmit_buf + port->xmit_head, buf, cnt); cnt 952 drivers/tty/isicom.c port->xmit_head = (port->xmit_head + cnt) & (SERIAL_XMIT_SIZE cnt 954 drivers/tty/isicom.c port->xmit_cnt += cnt; cnt 955 drivers/tty/isicom.c buf += cnt; cnt 956 drivers/tty/isicom.c count -= cnt; cnt 957 drivers/tty/isicom.c total += cnt; cnt 2062 drivers/tty/mxser.c int cnt = 0; cnt 2090 drivers/tty/mxser.c cnt++; cnt 2129 drivers/tty/mxser.c cnt++; cnt 2130 drivers/tty/mxser.c if (cnt >= recv_room) { cnt 2145 drivers/tty/mxser.c mxvar_log.rxcnt[tty->index] += cnt; cnt 2146 drivers/tty/mxser.c port->mon_data.rxcnt += cnt; cnt 2147 drivers/tty/mxser.c port->mon_data.up_rxcnt += cnt; cnt 2161 drivers/tty/mxser.c int count, cnt; cnt 2185 drivers/tty/mxser.c cnt = port->xmit_cnt; cnt 2194 drivers/tty/mxser.c mxvar_log.txcnt[tty->index] += (cnt - port->xmit_cnt); cnt 2196 drivers/tty/mxser.c port->mon_data.txcnt += (cnt - port->xmit_cnt); cnt 2197 drivers/tty/mxser.c port->mon_data.up_txcnt += (cnt - port->xmit_cnt); cnt 2198 drivers/tty/mxser.c port->icount.tx += (cnt - port->xmit_cnt); cnt 36 drivers/tty/n_null.c int cnt) cnt 984 drivers/tty/n_tty.c size_t cnt; cnt 1034 drivers/tty/n_tty.c cnt = ldata->read_head - head; cnt 1044 drivers/tty/n_tty.c while (--cnt > 0) { cnt 93 drivers/tty/serial/8250/8250_mtk.c int copied, total, cnt; cnt 101 drivers/tty/serial/8250/8250_mtk.c cnt = total; cnt 103 drivers/tty/serial/8250/8250_mtk.c if ((data->rx_pos + cnt) > dma->rx_size) cnt 104 drivers/tty/serial/8250/8250_mtk.c cnt = dma->rx_size - data->rx_pos; cnt 107 drivers/tty/serial/8250/8250_mtk.c copied = tty_insert_flip_string(tty_port, ptr, cnt); cnt 108 drivers/tty/serial/8250/8250_mtk.c data->rx_pos += cnt; cnt 110 drivers/tty/serial/8250/8250_mtk.c if (total > cnt) { cnt 112 drivers/tty/serial/8250/8250_mtk.c cnt = total - cnt; cnt 113 drivers/tty/serial/8250/8250_mtk.c copied += tty_insert_flip_string(tty_port, ptr, cnt); cnt 114 drivers/tty/serial/8250/8250_mtk.c data->rx_pos = cnt; cnt 246 drivers/tty/serial/lpc32xx_hs.c int cnt = 0; cnt 249 drivers/tty/serial/lpc32xx_hs.c (cnt++ < FIFO_READ_LIMIT)) cnt 443 drivers/tty/serial/mps2-uart.c static void mps2_uart_console_write(struct console *co, const char *s, unsigned int cnt) cnt 448 drivers/tty/serial/mps2-uart.c uart_console_write(port, s, cnt, mps2_uart_console_putchar); cnt 1190 drivers/tty/serial/samsung.c unsigned int cnt, baud, quot, clk_sel, best_quot = 0; cnt 1196 drivers/tty/serial/samsung.c for (cnt = 0; cnt < info->num_clks; cnt++) { cnt 1197 drivers/tty/serial/samsung.c if (!(clk_sel & (1 << cnt))) cnt 1200 drivers/tty/serial/samsung.c sprintf(clkname, "clk_uart_baud%d", cnt); cnt 1235 drivers/tty/serial/samsung.c *clk_num = cnt; cnt 1258 drivers/tty/serial/stm32-usart.c static void stm32_console_write(struct console *co, const char *s, unsigned cnt) cnt 1282 drivers/tty/serial/stm32-usart.c uart_console_write(port, s, cnt, stm32_console_putchar); cnt 772 drivers/tty/vt/vt.c int cnt = count; cnt 776 drivers/tty/vt/vt.c while (cnt--) { cnt 783 drivers/tty/vt/vt.c while (cnt--) { cnt 790 drivers/tty/vt/vt.c while (cnt--) { cnt 2952 drivers/tty/vt/vt.c ushort start_x, cnt; cnt 2980 drivers/tty/vt/vt.c cnt = 0; cnt 2984 drivers/tty/vt/vt.c if (cnt && con_is_visible(vc)) cnt 2985 drivers/tty/vt/vt.c vc->vc_sw->con_putcs(vc, start, cnt, vc->vc_y, start_x); cnt 2986 drivers/tty/vt/vt.c cnt = 0; cnt 3004 drivers/tty/vt/vt.c cnt++; cnt 3012 drivers/tty/vt/vt.c if (cnt && con_is_visible(vc)) cnt 3013 drivers/tty/vt/vt.c vc->vc_sw->con_putcs(vc, start, cnt, vc->vc_y, start_x); cnt 97 drivers/uio/uio_pruss.c int cnt; cnt 100 drivers/uio/uio_pruss.c for (cnt = 0; cnt < MAX_PRUSS_EVT; cnt++, p++) { cnt 125 drivers/uio/uio_pruss.c int ret, cnt, i, len; cnt 196 drivers/uio/uio_pruss.c for (cnt = 0, p = gdev->info; cnt < MAX_PRUSS_EVT; cnt++, p++) { cnt 209 drivers/uio/uio_pruss.c p->name = kasprintf(GFP_KERNEL, "pruss_evt%d", cnt); cnt 213 drivers/uio/uio_pruss.c p->irq = gdev->hostirq_start + cnt; cnt 228 drivers/uio/uio_pruss.c for (i = 0, p = gdev->info; i < cnt; i++, p++) { cnt 77 drivers/usb/c67x00/c67x00-sched.c int cnt; /* packet number for isoc */ cnt 415 drivers/usb/c67x00/c67x00-sched.c urbp->cnt = 0; cnt 749 drivers/usb/c67x00/c67x00-sched.c BUG_ON(urbp->cnt >= urb->number_of_packets); cnt 752 drivers/usb/c67x00/c67x00-sched.c urb->iso_frame_desc[urbp->cnt].offset; cnt 753 drivers/usb/c67x00/c67x00-sched.c len = urb->iso_frame_desc[urbp->cnt].length; cnt 757 drivers/usb/c67x00/c67x00-sched.c urbp->cnt); cnt 761 drivers/usb/c67x00/c67x00-sched.c urb->iso_frame_desc[urbp->cnt].actual_length = 0; cnt 762 drivers/usb/c67x00/c67x00-sched.c urb->iso_frame_desc[urbp->cnt].status = ret; cnt 763 drivers/usb/c67x00/c67x00-sched.c if (urbp->cnt + 1 == urb->number_of_packets) cnt 769 drivers/usb/c67x00/c67x00-sched.c urbp->cnt++; cnt 955 drivers/usb/c67x00/c67x00-sched.c int cnt; cnt 960 drivers/usb/c67x00/c67x00-sched.c cnt = td->privdata; cnt 965 drivers/usb/c67x00/c67x00-sched.c urb->iso_frame_desc[cnt].actual_length = td_actual_bytes(td); cnt 966 drivers/usb/c67x00/c67x00-sched.c urb->iso_frame_desc[cnt].status = c67x00_td_to_error(c67x00, td); cnt 967 drivers/usb/c67x00/c67x00-sched.c if (cnt + 1 == urb->number_of_packets) /* Last packet */ cnt 96 drivers/usb/chipidea/ulpi.c int cnt = 100000; cnt 101 drivers/usb/chipidea/ulpi.c while (cnt-- > 0) { cnt 1594 drivers/usb/class/cdc-acm.c int cnt; cnt 1603 drivers/usb/class/cdc-acm.c cnt = acm->susp_count++; cnt 1606 drivers/usb/class/cdc-acm.c if (cnt) cnt 475 drivers/usb/core/devices.c int ret, cnt = 0; cnt 580 drivers/usb/core/devices.c level + 1, chix - 1, ++cnt); cnt 2159 drivers/usb/core/message.c int cnt = 0; cnt 2270 drivers/usb/core/message.c cnt++; cnt 2280 drivers/usb/core/message.c return cnt; cnt 163 drivers/usb/host/ehci-sched.c int cnt, i; cnt 168 drivers/usb/host/ehci-sched.c cnt = 0; cnt 175 drivers/usb/host/ehci-sched.c cnt += !!tt_index[i]; cnt 188 drivers/usb/host/ehci-sched.c if (cnt == 1) { cnt 706 drivers/usb/host/fhci-sched.c u16 cnt = 0; cnt 773 drivers/usb/host/fhci-sched.c td = fhci_td_fill(fhci, urb, urb_priv, ed, cnt, cnt 776 drivers/usb/host/fhci-sched.c cnt ? USB_TD_TOGGLE_CARRY : cnt 781 drivers/usb/host/fhci-sched.c cnt++; cnt 784 drivers/usb/host/fhci-sched.c td = fhci_td_fill(fhci, urb, urb_priv, ed, cnt, cnt 786 drivers/usb/host/fhci-sched.c cnt ? USB_TD_TOGGLE_CARRY : toggle, cnt 788 drivers/usb/host/fhci-sched.c cnt++; cnt 791 drivers/usb/host/fhci-sched.c cnt < urb_priv->num_of_tds) { cnt 792 drivers/usb/host/fhci-sched.c td = fhci_td_fill(fhci, urb, urb_priv, ed, cnt, cnt 796 drivers/usb/host/fhci-sched.c cnt++; cnt 801 drivers/usb/host/fhci-sched.c td = fhci_td_fill(fhci, urb, urb_priv, ed, cnt++, cnt 811 drivers/usb/host/fhci-sched.c td = fhci_td_fill(fhci, urb, urb_priv, ed, cnt++, FHCI_TA_SETUP, cnt 816 drivers/usb/host/fhci-sched.c td = fhci_td_fill(fhci, urb, urb_priv, ed, cnt++, cnt 825 drivers/usb/host/fhci-sched.c td = fhci_td_fill(fhci, urb, urb_priv, ed, cnt++, cnt 830 drivers/usb/host/fhci-sched.c td = fhci_td_fill(fhci, urb, urb_priv, ed, cnt++, cnt 837 drivers/usb/host/fhci-sched.c for (cnt = 0; cnt < urb->number_of_packets; cnt++) { cnt 845 drivers/usb/host/fhci-sched.c frame += cnt * urb->interval; cnt 847 drivers/usb/host/fhci-sched.c td = fhci_td_fill(fhci, urb, urb_priv, ed, cnt, cnt 851 drivers/usb/host/fhci-sched.c data + urb->iso_frame_desc[cnt].offset, cnt 852 drivers/usb/host/fhci-sched.c urb->iso_frame_desc[cnt].length, cnt 599 drivers/usb/host/ohci-q.c int cnt = 0; cnt 664 drivers/usb/host/ohci-q.c td_fill(ohci, info, data, n, urb, cnt); cnt 668 drivers/usb/host/ohci-q.c cnt++; cnt 680 drivers/usb/host/ohci-q.c && cnt < urb_priv->length) { cnt 681 drivers/usb/host/ohci-q.c td_fill (ohci, info, 0, 0, urb, cnt); cnt 682 drivers/usb/host/ohci-q.c cnt++; cnt 696 drivers/usb/host/ohci-q.c td_fill (ohci, info, urb->setup_dma, 8, urb, cnt++); cnt 701 drivers/usb/host/ohci-q.c td_fill (ohci, info, data, data_len, urb, cnt++); cnt 706 drivers/usb/host/ohci-q.c td_fill (ohci, info, data, 0, urb, cnt++); cnt 717 drivers/usb/host/ohci-q.c for (cnt = urb_priv->td_cnt; cnt < urb->number_of_packets; cnt 718 drivers/usb/host/ohci-q.c cnt++) { cnt 724 drivers/usb/host/ohci-q.c frame += cnt * urb->interval; cnt 727 drivers/usb/host/ohci-q.c data + urb->iso_frame_desc [cnt].offset, cnt 728 drivers/usb/host/ohci-q.c urb->iso_frame_desc [cnt].length, urb, cnt); cnt 752 drivers/usb/host/pci-quirks.c int cnt; cnt 806 drivers/usb/host/pci-quirks.c for (cnt = 30; cnt > 0; --cnt) { /* ... allow extra time */ cnt 484 drivers/usb/host/uhci-debug.c int cnt = 0; cnt 512 drivers/usb/host/uhci-debug.c if (++cnt <= 10) { cnt 521 drivers/usb/host/uhci-debug.c if ((cnt -= 10) > 0) cnt 522 drivers/usb/host/uhci-debug.c out += sprintf(out, " Skipped %d QHs\n", cnt); cnt 141 drivers/usb/host/xhci-mtk-sch.c int i, cnt; cnt 146 drivers/usb/host/xhci-mtk-sch.c cnt = 0; cnt 152 drivers/usb/host/xhci-mtk-sch.c cnt += !!tt_index[i]; cnt 165 drivers/usb/host/xhci-mtk-sch.c if (cnt == 1) { cnt 101 drivers/usb/mon/mon_text.c int cnt, limit; cnt 411 drivers/usb/mon/mon_text.c ptr.cnt = 0; cnt 417 drivers/usb/mon/mon_text.c ptr.cnt += snprintf(ptr.pbuf + ptr.cnt, ptr.limit - ptr.cnt, cnt 421 drivers/usb/mon/mon_text.c rp->printf_togo = ptr.cnt; cnt 450 drivers/usb/mon/mon_text.c ptr.cnt = 0; cnt 465 drivers/usb/mon/mon_text.c ptr.cnt += snprintf(ptr.pbuf + ptr.cnt, ptr.limit - ptr.cnt, cnt 469 drivers/usb/mon/mon_text.c rp->printf_togo = ptr.cnt; cnt 523 drivers/usb/mon/mon_text.c p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, cnt 541 drivers/usb/mon/mon_text.c p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, cnt 552 drivers/usb/mon/mon_text.c p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, cnt 560 drivers/usb/mon/mon_text.c p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, cnt 563 drivers/usb/mon/mon_text.c p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, cnt 571 drivers/usb/mon/mon_text.c p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, cnt 579 drivers/usb/mon/mon_text.c p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, cnt 582 drivers/usb/mon/mon_text.c p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, cnt 595 drivers/usb/mon/mon_text.c p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, cnt 604 drivers/usb/mon/mon_text.c p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, cnt 617 drivers/usb/mon/mon_text.c p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, cnt 623 drivers/usb/mon/mon_text.c p->cnt += snprintf(p->pbuf + p->cnt, cnt 624 drivers/usb/mon/mon_text.c p->limit - p->cnt, cnt 627 drivers/usb/mon/mon_text.c p->cnt += snprintf(p->pbuf + p->cnt, cnt 628 drivers/usb/mon/mon_text.c p->limit - p->cnt, cnt 631 drivers/usb/mon/mon_text.c p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, cnt 634 drivers/usb/mon/mon_text.c p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, cnt 638 drivers/usb/mon/mon_text.c p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, "\n"); cnt 1988 drivers/usb/serial/io_edgeport.c int cnt; cnt 1990 drivers/usb/serial/io_edgeport.c cnt = tty_insert_flip_string(&port->port, data, length); cnt 1991 drivers/usb/serial/io_edgeport.c if (cnt < length) { cnt 1993 drivers/usb/serial/io_edgeport.c __func__, length - cnt); cnt 1995 drivers/usb/serial/io_edgeport.c data += cnt; cnt 1996 drivers/usb/serial/io_edgeport.c length -= cnt; cnt 1865 drivers/usb/serial/keyspan.c cnt; /* inverse of divisor (programmed into 8051) */ cnt 1883 drivers/usb/serial/keyspan.c cnt = 0 - div; cnt 1890 drivers/usb/serial/keyspan.c *rate_low = (u8) (cnt & 0xff); cnt 1892 drivers/usb/serial/keyspan.c *rate_hi = (u8) ((cnt >> 8) & 0xff); cnt 2006 drivers/usb/serial/keyspan.c cnt; /* inverse of divisor (programmed into 8051) */ cnt 2020 drivers/usb/serial/keyspan.c cnt = 0 - div; cnt 2038 drivers/usb/serial/keyspan.c *rate_low = (u8) (cnt & 0xff); cnt 2040 drivers/usb/serial/keyspan.c *rate_hi = (u8) ((cnt >> 8) & 0xff); cnt 1278 drivers/usb/serial/ti_usb_3410_5052.c int cnt; cnt 1281 drivers/usb/serial/ti_usb_3410_5052.c cnt = tty_insert_flip_string(&port->port, data, length); cnt 1282 drivers/usb/serial/ti_usb_3410_5052.c if (cnt < length) { cnt 1284 drivers/usb/serial/ti_usb_3410_5052.c __func__, length - cnt); cnt 1285 drivers/usb/serial/ti_usb_3410_5052.c if (cnt == 0) cnt 1289 drivers/usb/serial/ti_usb_3410_5052.c data += cnt; cnt 1290 drivers/usb/serial/ti_usb_3410_5052.c length -= cnt; cnt 125 drivers/usb/storage/protocol.c unsigned int cnt = 0; cnt 139 drivers/usb/storage/protocol.c return cnt; cnt 141 drivers/usb/storage/protocol.c while (sg_miter_next(&miter) && cnt < buflen) { cnt 143 drivers/usb/storage/protocol.c buflen - cnt); cnt 146 drivers/usb/storage/protocol.c memcpy(buffer + cnt, miter.addr, len); cnt 148 drivers/usb/storage/protocol.c memcpy(miter.addr, buffer + cnt, len); cnt 157 drivers/usb/storage/protocol.c cnt += len; cnt 161 drivers/usb/storage/protocol.c return cnt; cnt 321 drivers/usb/typec/tcpm/tcpci.c unsigned int reg, cnt; cnt 324 drivers/usb/typec/tcpm/tcpci.c cnt = msg ? pd_header_cnt(header) * 4 : 0; cnt 325 drivers/usb/typec/tcpm/tcpci.c ret = regmap_write(tcpci->regmap, TCPC_TX_BYTE_CNT, cnt + 2); cnt 333 drivers/usb/typec/tcpm/tcpci.c if (cnt > 0) { cnt 335 drivers/usb/typec/tcpm/tcpci.c &msg->payload, cnt); cnt 435 drivers/usb/typec/tcpm/tcpci.c unsigned int cnt, payload_cnt; cnt 438 drivers/usb/typec/tcpm/tcpci.c regmap_read(tcpci->regmap, TCPC_RX_BYTE_CNT, &cnt); cnt 445 drivers/usb/typec/tcpm/tcpci.c if (cnt > 3) cnt 446 drivers/usb/typec/tcpm/tcpci.c payload_cnt = cnt - (1 + sizeof(msg.header)); cnt 943 drivers/usb/typec/tcpm/tcpm.c const u32 *data, int cnt) cnt 945 drivers/usb/typec/tcpm/tcpm.c port->vdo_count = cnt + 1; cnt 947 drivers/usb/typec/tcpm/tcpm.c memcpy(&port->vdo_data[1], data, sizeof(u32) * cnt); cnt 954 drivers/usb/typec/tcpm/tcpm.c int cnt) cnt 973 drivers/usb/typec/tcpm/tcpm.c int cnt) cnt 978 drivers/usb/typec/tcpm/tcpm.c for (i = 1; i < cnt; i++) { cnt 1009 drivers/usb/typec/tcpm/tcpm.c int cnt) cnt 1020 drivers/usb/typec/tcpm/tcpm.c for (i = 1; i < cnt; i++) { cnt 1054 drivers/usb/typec/tcpm/tcpm.c static int tcpm_pd_svdm(struct tcpm_port *port, const __le32 *payload, int cnt, cnt 1066 drivers/usb/typec/tcpm/tcpm.c for (i = 0; i < cnt; i++) cnt 1073 drivers/usb/typec/tcpm/tcpm.c p[0], cmd_type, cmd, cnt); cnt 1129 drivers/usb/typec/tcpm/tcpm.c svdm_consume_identity(port, payload, cnt); cnt 1135 drivers/usb/typec/tcpm/tcpm.c if (svdm_consume_svids(port, payload, cnt)) { cnt 1147 drivers/usb/typec/tcpm/tcpm.c svdm_consume_modes(port, payload, cnt); cnt 1161 drivers/usb/typec/tcpm/tcpm.c if (typec_altmode_vdm(adev, p[0], &p[1], cnt)) { cnt 1202 drivers/usb/typec/tcpm/tcpm.c typec_altmode_vdm(adev, p[0], &p[1], cnt); cnt 1208 drivers/usb/typec/tcpm/tcpm.c const __le32 *payload, int cnt) cnt 1228 drivers/usb/typec/tcpm/tcpm.c rlen = tcpm_pd_svdm(port, payload, cnt, response); cnt 1553 drivers/usb/typec/tcpm/tcpm.c int cnt) cnt 1581 drivers/usb/typec/tcpm/tcpm.c unsigned int cnt = pd_header_cnt_le(msg->header); cnt 1590 drivers/usb/typec/tcpm/tcpm.c for (i = 0; i < cnt; i++) cnt 1593 drivers/usb/typec/tcpm/tcpm.c port->nr_source_caps = cnt; cnt 1628 drivers/usb/typec/tcpm/tcpm.c cnt != 1) { cnt 1651 drivers/usb/typec/tcpm/tcpm.c for (i = 0; i < cnt; i++) cnt 1653 drivers/usb/typec/tcpm/tcpm.c port->nr_sink_caps = cnt; cnt 1656 drivers/usb/typec/tcpm/tcpm.c tcpm_handle_vdm_request(port, msg->payload, cnt); cnt 1665 drivers/usb/typec/tcpm/tcpm.c tcpm_handle_alert(port, msg->payload, cnt); cnt 1948 drivers/usb/typec/tcpm/tcpm.c unsigned int cnt = pd_header_cnt_le(msg->header); cnt 1985 drivers/usb/typec/tcpm/tcpm.c else if (cnt) cnt 140 drivers/vfio/platform/vfio_platform_common.c int cnt = 0, i; cnt 142 drivers/vfio/platform/vfio_platform_common.c while (vdev->get_resource(vdev, cnt)) cnt 143 drivers/vfio/platform/vfio_platform_common.c cnt++; cnt 145 drivers/vfio/platform/vfio_platform_common.c vdev->regions = kcalloc(cnt, sizeof(struct vfio_platform_region), cnt 150 drivers/vfio/platform/vfio_platform_common.c for (i = 0; i < cnt; i++) { cnt 187 drivers/vfio/platform/vfio_platform_common.c vdev->num_regions = cnt; cnt 284 drivers/vfio/platform/vfio_platform_irq.c int cnt = 0, i; cnt 286 drivers/vfio/platform/vfio_platform_irq.c while (vdev->get_irq(vdev, cnt) >= 0) cnt 287 drivers/vfio/platform/vfio_platform_irq.c cnt++; cnt 289 drivers/vfio/platform/vfio_platform_irq.c vdev->irqs = kcalloc(cnt, sizeof(struct vfio_platform_irq), GFP_KERNEL); cnt 293 drivers/vfio/platform/vfio_platform_irq.c for (i = 0; i < cnt; i++) { cnt 312 drivers/vfio/platform/vfio_platform_irq.c vdev->num_irqs = cnt; cnt 88 drivers/vfio/virqfd.c u64 cnt; cnt 90 drivers/vfio/virqfd.c eventfd_ctx_remove_wait_queue(virqfd->eventfd, &virqfd->wait, &cnt); cnt 388 drivers/vhost/net.c int cnt; cnt 395 drivers/vhost/net.c cnt = vhost_net_ubuf_put(ubufs); cnt 404 drivers/vhost/net.c if (cnt <= 1 || !(cnt % 16)) cnt 273 drivers/vhost/vsock.c int cnt = 0; cnt 294 drivers/vhost/vsock.c cnt++; cnt 299 drivers/vhost/vsock.c if (cnt) { cnt 303 drivers/vhost/vsock.c new_cnt = atomic_sub_return(cnt, &vsock->queued_replies); cnt 304 drivers/vhost/vsock.c if (new_cnt + cnt >= tx_vq->num && new_cnt < tx_vq->num) cnt 175 drivers/video/console/vgacon.c int cnt; cnt 195 drivers/video/console/vgacon.c scrollback->cnt = 0; cnt 258 drivers/video/console/vgacon.c vgacon_scrollback_cur->cnt++; cnt 265 drivers/video/console/vgacon.c if (vgacon_scrollback_cur->cnt > vgacon_scrollback_cur->rows) cnt 266 drivers/video/console/vgacon.c vgacon_scrollback_cur->cnt = vgacon_scrollback_cur->rows; cnt 268 drivers/video/console/vgacon.c vgacon_scrollback_cur->cur = vgacon_scrollback_cur->cnt; cnt 282 drivers/video/console/vgacon.c vgacon_scrollback_cur->cur = vgacon_scrollback_cur->cnt; cnt 312 drivers/video/console/vgacon.c if (start > vgacon_scrollback_cur->cnt) cnt 313 drivers/video/console/vgacon.c start = vgacon_scrollback_cur->cnt; cnt 318 drivers/video/console/vgacon.c if (end > vgacon_scrollback_cur->cnt) cnt 319 drivers/video/console/vgacon.c end = vgacon_scrollback_cur->cnt; cnt 324 drivers/video/console/vgacon.c ((vgacon_scrollback_cur->cnt - end) * c->vc_size_row); cnt 330 drivers/video/console/vgacon.c count = vgacon_scrollback_cur->cnt - start; cnt 1136 drivers/video/fbdev/aty/radeon_pm.c int cnt; cnt 1138 drivers/video/fbdev/aty/radeon_pm.c for (cnt = 0; cnt < 100; ++cnt) { cnt 78 drivers/video/fbdev/core/bitblit.c const u16 *s, u32 attr, u32 cnt, cnt 86 drivers/video/fbdev/core/bitblit.c while (cnt--) { cnt 110 drivers/video/fbdev/core/bitblit.c u32 attr, u32 cnt, u32 d_pitch, cnt 121 drivers/video/fbdev/core/bitblit.c while (cnt--) { cnt 153 drivers/video/fbdev/core/bitblit.c u32 mod = vc->vc_font.width % 8, cnt, pitch, size; cnt 172 drivers/video/fbdev/core/bitblit.c cnt = maxcnt; cnt 174 drivers/video/fbdev/core/bitblit.c cnt = count; cnt 176 drivers/video/fbdev/core/bitblit.c image.width = vc->vc_font.width * cnt; cnt 185 drivers/video/fbdev/core/bitblit.c bit_putcs_aligned(vc, info, s, attribute, cnt, pitch, cnt 188 drivers/video/fbdev/core/bitblit.c bit_putcs_unaligned(vc, info, s, attribute, cnt, cnt 192 drivers/video/fbdev/core/bitblit.c image.dx += cnt * vc->vc_font.width; cnt 193 drivers/video/fbdev/core/bitblit.c count -= cnt; cnt 194 drivers/video/fbdev/core/bitblit.c s += cnt; cnt 607 drivers/video/fbdev/core/fbcon.c int cnt, erase = vc->vc_video_erase_char, step; cnt 637 drivers/video/fbdev/core/fbcon.c for (cnt = 0; cnt < logo_lines; cnt++, r += i) cnt 638 drivers/video/fbdev/core/fbcon.c scr_memcpyw(save + cnt * new_cols, r, 2 * i); cnt 645 drivers/video/fbdev/core/fbcon.c for (cnt = rows - logo_lines; cnt > 0; cnt--) { cnt 2572 drivers/video/fbdev/core/fbcon.c int cnt; cnt 2582 drivers/video/fbdev/core/fbcon.c cnt = FNTCHARCNT(data); cnt 2584 drivers/video/fbdev/core/fbcon.c cnt = 256; cnt 2590 drivers/video/fbdev/core/fbcon.c if (vc->vc_hi_font_mask && cnt == 256) cnt 2592 drivers/video/fbdev/core/fbcon.c else if (!vc->vc_hi_font_mask && cnt == 512) cnt 2819 drivers/video/fbdev/core/fbcon.c static void fbcon_invert_region(struct vc_data *vc, u16 * p, int cnt) cnt 2821 drivers/video/fbdev/core/fbcon.c while (cnt--) { cnt 99 drivers/video/fbdev/core/fbcon_ccw.c const u16 *s, u32 attr, u32 cnt, cnt 108 drivers/video/fbdev/core/fbcon_ccw.c while (cnt--) { cnt 140 drivers/video/fbdev/core/fbcon_ccw.c u32 cnt, pitch, size; cnt 165 drivers/video/fbdev/core/fbcon_ccw.c cnt = maxcnt; cnt 167 drivers/video/fbdev/core/fbcon_ccw.c cnt = count; cnt 169 drivers/video/fbdev/core/fbcon_ccw.c image.height = vc->vc_font.width * cnt; cnt 176 drivers/video/fbdev/core/fbcon_ccw.c ccw_putcs_aligned(vc, info, s, attribute, cnt, pitch, cnt 179 drivers/video/fbdev/core/fbcon_ccw.c count -= cnt; cnt 180 drivers/video/fbdev/core/fbcon_ccw.c s -= cnt; cnt 84 drivers/video/fbdev/core/fbcon_cw.c const u16 *s, u32 attr, u32 cnt, cnt 93 drivers/video/fbdev/core/fbcon_cw.c while (cnt--) { cnt 125 drivers/video/fbdev/core/fbcon_cw.c u32 cnt, pitch, size; cnt 148 drivers/video/fbdev/core/fbcon_cw.c cnt = maxcnt; cnt 150 drivers/video/fbdev/core/fbcon_cw.c cnt = count; cnt 152 drivers/video/fbdev/core/fbcon_cw.c image.height = vc->vc_font.width * cnt; cnt 159 drivers/video/fbdev/core/fbcon_cw.c cw_putcs_aligned(vc, info, s, attribute, cnt, pitch, cnt 162 drivers/video/fbdev/core/fbcon_cw.c count -= cnt; cnt 163 drivers/video/fbdev/core/fbcon_cw.c s += cnt; cnt 86 drivers/video/fbdev/core/fbcon_ud.c const u16 *s, u32 attr, u32 cnt, cnt 95 drivers/video/fbdev/core/fbcon_ud.c while (cnt--) { cnt 118 drivers/video/fbdev/core/fbcon_ud.c u32 attr, u32 cnt, u32 d_pitch, cnt 130 drivers/video/fbdev/core/fbcon_ud.c while (cnt--) { cnt 162 drivers/video/fbdev/core/fbcon_ud.c u32 mod = vc->vc_font.width % 8, cnt, pitch, size; cnt 188 drivers/video/fbdev/core/fbcon_ud.c cnt = maxcnt; cnt 190 drivers/video/fbdev/core/fbcon_ud.c cnt = count; cnt 192 drivers/video/fbdev/core/fbcon_ud.c image.width = vc->vc_font.width * cnt; cnt 201 drivers/video/fbdev/core/fbcon_ud.c ud_putcs_aligned(vc, info, s, attribute, cnt, pitch, cnt 204 drivers/video/fbdev/core/fbcon_ud.c ud_putcs_unaligned(vc, info, s, attribute, cnt, pitch, cnt 209 drivers/video/fbdev/core/fbcon_ud.c count -= cnt; cnt 210 drivers/video/fbdev/core/fbcon_ud.c s -= cnt; cnt 211 drivers/video/fbdev/core/fbcon_ud.c xx += cnt; cnt 217 drivers/video/fbdev/core/fbcvt.c int cnt = 255, offset = 0, read = 0; cnt 227 drivers/video/fbdev/core/fbcvt.c read = snprintf(buf+offset, cnt, "fbcvt: %dx%d@%d: CVT Name - ", cnt 230 drivers/video/fbdev/core/fbcvt.c cnt -= read; cnt 233 drivers/video/fbdev/core/fbcvt.c snprintf(buf+offset, cnt, "Not a CVT standard - %d.%03d Mega " cnt 237 drivers/video/fbdev/core/fbcvt.c read = snprintf(buf+offset, cnt, "%d", pixcount); cnt 238 drivers/video/fbdev/core/fbcvt.c cnt -= read; cnt 242 drivers/video/fbdev/core/fbcvt.c read = snprintf(buf+offset, cnt, ".%03dM", pixcount_mod); cnt 243 drivers/video/fbdev/core/fbcvt.c cnt -= read; cnt 247 drivers/video/fbdev/core/fbcvt.c read = snprintf(buf+offset, cnt, "3"); cnt 249 drivers/video/fbdev/core/fbcvt.c read = snprintf(buf+offset, cnt, "4"); cnt 251 drivers/video/fbdev/core/fbcvt.c read = snprintf(buf+offset, cnt, "9"); cnt 253 drivers/video/fbdev/core/fbcvt.c read = snprintf(buf+offset, cnt, "A"); cnt 256 drivers/video/fbdev/core/fbcvt.c cnt -= read; cnt 260 drivers/video/fbdev/core/fbcvt.c read = snprintf(buf+offset, cnt, "-R"); cnt 261 drivers/video/fbdev/core/fbcvt.c cnt -= read; cnt 764 drivers/video/fbdev/core/fbmem.c int c, cnt = 0, err = 0; cnt 813 drivers/video/fbdev/core/fbmem.c cnt += c; cnt 819 drivers/video/fbdev/core/fbmem.c return (err) ? err : cnt; cnt 829 drivers/video/fbdev/core/fbmem.c int c, cnt = 0, err = 0; cnt 885 drivers/video/fbdev/core/fbmem.c cnt += c; cnt 891 drivers/video/fbdev/core/fbmem.c return (cnt) ? cnt : err; cnt 104 drivers/video/fbdev/fb-puv3.c int cnt; cnt 106 drivers/video/fbdev/fb-puv3.c for (cnt = 0; cnt < 0x10000000; cnt++) { cnt 111 drivers/video/fbdev/fb-puv3.c if (cnt > 0x8000000) cnt 1036 drivers/video/fbdev/imsttfb.c __u32 cnt, bltctl, sx, sy, dx, dy, height, width; cnt 1052 drivers/video/fbdev/imsttfb.c cnt = height << 16; cnt 1067 drivers/video/fbdev/imsttfb.c cnt |= -(width) & 0xffff; cnt 1069 drivers/video/fbdev/imsttfb.c cnt |= width; cnt 1078 drivers/video/fbdev/imsttfb.c write_reg_le32(par->dc_regs, CNT, cnt); cnt 212 drivers/video/fbdev/matrox/matroxfb_base.c minfo->crtc1.vsync.cnt++; cnt 219 drivers/video/fbdev/matrox/matroxfb_base.c minfo->crtc2.vsync.cnt++; cnt 272 drivers/video/fbdev/matrox/matroxfb_base.c unsigned int cnt; cnt 293 drivers/video/fbdev/matrox/matroxfb_base.c cnt = vs->cnt; cnt 294 drivers/video/fbdev/matrox/matroxfb_base.c ret = wait_event_interruptible_timeout(vs->wait, cnt != vs->cnt, HZ/10); cnt 865 drivers/video/fbdev/matrox/matroxfb_base.c vblank->count = minfo->crtc1.vsync.cnt; cnt 335 drivers/video/fbdev/matrox/matroxfb_base.h unsigned int cnt; cnt 347 drivers/video/fbdev/matrox/matroxfb_crtc2.c int cnt; cnt 356 drivers/video/fbdev/matrox/matroxfb_crtc2.c cnt = 0; cnt 360 drivers/video/fbdev/matrox/matroxfb_crtc2.c cnt++; cnt 369 drivers/video/fbdev/matrox/matroxfb_crtc2.c if (cnt) { cnt 418 drivers/video/fbdev/matrox/matroxfb_crtc2.c vblank->count = minfo->crtc2.vsync.cnt; cnt 121 drivers/video/fbdev/nvidia/nv_accel.c int count = 1000000000, cnt; cnt 134 drivers/video/fbdev/nvidia/nv_accel.c cnt = 1000000000; cnt 137 drivers/video/fbdev/nvidia/nv_accel.c } while (--cnt && dmaGet <= SKIPS); cnt 138 drivers/video/fbdev/nvidia/nv_accel.c if (!cnt) { cnt 555 drivers/video/fbdev/riva/riva_hw.h #define RIVA_FIFO_FREE(hwinst,hwptr,cnt) \ cnt 557 drivers/video/fbdev/riva/riva_hw.h while ((hwinst).FifoFreeCount < (cnt)) { \ cnt 561 drivers/video/fbdev/riva/riva_hw.h (hwinst).FifoFreeCount -= (cnt); \ cnt 1027 drivers/video/fbdev/sm712fb.c int c, i, cnt = 0, err = 0; cnt 1088 drivers/video/fbdev/sm712fb.c cnt += c; cnt 1094 drivers/video/fbdev/sm712fb.c return (err) ? err : cnt; cnt 1104 drivers/video/fbdev/sm712fb.c int c, i, cnt = 0, err = 0; cnt 1172 drivers/video/fbdev/sm712fb.c cnt += c; cnt 1178 drivers/video/fbdev/sm712fb.c return (cnt) ? cnt : err; cnt 354 drivers/video/fbdev/stifb.c #define GET_FIFO_SLOTS(fb, cnt, numslots) \ cnt 355 drivers/video/fbdev/stifb.c { while (cnt < numslots) \ cnt 356 drivers/video/fbdev/stifb.c cnt = READ_WORD(fb, REG_34); \ cnt 357 drivers/video/fbdev/stifb.c cnt -= numslots; \ cnt 1166 drivers/video/fbdev/uvesafb.c int cnt = atomic_read(&par->ref_count); cnt 1169 drivers/video/fbdev/uvesafb.c if (!cnt && par->vbe_state_size) { cnt 1187 drivers/video/fbdev/uvesafb.c int cnt = atomic_read(&par->ref_count); cnt 1189 drivers/video/fbdev/uvesafb.c if (!cnt) cnt 1192 drivers/video/fbdev/uvesafb.c if (cnt != 1) cnt 494 drivers/watchdog/mei_wdt.c size_t cnt, loff_t *ppos) cnt 506 drivers/watchdog/mei_wdt.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, pos); cnt 516 drivers/watchdog/mei_wdt.c size_t cnt, loff_t *ppos) cnt 525 drivers/watchdog/mei_wdt.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, pos); cnt 290 drivers/watchdog/octeon-wdt-main.c } while (ciu_wdog.s.cnt > 0x10000); cnt 418 drivers/xen/xen-scsiback.c struct page **pg, grant_handle_t *grant, int cnt) cnt 422 drivers/xen/xen-scsiback.c if (!cnt) cnt 425 drivers/xen/xen-scsiback.c err = gnttab_map_refs(map, NULL, pg, cnt); cnt 427 drivers/xen/xen-scsiback.c for (i = 0; i < cnt; i++) { cnt 442 drivers/xen/xen-scsiback.c grant_handle_t *grant, int cnt, u32 flags) cnt 448 drivers/xen/xen-scsiback.c for (i = 0; i < cnt; i++) { cnt 359 fs/affs/amigaffs.c int cnt = sb->s_blocksize / sizeof(__be32); cnt 366 fs/affs/amigaffs.c for (checksum = 0; cnt > 0; ptr++, cnt--) cnt 838 fs/btrfs/reada.c int cnt; cnt 864 fs/btrfs/reada.c cnt = 0; cnt 888 fs/btrfs/reada.c if (++cnt > 15) cnt 894 fs/btrfs/reada.c cnt = 0; cnt 178 fs/cifs/asn1.c unsigned char ch, cnt; cnt 191 fs/cifs/asn1.c cnt = (unsigned char) (ch & 0x7F); cnt 194 fs/cifs/asn1.c while (cnt > 0) { cnt 199 fs/cifs/asn1.c cnt--; cnt 184 fs/eventfd.c static void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt) cnt 186 fs/eventfd.c *cnt = (ctx->flags & EFD_SEMAPHORE) ? 1 : ctx->count; cnt 187 fs/eventfd.c ctx->count -= *cnt; cnt 204 fs/eventfd.c __u64 *cnt) cnt 209 fs/eventfd.c eventfd_ctx_do_read(ctx, cnt); cnt 211 fs/eventfd.c if (*cnt != 0 && waitqueue_active(&ctx->wqh)) cnt 215 fs/eventfd.c return *cnt != 0 ? 0 : -EAGAIN; cnt 5266 fs/ext4/mballoc.c ext4_grpblk_t cnt = 0, first_cluster, last_cluster; cnt 5317 fs/ext4/mballoc.c cnt = ext4_trim_all_free(sb, group, first_cluster, cnt 5319 fs/ext4/mballoc.c if (cnt < 0) { cnt 5320 fs/ext4/mballoc.c ret = cnt; cnt 5323 fs/ext4/mballoc.c trimmed += cnt; cnt 1167 fs/f2fs/checkpoint.c int err = 0, cnt = 0; cnt 1176 fs/f2fs/checkpoint.c if (++cnt > DEFAULT_RETRY_QUOTA_FLUSH_COUNT) { cnt 2469 fs/f2fs/file.c int cnt = 0; cnt 2485 fs/f2fs/file.c while (idx < map.m_lblk + map.m_len && cnt < blk_per_seg) { cnt 2498 fs/f2fs/file.c cnt++; cnt 2504 fs/f2fs/file.c if (map.m_lblk < pg_end && cnt < blk_per_seg) cnt 2596 fs/f2fs/segment.c int i, cnt; cnt 2613 fs/f2fs/segment.c cnt = NR_CURSEG_NODE_TYPE; cnt 2621 fs/f2fs/segment.c cnt = NR_CURSEG_DATA_TYPE; cnt 2624 fs/f2fs/segment.c for (; cnt-- > 0; reversed ? i-- : i++) { cnt 1987 fs/f2fs/super.c int cnt; cnt 2010 fs/f2fs/super.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) { cnt 2013 fs/f2fs/super.c if (type != -1 && cnt != type) cnt 2015 fs/f2fs/super.c if (!sb_has_quota_active(sb, cnt)) cnt 2018 fs/f2fs/super.c mapping = dqopt->files[cnt]->i_mapping; cnt 2032 fs/f2fs/super.c inode_lock(dqopt->files[cnt]); cnt 2033 fs/f2fs/super.c truncate_inode_pages(&dqopt->files[cnt]->i_data, 0); cnt 2034 fs/f2fs/super.c inode_unlock(dqopt->files[cnt]); cnt 171 fs/fs-writeback.c if (atomic_dec_and_test(&done->cnt)) cnt 182 fs/fs-writeback.c atomic_inc(&work->done->cnt); cnt 207 fs/fs-writeback.c atomic_dec(&done->cnt); /* put down the initial count */ cnt 208 fs/fs-writeback.c wait_event(*done->waitq, !atomic_read(&done->cnt)); cnt 162 fs/hfs/bfind.c int hfs_brec_goto(struct hfs_find_data *fd, int cnt) cnt 172 fs/hfs/bfind.c if (cnt < 0) { cnt 173 fs/hfs/bfind.c cnt = -cnt; cnt 174 fs/hfs/bfind.c while (cnt > fd->record) { cnt 175 fs/hfs/bfind.c cnt -= fd->record + 1; cnt 190 fs/hfs/bfind.c fd->record -= cnt; cnt 192 fs/hfs/bfind.c while (cnt >= bnode->num_recs - fd->record) { cnt 193 fs/hfs/bfind.c cnt -= bnode->num_recs - fd->record; cnt 208 fs/hfs/bfind.c fd->record += cnt; cnt 231 fs/hfsplus/bfind.c int hfs_brec_goto(struct hfs_find_data *fd, int cnt) cnt 241 fs/hfsplus/bfind.c if (cnt < 0) { cnt 242 fs/hfsplus/bfind.c cnt = -cnt; cnt 243 fs/hfsplus/bfind.c while (cnt > fd->record) { cnt 244 fs/hfsplus/bfind.c cnt -= fd->record + 1; cnt 259 fs/hfsplus/bfind.c fd->record -= cnt; cnt 261 fs/hfsplus/bfind.c while (cnt >= bnode->num_recs - fd->record) { cnt 262 fs/hfsplus/bfind.c cnt -= bnode->num_recs - fd->record; cnt 277 fs/hfsplus/bfind.c fd->record += cnt; cnt 442 fs/hfsplus/hfsplus_fs.h int hfs_brec_goto(struct hfs_find_data *fd, int cnt); cnt 168 fs/io_uring.c atomic_t cnt; cnt 421 fs/io_uring.c atomic_set(&ctx->pending_async[i].cnt, 0); cnt 2296 fs/io_uring.c ret = atomic_dec_return(&async_list->cnt); cnt 2299 fs/io_uring.c atomic_inc(&async_list->cnt); cnt 2309 fs/io_uring.c ret = atomic_dec_return(&async_list->cnt); cnt 2340 fs/io_uring.c if (!atomic_read(&list->cnt)) cnt 2350 fs/io_uring.c if (!atomic_read(&list->cnt)) { cnt 2434 fs/io_uring.c atomic_inc(&list->cnt); cnt 313 fs/isofs/rock.c int cnt, sig; cnt 422 fs/isofs/rock.c cnt = 0; cnt 425 fs/isofs/rock.c iso_date(rr->u.TF.times[cnt++].time, cnt 431 fs/isofs/rock.c iso_date(rr->u.TF.times[cnt++].time, cnt 437 fs/isofs/rock.c iso_date(rr->u.TF.times[cnt++].time, cnt 443 fs/isofs/rock.c iso_date(rr->u.TF.times[cnt++].time, cnt 70 fs/jffs2/write.c unsigned long cnt = 2; cnt 94 fs/jffs2/write.c cnt = 1; cnt 109 fs/jffs2/write.c ret = jffs2_flash_writev(c, vecs, cnt, flash_ofs, &retlen, cnt 4151 fs/jfs/jfs_dtree.c s->cnt = 1; cnt 4202 fs/jfs/jfs_dtree.c s->cnt = 1; cnt 4280 fs/jfs/jfs_dtree.c t->cnt = 1; cnt 4310 fs/jfs/jfs_dtree.c t->cnt = 1; cnt 4405 fs/jfs/jfs_dtree.c t->cnt = 1; cnt 36 fs/jfs/jfs_dtree.h s8 cnt; /* 1: */ cnt 67 fs/nfs/filelayout/filelayoutdev.c u32 cnt, num; cnt 92 fs/nfs/filelayout/filelayoutdev.c cnt = be32_to_cpup(p); cnt 93 fs/nfs/filelayout/filelayoutdev.c dprintk("%s stripe count %d\n", __func__, cnt); cnt 94 fs/nfs/filelayout/filelayoutdev.c if (cnt > NFS4_PNFS_MAX_STRIPE_CNT) { cnt 97 fs/nfs/filelayout/filelayoutdev.c cnt, NFS4_PNFS_MAX_STRIPE_CNT); cnt 102 fs/nfs/filelayout/filelayoutdev.c stripe_indices = kcalloc(cnt, sizeof(u8), gfp_flags); cnt 106 fs/nfs/filelayout/filelayoutdev.c p = xdr_inline_decode(&stream, cnt << 2); cnt 112 fs/nfs/filelayout/filelayoutdev.c for (i = 0; i < cnt; i++) { cnt 145 fs/nfs/filelayout/filelayoutdev.c dsaddr->stripe_count = cnt; cnt 120 fs/nfs/pnfs_nfs.c int i, rv = 0, cnt; cnt 124 fs/nfs/pnfs_nfs.c cnt = pnfs_generic_scan_ds_commit_list(&cinfo->ds->buckets[i], cnt 126 fs/nfs/pnfs_nfs.c max -= cnt; cnt 127 fs/nfs/pnfs_nfs.c rv += cnt; cnt 157 fs/nfsd/nfs3proc.c unsigned long cnt = min(argp->count, max_blocksize); cnt 168 fs/nfsd/nfs3proc.c resp->count = cnt; cnt 189 fs/nfsd/nfs3proc.c unsigned long cnt = argp->len; cnt 201 fs/nfsd/nfs3proc.c &argp->first, cnt); cnt 205 fs/nfsd/nfs3proc.c rqstp->rq_vec, nvecs, &cnt, cnt 207 fs/nfsd/nfs3proc.c resp->count = cnt; cnt 455 fs/nfsd/nfs4acl.c init_state(struct posix_acl_state *state, int cnt) cnt 467 fs/nfsd/nfs4acl.c + cnt*sizeof(struct posix_user_ace_state); cnt 992 fs/nfsd/nfs4proc.c unsigned long cnt; cnt 998 fs/nfsd/nfs4proc.c cnt = write->wr_buflen; cnt 1000 fs/nfsd/nfs4proc.c write->wr_offset, cnt); cnt 1016 fs/nfsd/nfs4proc.c write->wr_offset, rqstp->rq_vec, nvecs, &cnt, cnt 1020 fs/nfsd/nfs4proc.c write->wr_bytes_written = cnt; cnt 1022 fs/nfsd/nfs4proc.c write->wr_offset, cnt); cnt 216 fs/nfsd/nfsproc.c unsigned long cnt = argp->len; cnt 224 fs/nfsd/nfsproc.c &argp->first, cnt); cnt 229 fs/nfsd/nfsproc.c &cnt, NFS_DATA_SYNC); cnt 952 fs/nfsd/vfs.c unsigned long *cnt, int stable) cnt 963 fs/nfsd/vfs.c trace_nfsd_write_opened(rqstp, fhp, offset, *cnt); cnt 983 fs/nfsd/vfs.c iov_iter_kvec(&iter, WRITE, vec, vlen, *cnt); cnt 987 fs/nfsd/vfs.c *cnt = host_err; cnt 988 fs/nfsd/vfs.c nfsdstats.io_write += *cnt; cnt 1000 fs/nfsd/vfs.c trace_nfsd_write_io_done(rqstp, fhp, offset, *cnt); cnt 1049 fs/nfsd/vfs.c struct kvec *vec, int vlen, unsigned long *cnt, int stable) cnt 1054 fs/nfsd/vfs.c trace_nfsd_write_start(rqstp, fhp, offset, *cnt); cnt 1061 fs/nfsd/vfs.c vlen, cnt, stable); cnt 1064 fs/nfsd/vfs.c trace_nfsd_write_done(rqstp, fhp, offset, *cnt); cnt 97 fs/nfsd/vfs.h struct kvec *vec, int vlen, unsigned long *cnt, cnt 701 fs/nilfs2/btree.c int ret, cnt, index, maxlevel, ncmax; cnt 719 fs/nilfs2/btree.c cnt = 1; cnt 720 fs/nilfs2/btree.c if (cnt == maxblocks) cnt 729 fs/nilfs2/btree.c key + cnt) cnt 738 fs/nilfs2/btree.c if (ptr2 != ptr + cnt || ++cnt == maxblocks) cnt 751 fs/nilfs2/btree.c nilfs_btree_node_get_key(p.node, p.index) != key + cnt) cnt 770 fs/nilfs2/btree.c ret = cnt; cnt 57 fs/nilfs2/direct.c int ret, cnt; cnt 75 fs/nilfs2/direct.c for (cnt = 1; cnt < maxblocks && cnt 76 fs/nilfs2/direct.c (ptr2 = nilfs_direct_get_ptr(direct, key + cnt)) != cnt 78 fs/nilfs2/direct.c cnt++) { cnt 85 fs/nilfs2/direct.c if (ptr2 != ptr + cnt) cnt 89 fs/nilfs2/direct.c return cnt; cnt 311 fs/nilfs2/sufile.c unsigned long nsegments, nsus, cnt; cnt 330 fs/nilfs2/sufile.c for (cnt = 0; cnt < nsegments; cnt += nsus) { cnt 332 fs/nilfs2/sufile.c if (cnt < sui->allocmax - sui->allocmin + 1) { cnt 351 fs/nilfs2/sufile.c trace_nilfs2_segment_usage_check(sufile, segnum, cnt); cnt 2479 fs/ntfs/attrib.c int ntfs_attr_set(ntfs_inode *ni, const s64 ofs, const s64 cnt, const u8 val) cnt 2489 fs/ntfs/attrib.c (long long)ofs, (long long)cnt, val); cnt 2491 fs/ntfs/attrib.c BUG_ON(cnt < 0); cnt 2492 fs/ntfs/attrib.c if (!cnt) cnt 2505 fs/ntfs/attrib.c end = ofs + cnt; cnt 97 fs/ntfs/attrib.h extern int ntfs_attr_set(ntfs_inode *ni, const s64 ofs, const s64 cnt, cnt 36 fs/ntfs/bitmap.c s64 cnt = count; cnt 47 fs/ntfs/bitmap.c (unsigned long long)cnt, (unsigned int)value, cnt 50 fs/ntfs/bitmap.c BUG_ON(cnt < 0); cnt 57 fs/ntfs/bitmap.c end_index = (start_bit + cnt - 1) >> (3 + PAGE_SHIFT); cnt 79 fs/ntfs/bitmap.c while ((bit & 7) && cnt) { cnt 80 fs/ntfs/bitmap.c cnt--; cnt 87 fs/ntfs/bitmap.c if (!cnt) cnt 97 fs/ntfs/bitmap.c len = min_t(s64, cnt >> 3, PAGE_SIZE - pos); cnt 99 fs/ntfs/bitmap.c cnt -= len << 3; cnt 102 fs/ntfs/bitmap.c if (cnt < 8) cnt 107 fs/ntfs/bitmap.c BUG_ON(cnt <= 0); cnt 121 fs/ntfs/bitmap.c len = min_t(s64, cnt >> 3, PAGE_SIZE); cnt 123 fs/ntfs/bitmap.c cnt -= len << 3; cnt 130 fs/ntfs/bitmap.c if (cnt) { cnt 133 fs/ntfs/bitmap.c BUG_ON(cnt > 7); cnt 135 fs/ntfs/bitmap.c bit = cnt; cnt 159 fs/ntfs/bitmap.c if (count != cnt) cnt 160 fs/ntfs/bitmap.c pos = __ntfs_bitmap_set_bits_in_run(vi, start_bit, count - cnt, cnt 88 fs/ntfs/unistr.c u32 cnt, min_len; cnt 94 fs/ntfs/unistr.c for (cnt = 0; cnt < min_len; ++cnt) { cnt 7548 fs/ocfs2/alloc.c int ret, cnt; cnt 7626 fs/ocfs2/alloc.c cnt = ocfs2_trim_group(sb, gd, group, cnt 7630 fs/ocfs2/alloc.c if (cnt < 0) { cnt 7631 fs/ocfs2/alloc.c ret = cnt; cnt 7636 fs/ocfs2/alloc.c trimmed += cnt; cnt 881 fs/pipe.c static int wait_for_partner(struct pipe_inode_info *pipe, unsigned int *cnt) cnt 883 fs/pipe.c int cur = *cnt; cnt 885 fs/pipe.c while (cur == *cnt) { cnt 890 fs/pipe.c return cur == *cnt ? -ERESTARTSYS : 0; cnt 521 fs/pstore/ram.c unsigned int *cnt, u32 sig, u32 flags) cnt 530 fs/pstore/ram.c *cnt = 0; cnt 540 fs/pstore/ram.c if (*cnt == 0) cnt 542 fs/pstore/ram.c record_size = mem_sz / *cnt; cnt 545 fs/pstore/ram.c name, mem_sz, *cnt); cnt 549 fs/pstore/ram.c *cnt = mem_sz / record_size; cnt 550 fs/pstore/ram.c if (*cnt == 0) { cnt 565 fs/pstore/ram.c zone_sz = mem_sz / *cnt; cnt 571 fs/pstore/ram.c prz_ar = kcalloc(*cnt, sizeof(**przs), GFP_KERNEL); cnt 575 fs/pstore/ram.c for (i = 0; i < *cnt; i++) { cnt 578 fs/pstore/ram.c if (*cnt == 1) cnt 582 fs/pstore/ram.c name, i, *cnt - 1); cnt 608 fs/pstore/ram.c *cnt = 0; cnt 378 fs/quota/dquot.c int ret, err, cnt; cnt 381 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) { cnt 382 fs/quota/dquot.c if (dquot[cnt]) cnt 384 fs/quota/dquot.c ret = mark_dquot_dirty(dquot[cnt]); cnt 393 fs/quota/dquot.c unsigned int cnt; cnt 395 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) cnt 396 fs/quota/dquot.c dqput(dquot[cnt]); cnt 629 fs/quota/dquot.c int cnt; cnt 634 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) { cnt 635 fs/quota/dquot.c if (type != -1 && cnt != type) cnt 637 fs/quota/dquot.c if (!sb_has_quota_active(sb, cnt)) cnt 641 fs/quota/dquot.c list_replace_init(&dqopt->info[cnt].dqi_dirty_list, &dirty); cnt 670 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) cnt 671 fs/quota/dquot.c if ((cnt == type || type == -1) && sb_has_quota_active(sb, cnt) cnt 672 fs/quota/dquot.c && info_dirty(&dqopt->info[cnt])) cnt 673 fs/quota/dquot.c sb->dq_op->write_info(sb, cnt); cnt 684 fs/quota/dquot.c int cnt; cnt 704 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) { cnt 705 fs/quota/dquot.c if (type != -1 && cnt != type) cnt 707 fs/quota/dquot.c if (!sb_has_quota_active(sb, cnt)) cnt 709 fs/quota/dquot.c inode_lock(dqopt->files[cnt]); cnt 710 fs/quota/dquot.c truncate_inode_pages(&dqopt->files[cnt]->i_data, 0); cnt 711 fs/quota/dquot.c inode_unlock(dqopt->files[cnt]); cnt 933 fs/quota/dquot.c int cnt; cnt 941 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) cnt 942 fs/quota/dquot.c if (!dquots[cnt]) cnt 1433 fs/quota/dquot.c int cnt, init_needed = 0; cnt 1445 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) { cnt 1451 fs/quota/dquot.c if (type != -1 && cnt != type) cnt 1458 fs/quota/dquot.c if (dquots[cnt]) cnt 1461 fs/quota/dquot.c if (!sb_has_quota_active(sb, cnt)) cnt 1466 fs/quota/dquot.c switch (cnt) { cnt 1489 fs/quota/dquot.c got[cnt] = dquot; cnt 1499 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) { cnt 1500 fs/quota/dquot.c if (type != -1 && cnt != type) cnt 1503 fs/quota/dquot.c if (!sb_has_quota_active(sb, cnt)) cnt 1506 fs/quota/dquot.c if (!got[cnt]) cnt 1508 fs/quota/dquot.c if (!dquots[cnt]) { cnt 1509 fs/quota/dquot.c dquots[cnt] = got[cnt]; cnt 1510 fs/quota/dquot.c got[cnt] = NULL; cnt 1520 fs/quota/dquot.c spin_lock(&dquots[cnt]->dq_dqb_lock); cnt 1521 fs/quota/dquot.c dquots[cnt]->dq_dqb.dqb_rsvspace += rsv; cnt 1522 fs/quota/dquot.c spin_unlock(&dquots[cnt]->dq_dqb_lock); cnt 1568 fs/quota/dquot.c int cnt; cnt 1573 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) { cnt 1574 fs/quota/dquot.c put[cnt] = dquots[cnt]; cnt 1575 fs/quota/dquot.c dquots[cnt] = NULL; cnt 1584 fs/quota/dquot.c int cnt; cnt 1597 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) { cnt 1598 fs/quota/dquot.c if (dquots[cnt]) cnt 1602 fs/quota/dquot.c if (cnt < MAXQUOTAS) cnt 1653 fs/quota/dquot.c int cnt, ret = 0, index; cnt 1669 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) cnt 1670 fs/quota/dquot.c warn[cnt].w_type = QUOTA_NL_NOWARN; cnt 1675 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) { cnt 1676 fs/quota/dquot.c if (!dquots[cnt]) cnt 1679 fs/quota/dquot.c ret = dquot_add_space(dquots[cnt], 0, number, flags, cnt 1680 fs/quota/dquot.c &warn[cnt]); cnt 1682 fs/quota/dquot.c ret = dquot_add_space(dquots[cnt], number, 0, flags, cnt 1683 fs/quota/dquot.c &warn[cnt]); cnt 1687 fs/quota/dquot.c for (cnt--; cnt >= 0; cnt--) { cnt 1688 fs/quota/dquot.c if (!dquots[cnt]) cnt 1690 fs/quota/dquot.c spin_lock(&dquots[cnt]->dq_dqb_lock); cnt 1692 fs/quota/dquot.c dquot_free_reserved_space(dquots[cnt], cnt 1695 fs/quota/dquot.c dquot_decr_space(dquots[cnt], number); cnt 1696 fs/quota/dquot.c spin_unlock(&dquots[cnt]->dq_dqb_lock); cnt 1724 fs/quota/dquot.c int cnt, ret = 0, index; cnt 1730 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) cnt 1731 fs/quota/dquot.c warn[cnt].w_type = QUOTA_NL_NOWARN; cnt 1736 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) { cnt 1737 fs/quota/dquot.c if (!dquots[cnt]) cnt 1739 fs/quota/dquot.c ret = dquot_add_inodes(dquots[cnt], 1, &warn[cnt]); cnt 1741 fs/quota/dquot.c for (cnt--; cnt >= 0; cnt--) { cnt 1742 fs/quota/dquot.c if (!dquots[cnt]) cnt 1745 fs/quota/dquot.c spin_lock(&dquots[cnt]->dq_dqb_lock); cnt 1746 fs/quota/dquot.c dquot_decr_inodes(dquots[cnt], 1); cnt 1747 fs/quota/dquot.c spin_unlock(&dquots[cnt]->dq_dqb_lock); cnt 1769 fs/quota/dquot.c int cnt, index; cnt 1783 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) { cnt 1784 fs/quota/dquot.c if (dquots[cnt]) { cnt 1785 fs/quota/dquot.c struct dquot *dquot = dquots[cnt]; cnt 1811 fs/quota/dquot.c int cnt, index; cnt 1825 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) { cnt 1826 fs/quota/dquot.c if (dquots[cnt]) { cnt 1827 fs/quota/dquot.c struct dquot *dquot = dquots[cnt]; cnt 1852 fs/quota/dquot.c unsigned int cnt; cnt 1871 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) { cnt 1874 fs/quota/dquot.c warn[cnt].w_type = QUOTA_NL_NOWARN; cnt 1875 fs/quota/dquot.c if (!dquots[cnt]) cnt 1877 fs/quota/dquot.c spin_lock(&dquots[cnt]->dq_dqb_lock); cnt 1878 fs/quota/dquot.c wtype = info_bdq_free(dquots[cnt], number); cnt 1880 fs/quota/dquot.c prepare_warning(&warn[cnt], dquots[cnt], wtype); cnt 1882 fs/quota/dquot.c dquot_free_reserved_space(dquots[cnt], number); cnt 1884 fs/quota/dquot.c dquot_decr_space(dquots[cnt], number); cnt 1885 fs/quota/dquot.c spin_unlock(&dquots[cnt]->dq_dqb_lock); cnt 1907 fs/quota/dquot.c unsigned int cnt; cnt 1918 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) { cnt 1921 fs/quota/dquot.c warn[cnt].w_type = QUOTA_NL_NOWARN; cnt 1922 fs/quota/dquot.c if (!dquots[cnt]) cnt 1924 fs/quota/dquot.c spin_lock(&dquots[cnt]->dq_dqb_lock); cnt 1925 fs/quota/dquot.c wtype = info_idq_free(dquots[cnt], 1); cnt 1927 fs/quota/dquot.c prepare_warning(&warn[cnt], dquots[cnt], wtype); cnt 1928 fs/quota/dquot.c dquot_decr_inodes(dquots[cnt], 1); cnt 1929 fs/quota/dquot.c spin_unlock(&dquots[cnt]->dq_dqb_lock); cnt 1956 fs/quota/dquot.c int cnt, ret = 0; cnt 1972 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) { cnt 1973 fs/quota/dquot.c warn_to[cnt].w_type = QUOTA_NL_NOWARN; cnt 1974 fs/quota/dquot.c warn_from_inodes[cnt].w_type = QUOTA_NL_NOWARN; cnt 1975 fs/quota/dquot.c warn_from_space[cnt].w_type = QUOTA_NL_NOWARN; cnt 1991 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) { cnt 1995 fs/quota/dquot.c if (!transfer_to[cnt]) cnt 1998 fs/quota/dquot.c if (!sb_has_quota_active(inode->i_sb, cnt)) cnt 2000 fs/quota/dquot.c is_valid[cnt] = 1; cnt 2001 fs/quota/dquot.c transfer_from[cnt] = i_dquot(inode)[cnt]; cnt 2002 fs/quota/dquot.c ret = dquot_add_inodes(transfer_to[cnt], inode_usage, cnt 2003 fs/quota/dquot.c &warn_to[cnt]); cnt 2006 fs/quota/dquot.c ret = dquot_add_space(transfer_to[cnt], cur_space, rsv_space, cnt 2007 fs/quota/dquot.c DQUOT_SPACE_WARN, &warn_to[cnt]); cnt 2009 fs/quota/dquot.c spin_lock(&transfer_to[cnt]->dq_dqb_lock); cnt 2010 fs/quota/dquot.c dquot_decr_inodes(transfer_to[cnt], inode_usage); cnt 2011 fs/quota/dquot.c spin_unlock(&transfer_to[cnt]->dq_dqb_lock); cnt 2017 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) { cnt 2018 fs/quota/dquot.c if (!is_valid[cnt]) cnt 2021 fs/quota/dquot.c if (transfer_from[cnt]) { cnt 2024 fs/quota/dquot.c spin_lock(&transfer_from[cnt]->dq_dqb_lock); cnt 2025 fs/quota/dquot.c wtype = info_idq_free(transfer_from[cnt], inode_usage); cnt 2027 fs/quota/dquot.c prepare_warning(&warn_from_inodes[cnt], cnt 2028 fs/quota/dquot.c transfer_from[cnt], wtype); cnt 2029 fs/quota/dquot.c wtype = info_bdq_free(transfer_from[cnt], cnt 2032 fs/quota/dquot.c prepare_warning(&warn_from_space[cnt], cnt 2033 fs/quota/dquot.c transfer_from[cnt], wtype); cnt 2034 fs/quota/dquot.c dquot_decr_inodes(transfer_from[cnt], inode_usage); cnt 2035 fs/quota/dquot.c dquot_decr_space(transfer_from[cnt], cur_space); cnt 2036 fs/quota/dquot.c dquot_free_reserved_space(transfer_from[cnt], cnt 2038 fs/quota/dquot.c spin_unlock(&transfer_from[cnt]->dq_dqb_lock); cnt 2040 fs/quota/dquot.c i_dquot(inode)[cnt] = transfer_to[cnt]; cnt 2051 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) cnt 2052 fs/quota/dquot.c if (is_valid[cnt]) cnt 2053 fs/quota/dquot.c transfer_to[cnt] = transfer_from[cnt]; cnt 2057 fs/quota/dquot.c for (cnt--; cnt >= 0; cnt--) { cnt 2058 fs/quota/dquot.c if (!is_valid[cnt]) cnt 2060 fs/quota/dquot.c spin_lock(&transfer_to[cnt]->dq_dqb_lock); cnt 2061 fs/quota/dquot.c dquot_decr_inodes(transfer_to[cnt], inode_usage); cnt 2062 fs/quota/dquot.c dquot_decr_space(transfer_to[cnt], cur_space); cnt 2063 fs/quota/dquot.c dquot_free_reserved_space(transfer_to[cnt], rsv_space); cnt 2064 fs/quota/dquot.c spin_unlock(&transfer_to[cnt]->dq_dqb_lock); cnt 2172 fs/quota/dquot.c int cnt, ret = 0; cnt 2195 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) { cnt 2196 fs/quota/dquot.c toputinode[cnt] = NULL; cnt 2197 fs/quota/dquot.c if (type != -1 && cnt != type) cnt 2199 fs/quota/dquot.c if (!sb_has_quota_loaded(sb, cnt)) cnt 2205 fs/quota/dquot.c dquot_state_flag(DQUOT_SUSPENDED, cnt); cnt 2209 fs/quota/dquot.c dqopt->flags &= ~dquot_state_flag(flags, cnt); cnt 2211 fs/quota/dquot.c if (!sb_has_quota_loaded(sb, cnt) && cnt 2212 fs/quota/dquot.c sb_has_quota_suspended(sb, cnt)) { cnt 2214 fs/quota/dquot.c DQUOT_SUSPENDED, cnt); cnt 2216 fs/quota/dquot.c iput(dqopt->files[cnt]); cnt 2217 fs/quota/dquot.c dqopt->files[cnt] = NULL; cnt 2224 fs/quota/dquot.c if (sb_has_quota_loaded(sb, cnt) && !(flags & DQUOT_SUSPENDED)) cnt 2228 fs/quota/dquot.c drop_dquot_ref(sb, cnt); cnt 2229 fs/quota/dquot.c invalidate_dquots(sb, cnt); cnt 2234 fs/quota/dquot.c if (info_dirty(&dqopt->info[cnt])) cnt 2235 fs/quota/dquot.c sb->dq_op->write_info(sb, cnt); cnt 2236 fs/quota/dquot.c if (dqopt->ops[cnt]->free_file_info) cnt 2237 fs/quota/dquot.c dqopt->ops[cnt]->free_file_info(sb, cnt); cnt 2238 fs/quota/dquot.c put_quota_format(dqopt->info[cnt].dqi_format); cnt 2240 fs/quota/dquot.c toputinode[cnt] = dqopt->files[cnt]; cnt 2241 fs/quota/dquot.c if (!sb_has_quota_loaded(sb, cnt)) cnt 2242 fs/quota/dquot.c dqopt->files[cnt] = NULL; cnt 2243 fs/quota/dquot.c dqopt->info[cnt].dqi_flags = 0; cnt 2244 fs/quota/dquot.c dqopt->info[cnt].dqi_igrace = 0; cnt 2245 fs/quota/dquot.c dqopt->info[cnt].dqi_bgrace = 0; cnt 2246 fs/quota/dquot.c dqopt->ops[cnt] = NULL; cnt 2263 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) cnt 2265 fs/quota/dquot.c if (toputinode[cnt] && !sb_has_quota_loaded(sb, cnt)) { cnt 2266 fs/quota/dquot.c inode_lock(toputinode[cnt]); cnt 2267 fs/quota/dquot.c toputinode[cnt]->i_flags &= ~S_NOQUOTA; cnt 2268 fs/quota/dquot.c truncate_inode_pages(&toputinode[cnt]->i_data, 0); cnt 2269 fs/quota/dquot.c inode_unlock(toputinode[cnt]); cnt 2270 fs/quota/dquot.c mark_inode_dirty_sync(toputinode[cnt]); cnt 2275 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) cnt 2276 fs/quota/dquot.c if (toputinode[cnt]) { cnt 2285 fs/quota/dquot.c iput(toputinode[cnt]); cnt 2286 fs/quota/dquot.c else if (!toputinode[cnt]->i_nlink) cnt 2418 fs/quota/dquot.c int ret = 0, cnt; cnt 2425 fs/quota/dquot.c for (cnt = 0; cnt < MAXQUOTAS; cnt++) { cnt 2426 fs/quota/dquot.c if (type != -1 && cnt != type) cnt 2428 fs/quota/dquot.c if (!sb_has_quota_suspended(sb, cnt)) cnt 2431 fs/quota/dquot.c inode = dqopt->files[cnt]; cnt 2432 fs/quota/dquot.c dqopt->files[cnt] = NULL; cnt 2436 fs/quota/dquot.c cnt); cnt 2437 fs/quota/dquot.c dqopt->flags &= ~dquot_state_flag(DQUOT_STATE_FLAGS, cnt); cnt 2440 fs/quota/dquot.c flags = dquot_generic_flag(flags, cnt); cnt 2441 fs/quota/dquot.c ret = vfs_load_quota_inode(inode, cnt, cnt 2442 fs/quota/dquot.c dqopt->info[cnt].dqi_fmt_id, flags); cnt 892 fs/ubifs/debug.c current->pid, cat, heap->cnt); cnt 893 fs/ubifs/debug.c for (i = 0; i < heap->cnt; i++) { cnt 632 fs/ubifs/file.c if (nn >= bu->cnt) { cnt 750 fs/ubifs/file.c if (bu->cnt) { cnt 756 fs/ubifs/file.c bu->buf_len = bu->zbranch[bu->cnt - 1].offs + cnt 757 fs/ubifs/file.c bu->zbranch[bu->cnt - 1].len - cnt 52 fs/ubifs/find.c if (heap->cnt < heap->max_cnt) cnt 135 fs/ubifs/find.c for (i = 0; i < heap->cnt; i++) { cnt 275 fs/ubifs/find.c if (idx_heap->cnt && !exclude_index) { cnt 292 fs/ubifs/find.c if (heap->cnt) { cnt 421 fs/ubifs/find.c for (i = 0; i < heap->cnt; i++) { cnt 752 fs/ubifs/find.c c->dirty_idx.cnt = c->lpt_heap[LPROPS_DIRTY_IDX - 1].cnt; cnt 754 fs/ubifs/find.c sizeof(void *) * c->dirty_idx.cnt); cnt 756 fs/ubifs/find.c sort(c->dirty_idx.arr, c->dirty_idx.cnt, sizeof(void *), cnt 758 fs/ubifs/find.c dbg_find("found %d dirty index LEBs", c->dirty_idx.cnt); cnt 759 fs/ubifs/find.c if (c->dirty_idx.cnt) cnt 761 fs/ubifs/find.c c->dirty_idx.arr[c->dirty_idx.cnt - 1]->lnum, cnt 762 fs/ubifs/find.c c->dirty_idx.arr[c->dirty_idx.cnt - 1]->dirty, cnt 763 fs/ubifs/find.c c->dirty_idx.arr[c->dirty_idx.cnt - 1]->free); cnt 765 fs/ubifs/find.c for (i = 0; i < c->dirty_idx.cnt; i++) cnt 826 fs/ubifs/find.c for (i = 0; i < heap->cnt; i++) { cnt 911 fs/ubifs/find.c if (!c->dirty_idx.cnt) cnt 914 fs/ubifs/find.c lnum = (size_t)c->dirty_idx.arr[--c->dirty_idx.cnt]; cnt 121 fs/ubifs/lprops.c if (cpos >= heap->cnt) cnt 126 fs/ubifs/lprops.c if (cpos + 1 < heap->cnt) { cnt 141 fs/ubifs/lprops.c if (cpos >= heap->cnt) cnt 171 fs/ubifs/lprops.c if (heap->cnt >= heap->max_cnt) { cnt 180 fs/ubifs/lprops.c ubifs_assert(c, cpos < heap->cnt); cnt 200 fs/ubifs/lprops.c lprops->hpos = heap->cnt++; cnt 221 fs/ubifs/lprops.c ubifs_assert(c, hpos >= 0 && hpos < heap->cnt); cnt 223 fs/ubifs/lprops.c heap->cnt -= 1; cnt 224 fs/ubifs/lprops.c if (hpos < heap->cnt) { cnt 225 fs/ubifs/lprops.c heap->arr[hpos] = heap->arr[heap->cnt]; cnt 762 fs/ubifs/lprops.c if (heap->cnt == 0) cnt 930 fs/ubifs/lprops.c for (i = 0; i < heap->cnt; i++) { cnt 958 fs/ubifs/lprops.c for (i = 0; i < heap->cnt; i++) { cnt 602 fs/ubifs/lpt.c int lnum, err = 0, node_sz, iopos, i, j, cnt, len, alen, row; cnt 652 fs/ubifs/lpt.c cnt = c->pnode_cnt; cnt 696 fs/ubifs/lpt.c bcnt = cnt; /* Number of nodes in level below */ cnt 700 fs/ubifs/lpt.c for (i = 1; i < cnt; i++) { cnt 727 fs/ubifs/lpt.c for (i = UBIFS_LPT_FANOUT; cnt > i; i <<= UBIFS_LPT_FANOUT_SHIFT) cnt 732 fs/ubifs/lpt.c cnt = DIV_ROUND_UP(cnt, UBIFS_LPT_FANOUT); cnt 733 fs/ubifs/lpt.c for (i = 0; i < cnt; i++) { cnt 746 fs/ubifs/lpt.c if (cnt == 1) { cnt 772 fs/ubifs/lpt.c if (cnt == 1) cnt 775 fs/ubifs/lpt.c bcnt = cnt; cnt 1796 fs/ubifs/lpt.c c->lpt_heap[i].cnt = 0; cnt 1804 fs/ubifs/lpt.c c->dirty_idx.cnt = 0; cnt 2328 fs/ubifs/lpt.c if (lprops->hpos < heap->cnt && cnt 91 fs/ubifs/lpt_commit.c int cnt = 0; cnt 103 fs/ubifs/lpt_commit.c cnt += 1; cnt 114 fs/ubifs/lpt_commit.c cnt += 1; cnt 116 fs/ubifs/lpt_commit.c dbg_cmt("committing %d cnodes", cnt); cnt 117 fs/ubifs/lpt_commit.c dbg_lp("committing %d cnodes", cnt); cnt 118 fs/ubifs/lpt_commit.c ubifs_assert(c, cnt == c->dirty_nn_cnt + c->dirty_pn_cnt); cnt 119 fs/ubifs/lpt_commit.c return cnt; cnt 765 fs/ubifs/lpt_commit.c int i, cnt = 0; cnt 777 fs/ubifs/lpt_commit.c c->lsave[cnt++] = lprops->lnum; cnt 778 fs/ubifs/lpt_commit.c if (cnt >= c->lsave_cnt) cnt 782 fs/ubifs/lpt_commit.c c->lsave[cnt++] = lprops->lnum; cnt 783 fs/ubifs/lpt_commit.c if (cnt >= c->lsave_cnt) cnt 787 fs/ubifs/lpt_commit.c c->lsave[cnt++] = lprops->lnum; cnt 788 fs/ubifs/lpt_commit.c if (cnt >= c->lsave_cnt) cnt 792 fs/ubifs/lpt_commit.c for (i = 0; i < heap->cnt; i++) { cnt 793 fs/ubifs/lpt_commit.c c->lsave[cnt++] = heap->arr[i]->lnum; cnt 794 fs/ubifs/lpt_commit.c if (cnt >= c->lsave_cnt) cnt 798 fs/ubifs/lpt_commit.c for (i = 0; i < heap->cnt; i++) { cnt 799 fs/ubifs/lpt_commit.c c->lsave[cnt++] = heap->arr[i]->lnum; cnt 800 fs/ubifs/lpt_commit.c if (cnt >= c->lsave_cnt) cnt 804 fs/ubifs/lpt_commit.c for (i = 0; i < heap->cnt; i++) { cnt 805 fs/ubifs/lpt_commit.c c->lsave[cnt++] = heap->arr[i]->lnum; cnt 806 fs/ubifs/lpt_commit.c if (cnt >= c->lsave_cnt) cnt 810 fs/ubifs/lpt_commit.c while (cnt < c->lsave_cnt) cnt 811 fs/ubifs/lpt_commit.c c->lsave[cnt++] = c->main_first; cnt 1183 fs/ubifs/lpt_commit.c int err, cnt; cnt 1231 fs/ubifs/lpt_commit.c cnt = get_cnodes_to_commit(c); cnt 1232 fs/ubifs/lpt_commit.c ubifs_assert(c, cnt != 0); cnt 1513 fs/ubifs/lpt_commit.c int i, cnt; cnt 1515 fs/ubifs/lpt_commit.c cnt = DIV_ROUND_UP(c->main_lebs, UBIFS_LPT_FANOUT); cnt 1516 fs/ubifs/lpt_commit.c for (i = 0; i < cnt; i++) { cnt 1663 fs/ubifs/lpt_commit.c int lnum, err, i, cnt; cnt 1669 fs/ubifs/lpt_commit.c cnt = DIV_ROUND_UP(c->main_lebs, UBIFS_LPT_FANOUT); cnt 1670 fs/ubifs/lpt_commit.c for (i = 0; i < cnt; i++) { cnt 1987 fs/ubifs/lpt_commit.c for (i = 0; i < heap->cnt; i++) cnt 1990 fs/ubifs/lpt_commit.c for (i = 0; i < heap->cnt; i++) cnt 1993 fs/ubifs/lpt_commit.c for (i = 0; i < heap->cnt; i++) cnt 340 fs/ubifs/orphan.c int gap, err, len, cnt, i; cnt 357 fs/ubifs/orphan.c cnt = (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); cnt 358 fs/ubifs/orphan.c if (cnt > c->cmt_orphans) cnt 359 fs/ubifs/orphan.c cnt = c->cmt_orphans; cnt 360 fs/ubifs/orphan.c len = UBIFS_ORPH_NODE_SZ + cnt * sizeof(__le64); cnt 366 fs/ubifs/orphan.c for (i = 0; i < cnt; i++) { cnt 375 fs/ubifs/orphan.c c->cmt_orphans -= cnt; cnt 441 fs/ubifs/orphan.c int cnt = 0; cnt 451 fs/ubifs/orphan.c cnt += 1; cnt 454 fs/ubifs/orphan.c ubifs_assert(c, cnt == c->tot_orphans - c->new_orphans); cnt 455 fs/ubifs/orphan.c c->cmt_orphans = cnt; cnt 1522 fs/ubifs/tnc.c bu->cnt = 0; cnt 1540 fs/ubifs/tnc.c bu->zbranch[bu->cnt++] = znode->zbranch[n]; cnt 1591 fs/ubifs/tnc.c bu->zbranch[bu->cnt++] = *zbr; cnt 1594 fs/ubifs/tnc.c if (bu->cnt >= UBIFS_MAX_BULK_READ) cnt 1629 fs/ubifs/tnc.c while (bu->cnt) { cnt 1630 fs/ubifs/tnc.c if (key_block(c, &bu->zbranch[bu->cnt - 1].key) < block) cnt 1632 fs/ubifs/tnc.c bu->cnt -= 1; cnt 1758 fs/ubifs/tnc.c len = bu->zbranch[bu->cnt - 1].offs; cnt 1759 fs/ubifs/tnc.c len += bu->zbranch[bu->cnt - 1].len - offs; cnt 1786 fs/ubifs/tnc.c for (i = 0; i < bu->cnt; i++) { cnt 334 fs/ubifs/tnc_commit.c static int get_leb_cnt(struct ubifs_info *c, int cnt) cnt 339 fs/ubifs/tnc_commit.c cnt -= (c->leb_size - c->ihead_offs) / c->max_idx_node_sz; cnt 340 fs/ubifs/tnc_commit.c if (cnt < 0) cnt 341 fs/ubifs/tnc_commit.c cnt = 0; cnt 343 fs/ubifs/tnc_commit.c return DIV_ROUND_UP(cnt, d); cnt 356 fs/ubifs/tnc_commit.c static int layout_in_gaps(struct ubifs_info *c, int cnt) cnt 360 fs/ubifs/tnc_commit.c dbg_gc("%d znodes to write", cnt); cnt 391 fs/ubifs/tnc_commit.c cnt -= written; cnt 392 fs/ubifs/tnc_commit.c leb_needed_cnt = get_leb_cnt(c, cnt); cnt 393 fs/ubifs/tnc_commit.c dbg_gc("%d znodes remaining, need %d LEBs, have %d", cnt, cnt 568 fs/ubifs/tnc_commit.c static int layout_commit(struct ubifs_info *c, int no_space, int cnt) cnt 573 fs/ubifs/tnc_commit.c err = layout_in_gaps(c, cnt); cnt 645 fs/ubifs/tnc_commit.c int cnt = 0; cnt 653 fs/ubifs/tnc_commit.c cnt += 1; cnt 667 fs/ubifs/tnc_commit.c cnt += 1; cnt 669 fs/ubifs/tnc_commit.c dbg_cmt("committing %d znodes", cnt); cnt 670 fs/ubifs/tnc_commit.c ubifs_assert(c, cnt == atomic_long_read(&c->dirty_zn_cnt)); cnt 671 fs/ubifs/tnc_commit.c return cnt; cnt 683 fs/ubifs/tnc_commit.c static int alloc_idx_lebs(struct ubifs_info *c, int cnt) cnt 689 fs/ubifs/tnc_commit.c leb_cnt = get_leb_cnt(c, cnt); cnt 760 fs/ubifs/tnc_commit.c int err = 0, cnt; cnt 766 fs/ubifs/tnc_commit.c cnt = get_znodes_to_commit(c); cnt 767 fs/ubifs/tnc_commit.c if (cnt != 0) { cnt 770 fs/ubifs/tnc_commit.c err = alloc_idx_lebs(c, cnt); cnt 775 fs/ubifs/tnc_commit.c err = layout_commit(c, no_space, cnt); cnt 626 fs/ubifs/ubifs.h int cnt; cnt 809 fs/ubifs/ubifs.h int cnt; cnt 92 fs/udf/balloc.c static void udf_add_free_space(struct super_block *sb, u16 partition, u32 cnt) cnt 101 fs/udf/balloc.c le32_add_cpu(&lvid->freeSpaceTable[partition], cnt); cnt 872 fs/ufs/balloc.c struct ufs_cg_private_info * ucpi, unsigned blkno, int cnt) cnt 881 fs/ufs/balloc.c if (cnt > 0) cnt 917 fs/ufs/balloc.c fs32_add(sb, (__fs32*)ubh_get_addr(UCPI_UBH(ucpi), ucpi->c_clustersumoff + (i << 2)), cnt); cnt 919 fs/ufs/balloc.c fs32_sub(sb, (__fs32*)ubh_get_addr(UCPI_UBH(ucpi), ucpi->c_clustersumoff + (back << 2)), cnt); cnt 921 fs/ufs/balloc.c fs32_sub(sb, (__fs32*)ubh_get_addr(UCPI_UBH(ucpi), ucpi->c_clustersumoff + (forw << 2)), cnt); cnt 530 fs/ufs/util.h __fs32 * fraglist, int cnt) cnt 543 fs/ufs/util.h fs32_add(sb, &fraglist[fragsize], cnt); cnt 548 fs/ufs/util.h fs32_add(sb, &fraglist[fragsize], cnt); cnt 665 fs/xfs/libxfs/xfs_bmap.c xfs_extnum_t cnt = 0; cnt 748 fs/xfs/libxfs/xfs_bmap.c arp = XFS_BMBT_REC_ADDR(mp, ablock, 1 + cnt); cnt 750 fs/xfs/libxfs/xfs_bmap.c cnt++; cnt 752 fs/xfs/libxfs/xfs_bmap.c ASSERT(cnt == XFS_IFORK_NEXTENTS(ip, whichfork)); cnt 753 fs/xfs/libxfs/xfs_bmap.c xfs_btree_set_numrecs(ablock, cnt); cnt 1683 fs/xfs/libxfs/xfs_format.h #define XFS_ACL_SIZE(cnt) \ cnt 1685 fs/xfs/libxfs/xfs_format.h sizeof(struct xfs_acl_entry) * cnt) cnt 291 fs/xfs/xfs_fsops.c xfs_fsop_counts_t *cnt) cnt 293 fs/xfs/xfs_fsops.c cnt->allocino = percpu_counter_read_positive(&mp->m_icount); cnt 294 fs/xfs/xfs_fsops.c cnt->freeino = percpu_counter_read_positive(&mp->m_ifree); cnt 295 fs/xfs/xfs_fsops.c cnt->freedata = percpu_counter_read_positive(&mp->m_fdblocks) - cnt 299 fs/xfs/xfs_fsops.c cnt->freertx = mp->m_sb.sb_frextents; cnt 11 fs/xfs/xfs_fsops.h extern void xfs_fs_counts(xfs_mount_t *mp, xfs_fsop_counts_t *cnt); cnt 440 fs/xfs/xfs_log.c int cnt, cnt 458 fs/xfs/xfs_log.c tic = xlog_ticket_alloc(log, unit_bytes, cnt, client, permanent, 0); cnt 3660 fs/xfs/xfs_log.c int cnt, cnt 3679 fs/xfs/xfs_log.c tic->t_cnt = cnt; cnt 3680 fs/xfs/xfs_log.c tic->t_ocnt = cnt; cnt 936 fs/xfs/xfs_trace.h __field(char, cnt) cnt 953 fs/xfs/xfs_trace.h __entry->cnt = tic->t_cnt; cnt 977 fs/xfs/xfs_trace.h __entry->cnt, cnt 71 include/acpi/acpi_bus.h #define ACPI_INIT_DSM_ARGV4(cnt, eles) \ cnt 74 include/acpi/acpi_bus.h .package.count = (cnt), \ cnt 158 include/drm/bridge/dw_hdmi.h void dw_hdmi_set_channel_count(struct dw_hdmi *hdmi, unsigned int cnt); cnt 72 include/linux/backing-dev-defs.h atomic_t cnt; cnt 77 include/linux/backing-dev-defs.h (struct wb_completion){ .cnt = ATOMIC_INIT(1), .waitq = (_waitq) } cnt 74 include/linux/blk-cgroup.h u64 cnt[BLKG_RWSTAT_NR]; cnt 617 include/linux/blk-cgroup.h struct percpu_counter *cnt; cnt 620 include/linux/blk-cgroup.h cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_DISCARD]; cnt 622 include/linux/blk-cgroup.h cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_WRITE]; cnt 624 include/linux/blk-cgroup.h cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_READ]; cnt 626 include/linux/blk-cgroup.h percpu_counter_add_batch(cnt, val, BLKG_STAT_CPU_BATCH); cnt 629 include/linux/blk-cgroup.h cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_SYNC]; cnt 631 include/linux/blk-cgroup.h cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_ASYNC]; cnt 633 include/linux/blk-cgroup.h percpu_counter_add_batch(cnt, val, BLKG_STAT_CPU_BATCH); cnt 648 include/linux/blk-cgroup.h result->cnt[i] = cnt 665 include/linux/blk-cgroup.h return tmp.cnt[BLKG_RWSTAT_READ] + tmp.cnt[BLKG_RWSTAT_WRITE]; cnt 8 include/linux/bottom_half.h extern void __local_bh_disable_ip(unsigned long ip, unsigned int cnt); cnt 10 include/linux/bottom_half.h static __always_inline void __local_bh_disable_ip(unsigned long ip, unsigned int cnt) cnt 12 include/linux/bottom_half.h preempt_count_add(cnt); cnt 23 include/linux/bottom_half.h extern void __local_bh_enable_ip(unsigned long ip, unsigned int cnt); cnt 335 include/linux/bpf.h int (*remove_insns)(struct bpf_verifier_env *env, u32 off, u32 cnt); cnt 363 include/linux/bpf.h u64 cnt; cnt 526 include/linux/bpf.h __u32 __user *prog_ids, u32 cnt); cnt 421 include/linux/bpf_verifier.h bpf_prog_offload_remove_insns(struct bpf_verifier_env *env, u32 off, u32 cnt); cnt 34 include/linux/dcache.h #define bytemask_from_count(cnt) (~(~0ul << (cnt)*8)) cnt 37 include/linux/dcache.h #define bytemask_from_count(cnt) (~(~0ul >> (cnt)*8)) cnt 99 include/linux/dmar.h #define for_each_dev_scope(devs, cnt, i, tmp) \ cnt 100 include/linux/dmar.h for ((i) = 0; ((tmp) = (i) < (cnt) ? \ cnt 101 include/linux/dmar.h dmar_rcu_dereference((devs)[(i)].dev) : NULL, (i) < (cnt)); \ cnt 104 include/linux/dmar.h #define for_each_active_dev_scope(devs, cnt, i, tmp) \ cnt 105 include/linux/dmar.h for_each_dev_scope((devs), (cnt), (i), (tmp)) \ cnt 111 include/linux/dmar.h extern int dmar_parse_dev_scope(void *start, void *end, int *cnt, cnt 113 include/linux/dmar.h extern void *dmar_alloc_dev_scope(void *start, void *end, int *cnt); cnt 114 include/linux/dmar.h extern void dmar_free_dev_scope(struct dmar_dev_scope **devices, int *cnt); cnt 43 include/linux/eventfd.h __u64 *cnt); cnt 75 include/linux/eventfd.h wait_queue_entry_t *wait, __u64 *cnt) cnt 565 include/linux/filter.h stats->cnt++; \ cnt 866 include/linux/filter.h int bpf_remove_insns(struct bpf_prog *prog, u32 off, u32 cnt); cnt 989 include/linux/fs.h #define get_file_rcu_many(x, cnt) \ cnt 990 include/linux/fs.h atomic_long_add_unless(&(x)->f_count, (cnt), 0) cnt 443 include/linux/ftrace.h size_t cnt, loff_t *ppos); cnt 445 include/linux/ftrace.h size_t cnt, loff_t *ppos); cnt 619 include/linux/ftrace.h size_t cnt, loff_t *ppos) { return -ENODEV; } cnt 621 include/linux/ftrace.h size_t cnt, loff_t *ppos) { return -ENODEV; } cnt 868 include/linux/irq.h int __irq_alloc_descs(int irq, unsigned int from, unsigned int cnt, int node, cnt 873 include/linux/irq.h unsigned int cnt, int node, struct module *owner, cnt 877 include/linux/irq.h #define irq_alloc_descs(irq, from, cnt, node) \ cnt 878 include/linux/irq.h __irq_alloc_descs(irq, from, cnt, node, THIS_MODULE, NULL) cnt 889 include/linux/irq.h #define irq_alloc_descs_from(from, cnt, node) \ cnt 890 include/linux/irq.h irq_alloc_descs(-1, from, cnt, node) cnt 892 include/linux/irq.h #define devm_irq_alloc_descs(dev, irq, from, cnt, node) \ cnt 893 include/linux/irq.h __devm_irq_alloc_descs(dev, irq, from, cnt, node, THIS_MODULE, NULL) cnt 904 include/linux/irq.h #define devm_irq_alloc_descs_from(dev, from, cnt, node) \ cnt 905 include/linux/irq.h devm_irq_alloc_descs(dev, -1, from, cnt, node) cnt 907 include/linux/irq.h void irq_free_descs(unsigned int irq, unsigned int cnt); cnt 914 include/linux/irq.h unsigned int irq_alloc_hwirqs(int cnt, int node); cnt 919 include/linux/irq.h void irq_free_hwirqs(unsigned int from, int cnt); cnt 67 include/linux/memblock.h unsigned long cnt; cnt 526 include/linux/memblock.h region < (memblock.memblock_type.regions + memblock.memblock_type.cnt); \ cnt 531 include/linux/memblock.h i < memblock_type->cnt; \ cnt 1143 include/linux/mlx4/device.h int mlx4_qp_reserve_range(struct mlx4_dev *dev, int cnt, int align, cnt 1145 include/linux/mlx4/device.h void mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt); cnt 104 include/linux/mmc/sh_mmcif.h int cnt; cnt 106 include/linux/mmc/sh_mmcif.h for (cnt = 0; cnt < 1000000; cnt++) { cnt 186 include/linux/mutex.h extern int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock); cnt 429 include/linux/netfilter/x_tables.h void xt_percpu_counter_free(struct xt_counters *cnt); cnt 432 include/linux/netfilter/x_tables.h xt_get_this_cpu_counter(struct xt_counters *cnt) cnt 435 include/linux/netfilter/x_tables.h return this_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt); cnt 437 include/linux/netfilter/x_tables.h return cnt; cnt 441 include/linux/netfilter/x_tables.h xt_get_per_cpu_counter(struct xt_counters *cnt, unsigned int cpu) cnt 444 include/linux/netfilter/x_tables.h return per_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt, cpu); cnt 446 include/linux/netfilter/x_tables.h return cnt; cnt 342 include/linux/parport.h const struct pardev_cb *par_dev_cb, int cnt); cnt 64 include/linux/posix-clock.h uint flags, char __user *buf, size_t cnt); cnt 896 include/linux/qed/qed_if.h u16 cnt); cnt 1356 include/linux/qed/qed_if.h int cnt; cnt 611 include/linux/qed/qed_rdma_if.h int (*rdma_set_rdma_int)(struct qed_dev *cdev, u16 cnt); cnt 121 include/linux/seq_buf.h int cnt); cnt 165 include/linux/string.h const void *src, size_t cnt) cnt 167 include/linux/string.h memcpy(dst, src, cnt); cnt 172 include/linux/string.h static inline void memcpy_flushcache(void *dst, const void *src, size_t cnt) cnt 174 include/linux/string.h memcpy(dst, src, cnt); cnt 84 include/linux/trace_seq.h int cnt); cnt 115 include/linux/trace_seq.h int cnt) cnt 89 include/linux/usb/pd.h #define PD_HEADER(type, pwr, data, rev, id, cnt, ext_hdr) \ cnt 95 include/linux/usb/pd.h (((cnt) & PD_HEADER_CNT_MASK) << PD_HEADER_CNT_SHIFT) | \ cnt 98 include/linux/usb/pd.h #define PD_HEADER_LE(type, pwr, data, rev, id, cnt) \ cnt 99 include/linux/usb/pd.h cpu_to_le16(PD_HEADER((type), (pwr), (data), (rev), (id), (cnt), (0))) cnt 62 include/linux/usb/typec_altmode.h const u32 *vdo, int cnt); cnt 364 include/net/ip_vs.h struct ip_vs_counters cnt; cnt 673 include/net/netfilter/nf_tables.h unsigned int cnt; cnt 706 include/net/netfilter/nf_tables.h if (gcb->head.cnt + 1 < ARRAY_SIZE(gcb->elems)) cnt 716 include/net/netfilter/nf_tables.h gcb->elems[gcb->head.cnt++] = elem; cnt 116 include/net/xdp_sock.h bool xsk_umem_has_addrs(struct xdp_umem *umem, u32 cnt); cnt 171 include/net/xdp_sock.h static inline bool xsk_umem_has_addrs_rq(struct xdp_umem *umem, u32 cnt) cnt 175 include/net/xdp_sock.h if (rq->length >= cnt) cnt 178 include/net/xdp_sock.h return xsk_umem_has_addrs(umem, cnt - rq->length); cnt 241 include/net/xdp_sock.h static inline bool xsk_umem_has_addrs(struct xdp_umem *umem, u32 cnt) cnt 315 include/net/xdp_sock.h static inline bool xsk_umem_has_addrs_rq(struct xdp_umem *umem, u32 cnt) cnt 377 include/scsi/libfc.h u16 cnt; cnt 102 include/trace/events/nilfs2.h unsigned long cnt), cnt 104 include/trace/events/nilfs2.h TP_ARGS(sufile, segnum, cnt), cnt 109 include/trace/events/nilfs2.h __field(unsigned long, cnt) cnt 115 include/trace/events/nilfs2.h __entry->cnt = cnt; cnt 121 include/trace/events/nilfs2.h __entry->cnt) cnt 730 include/trace/events/rcu.h TP_PROTO(const char *rcuname, const char *s, int cpu, int cnt, unsigned long done), cnt 732 include/trace/events/rcu.h TP_ARGS(rcuname, s, cpu, cnt, done), cnt 738 include/trace/events/rcu.h __field(int, cnt) cnt 746 include/trace/events/rcu.h __entry->cnt = cnt; cnt 751 include/trace/events/rcu.h __entry->rcuname, __entry->s, __entry->cpu, __entry->cnt, cnt 94 kernel/bpf/cgroup.c u32 cnt = 0; cnt 99 kernel/bpf/cgroup.c cnt++; cnt 101 kernel/bpf/cgroup.c return cnt; cnt 119 kernel/bpf/cgroup.c u32 cnt; cnt 123 kernel/bpf/cgroup.c cnt = prog_list_length(&p->bpf.progs[type]); cnt 124 kernel/bpf/cgroup.c WARN_ON_ONCE(cnt > 1); cnt 125 kernel/bpf/cgroup.c if (cnt == 1) cnt 146 kernel/bpf/cgroup.c int cnt = 0; cnt 150 kernel/bpf/cgroup.c if (cnt == 0 || (p->bpf.flags[type] & BPF_F_ALLOW_MULTI)) cnt 151 kernel/bpf/cgroup.c cnt += prog_list_length(&p->bpf.progs[type]); cnt 155 kernel/bpf/cgroup.c progs = bpf_prog_array_alloc(cnt, GFP_KERNEL); cnt 160 kernel/bpf/cgroup.c cnt = 0; cnt 163 kernel/bpf/cgroup.c if (cnt > 0 && !(p->bpf.flags[type] & BPF_F_ALLOW_MULTI)) cnt 170 kernel/bpf/cgroup.c progs->items[cnt].prog = pl->prog; cnt 172 kernel/bpf/cgroup.c progs->items[cnt].cgroup_storage[stype] = cnt 174 kernel/bpf/cgroup.c cnt++; cnt 509 kernel/bpf/cgroup.c int cnt, ret = 0, i; cnt 515 kernel/bpf/cgroup.c cnt = bpf_prog_array_length(effective); cnt 517 kernel/bpf/cgroup.c cnt = prog_list_length(progs); cnt 521 kernel/bpf/cgroup.c if (copy_to_user(&uattr->query.prog_cnt, &cnt, sizeof(cnt))) cnt 523 kernel/bpf/cgroup.c if (attr->query.prog_cnt == 0 || !prog_ids || !cnt) cnt 526 kernel/bpf/cgroup.c if (attr->query.prog_cnt < cnt) { cnt 527 kernel/bpf/cgroup.c cnt = attr->query.prog_cnt; cnt 532 kernel/bpf/cgroup.c return bpf_prog_array_copy_to_user(effective, prog_ids, cnt); cnt 542 kernel/bpf/cgroup.c if (++i == cnt) cnt 493 kernel/bpf/core.c int bpf_remove_insns(struct bpf_prog *prog, u32 off, u32 cnt) cnt 498 kernel/bpf/core.c memmove(prog->insnsi + off, prog->insnsi + off + cnt, cnt 499 kernel/bpf/core.c sizeof(struct bpf_insn) * (prog->len - off - cnt)); cnt 500 kernel/bpf/core.c prog->len -= cnt; cnt 502 kernel/bpf/core.c return WARN_ON_ONCE(bpf_adj_branches(prog, off, off + cnt, off, false)); cnt 1807 kernel/bpf/core.c u32 cnt = 0; cnt 1811 kernel/bpf/core.c cnt++; cnt 1812 kernel/bpf/core.c return cnt; cnt 1846 kernel/bpf/core.c __u32 __user *prog_ids, u32 cnt) cnt 1858 kernel/bpf/core.c ids = kcalloc(cnt, sizeof(u32), GFP_USER | __GFP_NOWARN); cnt 1861 kernel/bpf/core.c nospc = bpf_prog_array_copy_core(array, ids, cnt); cnt 1862 kernel/bpf/core.c err = copy_to_user(prog_ids, ids, cnt * sizeof(u32)); cnt 1951 kernel/bpf/core.c u32 cnt = 0; cnt 1954 kernel/bpf/core.c cnt = bpf_prog_array_length(array); cnt 1956 kernel/bpf/core.c *prog_cnt = cnt; cnt 1959 kernel/bpf/core.c if (!request_cnt || !cnt) cnt 197 kernel/bpf/offload.c bpf_prog_offload_remove_insns(struct bpf_verifier_env *env, u32 off, u32 cnt) cnt 206 kernel/bpf/offload.c ret = offload->offdev->ops->remove_insns(env, off, cnt); cnt 1380 kernel/bpf/syscall.c u64 nsecs = 0, cnt = 0; cnt 1392 kernel/bpf/syscall.c tcnt = st->cnt; cnt 1395 kernel/bpf/syscall.c cnt += tcnt; cnt 1398 kernel/bpf/syscall.c stats->cnt = cnt; cnt 1424 kernel/bpf/syscall.c stats.cnt); cnt 2375 kernel/bpf/syscall.c info.run_cnt = stats.cnt; cnt 1200 kernel/bpf/verifier.c int cnt = 0; cnt 1235 kernel/bpf/verifier.c cnt++; cnt 1238 kernel/bpf/verifier.c if (env->longest_mark_read_walk < cnt) cnt 1239 kernel/bpf/verifier.c env->longest_mark_read_walk = cnt; cnt 1407 kernel/bpf/verifier.c u32 cnt = cur->jmp_history_cnt; cnt 1410 kernel/bpf/verifier.c cnt++; cnt 1411 kernel/bpf/verifier.c p = krealloc(cur->jmp_history, cnt * sizeof(*p), GFP_USER); cnt 1414 kernel/bpf/verifier.c p[cnt - 1].idx = env->insn_idx; cnt 1415 kernel/bpf/verifier.c p[cnt - 1].prev_idx = env->prev_insn_idx; cnt 1417 kernel/bpf/verifier.c cur->jmp_history_cnt = cnt; cnt 1427 kernel/bpf/verifier.c u32 cnt = *history; cnt 1429 kernel/bpf/verifier.c if (cnt && st->jmp_history[cnt - 1].idx == i) { cnt 1430 kernel/bpf/verifier.c i = st->jmp_history[cnt - 1].prev_idx; cnt 8164 kernel/bpf/verifier.c struct bpf_prog *new_prog, u32 off, u32 cnt) cnt 8175 kernel/bpf/verifier.c old_data[off].zext_dst = insn_has_def32(env, insn + off + cnt - 1); cnt 8177 kernel/bpf/verifier.c if (cnt == 1) cnt 8185 kernel/bpf/verifier.c memcpy(new_data + off + cnt - 1, old_data + off, cnt 8186 kernel/bpf/verifier.c sizeof(struct bpf_insn_aux_data) * (prog_len - off - cnt + 1)); cnt 8187 kernel/bpf/verifier.c for (i = off; i < off + cnt - 1; i++) { cnt 8230 kernel/bpf/verifier.c u32 off, u32 cnt) cnt 8240 kernel/bpf/verifier.c if (env->subprog_info[j].start >= off + cnt) cnt 8245 kernel/bpf/verifier.c if (env->subprog_info[j].start != off + cnt) cnt 8280 kernel/bpf/verifier.c env->subprog_info[i].start -= cnt; cnt 8286 kernel/bpf/verifier.c u32 cnt) cnt 8306 kernel/bpf/verifier.c if (linfo[i].insn_off < off + cnt) cnt 8316 kernel/bpf/verifier.c (i == nr_linfo || linfo[i].insn_off != off + cnt)) { cnt 8318 kernel/bpf/verifier.c linfo[--i].insn_off = off + cnt; cnt 8332 kernel/bpf/verifier.c linfo[i].insn_off -= cnt; cnt 8349 kernel/bpf/verifier.c static int verifier_remove_insns(struct bpf_verifier_env *env, u32 off, u32 cnt) cnt 8356 kernel/bpf/verifier.c bpf_prog_offload_remove_insns(env, off, cnt); cnt 8358 kernel/bpf/verifier.c err = bpf_remove_insns(env->prog, off, cnt); cnt 8362 kernel/bpf/verifier.c err = adjust_subprog_starts_after_remove(env, off, cnt); cnt 8366 kernel/bpf/verifier.c err = bpf_adj_linfo_after_remove(env, off, cnt); cnt 8370 kernel/bpf/verifier.c memmove(aux_data + off, aux_data + off + cnt, cnt 8371 kernel/bpf/verifier.c sizeof(*aux_data) * (orig_prog_len - off - cnt)); cnt 8573 kernel/bpf/verifier.c int i, cnt, size, ctx_field_size, delta = 0; cnt 8586 kernel/bpf/verifier.c cnt = ops->gen_prologue(insn_buf, env->seen_direct_write, cnt 8588 kernel/bpf/verifier.c if (cnt >= ARRAY_SIZE(insn_buf)) { cnt 8591 kernel/bpf/verifier.c } else if (cnt) { cnt 8592 kernel/bpf/verifier.c new_prog = bpf_patch_insn_data(env, 0, insn_buf, cnt); cnt 8597 kernel/bpf/verifier.c delta += cnt - 1; cnt 8639 kernel/bpf/verifier.c cnt = ARRAY_SIZE(patch); cnt 8640 kernel/bpf/verifier.c new_prog = bpf_patch_insn_data(env, i + delta, patch, cnt); cnt 8644 kernel/bpf/verifier.c delta += cnt - 1; cnt 8700 kernel/bpf/verifier.c cnt = convert_ctx_access(type, insn, insn_buf, env->prog, cnt 8702 kernel/bpf/verifier.c if (cnt == 0 || cnt >= ARRAY_SIZE(insn_buf) || cnt 8713 kernel/bpf/verifier.c insn_buf[cnt++] = BPF_ALU32_IMM(BPF_RSH, cnt 8716 kernel/bpf/verifier.c insn_buf[cnt++] = BPF_ALU32_IMM(BPF_AND, insn->dst_reg, cnt 8720 kernel/bpf/verifier.c insn_buf[cnt++] = BPF_ALU64_IMM(BPF_RSH, cnt 8723 kernel/bpf/verifier.c insn_buf[cnt++] = BPF_ALU64_IMM(BPF_AND, insn->dst_reg, cnt 8728 kernel/bpf/verifier.c new_prog = bpf_patch_insn_data(env, i + delta, insn_buf, cnt); cnt 8732 kernel/bpf/verifier.c delta += cnt - 1; cnt 8964 kernel/bpf/verifier.c int i, cnt, delta = 0; cnt 8991 kernel/bpf/verifier.c cnt = ARRAY_SIZE(mask_and_div) - (is64 ? 1 : 0); cnt 8994 kernel/bpf/verifier.c cnt = ARRAY_SIZE(mask_and_mod) - (is64 ? 1 : 0); cnt 8997 kernel/bpf/verifier.c new_prog = bpf_patch_insn_data(env, i + delta, patchlet, cnt); cnt 9001 kernel/bpf/verifier.c delta += cnt - 1; cnt 9010 kernel/bpf/verifier.c cnt = env->ops->gen_ld_abs(insn, insn_buf); cnt 9011 kernel/bpf/verifier.c if (cnt == 0 || cnt >= ARRAY_SIZE(insn_buf)) { cnt 9016 kernel/bpf/verifier.c new_prog = bpf_patch_insn_data(env, i + delta, insn_buf, cnt); cnt 9020 kernel/bpf/verifier.c delta += cnt - 1; cnt 9066 kernel/bpf/verifier.c cnt = patch - insn_buf; cnt 9068 kernel/bpf/verifier.c new_prog = bpf_patch_insn_data(env, i + delta, insn_buf, cnt); cnt 9072 kernel/bpf/verifier.c delta += cnt - 1; cnt 9130 kernel/bpf/verifier.c cnt = 3; cnt 9131 kernel/bpf/verifier.c new_prog = bpf_patch_insn_data(env, i + delta, insn_buf, cnt); cnt 9135 kernel/bpf/verifier.c delta += cnt - 1; cnt 9160 kernel/bpf/verifier.c cnt = ops->map_gen_lookup(map_ptr, insn_buf); cnt 9161 kernel/bpf/verifier.c if (cnt == 0 || cnt >= ARRAY_SIZE(insn_buf)) { cnt 9167 kernel/bpf/verifier.c insn_buf, cnt); cnt 9171 kernel/bpf/verifier.c delta += cnt - 1; cnt 75 kernel/cgroup/cpuset.c int cnt; /* unprocessed events count */ cnt 2054 kernel/cgroup/cpuset.c fmp->cnt = 0; cnt 2077 kernel/cgroup/cpuset.c fmp->val += ((FM_SCALE - FM_COEF) * fmp->cnt) / FM_SCALE; cnt 2078 kernel/cgroup/cpuset.c fmp->cnt = 0; cnt 2086 kernel/cgroup/cpuset.c fmp->cnt = min(FM_MAXCNT, fmp->cnt + FM_SCALE); cnt 155 kernel/cpu.c int ret, cnt; cnt 190 kernel/cpu.c cnt = 0; cnt 205 kernel/cpu.c cnt++; cnt 217 kernel/cpu.c if (!cnt--) cnt 151 kernel/irq/devres.c unsigned int cnt; cnt 158 kernel/irq/devres.c irq_free_descs(this->from, this->cnt); cnt 179 kernel/irq/devres.c unsigned int cnt, int node, struct module *owner, cnt 189 kernel/irq/devres.c base = __irq_alloc_descs(irq, from, cnt, node, owner, affinity); cnt 196 kernel/irq/devres.c dr->cnt = cnt; cnt 466 kernel/irq/irqdesc.c static int alloc_descs(unsigned int start, unsigned int cnt, int node, cnt 475 kernel/irq/irqdesc.c for (i = 0; i < cnt; i++) { cnt 481 kernel/irq/irqdesc.c for (i = 0; i < cnt; i++) { cnt 502 kernel/irq/irqdesc.c bitmap_set(allocated_irqs, start, cnt); cnt 597 kernel/irq/irqdesc.c static inline int alloc_descs(unsigned int start, unsigned int cnt, int node, cnt 603 kernel/irq/irqdesc.c for (i = 0; i < cnt; i++) { cnt 608 kernel/irq/irqdesc.c bitmap_set(allocated_irqs, start, cnt); cnt 736 kernel/irq/irqdesc.c void irq_free_descs(unsigned int from, unsigned int cnt) cnt 740 kernel/irq/irqdesc.c if (from >= nr_irqs || (from + cnt) > nr_irqs) cnt 744 kernel/irq/irqdesc.c for (i = 0; i < cnt; i++) cnt 747 kernel/irq/irqdesc.c bitmap_clear(allocated_irqs, from, cnt); cnt 766 kernel/irq/irqdesc.c __irq_alloc_descs(int irq, unsigned int from, unsigned int cnt, int node, cnt 771 kernel/irq/irqdesc.c if (!cnt) cnt 790 kernel/irq/irqdesc.c from, cnt, 0); cnt 795 kernel/irq/irqdesc.c if (start + cnt > nr_irqs) { cnt 796 kernel/irq/irqdesc.c ret = irq_expand_nr_irqs(start + cnt); cnt 800 kernel/irq/irqdesc.c ret = alloc_descs(start, cnt, node, affinity, owner); cnt 815 kernel/irq/irqdesc.c unsigned int irq_alloc_hwirqs(int cnt, int node) cnt 817 kernel/irq/irqdesc.c int i, irq = __irq_alloc_descs(-1, 0, cnt, node, NULL, NULL); cnt 822 kernel/irq/irqdesc.c for (i = irq; cnt > 0; i++, cnt--) { cnt 834 kernel/irq/irqdesc.c irq_free_descs(irq, cnt); cnt 845 kernel/irq/irqdesc.c void irq_free_hwirqs(unsigned int from, int cnt) cnt 849 kernel/irq/irqdesc.c for (i = from, j = cnt; j > 0; i++, j--) { cnt 853 kernel/irq/irqdesc.c irq_free_descs(from, cnt); cnt 1010 kernel/irq/irqdomain.c int irq_domain_alloc_descs(int virq, unsigned int cnt, irq_hw_number_t hwirq, cnt 1016 kernel/irq/irqdomain.c virq = __irq_alloc_descs(virq, virq, cnt, node, THIS_MODULE, cnt 1022 kernel/irq/irqdomain.c virq = __irq_alloc_descs(-1, hint, cnt, node, THIS_MODULE, cnt 1025 kernel/irq/irqdomain.c virq = __irq_alloc_descs(-1, 1, cnt, node, THIS_MODULE, cnt 1008 kernel/kprobes.c int *cnt) cnt 1019 kernel/kprobes.c if (*cnt == 0) { cnt 1027 kernel/kprobes.c (*cnt)++; cnt 1050 kernel/kprobes.c int *cnt) cnt 1054 kernel/kprobes.c if (*cnt == 1) { cnt 1060 kernel/kprobes.c (*cnt)--; cnt 115 kernel/ksysfs.c unsigned long cnt; cnt 118 kernel/ksysfs.c if (kstrtoul(buf, 0, &cnt)) cnt 121 kernel/ksysfs.c ret = crash_shrink_memory(cnt); cnt 195 kernel/livepatch/core.c int i, cnt, vmlinux, ret; cnt 226 kernel/livepatch/core.c cnt = sscanf(strtab + sym->st_name, cnt 229 kernel/livepatch/core.c if (cnt != 3) { cnt 251 kernel/livepatch/core.c int i, cnt, ret = 0; cnt 273 kernel/livepatch/core.c cnt = sscanf(secname, ".klp.rela.%55[^.]", sec_objname); cnt 274 kernel/livepatch/core.c if (cnt != 1) { cnt 1466 kernel/locking/mutex.c int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock) cnt 1469 kernel/locking/mutex.c if (atomic_add_unless(cnt, -1, 1)) cnt 1473 kernel/locking/mutex.c if (!atomic_dec_and_test(cnt)) { cnt 335 kernel/locking/qspinlock.c int cnt = _Q_PENDING_LOOPS; cnt 337 kernel/locking/qspinlock.c (VAL != _Q_PENDING_VAL) || !cnt--); cnt 276 kernel/locking/rwsem.c long cnt = atomic_long_add_return_acquire(RWSEM_READER_BIAS, &sem->count); cnt 277 kernel/locking/rwsem.c if (WARN_ON_ONCE(cnt < 0)) cnt 279 kernel/locking/rwsem.c return !(cnt & RWSEM_READ_FAILED_MASK); cnt 289 kernel/padata.c int cnt; cnt 299 kernel/padata.c cnt = 0; cnt 310 kernel/padata.c cnt++; cnt 314 kernel/padata.c if (atomic_sub_and_test(cnt, &pd->refcnt)) cnt 1202 kernel/power/snapshot.c unsigned int cnt = 0; cnt 1206 kernel/power/snapshot.c cnt += zone_page_state(zone, NR_FREE_PAGES); cnt 1208 kernel/power/snapshot.c return cnt; cnt 2266 kernel/power/snapshot.c unsigned int cnt = 0; cnt 2272 kernel/power/snapshot.c cnt++; cnt 2276 kernel/power/snapshot.c return cnt; cnt 128 kernel/sched/debug.c size_t cnt, loff_t *ppos) cnt 135 kernel/sched/debug.c if (cnt > 63) cnt 136 kernel/sched/debug.c cnt = 63; cnt 138 kernel/sched/debug.c if (copy_from_user(&buf, ubuf, cnt)) cnt 141 kernel/sched/debug.c buf[cnt] = 0; cnt 154 kernel/sched/debug.c *ppos += cnt; cnt 156 kernel/sched/debug.c return cnt; cnt 71 kernel/sched/wait.c int cnt = 0; cnt 99 kernel/sched/wait.c if (bookmark && (++cnt > WAITQUEUE_WALK_BREAK_CNT) && cnt 110 kernel/softirq.c void __local_bh_disable_ip(unsigned long ip, unsigned int cnt) cnt 124 kernel/softirq.c __preempt_count_add(cnt); cnt 128 kernel/softirq.c if (softirq_count() == (cnt & SOFTIRQ_MASK)) cnt 132 kernel/softirq.c if (preempt_count() == cnt) { cnt 142 kernel/softirq.c static void __local_bh_enable(unsigned int cnt) cnt 146 kernel/softirq.c if (preempt_count() == cnt) cnt 149 kernel/softirq.c if (softirq_count() == (cnt & SOFTIRQ_MASK)) cnt 152 kernel/softirq.c __preempt_count_sub(cnt); cnt 166 kernel/softirq.c void __local_bh_enable_ip(unsigned long ip, unsigned int cnt) cnt 182 kernel/softirq.c preempt_count_sub(cnt - 1); cnt 1054 kernel/time/clocksource.c ssize_t sysfs_get_uname(const char *buf, char *dst, size_t cnt) cnt 1056 kernel/time/clocksource.c size_t ret = cnt; cnt 1059 kernel/time/clocksource.c if (!cnt || cnt >= CS_NAME_LEN) cnt 1063 kernel/time/clocksource.c if (buf[cnt-1] == '\n') cnt 1064 kernel/time/clocksource.c cnt--; cnt 1065 kernel/time/clocksource.c if (cnt > 0) cnt 1066 kernel/time/clocksource.c memcpy(dst, buf, cnt); cnt 1067 kernel/time/clocksource.c dst[cnt] = 0; cnt 60 kernel/time/tick-internal.h extern ssize_t sysfs_get_uname(const char *buf, char *dst, size_t cnt); cnt 890 kernel/trace/ftrace.c size_t cnt, loff_t *ppos) cnt 895 kernel/trace/ftrace.c ret = kstrtoul_from_user(ubuf, cnt, 10, &val); cnt 906 kernel/trace/ftrace.c cnt = ret; cnt 912 kernel/trace/ftrace.c cnt = ret; cnt 928 kernel/trace/ftrace.c *ppos += cnt; cnt 930 kernel/trace/ftrace.c return cnt; cnt 935 kernel/trace/ftrace.c size_t cnt, loff_t *ppos) cnt 941 kernel/trace/ftrace.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); cnt 2963 kernel/trace/ftrace.c int cnt; cnt 2988 kernel/trace/ftrace.c cnt = (PAGE_SIZE << order) / ENTRY_SIZE; cnt 2989 kernel/trace/ftrace.c pg->size = cnt; cnt 2991 kernel/trace/ftrace.c if (cnt > count) cnt 2992 kernel/trace/ftrace.c cnt = count; cnt 2994 kernel/trace/ftrace.c return cnt; cnt 3003 kernel/trace/ftrace.c int cnt; cnt 3018 kernel/trace/ftrace.c cnt = ftrace_allocate_records(pg, num_to_init); cnt 3019 kernel/trace/ftrace.c if (cnt < 0) cnt 3022 kernel/trace/ftrace.c num_to_init -= cnt; cnt 4677 kernel/trace/ftrace.c size_t cnt, loff_t *ppos, int enable) cnt 4683 kernel/trace/ftrace.c if (!cnt) cnt 4698 kernel/trace/ftrace.c read = trace_get_user(parser, ubuf, cnt, ppos); cnt 4716 kernel/trace/ftrace.c size_t cnt, loff_t *ppos) cnt 4718 kernel/trace/ftrace.c return ftrace_regex_write(file, ubuf, cnt, ppos, 1); cnt 4723 kernel/trace/ftrace.c size_t cnt, loff_t *ppos) cnt 4725 kernel/trace/ftrace.c return ftrace_regex_write(file, ubuf, cnt, ppos, 0); cnt 5458 kernel/trace/ftrace.c size_t cnt, loff_t *ppos) cnt 5464 kernel/trace/ftrace.c if (!cnt) cnt 5475 kernel/trace/ftrace.c read = trace_get_user(parser, ubuf, cnt, ppos); cnt 5699 kernel/trace/ftrace.c int cnt = 0; cnt 5703 kernel/trace/ftrace.c cnt++; cnt 5706 kernel/trace/ftrace.c return cnt; cnt 5858 kernel/trace/ftrace.c int cnt; cnt 5869 kernel/trace/ftrace.c cnt = 0; cnt 5878 kernel/trace/ftrace.c cnt += referenced_filters(rec); cnt 5881 kernel/trace/ftrace.c rec->flags = cnt; cnt 5883 kernel/trace/ftrace.c if (ftrace_start_up && cnt) { cnt 6616 kernel/trace/ftrace.c size_t cnt, loff_t *ppos) cnt 6624 kernel/trace/ftrace.c if (!cnt) cnt 6632 kernel/trace/ftrace.c ret = trace_pid_write(filtered_pids, &pid_list, ubuf, cnt); cnt 536 kernel/trace/ring_buffer.c size_t cnt; cnt 539 kernel/trace/ring_buffer.c cnt = local_read(&buffer->buffers[cpu]->pages_touched); cnt 541 kernel/trace/ring_buffer.c if (cnt < read) { cnt 542 kernel/trace/ring_buffer.c WARN_ON_ONCE(read > cnt + 1); cnt 546 kernel/trace/ring_buffer.c return cnt - read; cnt 4940 kernel/trace/ring_buffer.c int cnt; cnt 4968 kernel/trace/ring_buffer.c int cnt; cnt 4971 kernel/trace/ring_buffer.c cnt = data->cnt + (nested ? 27 : 0); cnt 4974 kernel/trace/ring_buffer.c size = (cnt * 68 / 25) % (sizeof(rb_string) - 1); cnt 5033 kernel/trace/ring_buffer.c data->cnt++; cnt 5037 kernel/trace/ring_buffer.c usleep_range(((data->cnt % 3) + 1) * 100, 1000); cnt 5089 kernel/trace/ring_buffer.c rb_data[cpu].cnt = cpu; cnt 239 kernel/trace/ring_buffer_benchmark.c int cnt = 0; cnt 266 kernel/trace/ring_buffer_benchmark.c cnt++; cnt 267 kernel/trace/ring_buffer_benchmark.c if (consumer && !(cnt % wakeup_interval)) cnt 280 kernel/trace/ring_buffer_benchmark.c if (cnt % wakeup_interval) cnt 498 kernel/trace/trace.c const char __user *ubuf, size_t cnt) cnt 546 kernel/trace/trace.c while (cnt > 0) { cnt 550 kernel/trace/trace.c ret = trace_get_user(&parser, ubuf, cnt, &pos); cnt 556 kernel/trace/trace.c cnt -= ret; cnt 1406 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 1420 kernel/trace/trace.c cnt--; cnt 1428 kernel/trace/trace.c while (cnt && isspace(ch)) { cnt 1433 kernel/trace/trace.c cnt--; cnt 1447 kernel/trace/trace.c while (cnt && !isspace(ch) && ch) { cnt 1458 kernel/trace/trace.c cnt--; cnt 1483 kernel/trace/trace.c static ssize_t trace_seq_to_buffer(struct trace_seq *s, void *buf, size_t cnt) cnt 1491 kernel/trace/trace.c if (cnt > len) cnt 1492 kernel/trace/trace.c cnt = len; cnt 1493 kernel/trace/trace.c memcpy(buf, s->buffer + s->seq.readpos, cnt); cnt 1495 kernel/trace/trace.c s->seq.readpos += cnt; cnt 1496 kernel/trace/trace.c return cnt; cnt 4717 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 4724 kernel/trace/trace.c if (cnt >= sizeof(buf)) cnt 4727 kernel/trace/trace.c if (copy_from_user(buf, ubuf, cnt)) cnt 4730 kernel/trace/trace.c buf[cnt] = 0; cnt 4736 kernel/trace/trace.c *ppos += cnt; cnt 4738 kernel/trace/trace.c return cnt; cnt 5017 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 5019 kernel/trace/trace.c return simple_read_from_buffer(ubuf, cnt, ppos, cnt 5183 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 5192 kernel/trace/trace.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); cnt 5226 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 5231 kernel/trace/trace.c ret = kstrtoul_from_user(ubuf, cnt, 10, &val); cnt 5243 kernel/trace/trace.c *ppos += cnt; cnt 5245 kernel/trace/trace.c return cnt; cnt 5435 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 5445 kernel/trace/trace.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); cnt 5745 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 5753 kernel/trace/trace.c ret = cnt; cnt 5755 kernel/trace/trace.c if (cnt > MAX_TRACER_SIZE) cnt 5756 kernel/trace/trace.c cnt = MAX_TRACER_SIZE; cnt 5758 kernel/trace/trace.c if (copy_from_user(buf, ubuf, cnt)) cnt 5761 kernel/trace/trace.c buf[cnt] = 0; cnt 5764 kernel/trace/trace.c for (i = cnt - 1; i > 0 && isspace(buf[i]); i--) cnt 5778 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 5787 kernel/trace/trace.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); cnt 5792 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 5797 kernel/trace/trace.c ret = kstrtoul_from_user(ubuf, cnt, 10, &val); cnt 5803 kernel/trace/trace.c return cnt; cnt 5808 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 5810 kernel/trace/trace.c return tracing_nsecs_read(&tracing_thresh, ubuf, cnt, ppos); cnt 5815 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 5821 kernel/trace/trace.c ret = tracing_nsecs_write(&tracing_thresh, ubuf, cnt, ppos); cnt 5831 kernel/trace/trace.c ret = cnt; cnt 5842 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 5844 kernel/trace/trace.c return tracing_nsecs_read(filp->private_data, ubuf, cnt, ppos); cnt 5849 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 5851 kernel/trace/trace.c return tracing_nsecs_write(filp->private_data, ubuf, cnt, ppos); cnt 6009 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 6022 kernel/trace/trace.c sret = trace_seq_to_user(&iter->seq, ubuf, cnt); cnt 6029 kernel/trace/trace.c sret = iter->trace->read(iter, filp, ubuf, cnt, ppos); cnt 6045 kernel/trace/trace.c if (cnt >= PAGE_SIZE) cnt 6046 kernel/trace/trace.c cnt = PAGE_SIZE - 1; cnt 6071 kernel/trace/trace.c if (trace_seq_used(&iter->seq) >= cnt) cnt 6086 kernel/trace/trace.c sret = trace_seq_to_user(&iter->seq, ubuf, cnt); cnt 6251 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 6293 kernel/trace/trace.c ret = simple_read_from_buffer(ubuf, cnt, ppos, buf, r); cnt 6299 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 6306 kernel/trace/trace.c ret = kstrtoul_from_user(ubuf, cnt, 10, &val); cnt 6320 kernel/trace/trace.c *ppos += cnt; cnt 6322 kernel/trace/trace.c return cnt; cnt 6327 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 6346 kernel/trace/trace.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); cnt 6351 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 6358 kernel/trace/trace.c *ppos += cnt; cnt 6360 kernel/trace/trace.c return cnt; cnt 6381 kernel/trace/trace.c size_t cnt, loff_t *fpos) cnt 6403 kernel/trace/trace.c if (cnt > TRACE_BUF_SIZE) cnt 6404 kernel/trace/trace.c cnt = TRACE_BUF_SIZE; cnt 6409 kernel/trace/trace.c size = sizeof(*entry) + cnt + 2; /* add '\0' and possible '\n' */ cnt 6412 kernel/trace/trace.c if (cnt < FAULTED_SIZE) cnt 6413 kernel/trace/trace.c size += FAULTED_SIZE - cnt; cnt 6425 kernel/trace/trace.c len = __copy_from_user_inatomic(&entry->buf, ubuf, cnt); cnt 6428 kernel/trace/trace.c cnt = FAULTED_SIZE; cnt 6431 kernel/trace/trace.c written = cnt; cnt 6432 kernel/trace/trace.c len = cnt; cnt 6436 kernel/trace/trace.c entry->buf[cnt] = '\0'; cnt 6440 kernel/trace/trace.c if (entry->buf[cnt - 1] != '\n') { cnt 6441 kernel/trace/trace.c entry->buf[cnt] = '\n'; cnt 6442 kernel/trace/trace.c entry->buf[cnt + 1] = '\0'; cnt 6444 kernel/trace/trace.c entry->buf[cnt] = '\0'; cnt 6462 kernel/trace/trace.c size_t cnt, loff_t *fpos) cnt 6482 kernel/trace/trace.c if (cnt < sizeof(unsigned int) || cnt > RAW_DATA_MAX_SIZE) cnt 6485 kernel/trace/trace.c if (cnt > TRACE_BUF_SIZE) cnt 6486 kernel/trace/trace.c cnt = TRACE_BUF_SIZE; cnt 6491 kernel/trace/trace.c size = sizeof(*entry) + cnt; cnt 6492 kernel/trace/trace.c if (cnt < FAULT_SIZE_ID) cnt 6493 kernel/trace/trace.c size += FAULT_SIZE_ID - cnt; cnt 6504 kernel/trace/trace.c len = __copy_from_user_inatomic(&entry->id, ubuf, cnt); cnt 6510 kernel/trace/trace.c written = cnt; cnt 6570 kernel/trace/trace.c size_t cnt, loff_t *fpos) cnt 6578 kernel/trace/trace.c if (cnt >= sizeof(buf)) cnt 6581 kernel/trace/trace.c if (copy_from_user(buf, ubuf, cnt)) cnt 6584 kernel/trace/trace.c buf[cnt] = 0; cnt 6592 kernel/trace/trace.c *fpos += cnt; cnt 6594 kernel/trace/trace.c return cnt; cnt 6726 kernel/trace/trace.c tracing_snapshot_write(struct file *filp, const char __user *ubuf, size_t cnt, cnt 6739 kernel/trace/trace.c ret = kstrtoul_from_user(ubuf, cnt, 10, &val); cnt 6800 kernel/trace/trace.c *ppos += cnt; cnt 6801 kernel/trace/trace.c ret = cnt; cnt 7532 kernel/trace/trace.c unsigned long cnt; cnt 7542 kernel/trace/trace.c cnt = ring_buffer_entries_cpu(trace_buf->buffer, cpu); cnt 7543 kernel/trace/trace.c trace_seq_printf(s, "entries: %ld\n", cnt); cnt 7545 kernel/trace/trace.c cnt = ring_buffer_overrun_cpu(trace_buf->buffer, cpu); cnt 7546 kernel/trace/trace.c trace_seq_printf(s, "overrun: %ld\n", cnt); cnt 7548 kernel/trace/trace.c cnt = ring_buffer_commit_overrun_cpu(trace_buf->buffer, cpu); cnt 7549 kernel/trace/trace.c trace_seq_printf(s, "commit overrun: %ld\n", cnt); cnt 7551 kernel/trace/trace.c cnt = ring_buffer_bytes_cpu(trace_buf->buffer, cpu); cnt 7552 kernel/trace/trace.c trace_seq_printf(s, "bytes: %ld\n", cnt); cnt 7573 kernel/trace/trace.c cnt = ring_buffer_dropped_events_cpu(trace_buf->buffer, cpu); cnt 7574 kernel/trace/trace.c trace_seq_printf(s, "dropped events: %ld\n", cnt); cnt 7576 kernel/trace/trace.c cnt = ring_buffer_read_events_cpu(trace_buf->buffer, cpu); cnt 7577 kernel/trace/trace.c trace_seq_printf(s, "read events: %ld\n", cnt); cnt 7598 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 7607 kernel/trace/trace.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); cnt 7867 kernel/trace/trace.c trace_options_read(struct file *filp, char __user *ubuf, size_t cnt, cnt 7878 kernel/trace/trace.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, 2); cnt 7882 kernel/trace/trace.c trace_options_write(struct file *filp, const char __user *ubuf, size_t cnt, cnt 7889 kernel/trace/trace.c ret = kstrtoul_from_user(ubuf, cnt, 10, &val); cnt 7905 kernel/trace/trace.c *ppos += cnt; cnt 7907 kernel/trace/trace.c return cnt; cnt 7952 kernel/trace/trace.c trace_options_core_read(struct file *filp, char __user *ubuf, size_t cnt, cnt 7967 kernel/trace/trace.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, 2); cnt 7971 kernel/trace/trace.c trace_options_core_write(struct file *filp, const char __user *ubuf, size_t cnt, cnt 7982 kernel/trace/trace.c ret = kstrtoul_from_user(ubuf, cnt, 10, &val); cnt 7998 kernel/trace/trace.c *ppos += cnt; cnt 8000 kernel/trace/trace.c return cnt; cnt 8074 kernel/trace/trace.c int cnt; cnt 8100 kernel/trace/trace.c for (cnt = 0; opts[cnt].name; cnt++) cnt 8103 kernel/trace/trace.c topts = kcalloc(cnt + 1, sizeof(*topts), GFP_KERNEL); cnt 8119 kernel/trace/trace.c for (cnt = 0; opts[cnt].name; cnt++) { cnt 8120 kernel/trace/trace.c create_trace_option_file(tr, &topts[cnt], flags, cnt 8121 kernel/trace/trace.c &opts[cnt]); cnt 8122 kernel/trace/trace.c WARN_ONCE(topts[cnt].entry == NULL, cnt 8124 kernel/trace/trace.c opts[cnt].name); cnt 8162 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 8171 kernel/trace/trace.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); cnt 8176 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 8183 kernel/trace/trace.c ret = kstrtoul_from_user(ubuf, cnt, 10, &val); cnt 8205 kernel/trace/trace.c return cnt; cnt 8218 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 8227 kernel/trace/trace.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); cnt 8232 kernel/trace/trace.c size_t cnt, loff_t *ppos) cnt 8238 kernel/trace/trace.c ret = kstrtoul_from_user(ubuf, cnt, 10, &val); cnt 8252 kernel/trace/trace.c return cnt; cnt 8926 kernel/trace/trace.c int cnt = 0, cpu; cnt 8990 kernel/trace/trace.c if (!cnt) cnt 8993 kernel/trace/trace.c cnt++; cnt 9010 kernel/trace/trace.c if (!cnt) cnt 479 kernel/trace/trace.h size_t cnt, loff_t *ppos); cnt 780 kernel/trace/trace.h const char __user *ubuf, size_t cnt); cnt 1207 kernel/trace/trace.h size_t cnt, loff_t *ppos); cnt 858 kernel/trace/trace_events.c size_t cnt, loff_t *ppos) cnt 865 kernel/trace/trace_events.c if (!cnt) cnt 875 kernel/trace/trace_events.c read = trace_get_user(&parser, ubuf, cnt, ppos); cnt 1026 kernel/trace/trace_events.c event_enable_read(struct file *filp, char __user *ubuf, size_t cnt, cnt 1052 kernel/trace/trace_events.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, strlen(buf)); cnt 1056 kernel/trace/trace_events.c event_enable_write(struct file *filp, const char __user *ubuf, size_t cnt, cnt 1063 kernel/trace/trace_events.c ret = kstrtoul_from_user(ubuf, cnt, 10, &val); cnt 1086 kernel/trace/trace_events.c *ppos += cnt; cnt 1088 kernel/trace/trace_events.c return ret ? ret : cnt; cnt 1092 kernel/trace/trace_events.c system_enable_read(struct file *filp, char __user *ubuf, size_t cnt, cnt 1132 kernel/trace/trace_events.c ret = simple_read_from_buffer(ubuf, cnt, ppos, buf, 2); cnt 1138 kernel/trace/trace_events.c system_enable_write(struct file *filp, const char __user *ubuf, size_t cnt, cnt 1147 kernel/trace/trace_events.c ret = kstrtoul_from_user(ubuf, cnt, 10, &val); cnt 1169 kernel/trace/trace_events.c ret = cnt; cnt 1172 kernel/trace/trace_events.c *ppos += cnt; cnt 1311 kernel/trace/trace_events.c event_id_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) cnt 1322 kernel/trace/trace_events.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, len); cnt 1326 kernel/trace/trace_events.c event_filter_read(struct file *filp, char __user *ubuf, size_t cnt, cnt 1350 kernel/trace/trace_events.c r = simple_read_from_buffer(ubuf, cnt, ppos, cnt 1359 kernel/trace/trace_events.c event_filter_write(struct file *filp, const char __user *ubuf, size_t cnt, cnt 1366 kernel/trace/trace_events.c if (cnt >= PAGE_SIZE) cnt 1369 kernel/trace/trace_events.c buf = memdup_user_nul(ubuf, cnt); cnt 1383 kernel/trace/trace_events.c *ppos += cnt; cnt 1385 kernel/trace/trace_events.c return cnt; cnt 1482 kernel/trace/trace_events.c subsystem_filter_read(struct file *filp, char __user *ubuf, size_t cnt, cnt 1500 kernel/trace/trace_events.c r = simple_read_from_buffer(ubuf, cnt, ppos, cnt 1509 kernel/trace/trace_events.c subsystem_filter_write(struct file *filp, const char __user *ubuf, size_t cnt, cnt 1516 kernel/trace/trace_events.c if (cnt >= PAGE_SIZE) cnt 1519 kernel/trace/trace_events.c buf = memdup_user_nul(ubuf, cnt); cnt 1528 kernel/trace/trace_events.c *ppos += cnt; cnt 1530 kernel/trace/trace_events.c return cnt; cnt 1534 kernel/trace/trace_events.c show_header(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) cnt 1550 kernel/trace/trace_events.c r = simple_read_from_buffer(ubuf, cnt, ppos, cnt 1576 kernel/trace/trace_events.c size_t cnt, loff_t *ppos) cnt 1585 kernel/trace/trace_events.c if (!cnt) cnt 1597 kernel/trace/trace_events.c ret = trace_pid_write(filtered_pids, &pid_list, ubuf, cnt); cnt 241 kernel/trace/trace_events_trigger.c size_t cnt, loff_t *ppos) cnt 247 kernel/trace/trace_events_trigger.c if (!cnt) cnt 250 kernel/trace/trace_events_trigger.c if (cnt >= PAGE_SIZE) cnt 253 kernel/trace/trace_events_trigger.c buf = memdup_user_nul(ubuf, cnt); cnt 273 kernel/trace/trace_events_trigger.c *ppos += cnt; cnt 274 kernel/trace/trace_events_trigger.c ret = cnt; cnt 293 kernel/trace/trace_events_trigger.c size_t cnt, loff_t *ppos) cnt 295 kernel/trace/trace_events_trigger.c return event_trigger_regex_write(filp, ubuf, cnt, ppos); cnt 1301 kernel/trace/trace_functions_graph.c graph_depth_write(struct file *filp, const char __user *ubuf, size_t cnt, cnt 1307 kernel/trace/trace_functions_graph.c ret = kstrtoul_from_user(ubuf, cnt, 10, &val); cnt 1313 kernel/trace/trace_functions_graph.c *ppos += cnt; cnt 1315 kernel/trace/trace_functions_graph.c return cnt; cnt 1319 kernel/trace/trace_functions_graph.c graph_depth_read(struct file *filp, char __user *ubuf, size_t cnt, cnt 1327 kernel/trace/trace_functions_graph.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, n); cnt 408 kernel/trace/trace_hwlat.c size_t cnt, loff_t *ppos) cnt 418 kernel/trace/trace_hwlat.c if (cnt > sizeof(buf)) cnt 419 kernel/trace/trace_hwlat.c cnt = sizeof(buf); cnt 425 kernel/trace/trace_hwlat.c return simple_read_from_buffer(ubuf, cnt, ppos, buf, len); cnt 445 kernel/trace/trace_hwlat.c size_t cnt, loff_t *ppos) cnt 450 kernel/trace/trace_hwlat.c err = kstrtoull_from_user(ubuf, cnt, 10, &val); cnt 464 kernel/trace/trace_hwlat.c return cnt; cnt 484 kernel/trace/trace_hwlat.c size_t cnt, loff_t *ppos) cnt 489 kernel/trace/trace_hwlat.c err = kstrtoull_from_user(ubuf, cnt, 10, &val); cnt 503 kernel/trace/trace_hwlat.c return cnt; cnt 27 kernel/trace/trace_kdb.c int cnt = 0, cpu; cnt 61 kernel/trace/trace_kdb.c if (!cnt) cnt 63 kernel/trace/trace_kdb.c cnt++; cnt 76 kernel/trace/trace_kdb.c if (!cnt) cnt 100 kernel/trace/trace_kdb.c int cnt; cnt 133 kernel/trace/trace_kdb.c cnt = trace_total_entries(NULL); cnt 135 kernel/trace/trace_kdb.c cnt = trace_total_entries_cpu(NULL, cpu_file); cnt 136 kernel/trace/trace_kdb.c skip_entries = max(cnt + skip_entries, 0); cnt 124 kernel/trace/trace_mmiotrace.c unsigned long cnt = atomic_xchg(&dropped_count, 0); cnt 128 kernel/trace/trace_mmiotrace.c cnt += over - prev_overruns; cnt 130 kernel/trace/trace_mmiotrace.c return cnt; cnt 134 kernel/trace/trace_mmiotrace.c char __user *ubuf, size_t cnt, loff_t *ppos) cnt 163 kernel/trace/trace_mmiotrace.c ret = trace_seq_to_user(s, ubuf, cnt); cnt 65 kernel/trace/trace_selftest.c unsigned long flags, cnt = 0; cnt 72 kernel/trace/trace_selftest.c cnt = ring_buffer_entries(buf->buffer); cnt 92 kernel/trace/trace_selftest.c *count = cnt; cnt 185 kernel/trace/trace_selftest.c static int trace_selftest_ops(struct trace_array *tr, int cnt) cnt 196 kernel/trace/trace_selftest.c pr_info("Testing dynamic ftrace ops #%d: ", cnt); cnt 221 kernel/trace/trace_selftest.c if (cnt > 1) { cnt 236 kernel/trace/trace_selftest.c if (cnt > 1) { cnt 275 kernel/trace/trace_selftest.c if (cnt > 1) { cnt 303 kernel/trace/trace_selftest.c if (cnt > 1) cnt 373 kernel/trace/trace_seq.c int trace_seq_to_user(struct trace_seq *s, char __user *ubuf, int cnt) cnt 376 kernel/trace/trace_seq.c return seq_buf_to_user(&s->seq, ubuf, cnt); cnt 887 lib/bch.c int cnt; cnt 893 lib/bch.c cnt = find_poly_deg1_roots(bch, poly, roots); cnt 896 lib/bch.c cnt = find_poly_deg2_roots(bch, poly, roots); cnt 899 lib/bch.c cnt = find_poly_deg3_roots(bch, poly, roots); cnt 902 lib/bch.c cnt = find_poly_deg4_roots(bch, poly, roots); cnt 906 lib/bch.c cnt = 0; cnt 910 lib/bch.c cnt += find_poly_roots(bch, k+1, f1, roots); cnt 912 lib/bch.c cnt += find_poly_roots(bch, k+1, f2, roots+cnt); cnt 916 lib/bch.c return cnt; cnt 167 lib/debugobjects.c int cnt; cnt 169 lib/debugobjects.c for (cnt = 0; cnt < ODEBUG_BATCH_SIZE; cnt++) { cnt 170 lib/debugobjects.c new[cnt] = kmem_cache_zalloc(obj_cache, gfp); cnt 171 lib/debugobjects.c if (!new[cnt]) cnt 174 lib/debugobjects.c if (!cnt) cnt 178 lib/debugobjects.c while (cnt) { cnt 179 lib/debugobjects.c hlist_add_head(&new[--cnt]->node, &obj_pool); cnt 193 lib/debugobjects.c int cnt = 0; cnt 196 lib/debugobjects.c cnt++; cnt 200 lib/debugobjects.c if (cnt > debug_objects_maxchain) cnt 201 lib/debugobjects.c debug_objects_maxchain = cnt; cnt 942 lib/debugobjects.c int cnt, objs_checked = 0; cnt 954 lib/debugobjects.c cnt = 0; cnt 957 lib/debugobjects.c cnt++; cnt 979 lib/debugobjects.c if (cnt > debug_objects_maxchain) cnt 980 lib/debugobjects.c debug_objects_maxchain = cnt; cnt 982 lib/debugobjects.c objs_checked += cnt; cnt 1301 lib/debugobjects.c int i, cnt = 0; cnt 1332 lib/debugobjects.c cnt++; cnt 1337 lib/debugobjects.c cnt, obj_pool_used); cnt 38 lib/find_bit_benchmark.c unsigned long i, cnt; cnt 42 lib/find_bit_benchmark.c for (cnt = i = 0; i < len; cnt++) { cnt 47 lib/find_bit_benchmark.c pr_err("find_first_bit: %18llu ns, %6ld iterations\n", time, cnt); cnt 54 lib/find_bit_benchmark.c unsigned long i, cnt; cnt 58 lib/find_bit_benchmark.c for (cnt = i = 0; i < BITMAP_LEN; cnt++) cnt 61 lib/find_bit_benchmark.c pr_err("find_next_bit: %18llu ns, %6ld iterations\n", time, cnt); cnt 68 lib/find_bit_benchmark.c unsigned long i, cnt; cnt 72 lib/find_bit_benchmark.c for (cnt = i = 0; i < BITMAP_LEN; cnt++) cnt 75 lib/find_bit_benchmark.c pr_err("find_next_zero_bit: %18llu ns, %6ld iterations\n", time, cnt); cnt 82 lib/find_bit_benchmark.c unsigned long l, cnt = 0; cnt 87 lib/find_bit_benchmark.c cnt++; cnt 94 lib/find_bit_benchmark.c pr_err("find_last_bit: %18llu ns, %6ld iterations\n", time, cnt); cnt 102 lib/find_bit_benchmark.c unsigned long i, cnt; cnt 106 lib/find_bit_benchmark.c for (cnt = i = 0; i < BITMAP_LEN; cnt++) cnt 109 lib/find_bit_benchmark.c pr_err("find_next_and_bit: %18llu ns, %6ld iterations\n", time, cnt); cnt 28 lib/mpi/generic_mpih-lshift.c mpihelp_lshift(mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, unsigned int cnt) cnt 35 lib/mpi/generic_mpih-lshift.c sh_1 = cnt; cnt 29 lib/mpi/generic_mpih-rshift.c mpihelp_rshift(mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, unsigned cnt) cnt 36 lib/mpi/generic_mpih-rshift.c sh_1 = cnt; cnt 155 lib/mpi/mpi-internal.h unsigned cnt); cnt 157 lib/mpi/mpi-internal.h unsigned cnt); cnt 306 lib/seq_buf.c int seq_buf_to_user(struct seq_buf *s, char __user *ubuf, int cnt) cnt 311 lib/seq_buf.c if (!cnt) cnt 320 lib/seq_buf.c if (cnt > len) cnt 321 lib/seq_buf.c cnt = len; cnt 322 lib/seq_buf.c ret = copy_to_user(ubuf, s->buffer + s->readpos, cnt); cnt 323 lib/seq_buf.c if (ret == cnt) cnt 326 lib/seq_buf.c cnt -= ret; cnt 328 lib/seq_buf.c s->readpos += cnt; cnt 329 lib/seq_buf.c return cnt; cnt 490 lib/test_rhashtable.c unsigned int i, cnt = 0; cnt 517 lib/test_rhashtable.c cnt++; cnt 530 lib/test_rhashtable.c return cnt; cnt 534 lib/test_rhashtable.c int cnt, bool slow) cnt 551 lib/test_rhashtable.c for (i = 0; i < cnt; i++) { cnt 565 lib/test_rhashtable.c if (WARN(err, "error %d on element %d/%d (%s)\n", err, i, cnt, slow? "slow" : "fast")) cnt 570 lib/test_rhashtable.c WARN(ret != cnt, "missing rhltable elements (%d != %d, %s)\n", ret, cnt, slow? "slow" : "fast"); cnt 116 mm/memblock.c .memory.cnt = 1, /* empty dummy entry */ cnt 121 mm/memblock.c .reserved.cnt = 1, /* empty dummy entry */ cnt 127 mm/memblock.c .physmem.cnt = 1, /* empty dummy entry */ cnt 167 mm/memblock.c for (i = 0; i < type->cnt; i++) cnt 171 mm/memblock.c return i < type->cnt; cnt 360 mm/memblock.c (type->cnt - (r + 1)) * sizeof(type->regions[r])); cnt 361 mm/memblock.c type->cnt--; cnt 364 mm/memblock.c if (type->cnt == 0) { cnt 366 mm/memblock.c type->cnt = 1; cnt 516 mm/memblock.c while (i < type->cnt - 1) { cnt 531 mm/memblock.c memmove(next, next + 1, (type->cnt - (i + 2)) * sizeof(*next)); cnt 532 mm/memblock.c type->cnt--; cnt 556 mm/memblock.c BUG_ON(type->cnt >= type->max); cnt 557 mm/memblock.c memmove(rgn + 1, rgn, (type->cnt - idx) * sizeof(*rgn)); cnt 562 mm/memblock.c type->cnt++; cnt 597 mm/memblock.c WARN_ON(type->cnt != 1 || type->total_size); cnt 657 mm/memblock.c while (type->cnt + nr_new > type->max) cnt 737 mm/memblock.c while (type->cnt + 2 > type->max) cnt 947 mm/memblock.c if (*idx < type->cnt) { cnt 1028 mm/memblock.c for (; idx_a < type_a->cnt; idx_a++) { cnt 1051 mm/memblock.c for (; idx_b < type_b->cnt + 1; idx_b++) { cnt 1058 mm/memblock.c r_end = idx_b < type_b->cnt ? cnt 1125 mm/memblock.c idx_a = type_a->cnt - 1; cnt 1127 mm/memblock.c idx_b = type_b->cnt; cnt 1162 mm/memblock.c r_end = idx_b < type_b->cnt ? cnt 1203 mm/memblock.c while (++*idx < type->cnt) { cnt 1211 mm/memblock.c if (*idx >= type->cnt) { cnt 1622 mm/memblock.c int idx = memblock.memory.cnt - 1; cnt 1682 mm/memblock.c for (i = memblock.memory.cnt - 1; i >= end_rgn; i--) cnt 1714 mm/memblock.c unsigned int left = 0, right = type->cnt; cnt 1846 mm/memblock.c pr_info(" %s.cnt = 0x%lx\n", type->name, type->cnt); cnt 1995 mm/memblock.c for (i = 0; i < type->cnt; i++) { cnt 4529 mm/memcontrol.c atomic_read(&frn->done.cnt) == 1) { cnt 4576 mm/memcontrol.c atomic_read(&frn->done.cnt) == 1) { cnt 1175 mm/slub.c int cnt = 0; cnt 1188 mm/slub.c cnt++; cnt 1209 mm/slub.c if (cnt != bulk_cnt) cnt 1211 mm/slub.c bulk_cnt, cnt); cnt 2837 mm/slub.c void *head, void *tail, int cnt, cnt 2851 mm/slub.c !free_debug_processing(s, page, head, tail, cnt, addr)) cnt 2864 mm/slub.c new.inuse -= cnt; cnt 2966 mm/slub.c int cnt, unsigned long addr) cnt 3002 mm/slub.c __slab_free(s, page, head, tail_obj, cnt, addr); cnt 3007 mm/slub.c void *head, void *tail, int cnt, cnt 3015 mm/slub.c do_slab_free(s, page, head, tail, cnt, addr); cnt 3039 mm/slub.c int cnt; cnt 3097 mm/slub.c df->cnt = 1; cnt 3109 mm/slub.c df->cnt++; cnt 3139 mm/slub.c slab_free(df.s, df.page, df.freelist, df.tail, df.cnt,_RET_IP_); cnt 552 mm/zsmalloc.c int type, unsigned long cnt) cnt 554 mm/zsmalloc.c class->stats.objs[type] += cnt; cnt 559 mm/zsmalloc.c int type, unsigned long cnt) cnt 561 mm/zsmalloc.c class->stats.objs[type] -= cnt; cnt 3850 net/bluetooth/hci_core.c int cnt, q; cnt 3854 net/bluetooth/hci_core.c cnt = hdev->acl_cnt; cnt 3858 net/bluetooth/hci_core.c cnt = hdev->sco_cnt; cnt 3861 net/bluetooth/hci_core.c cnt = hdev->le_mtu ? hdev->le_cnt : hdev->acl_cnt; cnt 3864 net/bluetooth/hci_core.c cnt = 0; cnt 3868 net/bluetooth/hci_core.c q = cnt / num; cnt 3905 net/bluetooth/hci_core.c int cnt, q, conn_num = 0; cnt 3957 net/bluetooth/hci_core.c cnt = hdev->acl_cnt; cnt 3960 net/bluetooth/hci_core.c cnt = hdev->block_cnt; cnt 3964 net/bluetooth/hci_core.c cnt = hdev->sco_cnt; cnt 3967 net/bluetooth/hci_core.c cnt = hdev->le_mtu ? hdev->le_cnt : hdev->acl_cnt; cnt 3970 net/bluetooth/hci_core.c cnt = 0; cnt 3974 net/bluetooth/hci_core.c q = cnt / num; cnt 4036 net/bluetooth/hci_core.c static void __check_timeout(struct hci_dev *hdev, unsigned int cnt) cnt 4041 net/bluetooth/hci_core.c if (!cnt && time_after(jiffies, hdev->acl_last_tx + cnt 4049 net/bluetooth/hci_core.c unsigned int cnt = hdev->acl_cnt; cnt 4054 net/bluetooth/hci_core.c __check_timeout(hdev, cnt); cnt 4081 net/bluetooth/hci_core.c if (cnt != hdev->acl_cnt) cnt 4087 net/bluetooth/hci_core.c unsigned int cnt = hdev->block_cnt; cnt 4093 net/bluetooth/hci_core.c __check_timeout(hdev, cnt); cnt 4135 net/bluetooth/hci_core.c if (cnt != hdev->block_cnt) cnt 4214 net/bluetooth/hci_core.c int quote, cnt, tmp; cnt 4229 net/bluetooth/hci_core.c cnt = hdev->le_pkts ? hdev->le_cnt : hdev->acl_cnt; cnt 4230 net/bluetooth/hci_core.c tmp = cnt; cnt 4231 net/bluetooth/hci_core.c while (cnt && (chan = hci_chan_sent(hdev, LE_LINK, "e))) { cnt 4246 net/bluetooth/hci_core.c cnt--; cnt 4253 net/bluetooth/hci_core.c hdev->le_cnt = cnt; cnt 4255 net/bluetooth/hci_core.c hdev->acl_cnt = cnt; cnt 4257 net/bluetooth/hci_core.c if (cnt != tmp) cnt 224 net/bridge/br_if.c u32 cnt = 0; cnt 228 net/bridge/br_if.c cnt++; cnt 230 net/bridge/br_if.c if (br->auto_cnt != cnt) { cnt 231 net/bridge/br_if.c br->auto_cnt = cnt; cnt 355 net/bridge/netfilter/ebtables.c unsigned int *cnt) cnt 386 net/bridge/netfilter/ebtables.c (*cnt)++; cnt 392 net/bridge/netfilter/ebtables.c unsigned int *cnt) cnt 423 net/bridge/netfilter/ebtables.c (*cnt)++; cnt 496 net/bridge/netfilter/ebtables.c unsigned int *n, unsigned int *cnt, cnt 512 net/bridge/netfilter/ebtables.c if (*n != *cnt) cnt 527 net/bridge/netfilter/ebtables.c *cnt = 0; cnt 540 net/bridge/netfilter/ebtables.c (*cnt)++; cnt 617 net/bridge/netfilter/ebtables.c ebt_cleanup_entry(struct ebt_entry *e, struct net *net, unsigned int *cnt) cnt 625 net/bridge/netfilter/ebtables.c if (cnt && (*cnt)-- == 0) cnt 644 net/bridge/netfilter/ebtables.c const char *name, unsigned int *cnt, cnt 748 net/bridge/netfilter/ebtables.c (*cnt)++; cnt 321 net/core/filter.c u32 cnt; cnt 335 net/core/filter.c cnt = convert_skb_access(SKF_AD_PKTTYPE, BPF_REG_A, BPF_REG_CTX, insn); cnt 336 net/core/filter.c insn += cnt - 1; cnt 359 net/core/filter.c cnt = convert_skb_access(SKF_AD_MARK, BPF_REG_A, BPF_REG_CTX, insn); cnt 360 net/core/filter.c insn += cnt - 1; cnt 371 net/core/filter.c cnt = convert_skb_access(SKF_AD_QUEUE, BPF_REG_A, BPF_REG_CTX, insn); cnt 372 net/core/filter.c insn += cnt - 1; cnt 376 net/core/filter.c cnt = convert_skb_access(SKF_AD_VLAN_TAG, cnt 378 net/core/filter.c insn += cnt - 1; cnt 382 net/core/filter.c cnt = convert_skb_access(SKF_AD_VLAN_TAG_PRESENT, cnt 384 net/core/filter.c insn += cnt - 1; cnt 1521 net/core/pktgen.c unsigned int n, cnt; cnt 1527 net/core/pktgen.c cnt = sprintf(pg_result, "OK: mpls="); cnt 1529 net/core/pktgen.c cnt += sprintf(pg_result + cnt, cnt 3958 net/ipv4/tcp.c int max_rshare, max_wshare, cnt; cnt 4014 net/ipv4/tcp.c cnt = tcp_hashinfo.ehash_mask + 1; cnt 4015 net/ipv4/tcp.c sysctl_tcp_max_orphans = cnt / 2; cnt 51 net/ipv4/tcp_bic.c u32 cnt; /* increase cwnd by 1 after ACKs */ cnt 62 net/ipv4/tcp_bic.c ca->cnt = 0; cnt 97 net/ipv4/tcp_bic.c ca->cnt = cwnd; cnt 108 net/ipv4/tcp_bic.c ca->cnt = cwnd / max_increment; cnt 111 net/ipv4/tcp_bic.c ca->cnt = (cwnd * smooth_part) / BICTCP_B; cnt 114 net/ipv4/tcp_bic.c ca->cnt = cwnd / dist; cnt 119 net/ipv4/tcp_bic.c ca->cnt = (cwnd * smooth_part) / BICTCP_B; cnt 122 net/ipv4/tcp_bic.c ca->cnt = (cwnd * (BICTCP_B-1)) cnt 126 net/ipv4/tcp_bic.c ca->cnt = cwnd / max_increment; cnt 131 net/ipv4/tcp_bic.c if (ca->cnt > 20) /* increase cwnd 5% per RTT */ cnt 132 net/ipv4/tcp_bic.c ca->cnt = 20; cnt 135 net/ipv4/tcp_bic.c ca->cnt = (ca->cnt << ACK_RATIO_SHIFT) / ca->delayed_ack; cnt 136 net/ipv4/tcp_bic.c if (ca->cnt == 0) /* cannot be zero */ cnt 137 net/ipv4/tcp_bic.c ca->cnt = 1; cnt 152 net/ipv4/tcp_bic.c tcp_cong_avoid_ai(tp, ca->cnt, 1); cnt 85 net/ipv4/tcp_cubic.c u32 cnt; /* increase cwnd by 1 after ACKs */ cnt 107 net/ipv4/tcp_cubic.c ca->cnt = 0; cnt 298 net/ipv4/tcp_cubic.c ca->cnt = cwnd / (bic_target - cwnd); cnt 300 net/ipv4/tcp_cubic.c ca->cnt = 100 * cwnd; /* very small increment*/ cnt 307 net/ipv4/tcp_cubic.c if (ca->last_max_cwnd == 0 && ca->cnt > 20) cnt 308 net/ipv4/tcp_cubic.c ca->cnt = 20; /* increase cwnd 5% per RTT */ cnt 324 net/ipv4/tcp_cubic.c if (ca->cnt > max_cnt) cnt 325 net/ipv4/tcp_cubic.c ca->cnt = max_cnt; cnt 332 net/ipv4/tcp_cubic.c ca->cnt = max(ca->cnt, 2U); cnt 351 net/ipv4/tcp_cubic.c tcp_cong_avoid_ai(tp, ca->cnt, acked); cnt 2194 net/ipv4/tcp_input.c int cnt, oldcnt, lost; cnt 2205 net/ipv4/tcp_input.c cnt = tp->lost_cnt_hint; cnt 2208 net/ipv4/tcp_input.c cnt = 0; cnt 2215 net/ipv4/tcp_input.c tp->lost_cnt_hint = cnt; cnt 2220 net/ipv4/tcp_input.c oldcnt = cnt; cnt 2223 net/ipv4/tcp_input.c cnt += tcp_skb_pcount(skb); cnt 2225 net/ipv4/tcp_input.c if (cnt > packets) { cnt 2238 net/ipv4/tcp_input.c cnt = packets; cnt 2634 net/ipv4/tcp_ipv4.c int res, cpu, cnt; cnt 2681 net/ipv4/tcp_ipv4.c cnt = tcp_hashinfo.ehash_mask + 1; cnt 2682 net/ipv4/tcp_ipv4.c net->ipv4.tcp_death_row.sysctl_max_tw_buckets = cnt / 2; cnt 2685 net/ipv4/tcp_ipv4.c net->ipv4.sysctl_max_syn_backlog = max(128, cnt / 128); cnt 185 net/ipv4/tcp_nv.c u32 cnt; cnt 201 net/ipv4/tcp_nv.c cnt = tp->snd_cwnd << -ca->cwnd_growth_factor; cnt 202 net/ipv4/tcp_nv.c tcp_cong_avoid_ai(tp, cnt, acked); cnt 204 net/ipv4/tcp_nv.c cnt = max(4U, tp->snd_cwnd >> ca->cwnd_growth_factor); cnt 205 net/ipv4/tcp_nv.c tcp_cong_avoid_ai(tp, cnt, acked); cnt 1879 net/ipv6/addrconf.c int cnt = 0; cnt 1883 net/ipv6/addrconf.c cnt++; cnt 1885 net/ipv6/addrconf.c return cnt; cnt 626 net/llc/llc_conn.c u16 cnt = 0; cnt 631 net/llc/llc_conn.c ++cnt; cnt 632 net/llc/llc_conn.c return cnt; cnt 337 net/mac80211/debugfs_key.c key->debugfs.cnt = keycount; cnt 389 net/mac80211/debugfs_key.c sprintf(buf, "../keys/%d", key->debugfs.cnt); cnt 401 net/mac80211/debugfs_key.c sprintf(buf, "../keys/%d", key->debugfs.cnt); cnt 419 net/mac80211/debugfs_key.c sprintf(buf, "../keys/%d", key->debugfs.cnt); cnt 126 net/mac80211/key.h int cnt; cnt 147 net/netfilter/ipvs/ip_vs_core.c s->cnt.inpkts++; cnt 148 net/netfilter/ipvs/ip_vs_core.c s->cnt.inbytes += skb->len; cnt 154 net/netfilter/ipvs/ip_vs_core.c s->cnt.inpkts++; cnt 155 net/netfilter/ipvs/ip_vs_core.c s->cnt.inbytes += skb->len; cnt 160 net/netfilter/ipvs/ip_vs_core.c s->cnt.inpkts++; cnt 161 net/netfilter/ipvs/ip_vs_core.c s->cnt.inbytes += skb->len; cnt 183 net/netfilter/ipvs/ip_vs_core.c s->cnt.outpkts++; cnt 184 net/netfilter/ipvs/ip_vs_core.c s->cnt.outbytes += skb->len; cnt 190 net/netfilter/ipvs/ip_vs_core.c s->cnt.outpkts++; cnt 191 net/netfilter/ipvs/ip_vs_core.c s->cnt.outbytes += skb->len; cnt 196 net/netfilter/ipvs/ip_vs_core.c s->cnt.outpkts++; cnt 197 net/netfilter/ipvs/ip_vs_core.c s->cnt.outbytes += skb->len; cnt 215 net/netfilter/ipvs/ip_vs_core.c s->cnt.conns++; cnt 220 net/netfilter/ipvs/ip_vs_core.c s->cnt.conns++; cnt 225 net/netfilter/ipvs/ip_vs_core.c s->cnt.conns++; cnt 2255 net/netfilter/ipvs/ip_vs_ctl.c conns = u->cnt.conns; cnt 2256 net/netfilter/ipvs/ip_vs_ctl.c inpkts = u->cnt.inpkts; cnt 2257 net/netfilter/ipvs/ip_vs_ctl.c outpkts = u->cnt.outpkts; cnt 2258 net/netfilter/ipvs/ip_vs_ctl.c inbytes = u->cnt.inbytes; cnt 2259 net/netfilter/ipvs/ip_vs_ctl.c outbytes = u->cnt.outbytes; cnt 70 net/netfilter/ipvs/ip_vs_est.c conns = s->cnt.conns; cnt 71 net/netfilter/ipvs/ip_vs_est.c inpkts = s->cnt.inpkts; cnt 72 net/netfilter/ipvs/ip_vs_est.c outpkts = s->cnt.outpkts; cnt 73 net/netfilter/ipvs/ip_vs_est.c inbytes = s->cnt.inbytes; cnt 74 net/netfilter/ipvs/ip_vs_est.c outbytes = s->cnt.outbytes; cnt 85 net/netfilter/ipvs/ip_vs_est.c sum->conns = s->cnt.conns; cnt 86 net/netfilter/ipvs/ip_vs_est.c sum->inpkts = s->cnt.inpkts; cnt 87 net/netfilter/ipvs/ip_vs_est.c sum->outpkts = s->cnt.outpkts; cnt 88 net/netfilter/ipvs/ip_vs_est.c sum->inbytes = s->cnt.inbytes; cnt 89 net/netfilter/ipvs/ip_vs_est.c sum->outbytes = s->cnt.outbytes; cnt 756 net/netfilter/nf_tables_api.c static void nft_table_disable(struct net *net, struct nft_table *table, u32 cnt) cnt 767 net/netfilter/nf_tables_api.c if (cnt && i++ == cnt) cnt 4968 net/netfilter/nf_tables_api.c for (i = 0; i < gcb->head.cnt; i++) cnt 807 net/rds/af_rds.c unsigned int cnt = 0; cnt 815 net/rds/af_rds.c cnt = rds_sock_count; cnt 832 net/rds/af_rds.c cnt++; cnt 836 net/rds/af_rds.c lens->nr = cnt; cnt 3143 net/sched/cls_api.c struct tcf_proto *tp, u32 *cnt, cnt 3150 net/sched/cls_api.c if (!*cnt) cnt 3152 net/sched/cls_api.c *cnt += diff; cnt 3154 net/sched/cls_api.c *cnt -= diff; cnt 3155 net/sched/cls_api.c if (!*cnt) cnt 3163 net/sched/cls_api.c u32 *cnt, u32 *flags) cnt 3169 net/sched/cls_api.c *cnt = 0; cnt 1303 net/sched/cls_flower.c #define FL_KEY_SET(keys, cnt, id, member) \ cnt 1305 net/sched/cls_flower.c keys[cnt].key_id = id; \ cnt 1306 net/sched/cls_flower.c keys[cnt].offset = FL_KEY_MEMBER_OFFSET(member); \ cnt 1307 net/sched/cls_flower.c cnt++; \ cnt 1310 net/sched/cls_flower.c #define FL_KEY_SET_IF_MASKED(mask, keys, cnt, id, member) \ cnt 1313 net/sched/cls_flower.c FL_KEY_SET(keys, cnt, id, member); \ cnt 1320 net/sched/cls_flower.c size_t cnt = 0; cnt 1322 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1324 net/sched/cls_flower.c FL_KEY_SET(keys, cnt, FLOW_DISSECTOR_KEY_CONTROL, control); cnt 1325 net/sched/cls_flower.c FL_KEY_SET(keys, cnt, FLOW_DISSECTOR_KEY_BASIC, basic); cnt 1326 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1328 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1330 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1332 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1334 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1336 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1338 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1340 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1342 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1344 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1346 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1348 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1350 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1352 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1354 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1358 net/sched/cls_flower.c FL_KEY_SET(keys, cnt, FLOW_DISSECTOR_KEY_ENC_CONTROL, cnt 1360 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1362 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1364 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1366 net/sched/cls_flower.c FL_KEY_SET_IF_MASKED(mask, keys, cnt, cnt 1369 net/sched/cls_flower.c skb_flow_dissector_init(dissector, keys, cnt); cnt 1330 net/sched/cls_u32.c __u32 cnt = *per_cpu_ptr(n->pcpu_success, cpum); cnt 1332 net/sched/cls_u32.c mark.success += cnt; cnt 182 net/sched/sch_generic.c int cnt = 0; cnt 194 net/sched/sch_generic.c } while (++cnt < 8); cnt 195 net/sched/sch_generic.c (*packets) += cnt; cnt 332 net/sctp/bind_addr.c int cnt = 0; cnt 343 net/sctp/bind_addr.c cnt = 0; cnt 346 net/sctp/bind_addr.c cnt++; cnt 350 net/sctp/bind_addr.c return (cnt == cnt2) ? 0 : (exist ? -EEXIST : 1); cnt 733 net/sctp/input.c int cnt = 0, err = 1; cnt 736 net/sctp/input.c cnt++; cnt 747 net/sctp/input.c sctp_sk(sk), cnt); cnt 3838 net/sctp/sm_make_chunk.c __u16 cnt = 0; cnt 3845 net/sctp/sm_make_chunk.c if (cnt++ > 2) cnt 491 net/sctp/socket.c int cnt; cnt 501 net/sctp/socket.c for (cnt = 0; cnt < addrcnt; cnt++) { cnt 520 net/sctp/socket.c if (cnt > 0) cnt 521 net/sctp/socket.c sctp_bindx_rem(sk, addrs, cnt); cnt 666 net/sctp/socket.c int cnt; cnt 677 net/sctp/socket.c for (cnt = 0; cnt < addrcnt; cnt++) { cnt 722 net/sctp/socket.c if (cnt > 0) cnt 723 net/sctp/socket.c sctp_bindx_add(sk, addrs, cnt); cnt 6166 net/sctp/socket.c int cnt = 0; cnt 6200 net/sctp/socket.c cnt++; cnt 6204 net/sctp/socket.c if (put_user(cnt, &((struct sctp_getaddrs __user *)optval)->addr_num)) cnt 6218 net/sctp/socket.c int cnt = 0; cnt 6242 net/sctp/socket.c cnt = -ENOMEM; cnt 6248 net/sctp/socket.c cnt++; cnt 6254 net/sctp/socket.c return cnt; cnt 6263 net/sctp/socket.c int cnt = 0; cnt 6311 net/sctp/socket.c cnt = sctp_copy_laddrs(sk, bp->port, addrs, cnt 6313 net/sctp/socket.c if (cnt < 0) { cnt 6314 net/sctp/socket.c err = cnt; cnt 6337 net/sctp/socket.c cnt++; cnt 6346 net/sctp/socket.c if (put_user(cnt, &((struct sctp_getaddrs __user *)optval)->addr_num)) { cnt 6635 net/sctp/socket.c int cnt = 0; cnt 6659 net/sctp/socket.c cnt++; cnt 6662 net/sctp/socket.c assocparams.sasoc_number_peer_destinations = cnt; cnt 124 net/smc/smc_clc.c int cnt = 0; cnt 132 net/smc/smc_clc.c ipv6_addr_prefix(&ipv6_prfx[cnt].prefix, cnt 134 net/smc/smc_clc.c ipv6_prfx[cnt].prefix_len = ifa->prefix_len; cnt 135 net/smc/smc_clc.c cnt++; cnt 136 net/smc/smc_clc.c if (cnt == SMC_CLC_MAX_V6_PREFIX) cnt 139 net/smc/smc_clc.c prop->ipv6_prefixes_cnt = cnt; cnt 140 net/smc/smc_clc.c if (cnt) cnt 167 net/sunrpc/rpcb_clnt.c int cnt; cnt 173 net/sunrpc/rpcb_clnt.c cnt = sn->rpcb_users; cnt 176 net/sunrpc/rpcb_clnt.c return cnt; cnt 247 net/vmw_vsock/virtio_transport.c int cnt = 0, ret; cnt 267 net/vmw_vsock/virtio_transport.c cnt++; cnt 272 net/vmw_vsock/virtio_transport.c if (cnt) { cnt 276 net/vmw_vsock/virtio_transport.c new_cnt = atomic_sub_return(cnt, &vsock->queued_replies); cnt 277 net/vmw_vsock/virtio_transport.c if (new_cnt + cnt >= virtqueue_get_vring_size(rx_vq) && cnt 436 net/wimax/stack.c unsigned int cnt, total; cnt 438 net/wimax/stack.c for (total = cnt = 0; cnt < addr_len; cnt++) cnt 440 net/wimax/stack.c "%02x%c", addr[cnt], cnt 441 net/wimax/stack.c cnt == addr_len - 1 ? '\0' : ':'); cnt 552 net/wireless/core.c u32 cnt = 0; cnt 624 net/wireless/core.c cnt += c->limits[j].max; cnt 639 net/wireless/core.c if (WARN_ON(cnt < c->max_interfaces)) cnt 40 net/xdp/xsk.c bool xsk_umem_has_addrs(struct xdp_umem *umem, u32 cnt) cnt 42 net/xdp/xsk.c return xskq_has_addrs(umem->fq, cnt); cnt 121 net/xdp/xsk_queue.h static inline bool xskq_has_addrs(struct xsk_queue *q, u32 cnt) cnt 125 net/xdp/xsk_queue.h if (entries >= cnt) cnt 132 net/xdp/xsk_queue.h return entries >= cnt; cnt 631 net/xfrm/xfrm_policy.c unsigned int cnt = net->xfrm.policy_count[dir]; cnt 635 net/xfrm/xfrm_policy.c *total += cnt; cnt 638 net/xfrm/xfrm_policy.c cnt > hmask) cnt 1775 net/xfrm/xfrm_policy.c int dir, err = 0, cnt = 0; cnt 1794 net/xfrm/xfrm_policy.c cnt++; cnt 1800 net/xfrm/xfrm_policy.c if (cnt) cnt 758 net/xfrm/xfrm_state.c int i, err = 0, cnt = 0; cnt 783 net/xfrm/xfrm_state.c cnt++; cnt 792 net/xfrm/xfrm_state.c if (cnt) cnt 801 net/xfrm/xfrm_state.c int i, err = 0, cnt = 0; cnt 825 net/xfrm/xfrm_state.c cnt++; cnt 832 net/xfrm/xfrm_state.c if (cnt) cnt 31 samples/bpf/trace_output_user.c static __u64 cnt; cnt 48 samples/bpf/trace_output_user.c cnt++; cnt 50 samples/bpf/trace_output_user.c if (cnt == MAX_CNT) { cnt 84 samples/bpf/trace_output_user.c while ((ret = perf_buffer__poll(pb, 1000)) >= 0 && cnt < MAX_CNT) { cnt 82 samples/bpf/tracex3_user.c __u64 cnt[SLOTS]; cnt 92 samples/bpf/tracex3_user.c cnt[key] = value; cnt 99 samples/bpf/tracex3_user.c int c = num_colors * cnt[key] / (max_cnt + 1); cnt 49 samples/bpf/xdp_monitor_kern.c u64 *cnt; cnt 54 samples/bpf/xdp_monitor_kern.c cnt = bpf_map_lookup_elem(&redirect_err_cnt, &key); cnt 55 samples/bpf/xdp_monitor_kern.c if (!cnt) cnt 57 samples/bpf/xdp_monitor_kern.c *cnt += 1; cnt 108 samples/bpf/xdp_monitor_kern.c u64 *cnt; cnt 115 samples/bpf/xdp_monitor_kern.c cnt = bpf_map_lookup_elem(&exception_cnt, &key); cnt 116 samples/bpf/xdp_monitor_kern.c if (!cnt) cnt 118 samples/bpf/xdp_monitor_kern.c *cnt += 1; cnt 1731 samples/mic/mpssd/mpssd.c int cnt = 0; cnt 1748 samples/mic/mpssd/mpssd.c cnt++; cnt 1754 samples/mic/mpssd/mpssd.c return cnt; cnt 1783 samples/mic/mpssd/mpssd.c int cnt; cnt 1805 samples/mic/mpssd/mpssd.c cnt = init_mic_list(); cnt 1806 samples/mic/mpssd/mpssd.c if (cnt == 0) { cnt 1810 samples/mic/mpssd/mpssd.c mpsslog("MIC found %d devices\n", cnt); cnt 22 samples/trace_events/trace-events-sample.c static void simple_thread_func(int cnt) cnt 25 samples/trace_events/trace-events-sample.c int len = cnt % 5; cnt 36 samples/trace_events/trace-events-sample.c trace_foo_bar("hello", cnt, array, random_strings[len], cnt 39 samples/trace_events/trace-events-sample.c trace_foo_with_template_simple("HELLO", cnt); cnt 41 samples/trace_events/trace-events-sample.c trace_foo_bar_with_cond("Some times print", cnt); cnt 43 samples/trace_events/trace-events-sample.c trace_foo_with_template_cond("prints other times", cnt); cnt 45 samples/trace_events/trace-events-sample.c trace_foo_with_template_print("I have to be different", cnt); cnt 50 samples/trace_events/trace-events-sample.c int cnt = 0; cnt 53 samples/trace_events/trace-events-sample.c simple_thread_func(cnt++); cnt 61 samples/trace_events/trace-events-sample.c static void simple_thread_func_fn(int cnt) cnt 67 samples/trace_events/trace-events-sample.c trace_foo_bar_with_fn("Look at me", cnt); cnt 68 samples/trace_events/trace-events-sample.c trace_foo_with_template_fn("Look at me too", cnt); cnt 73 samples/trace_events/trace-events-sample.c int cnt = 0; cnt 76 samples/trace_events/trace-events-sample.c simple_thread_func_fn(cnt++); cnt 1646 scripts/dtc/checks.c int cnt = 0; cnt 1659 scripts/dtc/checks.c cnt++; cnt 1662 scripts/dtc/checks.c if (cnt == 1 && node->addr_cells != -1) cnt 261 scripts/kconfig/conf.c int cnt, def; cnt 265 scripts/kconfig/conf.c cnt = def = 0; cnt 274 scripts/kconfig/conf.c cnt++; cnt 276 scripts/kconfig/conf.c def = cnt; cnt 280 scripts/kconfig/conf.c printf(" %d. %s", cnt, menu_get_prompt(child)); cnt 288 scripts/kconfig/conf.c if (cnt == 1) { cnt 292 scripts/kconfig/conf.c printf("[1-%d?]: ", cnt); cnt 297 scripts/kconfig/conf.c cnt = def; cnt 298 scripts/kconfig/conf.c printf("%d\n", cnt); cnt 311 scripts/kconfig/conf.c cnt = def; cnt 313 scripts/kconfig/conf.c cnt = atoi(line); cnt 325 scripts/kconfig/conf.c if (!--cnt) cnt 1175 scripts/kconfig/confdata.c int cnt, def; cnt 1188 scripts/kconfig/confdata.c cnt = 0; cnt 1190 scripts/kconfig/confdata.c cnt++; cnt 1196 scripts/kconfig/confdata.c def = (rand() % cnt); cnt 1198 scripts/kconfig/confdata.c cnt = 0; cnt 1200 scripts/kconfig/confdata.c if (def == cnt++) { cnt 1241 scripts/kconfig/confdata.c int i, cnt, pby, pty, ptm; /* pby: probability of bool = y cnt 1310 scripts/kconfig/confdata.c cnt = rand() % 100; cnt 1312 scripts/kconfig/confdata.c if (cnt < pty) cnt 1314 scripts/kconfig/confdata.c else if (cnt < (pty+ptm)) cnt 1316 scripts/kconfig/confdata.c } else if (cnt < pby) cnt 952 scripts/kconfig/symbol.c int i, cnt, size; cnt 956 scripts/kconfig/symbol.c cnt = size = 0; cnt 968 scripts/kconfig/symbol.c if (cnt >= size) { cnt 980 scripts/kconfig/symbol.c sym_match_arr[cnt].so = match[0].rm_so; cnt 981 scripts/kconfig/symbol.c sym_match_arr[cnt].eo = match[0].rm_eo; cnt 982 scripts/kconfig/symbol.c sym_match_arr[cnt++].sym = sym; cnt 985 scripts/kconfig/symbol.c qsort(sym_match_arr, cnt, sizeof(struct sym_match), sym_rel_comp); cnt 986 scripts/kconfig/symbol.c sym_arr = malloc((cnt+1) * sizeof(struct symbol *)); cnt 989 scripts/kconfig/symbol.c for (i = 0; i < cnt; i++) cnt 991 scripts/kconfig/symbol.c sym_arr[cnt] = NULL; cnt 551 scripts/mod/file2alias.c int i, byte_shift, cnt = 0; cnt 554 scripts/mod/file2alias.c sprintf(&alias[cnt], "acpi*:"); cnt 555 scripts/mod/file2alias.c cnt = 6; cnt 560 scripts/mod/file2alias.c sprintf(&alias[cnt], "%02x", cnt 563 scripts/mod/file2alias.c sprintf(&alias[cnt], "??"); cnt 564 scripts/mod/file2alias.c cnt += 2; cnt 566 scripts/mod/file2alias.c sprintf(&alias[cnt], ":*"); cnt 101 scripts/recordmcount.c size_t cnt = count; cnt 120 scripts/recordmcount.c cnt = file_end - file_ptr; cnt 122 scripts/recordmcount.c cnt = 0; cnt 127 scripts/recordmcount.c if (cnt) cnt 128 scripts/recordmcount.c memcpy(file_ptr, buf, cnt); cnt 130 scripts/recordmcount.c if (cnt < count) cnt 131 scripts/recordmcount.c memcpy(file_append + idx, buf + cnt, count - cnt); cnt 265 scripts/recordmcount.c int cnt = 1; cnt 273 scripts/recordmcount.c cnt = 2; cnt 278 scripts/recordmcount.c cnt = 3; cnt 292 scripts/recordmcount.c } while (--cnt > 0); cnt 3259 security/selinux/ss/policydb.c int *cnt = ptr; cnt 3260 security/selinux/ss/policydb.c *cnt = *cnt + 1; cnt 390 security/smack/smackfs.c ssize_t cnt = 0; cnt 399 security/smack/smackfs.c while (isspace(data[cnt])) cnt 400 security/smack/smackfs.c data[cnt++] = '\0'; cnt 402 security/smack/smackfs.c if (data[cnt] == '\0') cnt 406 security/smack/smackfs.c tok[i] = data + cnt; cnt 408 security/smack/smackfs.c while (data[cnt] && !isspace(data[cnt])) cnt 409 security/smack/smackfs.c ++cnt; cnt 411 security/smack/smackfs.c while (isspace(data[cnt])) cnt 412 security/smack/smackfs.c data[cnt++] = '\0'; cnt 418 security/smack/smackfs.c return rc == 0 ? cnt : rc; cnt 453 security/smack/smackfs.c ssize_t cnt = 0; cnt 494 security/smack/smackfs.c while (cnt < count) { cnt 499 security/smack/smackfs.c cnt = count; cnt 501 security/smack/smackfs.c rc = smk_parse_long_rule(data + cnt, &rule, 1, tokens); cnt 508 security/smack/smackfs.c cnt += rc; cnt 521 security/smack/smackfs.c rc = cnt; cnt 340 sound/aoa/soundbus/i2sbus/pcm.c int cnt; cnt 505 sound/aoa/soundbus/i2sbus/pcm.c cnt = 100; cnt 506 sound/aoa/soundbus/i2sbus/pcm.c while (cnt-- && cnt 63 sound/isa/wavefront/wavefront_fx.c int cnt, cnt 78 sound/isa/wavefront/wavefront_fx.c if (cnt == 1) { cnt 96 sound/isa/wavefront/wavefront_fx.c for (i = 0; i < cnt; i++) { cnt 104 sound/isa/wavefront/wavefront_fx.c if (i != cnt) { cnt 107 sound/isa/wavefront/wavefront_fx.c page, addr, (unsigned long) data, cnt); cnt 688 sound/isa/wavefront/wavefront_synth.c int i, x, cnt, cnt2; cnt 715 sound/isa/wavefront/wavefront_synth.c for (i = 0, cnt = 0, cnt2 = 0; i < WF_MAX_PATCH; i++) { cnt 717 sound/isa/wavefront/wavefront_synth.c cnt++; cnt 724 sound/isa/wavefront/wavefront_synth.c snd_printk ("%d patch slots filled, %d in use\n", cnt, cnt2); cnt 736 sound/isa/wavefront/wavefront_synth.c int i, x, l, cnt; cnt 765 sound/isa/wavefront/wavefront_synth.c for (i = 0, cnt = 0; i < WF_MAX_PROGRAM; i++) { cnt 767 sound/isa/wavefront/wavefront_synth.c cnt++; cnt 771 sound/isa/wavefront/wavefront_synth.c snd_printk ("%d programs slots in use\n", cnt); cnt 1266 sound/oss/dmasound/dmasound_atari.c static int cnt; cnt 1268 sound/oss/dmasound/dmasound_atari.c if (++cnt == 10) { cnt 1270 sound/oss/dmasound/dmasound_atari.c cnt = 0; cnt 545 sound/pci/au88x0/au88x0_eq.c vortex_Eqlzr_GetAllBands(vortex_t * vortex, u16 * gains, s32 *cnt) cnt 562 sound/pci/au88x0/au88x0_eq.c *cnt = si * 2; cnt 668 sound/pci/cs46xx/cs46xx_lib.c int cnt; cnt 683 sound/pci/cs46xx/cs46xx_lib.c for (cnt = 0; cnt < 25; cnt++) { cnt 759 sound/pci/cs46xx/cs46xx_lib.c unsigned int frameGroupLength, cnt; cnt 836 sound/pci/cs46xx/cs46xx_lib.c for (cnt = 2; cnt <= 64; cnt *= 2) { cnt 837 sound/pci/cs46xx/cs46xx_lib.c if (((rate / cnt) * cnt) != rate) cnt 843 sound/pci/cs46xx/cs46xx_lib.c for (cnt = 5; cnt <= 125; cnt *= 5) { cnt 844 sound/pci/cs46xx/cs46xx_lib.c if (((rate / cnt) * cnt) != rate) cnt 800 sound/pci/echoaudio/echoaudio.c size_t cnt, bufsize, pos; cnt 802 sound/pci/echoaudio/echoaudio.c cnt = le32_to_cpu(*pipe->dma_counter); cnt 803 sound/pci/echoaudio/echoaudio.c pipe->position += cnt - pipe->last_counter; cnt 804 sound/pci/echoaudio/echoaudio.c pipe->last_counter = cnt; cnt 617 sound/pci/hda/patch_sigmatel.c #define STAC_ANALOG_LOOPBACK(verb_read, verb_write, cnt) \ cnt 621 sound/pci/hda/patch_sigmatel.c .count = cnt, \ cnt 938 sound/pci/intel8x0.c unsigned int cnt; cnt 944 sound/pci/intel8x0.c cnt = igetdword(chip, ICHREG(ALI_SCR)); cnt 945 sound/pci/intel8x0.c cnt &= ~ICH_ALI_SC_PCM_246_MASK; cnt 947 sound/pci/intel8x0.c cnt |= ICH_ALI_SC_PCM_4; cnt 949 sound/pci/intel8x0.c cnt |= ICH_ALI_SC_PCM_6; cnt 950 sound/pci/intel8x0.c iputdword(chip, ICHREG(ALI_SCR), cnt); cnt 953 sound/pci/intel8x0.c cnt = igetdword(chip, ICHREG(GLOB_CNT)); cnt 954 sound/pci/intel8x0.c cnt &= ~ICH_SIS_PCM_246_MASK; cnt 956 sound/pci/intel8x0.c cnt |= ICH_SIS_PCM_4; cnt 958 sound/pci/intel8x0.c cnt |= ICH_SIS_PCM_6; cnt 959 sound/pci/intel8x0.c iputdword(chip, ICHREG(GLOB_CNT), cnt); cnt 962 sound/pci/intel8x0.c cnt = igetdword(chip, ICHREG(GLOB_CNT)); cnt 963 sound/pci/intel8x0.c cnt &= ~(ICH_PCM_246_MASK | ICH_PCM_20BIT); cnt 965 sound/pci/intel8x0.c cnt |= ICH_PCM_4; cnt 967 sound/pci/intel8x0.c cnt |= ICH_PCM_6; cnt 969 sound/pci/intel8x0.c cnt |= ICH_PCM_8; cnt 974 sound/pci/intel8x0.c if (cnt & ICH_PCM_246_MASK) { cnt 975 sound/pci/intel8x0.c iputdword(chip, ICHREG(GLOB_CNT), cnt & ~ICH_PCM_246_MASK); cnt 982 sound/pci/intel8x0.c cnt |= ICH_PCM_20BIT; cnt 984 sound/pci/intel8x0.c iputdword(chip, ICHREG(GLOB_CNT), cnt); cnt 2353 sound/pci/intel8x0.c unsigned int cnt; cnt 2359 sound/pci/intel8x0.c cnt = igetdword(chip, ICHREG(GLOB_CNT)); cnt 2360 sound/pci/intel8x0.c cnt &= ~(ICH_ACLINK | ICH_PCM_246_MASK); cnt 2365 sound/pci/intel8x0.c iputdword(chip, ICHREG(GLOB_CNT), cnt & ~ICH_AC97COLD); cnt 2366 sound/pci/intel8x0.c cnt = igetdword(chip, ICHREG(GLOB_CNT)); cnt 2368 sound/pci/intel8x0.c iputdword(chip, ICHREG(GLOB_CNT), cnt | ICH_AC97COLD); cnt 2382 sound/pci/intel8x0.c unsigned int cnt; cnt 2384 sound/pci/intel8x0.c cnt = igetdword(chip, ICHREG(GLOB_CNT)); cnt 2385 sound/pci/intel8x0.c cnt &= ~(ICH_ACLINK | ICH_PCM_246_MASK); cnt 2387 sound/pci/intel8x0.c cnt |= (cnt & ICH_AC97COLD) == 0 ? ICH_AC97COLD : ICH_AC97WARM; cnt 2388 sound/pci/intel8x0.c iputdword(chip, ICHREG(GLOB_CNT), cnt); cnt 2404 sound/pci/intel8x0.c unsigned int cnt; cnt 2412 sound/pci/intel8x0.c cnt = igetdword(chip, ICHREG(GLOB_STA)); cnt 2413 sound/pci/intel8x0.c iputdword(chip, ICHREG(GLOB_STA), cnt & status); cnt 876 sound/pci/intel8x0m.c unsigned int cnt, status, nstatus; cnt 881 sound/pci/intel8x0m.c cnt = igetdword(chip, ICHREG(GLOB_STA)); cnt 882 sound/pci/intel8x0m.c iputdword(chip, ICHREG(GLOB_STA), cnt & status); cnt 885 sound/pci/intel8x0m.c cnt = igetdword(chip, ICHREG(GLOB_CNT)); cnt 886 sound/pci/intel8x0m.c cnt &= ~(ICH_ACLINK); cnt 888 sound/pci/intel8x0m.c cnt |= (cnt & ICH_AC97COLD) == 0 ? ICH_AC97COLD : ICH_AC97WARM; cnt 889 sound/pci/intel8x0m.c iputdword(chip, ICHREG(GLOB_CNT), cnt); cnt 103 sound/soc/codecs/ak4613.c int cnt; cnt 247 sound/soc/codecs/ak4613.c priv->cnt--; cnt 248 sound/soc/codecs/ak4613.c if (priv->cnt < 0) { cnt 250 sound/soc/codecs/ak4613.c priv->cnt = 0; cnt 252 sound/soc/codecs/ak4613.c if (!priv->cnt) cnt 307 sound/soc/codecs/ak4613.c priv->cnt++; cnt 665 sound/soc/codecs/ak4613.c priv->cnt = 0; cnt 989 sound/soc/codecs/da7210.c u8 pll_div1, pll_div2, pll_div3, cnt; cnt 996 sound/soc/codecs/da7210.c for (cnt = 0; cnt < ARRAY_SIZE(da7210_pll_div); cnt++) { cnt 998 sound/soc/codecs/da7210.c if ((fref == da7210_pll_div[cnt].fref) && cnt 999 sound/soc/codecs/da7210.c (da7210->master == da7210_pll_div[cnt].mode) && cnt 1000 sound/soc/codecs/da7210.c (fout == da7210_pll_div[cnt].fout)) { cnt 1002 sound/soc/codecs/da7210.c pll_div1 = da7210_pll_div[cnt].div1; cnt 1003 sound/soc/codecs/da7210.c pll_div2 = da7210_pll_div[cnt].div2; cnt 1004 sound/soc/codecs/da7210.c pll_div3 = da7210_pll_div[cnt].div3; cnt 1008 sound/soc/codecs/da7210.c if (cnt >= ARRAY_SIZE(da7210_pll_div)) cnt 1285 sound/soc/codecs/da9055.c u8 pll_frac_top, pll_frac_bot, pll_integer, cnt; cnt 1295 sound/soc/codecs/da9055.c for (cnt = 0; cnt < ARRAY_SIZE(da9055_pll_div); cnt++) { cnt 1297 sound/soc/codecs/da9055.c if ((fref == da9055_pll_div[cnt].fref) && cnt 1298 sound/soc/codecs/da9055.c (da9055->master == da9055_pll_div[cnt].mode) && cnt 1299 sound/soc/codecs/da9055.c (fout == da9055_pll_div[cnt].fout)) { cnt 1301 sound/soc/codecs/da9055.c pll_frac_top = da9055_pll_div[cnt].frac_top; cnt 1302 sound/soc/codecs/da9055.c pll_frac_bot = da9055_pll_div[cnt].frac_bot; cnt 1303 sound/soc/codecs/da9055.c pll_integer = da9055_pll_div[cnt].integer; cnt 1307 sound/soc/codecs/da9055.c if (cnt >= ARRAY_SIZE(da9055_pll_div)) cnt 144 sound/soc/codecs/tscs42xx.c int cnt; cnt 148 sound/soc/codecs/tscs42xx.c for (cnt = 0; cnt < coeff_cnt; cnt++, addr++) { cnt 349 sound/soc/codecs/tscs454.c int cnt; cnt 353 sound/soc/codecs/tscs454.c for (cnt = 0; cnt < coeff_cnt; cnt++, coeff_addr++) { cnt 471 sound/soc/intel/boards/bytcht_es8316.c unsigned int cnt = 0; cnt 547 sound/soc/intel/boards/bytcht_es8316.c props[cnt++] = PROPERTY_ENTRY_BOOL("everest,jack-detect-inverted"); cnt 549 sound/soc/intel/boards/bytcht_es8316.c if (cnt) { cnt 765 sound/soc/intel/boards/bytcr_rt5640.c int ret, cnt = 0; cnt 773 sound/soc/intel/boards/bytcr_rt5640.c props[cnt++] = PROPERTY_ENTRY_U32("realtek,dmic1-data-pin", cnt 777 sound/soc/intel/boards/bytcr_rt5640.c props[cnt++] = PROPERTY_ENTRY_U32("realtek,dmic2-data-pin", cnt 782 sound/soc/intel/boards/bytcr_rt5640.c props[cnt++] = cnt 787 sound/soc/intel/boards/bytcr_rt5640.c props[cnt++] = cnt 793 sound/soc/intel/boards/bytcr_rt5640.c props[cnt++] = PROPERTY_ENTRY_U32( cnt 797 sound/soc/intel/boards/bytcr_rt5640.c props[cnt++] = PROPERTY_ENTRY_U32( cnt 801 sound/soc/intel/boards/bytcr_rt5640.c props[cnt++] = PROPERTY_ENTRY_U32( cnt 807 sound/soc/intel/boards/bytcr_rt5640.c props[cnt++] = PROPERTY_ENTRY_BOOL("realtek,jack-detect-not-inverted"); cnt 520 sound/soc/intel/boards/bytcr_rt5651.c int cnt = 0; cnt 522 sound/soc/intel/boards/bytcr_rt5651.c props[cnt++] = PROPERTY_ENTRY_U32("realtek,jack-detect-source", cnt 525 sound/soc/intel/boards/bytcr_rt5651.c props[cnt++] = PROPERTY_ENTRY_U32("realtek,over-current-threshold-microamp", cnt 528 sound/soc/intel/boards/bytcr_rt5651.c props[cnt++] = PROPERTY_ENTRY_U32("realtek,over-current-scale-factor", cnt 532 sound/soc/intel/boards/bytcr_rt5651.c props[cnt++] = PROPERTY_ENTRY_BOOL("realtek,dmic-en"); cnt 535 sound/soc/intel/boards/bytcr_rt5651.c props[cnt++] = PROPERTY_ENTRY_BOOL("realtek,jack-detect-not-inverted"); cnt 39 sound/soc/intel/skylake/skl-messages.c void skl_dsp_set_astate_cfg(struct skl_dev *skl, u32 cnt, void *data) cnt 44 sound/soc/intel/skylake/skl-messages.c msg.param_data_size = (cnt * sizeof(struct skl_astate_param) + cnt 45 sound/soc/intel/skylake/skl-messages.c sizeof(cnt)); cnt 121 sound/soc/intel/skylake/skl-nhlt.c int cnt; cnt 124 sound/soc/intel/skylake/skl-nhlt.c cnt = 0; cnt 127 sound/soc/intel/skylake/skl-nhlt.c s[cnt++] = s[i]; cnt 130 sound/soc/intel/skylake/skl-nhlt.c s[cnt] = '\0'; cnt 244 sound/soc/intel/skylake/skl-sst-dsp.h void skl_dsp_set_astate_cfg(struct skl_dev *skl, u32 cnt, void *data); cnt 317 sound/soc/qcom/qdsp6/q6asm.c int cnt = 0; cnt 326 sound/soc/qcom/qdsp6/q6asm.c cnt = port->num_periods - 1; cnt 327 sound/soc/qcom/qdsp6/q6asm.c if (cnt >= 0) { cnt 428 sound/soc/qcom/qdsp6/q6asm.c int cnt; cnt 450 sound/soc/qcom/qdsp6/q6asm.c for (cnt = 1; cnt < periods; cnt++) { cnt 452 sound/soc/qcom/qdsp6/q6asm.c buf[cnt].phys = buf[0].phys + (cnt * period_sz); cnt 453 sound/soc/qcom/qdsp6/q6asm.c buf[cnt].size = period_sz; cnt 248 sound/soc/sh/siu_dai.c int cnt; cnt 255 sound/soc/sh/siu_dai.c for (cnt = 0; cnt < PRAM0_SIZE; cnt++, add++, ptr++) cnt 260 sound/soc/sh/siu_dai.c for (cnt = 0; cnt < PRAM1_SIZE; cnt++, add++, ptr++) cnt 265 sound/soc/sh/siu_dai.c for (cnt = 0; cnt < XRAM0_SIZE + XRAM1_SIZE + XRAM2_SIZE; cnt++, add++) cnt 270 sound/soc/sh/siu_dai.c for (cnt = 0; cnt < YRAM_DEF_SIZE; cnt++, add++) cnt 271 sound/soc/sh/siu_dai.c siu_write32(add, ydef[cnt]); cnt 275 sound/soc/sh/siu_dai.c for (cnt = 0; cnt < YRAM_FIR_SIZE; cnt++, add++) cnt 276 sound/soc/sh/siu_dai.c siu_write32(add, fw->yram_fir_coeff[cnt]); cnt 280 sound/soc/sh/siu_dai.c for (cnt = 0; cnt < YRAM_IIR_SIZE; cnt++, add++) cnt 292 sound/soc/sh/siu_dai.c cnt = 0x10000; cnt 293 sound/soc/sh/siu_dai.c while (--cnt && siu_read32(base + SIU_SBCTL) != 0x80000000) cnt 296 sound/soc/sh/siu_dai.c if (!cnt) cnt 1245 sound/soc/stm/stm32_sai_sub.c ssize_t cnt = bytes_to_samples(runtime, bytes); cnt 1260 sound/soc/stm/stm32_sai_sub.c if (!(cnt % 2)) cnt 1265 sound/soc/stm/stm32_sai_sub.c } while (--cnt); cnt 248 sound/soc/ti/davinci-mcasp.c u32 cnt; cnt 267 sound/soc/ti/davinci-mcasp.c cnt = 0; cnt 269 sound/soc/ti/davinci-mcasp.c (cnt < 100000)) cnt 270 sound/soc/ti/davinci-mcasp.c cnt++; cnt 327 sound/soc/uniphier/aio-compress.c size_t cnt = min_t(size_t, count, aio_rb_space_to_end(sub) / 2); cnt 333 sound/soc/uniphier/aio-compress.c if (cnt < sizeof(u32)) cnt 340 sound/soc/uniphier/aio-compress.c s = cnt * 2; cnt 348 sound/soc/uniphier/aio-compress.c s = cnt; cnt 375 sound/soc/uniphier/aio-compress.c return cnt; cnt 343 sound/usb/caiaq/audio.c int stream, pb, *cnt; cnt 352 sound/usb/caiaq/audio.c cnt = (sub->stream == SNDRV_PCM_STREAM_PLAYBACK) ? cnt 356 sound/usb/caiaq/audio.c if (*cnt >= pb) { cnt 358 sound/usb/caiaq/audio.c *cnt %= pb; cnt 1338 sound/usb/mixer.c int c, cnt, val, err; cnt 1342 sound/usb/mixer.c cnt = 0; cnt 1346 sound/usb/mixer.c err = snd_usb_get_cur_mix_value(cval, c + 1, cnt, &val); cnt 1350 sound/usb/mixer.c ucontrol->value.integer.value[cnt] = val; cnt 1351 sound/usb/mixer.c cnt++; cnt 1370 sound/usb/mixer.c int c, cnt, val, oval, err; cnt 1374 sound/usb/mixer.c cnt = 0; cnt 1378 sound/usb/mixer.c err = snd_usb_get_cur_mix_value(cval, c + 1, cnt, &oval); cnt 1381 sound/usb/mixer.c val = ucontrol->value.integer.value[cnt]; cnt 1384 sound/usb/mixer.c snd_usb_set_cur_mix_value(cval, c + 1, cnt, val); cnt 1387 sound/usb/mixer.c cnt++; cnt 81 sound/usb/usx2y/usbusx2yaudio.c int cnt = runtime->buffer_size - hwptr_done; cnt 82 sound/usb/usx2y/usbusx2yaudio.c int blen = cnt * usX2Y->stride; cnt 339 tools/bpf/bpftool/btf.c int cnt = btf__get_nr_types(btf); cnt 341 tools/bpf/bpftool/btf.c for (i = 1; i <= cnt; i++) { cnt 377 tools/bpf/bpftool/btf.c int cnt = btf__get_nr_types(btf); cnt 379 tools/bpf/bpftool/btf.c for (i = 1; i <= cnt; i++) { cnt 335 tools/bpf/bpftool/cfg.c int cnt = len / sizeof(*insn); cnt 340 tools/bpf/bpftool/cfg.c if (cfg_partition_funcs(cfg, insn, insn + cnt)) cnt 25 tools/bpf/bpftool/main.h #define REQ_ARGS(cnt) \ cnt 27 tools/bpf/bpftool/main.h int _cnt = (cnt); \ cnt 289 tools/iio/iio_utils.c void bsort_channel_array_by_index(struct iio_channel_info *ci_array, int cnt) cnt 294 tools/iio/iio_utils.c for (x = 0; x < cnt; x++) cnt 295 tools/iio/iio_utils.c for (y = 0; y < (cnt - 1); y++) cnt 67 tools/iio/iio_utils.h void bsort_channel_array_by_index(struct iio_channel_info *ci_array, int cnt); cnt 189 tools/lib/bpf/bpf.c alloc_zero_tailing_info(const void *orecord, __u32 cnt, cnt 192 tools/lib/bpf/bpf.c __u64 info_len = (__u64)actual_rec_size * cnt; cnt 202 tools/lib/bpf/bpf.c for (i = 0; i < cnt; i++) { cnt 1001 tools/lib/bpf/btf.c void **info, __u32 *cnt) cnt 1022 tools/lib/bpf/btf.c existing_len = (*cnt) * record_size; cnt 1039 tools/lib/bpf/btf.c *cnt += sinfo->num_info; cnt 1049 tools/lib/bpf/btf.c void **func_info, __u32 *cnt) cnt 1052 tools/lib/bpf/btf.c insns_cnt, func_info, cnt); cnt 1058 tools/lib/bpf/btf.c void **line_info, __u32 *cnt) cnt 1061 tools/lib/bpf/btf.c insns_cnt, line_info, cnt); cnt 1309 tools/lib/bpf/btf.c __u32 cnt; cnt 1573 tools/lib/bpf/btf.c s = bsearch(strs->data + *str_off_ptr, strs->ptrs, strs->cnt, cnt 1590 tools/lib/bpf/btf.c s = bsearch(strs->data + *str_off_ptr, strs->ptrs, strs->cnt, cnt 1616 tools/lib/bpf/btf.c .cnt = 0, cnt 1626 tools/lib/bpf/btf.c if (strs.cnt + 1 > strs.cap) { cnt 1629 tools/lib/bpf/btf.c strs.cap += max(strs.cnt / 2, 16); cnt 1639 tools/lib/bpf/btf.c strs.ptrs[strs.cnt].str = p; cnt 1640 tools/lib/bpf/btf.c strs.ptrs[strs.cnt].used = false; cnt 1643 tools/lib/bpf/btf.c strs.cnt++; cnt 1660 tools/lib/bpf/btf.c qsort(strs.ptrs, strs.cnt, sizeof(strs.ptrs[0]), str_sort_by_content); cnt 1670 tools/lib/bpf/btf.c for (i = 1; i <= strs.cnt; i++) { cnt 1676 tools/lib/bpf/btf.c if (i < strs.cnt && cnt 1697 tools/lib/bpf/btf.c if (i < strs.cnt) { cnt 1709 tools/lib/bpf/btf.c qsort(strs.ptrs, strs.cnt, sizeof(strs.ptrs[0]), str_sort_by_offset); cnt 96 tools/lib/bpf/btf.h void **func_info, __u32 *cnt); cnt 100 tools/lib/bpf/btf.h void **line_info, __u32 *cnt); cnt 156 tools/lib/bpf/btf_dump.c int i, cnt; cnt 164 tools/lib/bpf/btf_dump.c for (i = 0, cnt = btf__get_nr_types(d->btf); i <= cnt; i++) { cnt 565 tools/lib/bpf/btf_dump.c int cnt; cnt 1105 tools/lib/bpf/btf_dump.c decl_stack.cnt = d->decl_stack_cnt - stack_start; cnt 1123 tools/lib/bpf/btf_dump.c while (decl_stack->cnt) { cnt 1124 tools/lib/bpf/btf_dump.c id = decl_stack->ids[decl_stack->cnt - 1]; cnt 1140 tools/lib/bpf/btf_dump.c decl_stack->cnt--; cnt 1171 tools/lib/bpf/btf_dump.c while (decls->cnt) { cnt 1172 tools/lib/bpf/btf_dump.c id = decls->ids[--decls->cnt]; cnt 1242 tools/lib/bpf/btf_dump.c while (decls->cnt) { cnt 1243 tools/lib/bpf/btf_dump.c next_id = decls->ids[decls->cnt - 1]; cnt 1246 tools/lib/bpf/btf_dump.c decls->cnt--; cnt 1251 tools/lib/bpf/btf_dump.c if (decls->cnt == 0) { cnt 1257 tools/lib/bpf/btf_dump.c next_id = decls->ids[decls->cnt - 1]; cnt 1278 tools/lib/bpf/btf_dump.c if (decls->cnt) { cnt 5647 tools/lib/bpf/libbpf.c int i, cnt, err; cnt 5649 tools/lib/bpf/libbpf.c cnt = epoll_wait(pb->epoll_fd, pb->events, pb->cpu_cnt, timeout_ms); cnt 5650 tools/lib/bpf/libbpf.c for (i = 0; i < cnt; i++) { cnt 5659 tools/lib/bpf/libbpf.c return cnt < 0 ? -errno : cnt; cnt 366 tools/lib/bpf/libbpf.h typedef void (*perf_buffer_lost_fn)(void *ctx, int cpu, __u64 cnt); cnt 24 tools/lib/subcmd/help.c ALLOC_GROW(cmds->names, cmds->cnt + 1, cmds->alloc); cnt 25 tools/lib/subcmd/help.c cmds->names[cmds->cnt++] = ent; cnt 32 tools/lib/subcmd/help.c for (i = 0; i < cmds->cnt; ++i) cnt 35 tools/lib/subcmd/help.c cmds->cnt = 0; cnt 50 tools/lib/subcmd/help.c if (!cmds->cnt) cnt 53 tools/lib/subcmd/help.c for (i = j = 1; i < cmds->cnt; i++) cnt 57 tools/lib/subcmd/help.c cmds->cnt = j; cnt 66 tools/lib/subcmd/help.c while (ci < cmds->cnt && ei < excludes->cnt) { cnt 76 tools/lib/subcmd/help.c while (ci < cmds->cnt) cnt 79 tools/lib/subcmd/help.c cmds->cnt = cj; cnt 117 tools/lib/subcmd/help.c rows = (cmds->cnt + cols - 1) / cols; cnt 126 tools/lib/subcmd/help.c if (n >= cmds->cnt) cnt 128 tools/lib/subcmd/help.c if (j == cols-1 || n + rows >= cmds->cnt) cnt 201 tools/lib/subcmd/help.c qsort(main_cmds->names, main_cmds->cnt, cnt 221 tools/lib/subcmd/help.c qsort(other_cmds->names, other_cmds->cnt, cnt 234 tools/lib/subcmd/help.c for (i = 0; i < main_cmds->cnt; i++) cnt 237 tools/lib/subcmd/help.c for (i = 0; i < other_cmds->cnt; i++) cnt 241 tools/lib/subcmd/help.c if (main_cmds->cnt) { cnt 252 tools/lib/subcmd/help.c if (other_cmds->cnt) { cnt 266 tools/lib/subcmd/help.c for (i = 0; i < c->cnt; i++) cnt 10 tools/lib/subcmd/help.h size_t cnt; cnt 261 tools/lib/traceevent/event-parse.c int cnt; cnt 311 tools/lib/traceevent/event-parse.c cnt = tep->cmdline_count; cnt 315 tools/lib/traceevent/event-parse.c cnt -= cmdline - tep->cmdlines; cnt 325 tools/lib/traceevent/event-parse.c memmove(cmdline + 1, cmdline, (cnt * sizeof(*cmdline))); cnt 694 tools/perf/arch/arm/util/cs-etm.c int cnt = ptr->wrapped_cnt; cnt 697 tools/perf/arch/arm/util/cs-etm.c while (cnt <= idx) cnt 698 tools/perf/arch/arm/util/cs-etm.c cnt++; cnt 705 tools/perf/arch/arm/util/cs-etm.c wrapped = realloc(ptr->wrapped, cnt * sizeof(bool)); cnt 709 tools/perf/arch/arm/util/cs-etm.c wrapped[cnt - 1] = false; cnt 710 tools/perf/arch/arm/util/cs-etm.c ptr->wrapped_cnt = cnt; cnt 277 tools/perf/arch/x86/util/intel-bts.c int cnt = btsr->snapshot_ref_cnt, new_cnt = cnt * 2; cnt 290 tools/perf/arch/x86/util/intel-bts.c memcpy(refs, btsr->snapshot_refs, cnt * sz); cnt 838 tools/perf/arch/x86/util/intel-pt.c int cnt = ptr->snapshot_ref_cnt, new_cnt = cnt * 2; cnt 851 tools/perf/arch/x86/util/intel-pt.c memcpy(refs, ptr->snapshot_refs, cnt * sz); cnt 18 tools/perf/arch/x86/util/machine.c int cnt; cnt 28 tools/perf/arch/x86/util/machine.c if (mi->cnt >= mi->max_cnt) { cnt 40 tools/perf/arch/x86/util/machine.c mi->maps[mi->cnt].start = start; cnt 41 tools/perf/arch/x86/util/machine.c mi->maps[mi->cnt].end = end; cnt 42 tools/perf/arch/x86/util/machine.c mi->maps[mi->cnt].pgoff = pgoff; cnt 43 tools/perf/arch/x86/util/machine.c strlcpy(mi->maps[mi->cnt].name, name, KMAP_NAME_LEN); cnt 45 tools/perf/arch/x86/util/machine.c mi->cnt += 1; cnt 73 tools/perf/arch/x86/util/machine.c struct extra_kernel_map_info mi = { .cnt = 0, }; cnt 90 tools/perf/arch/x86/util/machine.c for (i = 0; i < mi.cnt; i++) { cnt 99 tools/perf/arch/x86/util/machine.c machine->trampolines_mapped = mi.cnt; cnt 8 tools/perf/bench/mem-memcpy-x86-64-lib.c unsigned long __memcpy_mcsafe(void *dst, const void *src, size_t cnt); cnt 599 tools/perf/builtin-inject.c int cnt = 0; cnt 607 tools/perf/builtin-inject.c cnt += 1; cnt 614 tools/perf/builtin-inject.c return ok && cnt == 1; cnt 108 tools/perf/tests/bp_account.c int fd[100], cnt = 0, i; cnt 111 tools/perf/tests/bp_account.c if (cnt == 100) { cnt 115 tools/perf/tests/bp_account.c fd[cnt] = __event(is_x, addr, &attr); cnt 117 tools/perf/tests/bp_account.c if (fd[cnt] < 0) cnt 119 tools/perf/tests/bp_account.c cnt++; cnt 122 tools/perf/tests/bp_account.c for (i = 0; i < cnt; i++) cnt 125 tools/perf/tests/bp_account.c return cnt; cnt 204 tools/perf/tests/dso-data.c static int dsos__create(int cnt, int size) cnt 208 tools/perf/tests/dso-data.c dsos = malloc(sizeof(*dsos) * cnt); cnt 211 tools/perf/tests/dso-data.c for (i = 0; i < cnt; i++) { cnt 224 tools/perf/tests/dso-data.c static void dsos__delete(int cnt) cnt 228 tools/perf/tests/dso-data.c for (i = 0; i < cnt; i++) { cnt 61 tools/perf/tests/dwarf-unwind.c unsigned long *cnt = (unsigned long *) arg; cnt 78 tools/perf/tests/dwarf-unwind.c MAX_STACK - *cnt - 1 : *cnt; cnt 80 tools/perf/tests/dwarf-unwind.c if (*cnt >= MAX_STACK) { cnt 91 tools/perf/tests/dwarf-unwind.c (*cnt)++; cnt 100 tools/perf/tests/dwarf-unwind.c unsigned long cnt = 0; cnt 110 tools/perf/tests/dwarf-unwind.c err = unwind__get_entries(unwind_entry, &cnt, thread, cnt 114 tools/perf/tests/dwarf-unwind.c else if (cnt != MAX_STACK) { cnt 116 tools/perf/tests/dwarf-unwind.c cnt, MAX_STACK); cnt 1383 tools/perf/tests/parse-events.c int cnt = 0; cnt 1414 tools/perf/tests/parse-events.c cnt++; cnt 1422 tools/perf/tests/parse-events.c return cnt; cnt 1798 tools/perf/tests/parse-events.c static int test_events(struct evlist_test *events, unsigned cnt) cnt 1803 tools/perf/tests/parse-events.c for (i = 0; i < cnt; i++) { cnt 1836 tools/perf/tests/parse-events.c static int test_terms(struct terms_test *terms, unsigned cnt) cnt 1841 tools/perf/tests/parse-events.c for (i = 0; i < cnt; i++) { cnt 264 tools/perf/tests/switch-tracking.c unsigned pos, cnt = 0; cnt 276 tools/perf/tests/switch-tracking.c cnt += 1; cnt 285 tools/perf/tests/switch-tracking.c events_array = calloc(cnt, sizeof(struct event_node)); cnt 296 tools/perf/tests/switch-tracking.c qsort(events_array, cnt, sizeof(struct event_node), compar); cnt 298 tools/perf/tests/switch-tracking.c for (pos = 0; pos < cnt; pos++) { cnt 307 tools/perf/tests/switch-tracking.c pr_debug("%u events recorded\n", cnt); cnt 1371 tools/perf/util/auxtrace.c size_t cnt; cnt 1424 tools/perf/util/auxtrace.c c->cnt = 0; cnt 1451 tools/perf/util/auxtrace.c if (c->limit && ++c->cnt > c->limit) cnt 1507 tools/perf/util/auxtrace.c filts->cnt += 1; cnt 1514 tools/perf/util/auxtrace.c filts->cnt -= 1; cnt 1520 tools/perf/util/auxtrace.c filts->cnt = 0; cnt 1709 tools/perf/util/auxtrace.c int cnt; cnt 1723 tools/perf/util/auxtrace.c (args->selected && ++(args->cnt) == args->idx) || cnt 1755 tools/perf/util/auxtrace.c ++args->cnt, start, type, name); cnt 1801 tools/perf/util/auxtrace.c args.cnt = 0; cnt 1939 tools/perf/util/auxtrace.c static bool dso_sym_match(struct symbol *sym, const char *name, int *cnt, cnt 1945 tools/perf/util/auxtrace.c (idx > 0 && ++*cnt == idx) || cnt 1953 tools/perf/util/auxtrace.c int cnt = 0; cnt 1959 tools/perf/util/auxtrace.c if (dso_sym_match(sym, sym_name, &cnt, -1)) { cnt 1961 tools/perf/util/auxtrace.c ++cnt, sym->start, cnt 1982 tools/perf/util/auxtrace.c int cnt = 0; cnt 1995 tools/perf/util/auxtrace.c } else if (dso_sym_match(sym, sym_name, &cnt, idx)) { cnt 1999 tools/perf/util/auxtrace.c } else if (dso_sym_match(sym, sym_name, &cnt, idx)) { cnt 2117 tools/perf/util/auxtrace.c if (filts.cnt > max_nr) { cnt 2119 tools/perf/util/auxtrace.c filts.cnt, max_nr); cnt 380 tools/perf/util/auxtrace.h int cnt; cnt 1096 tools/perf/util/header.c u32 i, cnt = 0; cnt 1114 tools/perf/util/header.c for (i = 0; i < cnt; i++) { cnt 1119 tools/perf/util/header.c if (i == cnt) cnt 1120 tools/perf/util/header.c caches[cnt++] = c; cnt 1125 tools/perf/util/header.c *cntp = cnt; cnt 1134 tools/perf/util/header.c u32 cnt = 0, i, version = 1; cnt 1137 tools/perf/util/header.c ret = build_caches(caches, &cnt); cnt 1141 tools/perf/util/header.c qsort(&caches, cnt, sizeof(struct cpu_cache_level), cpu_cache_level__sort); cnt 1147 tools/perf/util/header.c ret = do_write(ff, &cnt, sizeof(u32)); cnt 1151 tools/perf/util/header.c for (i = 0; i < cnt; i++) { cnt 1177 tools/perf/util/header.c for (i = 0; i < cnt; i++) cnt 1264 tools/perf/util/header.c u64 cnt = 0; cnt 1289 tools/perf/util/header.c if (WARN_ONCE(cnt >= size, cnt 1295 tools/perf/util/header.c ret = memory_node__read(&nodes[cnt++], idx); cnt 1298 tools/perf/util/header.c *cntp = cnt; cnt 1302 tools/perf/util/header.c qsort(nodes, cnt, sizeof(nodes[0]), memory_node__sort); cnt 2523 tools/perf/util/header.c u32 cnt, i, version; cnt 2531 tools/perf/util/header.c if (do_read_u32(ff, &cnt)) cnt 2534 tools/perf/util/header.c caches = zalloc(sizeof(*caches) * cnt); cnt 2538 tools/perf/util/header.c for (i = 0; i < cnt; i++) { cnt 2565 tools/perf/util/header.c ff->ph->env.caches_cnt = cnt; cnt 34 tools/perf/util/help-unknown-cmd.c unsigned int i, nr = cmds->cnt + old->cnt; cnt 48 tools/perf/util/help-unknown-cmd.c for (i = 0; i < old->cnt; i++) cnt 49 tools/perf/util/help-unknown-cmd.c cmds->names[cmds->cnt++] = old->names[i]; cnt 51 tools/perf/util/help-unknown-cmd.c old->cnt = 0; cnt 71 tools/perf/util/help-unknown-cmd.c qsort(main_cmds.names, main_cmds.cnt, cnt 75 tools/perf/util/help-unknown-cmd.c if (main_cmds.cnt) { cnt 77 tools/perf/util/help-unknown-cmd.c for (i = 0; i < main_cmds.cnt; ++i) cnt 81 tools/perf/util/help-unknown-cmd.c qsort(main_cmds.names, main_cmds.cnt, cnt 86 tools/perf/util/help-unknown-cmd.c while (n < main_cmds.cnt && best_similarity == main_cmds.names[n]->len) cnt 109 tools/perf/util/help-unknown-cmd.c if (main_cmds.cnt && best_similarity < 6) { cnt 1036 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c int cnt = decoder->no_progress++; cnt 1051 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c if (cnt) { cnt 1052 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c if (cnt == 1) { cnt 1056 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c } else if (cnt > INTEL_PT_MAX_LOOPS || cnt 906 tools/perf/util/intel-pt.c if (pt->filts.cnt > 0) cnt 13 tools/perf/util/mem2node.h int cnt; cnt 320 tools/perf/util/srcline.c int cnt = 0; cnt 327 tools/perf/util/srcline.c cnt++ < MAX_INLINE_NEST) { cnt 150 tools/perf/util/strbuf.c ssize_t cnt; cnt 152 tools/perf/util/strbuf.c cnt = read(fd, sb->buf + sb->len, sb->alloc - sb->len - 1); cnt 153 tools/perf/util/strbuf.c if (cnt < 0) { cnt 158 tools/perf/util/strbuf.c return cnt; cnt 160 tools/perf/util/strbuf.c if (!cnt) cnt 162 tools/perf/util/strbuf.c sb->len += cnt; cnt 192 tools/perf/util/symbol-elf.c size_t cnt = 1; cnt 199 tools/perf/util/symbol-elf.c return cnt; cnt 201 tools/perf/util/symbol-elf.c ++cnt; cnt 211 tools/perf/util/symbol-elf.c size_t cnt = 1; cnt 224 tools/perf/util/symbol-elf.c *idx = cnt; cnt 227 tools/perf/util/symbol-elf.c ++cnt; cnt 86 tools/perf/util/thread-stack.c size_t cnt; cnt 220 tools/perf/util/thread-stack.c if (ts->cnt == ts->sz) { cnt 224 tools/perf/util/thread-stack.c ts->cnt = 0; cnt 228 tools/perf/util/thread-stack.c ts->stack[ts->cnt].trace_end = trace_end; cnt 229 tools/perf/util/thread-stack.c ts->stack[ts->cnt++].ret_addr = ret_addr; cnt 247 tools/perf/util/thread-stack.c for (i = ts->cnt; i; ) { cnt 249 tools/perf/util/thread-stack.c ts->cnt = i; cnt 259 tools/perf/util/thread-stack.c for (i = ts->cnt; i; ) { cnt 261 tools/perf/util/thread-stack.c ts->cnt = i; cnt 269 tools/perf/util/thread-stack.c if (!ts->cnt) cnt 272 tools/perf/util/thread-stack.c return ts->stack[ts->cnt - 1].cp->in_kernel; cnt 321 tools/perf/util/thread-stack.c ts->cnt = 0; cnt 325 tools/perf/util/thread-stack.c while (ts->cnt) { cnt 326 tools/perf/util/thread-stack.c err = thread_stack__call_return(thread, ts, --ts->cnt, cnt 330 tools/perf/util/thread-stack.c ts->cnt = 0; cnt 485 tools/perf/util/thread-stack.c for (i = 2, j = 1; i < sz && j <= ts->cnt; i++, j++) { cnt 486 tools/perf/util/thread-stack.c ip = ts->stack[ts->cnt - j].ret_addr; cnt 539 tools/perf/util/thread-stack.c if (ts->cnt == ts->sz) { cnt 545 tools/perf/util/thread-stack.c tse = &ts->stack[ts->cnt++]; cnt 567 tools/perf/util/thread-stack.c if (!ts->cnt) cnt 570 tools/perf/util/thread-stack.c if (ts->cnt == 1) { cnt 574 tools/perf/util/thread-stack.c return thread_stack__call_return(thread, ts, --ts->cnt, cnt 578 tools/perf/util/thread-stack.c if (ts->stack[ts->cnt - 1].ret_addr == ret_addr && cnt 579 tools/perf/util/thread-stack.c !ts->stack[ts->cnt - 1].non_call) { cnt 580 tools/perf/util/thread-stack.c return thread_stack__call_return(thread, ts, --ts->cnt, cnt 583 tools/perf/util/thread-stack.c size_t i = ts->cnt - 1; cnt 590 tools/perf/util/thread-stack.c while (ts->cnt > i) { cnt 592 tools/perf/util/thread-stack.c --ts->cnt, cnt 598 tools/perf/util/thread-stack.c return thread_stack__call_return(thread, ts, --ts->cnt, cnt 641 tools/perf/util/thread-stack.c err = thread_stack__call_return(thread, ts, --ts->cnt, cnt 674 tools/perf/util/thread-stack.c if (!ts->cnt) { cnt 686 tools/perf/util/thread-stack.c if (ts->cnt) cnt 687 tools/perf/util/thread-stack.c parent = ts->stack[ts->cnt - 1].cp; cnt 697 tools/perf/util/thread-stack.c if (ts->cnt == 1) { cnt 698 tools/perf/util/thread-stack.c err = thread_stack__call_return(thread, ts, --ts->cnt, cnt 704 tools/perf/util/thread-stack.c if (!ts->cnt) { cnt 719 tools/perf/util/thread-stack.c ts->stack[ts->cnt - 1].non_call = true; cnt 741 tools/perf/util/thread-stack.c return thread_stack__call_return(thread, ts, --ts->cnt, tm, ref, false); cnt 751 tools/perf/util/thread-stack.c if (!ts->cnt) cnt 755 tools/perf/util/thread-stack.c tse = &ts->stack[ts->cnt - 1]; cnt 757 tools/perf/util/thread-stack.c err = thread_stack__call_return(thread, ts, --ts->cnt, cnt 774 tools/perf/util/thread-stack.c if (!ts->cnt || (ts->cnt == 1 && ts->stack[0].ref == ref)) cnt 777 tools/perf/util/thread-stack.c cp = call_path__findnew(cpr, ts->stack[ts->cnt - 1].cp, NULL, 0, cnt 802 tools/perf/util/thread-stack.c struct thread_stack_entry *tse = &ts->stack[ts->cnt - 1]; cnt 819 tools/perf/util/thread-stack.c ts->cnt -= 1; cnt 820 tools/perf/util/thread-stack.c sym = ts->stack[ts->cnt - 2].cp->sym; cnt 827 tools/perf/util/thread-stack.c ts->cnt -= 1; cnt 835 tools/perf/util/thread-stack.c ts->cnt -= 1; cnt 839 tools/perf/util/thread-stack.c cp = call_path__findnew(cpr, ts->stack[ts->cnt - 2].cp, tsym, cnt 845 tools/perf/util/thread-stack.c ts->stack[ts->cnt - 1].cp = cp; cnt 886 tools/perf/util/thread-stack.c if (!ts->cnt) { cnt 910 tools/perf/util/thread-stack.c cp = call_path__findnew(cpr, ts->stack[ts->cnt - 1].cp, cnt 941 tools/perf/util/thread-stack.c if (rstate == X86_RETPOLINE_DETECTED && ts->cnt > 2 && cnt 942 tools/perf/util/thread-stack.c ts->stack[ts->cnt - 1].ret_addr != sample->addr) cnt 969 tools/perf/util/thread-stack.c cp = call_path__findnew(cpr, ts->stack[ts->cnt - 1].cp, cnt 975 tools/perf/util/thread-stack.c ts->stack[ts->cnt - 1].non_call = true; cnt 987 tools/perf/util/thread-stack.c return ts->cnt; cnt 417 tools/power/x86/intel-speed-select/isst-config.c int i, cnt = 0; cnt 437 tools/power/x86/intel-speed-select/isst-config.c ++cnt; cnt 443 tools/power/x86/intel-speed-select/isst-config.c *cpu_cnt = cnt; cnt 107 tools/testing/selftests/android/ion/ion.h __u32 cnt; /* Total number of heaps to be copied */ cnt 70 tools/testing/selftests/android/ion/ionutils.c query.cnt = MAX_HEAP_COUNT; cnt 81 tools/testing/selftests/android/ion/ionutils.c for (i = 0; i < query.cnt; i++) { cnt 167 tools/testing/selftests/bpf/map_tests/sk_storage_map.c int cnt; cnt 169 tools/testing/selftests/bpf/map_tests/sk_storage_map.c } value = { .cnt = 0xeB9F, .lock = 0, }; cnt 284 tools/testing/selftests/bpf/map_tests/sk_storage_map.c int cnt; cnt 286 tools/testing/selftests/bpf/map_tests/sk_storage_map.c } value = { .cnt = 0xeB9F, .lock = 0, }; cnt 463 tools/testing/selftests/bpf/map_tests/sk_storage_map.c int cnt; cnt 465 tools/testing/selftests/bpf/map_tests/sk_storage_map.c } value = { .cnt = 0xeB9f, .lock = 0, }, lookup_value; cnt 490 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(err || lookup_value.cnt != value.cnt, cnt 493 tools/testing/selftests/bpf/map_tests/sk_storage_map.c err, errno, lookup_value.cnt, value.cnt); cnt 496 tools/testing/selftests/bpf/map_tests/sk_storage_map.c value.cnt += 1; cnt 503 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(err || lookup_value.cnt != value.cnt, cnt 506 tools/testing/selftests/bpf/map_tests/sk_storage_map.c err, errno, lookup_value.cnt, value.cnt); cnt 509 tools/testing/selftests/bpf/map_tests/sk_storage_map.c value.cnt += 1; cnt 515 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(err || lookup_value.cnt != value.cnt, cnt 518 tools/testing/selftests/bpf/map_tests/sk_storage_map.c err, errno, lookup_value.cnt, value.cnt); cnt 521 tools/testing/selftests/bpf/map_tests/sk_storage_map.c value.cnt += 1; cnt 530 tools/testing/selftests/bpf/map_tests/sk_storage_map.c value.cnt -= 1; cnt 533 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(err || lookup_value.cnt != value.cnt, cnt 536 tools/testing/selftests/bpf/map_tests/sk_storage_map.c err, errno, lookup_value.cnt, value.cnt); cnt 539 tools/testing/selftests/bpf/map_tests/sk_storage_map.c value.cnt += 1; cnt 545 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(err || lookup_value.cnt != value.cnt, cnt 548 tools/testing/selftests/bpf/map_tests/sk_storage_map.c err, errno, lookup_value.cnt, value.cnt); cnt 29 tools/testing/selftests/bpf/prog_tests/get_stack_raw_tp.c static __u64 cnt; cnt 32 tools/testing/selftests/bpf/prog_tests/get_stack_raw_tp.c cnt++; cnt 30 tools/testing/selftests/bpf/progs/netcnt_prog.c struct net_cnt *cnt; cnt 34 tools/testing/selftests/bpf/progs/netcnt_prog.c cnt = bpf_get_local_storage(&netcnt, 0); cnt 41 tools/testing/selftests/bpf/progs/netcnt_prog.c __sync_fetch_and_add(&cnt->packets, cnt 45 tools/testing/selftests/bpf/progs/netcnt_prog.c __sync_fetch_and_add(&cnt->bytes, cnt 56 tools/testing/selftests/bpf/progs/netcnt_prog.c if (cnt->bytes + percpu_cnt->bytes - percpu_cnt->prev_bytes < dt) cnt 63 tools/testing/selftests/bpf/progs/netcnt_prog.c percpu_cnt->prev_packets = cnt->packets; cnt 64 tools/testing/selftests/bpf/progs/netcnt_prog.c percpu_cnt->prev_bytes = cnt->bytes; cnt 97 tools/testing/selftests/bpf/progs/strobemeta.h int64_t cnt; cnt 158 tools/testing/selftests/bpf/progs/strobemeta.h int16_t cnt; cnt 388 tools/testing/selftests/bpf/progs/strobemeta.h descr->cnt = -1; /* presume no value is set */ cnt 399 tools/testing/selftests/bpf/progs/strobemeta.h descr->cnt = map.cnt; cnt 417 tools/testing/selftests/bpf/progs/strobemeta.h if (i >= map.cnt) cnt 60 tools/testing/selftests/bpf/progs/test_sock_fields_kern.c __u32 cnt; cnt 142 tools/testing/selftests/bpf/progs/test_sock_fields_kern.c struct bpf_spinlock_cnt cli_cnt_init = { .lock = 0, .cnt = 0xeB9F }; cnt 206 tools/testing/selftests/bpf/progs/test_sock_fields_kern.c pkt_out_cnt->cnt += 1; cnt 208 tools/testing/selftests/bpf/progs/test_sock_fields_kern.c pkt_out_cnt10->cnt += 10; cnt 8 tools/testing/selftests/bpf/progs/test_spin_lock.c volatile int cnt; cnt 22 tools/testing/selftests/bpf/progs/test_spin_lock.c volatile int cnt; cnt 70 tools/testing/selftests/bpf/progs/test_spin_lock.c if (val->cnt) cnt 71 tools/testing/selftests/bpf/progs/test_spin_lock.c val->cnt--; cnt 73 tools/testing/selftests/bpf/progs/test_spin_lock.c val->cnt++; cnt 74 tools/testing/selftests/bpf/progs/test_spin_lock.c if (val->cnt != 0 && val->cnt != 1) cnt 95 tools/testing/selftests/bpf/progs/test_spin_lock.c cls->cnt++; cnt 5927 tools/testing/selftests/bpf/test_btf.c __u32 cnt, int prog_fd) cnt 5940 tools/testing/selftests/bpf/test_btf.c jited_cnt = cnt; cnt 5963 tools/testing/selftests/bpf/test_btf.c if (CHECK(info.nr_line_info != cnt || cnt 5969 tools/testing/selftests/bpf/test_btf.c info.nr_line_info, cnt, cnt 5986 tools/testing/selftests/bpf/test_btf.c if (!cnt) cnt 5994 tools/testing/selftests/bpf/test_btf.c linfo = calloc(cnt, rec_size); cnt 5999 tools/testing/selftests/bpf/test_btf.c info.nr_line_info = cnt; cnt 6031 tools/testing/selftests/bpf/test_btf.c info.nr_line_info != cnt || cnt 6038 tools/testing/selftests/bpf/test_btf.c info.nr_line_info, cnt, cnt 6054 tools/testing/selftests/bpf/test_btf.c for (i = 1; i < cnt; i++) { cnt 56 tools/testing/selftests/bpf/test_libbpf_open.c int cnt = 0; cnt 59 tools/testing/selftests/bpf/test_libbpf_open.c cnt++; cnt 61 tools/testing/selftests/bpf/test_libbpf_open.c printf("Prog (count:%d) section_name: %s\n", cnt, cnt 70 tools/testing/selftests/bpf/test_libbpf_open.c int cnt = 0; cnt 73 tools/testing/selftests/bpf/test_libbpf_open.c cnt++; cnt 75 tools/testing/selftests/bpf/test_libbpf_open.c printf("Map (count:%d) name: %s\n", cnt, cnt 40 tools/testing/selftests/bpf/test_sock_fields.c __u32 cnt; cnt 252 tools/testing/selftests/bpf/test_sock_fields.c pkt_out_cnt.cnt = ~0; cnt 253 tools/testing/selftests/bpf/test_sock_fields.c pkt_out_cnt10.cnt = ~0; cnt 266 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err || pkt_out_cnt.cnt != 4 || pkt_out_cnt10.cnt != 40, cnt 269 tools/testing/selftests/bpf/test_sock_fields.c err, errno, pkt_out_cnt.cnt, pkt_out_cnt10.cnt); cnt 271 tools/testing/selftests/bpf/test_sock_fields.c pkt_out_cnt.cnt = ~0; cnt 272 tools/testing/selftests/bpf/test_sock_fields.c pkt_out_cnt10.cnt = ~0; cnt 283 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err || pkt_out_cnt.cnt != 0xeB9F + 4 || cnt 284 tools/testing/selftests/bpf/test_sock_fields.c pkt_out_cnt10.cnt != 0xeB9F + 40, cnt 287 tools/testing/selftests/bpf/test_sock_fields.c err, errno, pkt_out_cnt.cnt, pkt_out_cnt10.cnt); cnt 295 tools/testing/selftests/bpf/test_sock_fields.c scnt.cnt = pkt_out_cnt; cnt 301 tools/testing/selftests/bpf/test_sock_fields.c scnt.cnt *= 10; cnt 325 tools/testing/selftests/bpf/test_sockmap.c static int msg_loop_sendpage(int fd, int iov_length, int cnt, cnt 339 tools/testing/selftests/bpf/test_sockmap.c for (i = 0; i < iov_length * cnt; i++, k++) cnt 347 tools/testing/selftests/bpf/test_sockmap.c for (i = 0; i < cnt; i++) { cnt 446 tools/testing/selftests/bpf/test_sockmap.c static int msg_loop(int fd, int iov_count, int iov_length, int cnt, cnt 466 tools/testing/selftests/bpf/test_sockmap.c for (i = 0; i < cnt; i++) { cnt 499 tools/testing/selftests/bpf/test_sockmap.c total_bytes = (float)iov_count * (float)iov_length * (float)cnt; cnt 559 tools/testing/selftests/bpf/test_sockmap.c iov_length * cnt : cnt 610 tools/testing/selftests/bpf/test_sockmap.c int cnt = opt->rate; cnt 642 tools/testing/selftests/bpf/test_sockmap.c cnt, &s, false, opt); cnt 646 tools/testing/selftests/bpf/test_sockmap.c iov_count, iov_buf, cnt, err); cnt 668 tools/testing/selftests/bpf/test_sockmap.c err = msg_loop_sendpage(c1, iov_buf, cnt, &s, opt); cnt 671 tools/testing/selftests/bpf/test_sockmap.c cnt, &s, true, opt); cnt 676 tools/testing/selftests/bpf/test_sockmap.c iov_count, iov_buf, cnt, err); cnt 380 tools/testing/selftests/cgroup/cgroup_util.c int cnt = 0; cnt 387 tools/testing/selftests/cgroup/cgroup_util.c cnt++; cnt 389 tools/testing/selftests/cgroup/cgroup_util.c return cnt > 1; cnt 85 tools/testing/selftests/ipc/msgque.c int cnt = 0, ret; cnt 97 tools/testing/selftests/ipc/msgque.c if (ret != msgque->messages[cnt].msize) { cnt 99 tools/testing/selftests/ipc/msgque.c msgque->messages[cnt].msize); cnt 103 tools/testing/selftests/ipc/msgque.c if (message.mtype != msgque->messages[cnt].mtype) { cnt 108 tools/testing/selftests/ipc/msgque.c if (memcmp(message.mtext, msgque->messages[cnt].mtext, ret)) { cnt 113 tools/testing/selftests/ipc/msgque.c cnt++; cnt 116 tools/testing/selftests/ipc/msgque.c if (cnt != msgque->qnum) { cnt 158 tools/testing/selftests/ptp/testptp.c int c, cnt, fd; cnt 211 tools/testing/selftests/ptp/testptp.c cnt = sscanf(optarg, "%d,%d", &pin_index, &pin_func); cnt 212 tools/testing/selftests/ptp/testptp.c if (cnt != 2) { cnt 354 tools/testing/selftests/ptp/testptp.c cnt = read(fd, &event, sizeof(event)); cnt 355 tools/testing/selftests/ptp/testptp.c if (cnt != sizeof(event)) { cnt 146 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c unsigned cnt; cnt 213 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c iobuf->cnt = n; cnt 220 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c iobuf->cnt = n; cnt 226 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c for (i = 0; i < iobuf->cnt; ++i) { cnt 331 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c for (j = 0; j < iobuf[i].cnt; ++j) { cnt 340 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c ret = io_submit(ctx, iobuf[i].cnt, iobuf[i].iocb); cnt 62 tools/usb/ffs-aio-example/multibuff/host_app/test.c ssize_t cnt; cnt 76 tools/usb/ffs-aio-example/multibuff/host_app/test.c cnt = libusb_get_device_list(state->ctx, &list); cnt 77 tools/usb/ffs-aio-example/multibuff/host_app/test.c if (cnt <= 0) { cnt 82 tools/usb/ffs-aio-example/multibuff/host_app/test.c for (i = 0; i < cnt; ++i) { cnt 62 tools/usb/ffs-aio-example/simple/host_app/test.c ssize_t cnt; cnt 76 tools/usb/ffs-aio-example/simple/host_app/test.c cnt = libusb_get_device_list(state->ctx, &list); cnt 77 tools/usb/ffs-aio-example/simple/host_app/test.c if (cnt <= 0) { cnt 82 tools/usb/ffs-aio-example/simple/host_app/test.c for (i = 0; i < cnt; ++i) { cnt 272 tools/usb/usbip/libsrc/usbip_host_common.c int cnt = 0; cnt 276 tools/usb/usbip/libsrc/usbip_host_common.c if (num == cnt) cnt 278 tools/usb/usbip/libsrc/usbip_host_common.c cnt++; cnt 668 tools/vm/page-types.c uint64_t cnt[KPAGEFLAGS_BATCH]; cnt 692 tools/vm/page-types.c if (kpagecount_read(cnt, index, pages) != pages) cnt 697 tools/vm/page-types.c buf[i], cgi[i], cnt[i], pme); cnt 117 virt/kvm/eventfd.c u64 cnt; cnt 126 virt/kvm/eventfd.c eventfd_ctx_remove_wait_queue(irqfd->eventfd, &irqfd->wait, &cnt);